Focal Point
Error when creating a Group in MRE

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4121087331

May 18, 2004, 07:09 AM
<Viswa>
Error when creating a Group in MRE
I logged in as Administrator in MRE. we have already created some domains , Groups and users. Now when we create a New Group, we are getting an Error Message as "Failed to create a group in Report Caster Repository".
WF Server : 523
OS : WIN
Can anyone throw some light on this?

Thanks
Viswakanth
May 18, 2004, 12:39 PM
<Grzegorz>
One of the method of receiving the error "Failed to create group in ReportCaster repository." is to revoke the UPDATE,INSERT (etc.) grants from the database user of the RCaster repository.
I suppose that the same message will apear in any case when RCaster receives the JDBC Exception while trying to add a group (it is just a supposition).
It looks like the problem with the ReportCaster database repository, or ReportCaster connection to the repository.

Hope this helps
Grzegorz
May 19, 2004, 01:41 AM
Porter Thorndike
I have gotten this error when ReportCaster was not running as well. Make sure it is started and that you can launch reportcaster on its own.
May 19, 2004, 04:25 PM
Nightowl
I have seen this as well and I now make sure ReportCaster service is started manually after Webfocus service starts automatically.
May 20, 2004, 07:22 PM
webfocuspgm
Nightowl,
Is there no way to start ReportCastor as an automatic service...?
June 28, 2004, 08:32 PM
George Brown
Sounds like you are in the windows world but in case anyone needs to start these things in a unix world here you go.



#!/bin/bash
echo Starting Apache
/etc/init.d/httpd start
echo
echo Starting Tomcat...
su -c "/var/tomcat5/bin/startup.sh" - webfocus
sleep 2
rm -fr /opt/ibi/srv52/wfs/edatemp/*
echo Starting WebFocus server...
su -c "/opt/ibi/srv52/wfs/bin/edastart -start" - webfocus
sleep 2
echo Starting ReportCaster
su -c "/opt/ibi/reportcaster52/bin/schbkr &" - webfocus
sleep 2

I threw this script together and reference it in the rc.d so it runs after a reboot. The sleeps are used since I ran into some issues where the previous application was still in the process of being started while the next one started. With the sleep they don't overlap.

It is assumed that the script is run by root. That is why the su -c command is being used in the script. This specifies which user the webfocus software should run as (in our case, the username is 'webfocus').

I hope this helps someone.

George

This message has been edited. Last edited by: <Mabel>,
June 29, 2004, 02:21 AM
<WFUser>
This error is most likely a permissions problem. Make sure the we user has RW access to the basedir.