Hi,
I have created a webobjects web service application using WO5.4 frameworks.
I deployed on my dev box (Mac OS X Server 10.4.8 (8N1215) / Xserve Intel/2 Dual-Core x 2 GHz/8 GB) with WO version 5.4 and working fine.
I placed same build on my prod server (Mac OS X Server 10.4.11 (8S2169) / Mac Intel/1 Quad-Core x 2.8 GHz/8 GB) it deploys the application, registers service without any error, but application / service is not accessible.
I put some directAction to check if App is accessible and that as well doesn't respond.
Overridden life-cycle methods in Application but the request doesn't even enter awake.
Moreover it creates CLOSE_WAIT for every request.
I have tried deploying application in following ways :
1. Have WO5.4 frameworks (.framework) in separate LOCALROOT/System/Library/Frameworks and made MacOSClassPath point these. Custom jars are placed in LOCALROOT/Library/Java/Extensions.
MacOSClassPath just has entries for these frameworks and custom jars. On startup I can see its reading only these paths and none other (like /System/Library/Java or network/Library/Java etc). This approach works for me in DEV box.
2. Made build (.woa) self contained and placed WO 5.4.2 and custom jars in APPROOT/Contents/Extensions. Here MacOSClassPath has entries for only JavaVM frameworks and application jar.
APPROOT/Resources/Java/marketingdatacaptureservices.jar
WOROOT/Library/Frameworks/JavaVM.framework/Classes/classes.jar
WOROOT/Library/Frameworks/JavaVM.framework/Classes/ui.jar
On startup I can see its reading only APPROOT/Contents/Extensions jars and above 3 entries of MacOSClassPath
With both approaches application comes up cleanly, but when tried to hit the directAction or make a service call there is no response, closewait is created and message "No instance available" comes up.
Also locally (on 10.5.4) with WO5.4 installed I always get this app up and service / directAction accessible.
Got jstack for the instance but not able to interpret any useful information from it. Attaching the same for reference.
<jstack.txt>