We have been working on a new application and we are using Wonder and WO 5.4 for the first time.
We have not problems on development environment.
Now we are trying to deploy it.
The IT team has prepared a virtual server with ubuntu, it says Linux srv04 2.6.28-11-server #42-Ubuntu when I get connected via SSH.
WebObjects 5.4. (JavaMonitor running)
java version "1.5.0_18"
For some reason the app does not run.
I ran the app from the command line and I got this log:
Reading UNIXClassPath.txt ...
Launching erp.woa ...
java -DWORootDirectory="/opt/Apple/" -DWOLocalRootDirectory="/opt/Apple//Local" -DWOUserDirectory="/home/toracom/Applications/erp.woa" -DWOEnvClassPath="" -DWOApplicationClass=com.toracom.erp.general.Application -DWOPlatform=UNIX -Dcom.webobjects.pid=6946 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOFrameworksBaseURL /WebObjects/erp.woa/Frameworks
Loading /opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/UNIX/UNIXClassPath.txt
Generated classpath:
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Resources/Java/
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Resources/Java/erp.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Resources/Java/jxl.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Resources/Java/postgresql-8.3-605.jdbc3.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/ognl-2.6.7.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl53.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl54.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORATools_3_0.framework/Resources/Java/toratools_3_0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/activation.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/avalon-framework-4.2.0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/batik-all-1.7.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/commons-email-1.1.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/commons-io-1.3.1.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/commons-logging-1.0.4.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/fop.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/mail.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/serializer-2.7.0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/torautils_2_0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/xalan-2.7.0.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/xercesImpl-2.7.1.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/xml-apis-1.3.04.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/xml-apis-ext-1.3.04.jar
/opt/Apple/Local/Library/WebObjects/Applications/erp.woa/Contents/Frameworks/TORAUtils_2_0.framework/Resources/Java/xmlgraphics-commons-1.3.1.jar
/opt/Apple//Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
/opt/Apple//Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
/opt/Apple//Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
/opt/Apple//Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
/opt/Apple//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
/opt/Apple//Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
/opt/Apple/Local/Library/WebObjects/Extensions/axis-ant.jar
/opt/Apple/Local/Library/WebObjects/Extensions/axis.jar
/opt/Apple/Local/Library/WebObjects/Extensions/jaxrpc.jar
/opt/Apple/Local/Library/WebObjects/Extensions/log4j-1.2.14.jar
/opt/Apple/Local/Library/WebObjects/Extensions/commons-discovery-0.2.jar
/opt/Apple/Local/Library/WebObjects/Extensions/xalan.jar
/opt/Apple/Local/Library/WebObjects/Extensions/xercesImpl.jar
/opt/Apple/Local/Library/WebObjects/Extensions/xml-apis.jar
/opt/Apple/Local/Library/WebObjects/Extensions/commons-logging-1.0.4.jar
/opt/Apple/Local/Library/WebObjects/Extensions/wsdl4j-1.5.1.jar
/opt/Apple/Local/Library/WebObjects/Extensions/servlet.jar
/opt/Apple/Local/Library/WebObjects/Extensions/serializer.jar
/opt/Apple/Local/Library/WebObjects/Extensions/saaj.jar
/opt/Apple/Local/Library/WebObjects/Extensions/
[2009-9-1 18:15:20 CDT] <main> Initialized : er.extensions.ERXExtensions
sep 01 18:15:24 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
WARN [main] -
As you can see there is a BLANK warning at the end but after that there is no Waiting form request message, and the app does not crash but I do not get any message with the port or something else.
In eclipse, under development I get this logs:
[2009-9-1 18:16:7 CDT] <main> Initialized : er.extensions.ERXExtensions
Sep 01 18:16:10 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOMaxIOBufferSize=8196
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOWorkerThreadCountMin=16
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOSocketMonitorSleepTime=50
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WODirectConnectEnabled=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOIncludeCommentsInResponse=false
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOWorkerThreadCount=8
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOLaunchdEnabled=false
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOIDE=WOLips
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WODebuggingEnabled=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOListenQueueSize=128
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOMissingResourceSearchEnabled=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOApplicationClassName=com.toracom.erp.general.Application
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOSessionStoreClassName=WOServerSessionStore
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOContextClassName=WOContext
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOCachingEnabled=false
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAcceptMalformedCookies=false
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - NSProjectSearchPath=(..,../..)
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOMonitorEnabled=false
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAllowRapidTurnaround=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOGenerateWSDL=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOWorkerThreadCountMax=256
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAllowsConcurrentRequestHandling=false
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAdaptor=WODefaultAdaptor
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOSessionTimeOut=3600
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOMaxSocketIdleTime=180000
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WODefaultUndoStackLimit=10
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAutoOpenClientApplication=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAutoOpenInBrowser=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOApplicationBaseURL=/WebObjects
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOMaxHeaders=200
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOLifebeatEnabled=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAllowsCacheControlHeader=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOSMTPHost=smtp
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOFrameworksBaseURL=/WebObjects/Frameworks
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOAdditionalAdaptors=()
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOStatisticsStoreSessionMax=50
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOLifebeatDestinationPort=1085
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOPort=55552
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOLifebeatInterval=30
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOSocketCacheSize=100
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WOUserDirectory=/Users/dev3/Documents/workspace/erp/build/erp.woa
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WODisplayExceptionPages=true
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - ------------------------
Sep 01 18:16:10 N/A[N/A] DEBUG NSLog - WebObjects version = 5.4.3
Sep 01 18:16:10 erp[N/A] DEBUG NSLog - Created adaptor of class WODefaultAdaptor on port 55552 and address desarrollador-3s-macbook-2.local/192.168.7.104 with WOWorkerThread minimum of 16 and maximum of 256
Sep 01 18:16:10 erp[55552] DEBUG NSLog - NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
Installed NSProjectSearchPath fix
Sep 01 18:16:10 erp[55552] WARN NSLog - Application project found: Will locate resources in '/Users/dev3/Documents/workspace/erp/build/erp.woa' rather than '/Users/dev3/Documents/workspace/erp/build/erp.woa' .
Sep 01 18:16:10 erp[55552] WARN NSLog - Application project found: Will locate resources in '/Users/dev3/Documents/workspace/erp/build/erp.woa' rather than '/Users/dev3/Documents/workspace/erp/build/erp.woa' .
Sep 01 18:16:11 erp[55552] DEBUG NSLog - Creating LifebeatThread now with: erp 55552 desarrollador-3s-macbook-2.local/192.168.7.104 1085 30000
Sep 01 18:16:11 erp[55552] DEBUG NSLog - Finished initialization after launch: ERXExtensions
DEBUG [main] - Opening application's URL in browser:
WARN [main] -
DEBUG [main] - Waiting for requests...
As you can see there is the BLANK warning too but in development it runs without any problem.
This is the first time we try to use apache 2.2 and WO 5.4 on deployment.
Any ideas what could be happening?
Cheers.
Miguel Angel Torres.