|
From: Leif M. <le...@ta...> - 2008-01-09 10:45:41
|
Hareesh, Have you looked in your wrapper.log file? The most common problems with starting services on system startup are environment related. The Linux OS runs the startup and shutdown scripts in minimal environments which do not have environment variables set. The easiest thing to do is add a property like this to your wrapper.conf: set.JAVA_HOME=/opt/java/jrexxx OR set.default.JAVA_HOME=/opt/java/jrexxx The later will only set the JAVA_HOME variable if it is not already set. You should actually use that with care as it could result in different JVMs being used on startup vs being run from the user shell. Cheers, Leif hareesh 83 nair wrote: > > > > Dear Sir, > > I have succesfully, created a new syetem service for RHE > 4.0 (32-bit) using 32-bit wrapper for linux. I have created link to > the shell script to start my appln in /etc/init.d/. I am able to > start/stop the services mannualy by typing '/etc/init.d/myservice > start' . But when I rebooted the machine, while booting it says that > "Starting myservice" > > But after login , I found that it is not running. Mannually I can > start. What may be the problem? Please help me out. > > NB:- The version I am using is "wrapper-linux-x86-32-3.2.3" > > -- > > Thanks > > Hareesh > |