Clark,
This is rather odd! I can't think of what it might be. Let's try
getting a thread dump when it hangs and see where it is stuck, maybe
that will suggest something. Are you using Log4J or anything else
unusual? Are you using Wonder?
If you need help getting a thread dump, this should help: http://
www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=41413
Chuck
On Oct 24, 2006, at 9:01 PM, Clark Mueller wrote:
Chuck,
It doesn't appear to be. The appserver user has write access to
the /Library/WebObjects/Logs/RepairStatus directory, and the files
underneath it. I've tried running from the CLI as both the
appserver user and root, with the same results. Here's an example
of the full output:
This command hangs (with the -WOOutputPath flag, in this case set
to /dev/null):
root# /Library/WebObjects/Applications/RepairStatus.woa/
RepairStatus -WOPort 5001 -WOOutputPath /dev/null -
WOCachingEnabled NO -WODebuggingEnabled NO -WOAutoOpenInBrowser NO
-WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -
WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor
WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath "()" -WOSessionTimeOut 3600 -WOApplicationName
RepairStatus -WOMonitorEnabled YES -WONoPause YES
Reading MacOSClassPath.txt ...
Launching RepairStatus.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/library/webobjects/
applications" -DWOEnvClassPath="" -
DWOApplicationClass=com.macxprts.repairstatus.Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=739 -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 5001
-WOOutputPath /dev/null -WOCachingEnabled NO -WODebuggingEnabled
NO -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -
WOLifebeatInterval 30 -WOLifebeatEnabled YES -
WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -
WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath "()" -WOSessionTimeOut 3600 -WOApplicationName
RepairStatus -WOMonitorEnabled YES -WONoPause YES
appRoot is /Library/WebObjects/Applications/RepairStatus.woa/Contents
Loading /Library/WebObjects/Applications/RepairStatus.woa/Contents/
MacOS/MacOSClassPath.txt
Generated classpath:
/Library/WebObjects/Applications/RepairStatus.woa/Contents/
Resources/Java/
/Library/WebObjects/Applications/RepairStatus.woa/Contents/
Resources/Java/repairstatus.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/
Java/javawebobjects.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/
Java/javafoundation.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/
Java/javaeocontrol.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
Java/javajdbcadaptor.jar
/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
^C^C^C
This command works (no -WOOutputPath flag at all):
# sudo -u appserver /Library/WebObjects/Applications/
RepairStatus.woa/RepairStatus -WOPort 5001 -WOCachingEnabled NO -
WODebuggingEnabled NO -WOAutoOpenInBrowser NO -
WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -
WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor
WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath "()" -WOSessionTimeOut 3600 -WOApplicationName
RepairStatus -WOMonitorEnabled YES -WONoPause YES
Reading MacOSClassPath.txt ...
Launching RepairStatus.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/library/webobjects/
logs/RepairStatus" -DWOEnvClassPath="" -
DWOApplicationClass=com.macxprts.repairstatus.Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=782 -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 5001
-WOCachingEnabled NO -WODebuggingEnabled NO -WOAutoOpenInBrowser
NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -
WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor
WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath "()" -WOSessionTimeOut 3600 -WOApplicationName
RepairStatus -WOMonitorEnabled YES -WONoPause YES
appRoot is /Library/WebObjects/Applications/RepairStatus.woa/Contents
Loading /Library/WebObjects/Applications/RepairStatus.woa/Contents/
MacOS/MacOSClassPath.txt
Generated classpath:
/Library/WebObjects/Applications/RepairStatus.woa/Contents/
Resources/Java/
/Library/WebObjects/Applications/RepairStatus.woa/Contents/
Resources/Java/repairstatus.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/
Java/javawebobjects.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/
Java/javafoundation.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/
Java/javaeocontrol.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
Java/javajdbcadaptor.jar
/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
[2006-10-24 22:53:17 CDT] <main> Creating LifebeatThread now with:
RepairStatus 5001 <host>/<ip> 1085 30000
Welcome to RepairStatus!
[2006-10-24 22:53:17 CDT] <main> The URL for webserver connect is:
http://<ip>/cgi-bin/WebObjects/RepairStatus.woa/-5001
[2006-10-24 22:53:17 CDT] <main> null
[2006-10-24 22:53:17 CDT] <main> Waiting for requests...
Thanks,
Clark
On 24 Oct 06, at 9:35 PM, Chuck Hill wrote:
Hi Clark,
It is probably a permissions problem as here:
http://www.gvcsitemaker.com/gvc.webobjects/
faq&mode=single&recordID=19193
HTH
Chuck
On Oct 24, 2006, at 8:31 PM, Clark Mueller wrote:
Hi everyone,
I'm having a problem deploying a new WO application. This is a
very small app, and it's the first that I've built for deployment
with WOLips (I am not sure if that's related or not, but I did it
according to the tutorial @ http://www.objectstyle.org/confluence/
display/WOL/Deploy+a+WO+Application). What's happening is that on
launch, the application hangs immediately after printing the
class path. In monitor, it eventually times out as a death. From
the CLI, it looks like it just hangs that way indefinitely. The
launch arguments are like so:
/Library/WebObjects/Applications/RepairStatus.woa/RepairStatus -
WOPort 5001 -WOOutputPath /dev/null -WOCachingEnabled NO -
WODebuggingEnabled NO -WOAutoOpenInBrowser NO -
WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -
WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor
WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath "()" -WOSessionTimeOut 3600 -
WOApplicationName RepairStatus -WOMonitorEnabled YES -WONoPause YES
I've found that if I remove WOOoutputPath, the app launches fine,
but if it is set (apparently to anything), the app will hang.
Other apps on the server are not having any problems launching.
Has anyone seen this before? Any thoughts?
Thanks,
Clark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill%
40global-village.net
This email sent to [EMAIL PROTECTED]
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill%
40global-village.net
This email sent to [EMAIL PROTECTED]
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to archive@mail-archive.com