| Hello, Using Webobjects 5.3 (develop and deploy on the same machine) I've recently had two power failures and both times afterward, Javamonitor could no longer start my app that it was starting fine before the power failures. I can still run my app fine from the command line, giving all the arguments that JavaMonitor says it's going to use (I did have to put single quotes around the () specified after the -NSProjectSearchPath option), but when starting from Javamonitor, it says the app dies (and it does). I wrote a script I found when searching the archives to start the app so that a log file would be written during startup, but no errors show up in the log file. When launching from JavaMonitor, the logs stop after printing the Generated classpat, i.e. it never prints the line about creating a LifeBeatThread. My script looks as follows: #!/bin/sh /Library/WebObjects/Applications/MyApp.woa/MyApp $* > /tmp/appLaunch.log 2>&1 & Here again I can run this script from the command line with the JavaMonitor noted arguments with no problems and the app runs fine. The last time I had to reinstall my OS from scratch to fix things, but I am hoping there is some easier way to fix things. I have also tried deleting and reinstalling my app from scratch but even that doesn't work. Yes, I know I should have a UPS (it's on order), but I'm wondering what about a power down would cause this problem? btw, this problem sounds a lot like a problem Randall Perry had in a thread that he started back in May 2004 and I'm wondering if he ever got a resolution on that one. Any help on this would be GREATLY appreciated as I've basically hit a wall. Jeff When running from JavaMonitor, log file looks as follows: Reading MacOSClassPath.txt ... Launching netBrackets.woa ... java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -DWOLocalRootDirectory="" -DWOUserDirectory="/System/Library/WebObjects/JavaApplications/wotaskd.woa" -DWOEnvClassPath="" -DWOApplicationClass=Application -DWOPlatform=MacOS -Dcom.webobjects.pid=421 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 2002 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /dev/null -WOAutoOpenInBrowser YES -WOAutoOpenClientApplication YES -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath "()" -WOSessionTimeOut 3600 -WOApplicationName runit -WOMonitorEnabled YES -WONoPause YES appRoot is /Library/WebObjects/Applications/netBrackets.woa/Contents Loading /Library/WebObjects/Applications/netBrackets.woa/Contents/MacOS/MacOSClassPath.txt Generated classpath: /Library/WebObjects/Applications/netBrackets.woa/Contents/Resources/Java/netBrackets.jar /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar /var/empty/Library/Java /Library/Java/ /System/Library/Java/ /Network/Library/Java /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar /System/Library/Frameworks/JavaVM.framework/Classes/ui.jar /Library/WebObjects/Extensions/axis-ant.jar /Library/WebObjects/Extensions/axis.jar /Library/WebObjects/Extensions/commons-discovery.jar /Library/WebObjects/Extensions/commons-logging.jar /Library/WebObjects/Extensions/jaxrpc.jar /Library/WebObjects/Extensions/log4j-1.2.4.jar /Library/WebObjects/Extensions/log4j-1.2.8.jar /Library/WebObjects/Extensions/saaj.jar /Library/WebObjects/Extensions/wsdl4j.jar /Library/WebObjects/Extensions/ When running from command line, end of log file looks as follows: Reading MacOSClassPath.txt ... Launching netBrackets.woa ... java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/Applications/netBrackets.woa" -DWOEnvClassPath="" -DWOApplicationClass=Application -DWOPlatform=MacOS -Dcom.webobjects.pid=8019 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 2010 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /dev/null -WOAutoOpenInBrowser YES -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath "()" -WOSessionTimeOut 3600 -WOApplicationName runit -WOMonitorEnabled YES -WONoPause YES appRoot is /Library/WebObjects/Applications/netBrackets.woa/Contents Loading /Library/WebObjects/Applications/netBrackets.woa/Contents/MacOS/MacOSClassPath.txt Generated classpath: /Library/WebObjects/Applications/netBrackets.woa/Contents/Resources/Java/netBrackets.jar /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar /private/var/root/Library/Java /Library/Java/ /System/Library/Java/ /Network/Library/Java /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar /System/Library/Frameworks/JavaVM.framework/Classes/ui.jar /Library/WebObjects/Extensions/axis-ant.jar /Library/WebObjects/Extensions/axis.jar /Library/WebObjects/Extensions/commons-discovery.jar /Library/WebObjects/Extensions/commons-logging.jar /Library/WebObjects/Extensions/jaxrpc.jar /Library/WebObjects/Extensions/log4j-1.2.4.jar /Library/WebObjects/Extensions/log4j-1.2.8.jar /Library/WebObjects/Extensions/saaj.jar /Library/WebObjects/Extensions/wsdl4j.jar /Library/WebObjects/Extensions/ [2005-12-28 21:49:45 CST] <main> Creating LifebeatThread now with: runit 2010 netBrackets-Quad.local/192.168.15.104 1085 30000 [2005-12-28 21:49:45 CST] <main> Opening application's URL in browser: [2005-12-28 21:49:45 CST] <main> null [2005-12-28 21:49:45 CST] <main> Waiting for requests... |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]
