|
From: <nic...@uk...> - 2005-01-13 13:09:28
|
>> but if I do /etc/rc3.d/S98yourcdr start it works fine! Just making sure... Which dir are you running that script from? Are you running it from /etc/rc3.d/S98yourcdr ? -Nick Internet sas...@ho...@lists.sourceforge.net - 13/01/2005 10:16 Please respond to wra...@li... Sent by: wra...@li... To: wrapper-user cc: Subject: [Wrapper-user] Linux wrapper fails to start JVM on reboot Linux wrapper fails to start JVM on reboot, but is successful when started manual! This is the log from reboot (in runlevel 3): DEBUG | wrapper | 2005/01/13 22:29:03 | Spawning intermediate process... DEBUG | wrapper | 2005/01/13 22:29:03 | Spawning daemon process... STATUS | wrapper | 2005/01/13 22:29:03 | --> Wrapper Started as Daemon DEBUG | wrapper | 2005/01/13 22:29:03 | Using system timer. DEBUG | wrapperp | 2005/01/13 22:29:03 | server listening on port 32000. DEBUG | wrapper | 2005/01/13 22:29:03 | Command[0] : java DEBUG | wrapper | 2005/01/13 22:29:03 | Command[1] : -Djava.library.path=./lib DEBUG | wrapper | 2005/01/13 22:29:03 | Command[2] : -classpath DEBUG | wrapper | 2005/01/13 22:29:03 | Command[3] : ./lib/wrapper.jar:./lib/mail.jar:./lib/activation.jar:./cdrc.jar DEBUG | wrapper | 2005/01/13 22:29:03 | Command[4] : -Dwrapper.key=5bWn9AdgITKTHYsU DEBUG | wrapper | 2005/01/13 22:29:03 | Command[5] : -Dwrapper.port=32000 DEBUG | wrapper | 2005/01/13 22:29:03 | Command[6] : -Dwrapper.debug=TRUE DEBUG | wrapper | 2005/01/13 22:29:03 | Command[7] : -Dwrapper.use_system_time=TRUE DEBUG | wrapper | 2005/01/13 22:29:03 | Command[8] : -Dwrapper.version=3.1.2 DEBUG | wrapper | 2005/01/13 22:29:03 | Command[9] : -Dwrapper.native_library=wrapper DEBUG | wrapper | 2005/01/13 22:29:03 | Command[10] : -Dwrapper.service=TRUE DEBUG | wrapper | 2005/01/13 22:29:03 | Command[11] : -Dwrapper.cpu.timeout=10 DEBUG | wrapper | 2005/01/13 22:29:03 | Command[12] : -Dwrapper.jvmid=1 DEBUG | wrapper | 2005/01/13 22:29:03 | Command[13] : org.tanukisoftware.wrapper.WrapperSimpleApp DEBUG | wrapper | 2005/01/13 22:29:03 | Command[14] : com.yourcdr.collector.CdrcD STATUS | wrapper | 2005/01/13 22:29:03 | Launching a JVM... ERROR | wrapper | 2005/01/13 22:29:03 | Unable to start JVM: No such file or directory (2) ERROR | wrapper | 2005/01/13 22:29:03 | Critical error: wait for JVM process failed (No child processes) DEBUG | wrapper | 2005/01/13 22:29:03 | JVM process exited with a code of 1, setting the wrapper exit code to 1. ERROR | wrapper | 2005/01/13 22:29:03 | Unable to start a JVM STATUS | wrapper | 2005/01/13 22:29:03 | <-- Wrapper Stopped I have put the shell script in my apps directory, then an symbolic link in /etc/init.d/ and have put a link to that in /etc/rc3.d/S98yourcdr but if I do /etc/rc3.d/S98yourcdr start it works fine! I looks like the shell script terminates before everything is started, but how can I change it to wait for my app to be started? (I am using the WrapperSimpleApp as main class) thanks a lot! oh, these are the lines from a manual start: DEBUG | wrapper | 2005/01/13 22:49:04 | Command[14] : com.yourcdr.collector.CdrcD STATUS | wrapper | 2005/01/13 22:49:04 | Launching a JVM... INFO | jvm 1 | 2005/01/13 22:49:10 | WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@7b7072 INFO | jvm 1 | 2005/01/13 22:49:10 | Wrapper Manager: JVM #1 INFO | jvm 1 | 2005/01/13 22:49:10 | Wrapper Manager: Registering shutdown hook INFO | jvm 1 | 2005/01/13 22:49:10 | Wrapper Manager: Using wrapper INFO | jvm 1 | 2005/01/13 22:49:10 | Loaded native library: libwrapper.so _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority. |