Re: WOLips deployment problems
Re: WOLips deployment problems
- Subject: Re: WOLips deployment problems
- From: Jaime Magiera <email@hidden>
- Date: Thu, 8 May 2008 19:40:55 -0400
On May 8, 2008, at 4:48 PM, Chuck Hill wrote:
Is Application in a package? If so, # ApplicationClass need to
indicate that. Look in the project for build.properties:
principalClass=....
Got it. Thanks Chuck. I got the simple test app running and am now
trying to get ThoughtConduit running. This presents a different
problem: WO says there is a conflict because the class path is wrong
(ERExtensions comes before JavaFoundation), but looking at the file
and the logging, the classes are loading in the correct order. Is
there something else I should check? Thanks, I'm picking up a lot and
appreciate the help.
node2:/Library/WebObjects/Applications root# sudo -u appserver
ThoughtConduitRemote.woa/ThoughtConduitRemote -WOPort 2001 -
WOCachingEnabled YES -WODebuggingEnabled YES -WOOutputPath /var/log/
thoughtconduit/test-1 -WOAutoOpenInBrowser NO -
WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -
WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor
WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath \(\) -WOSessionTimeOut 3600 -WOApplicationName
test -WOMonitorEnabled YES -WONoPause YES
Reading MacOSClassPath.txt ...
Launching ThoughtConduitRemote.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/
Applications" -DWOEnvClassPath="" -
DWOApplicationClass
=net.thoughtconduit.ThoughtConduitRemote.Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=1484 -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap -WOPort 2001 -WOCachingEnabled
YES -WODebuggingEnabled YES -WOOutputPath /var/log/thoughtconduit/
test-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -
WOLifebeatInterval 30 -WOLifebeatEnabled YES -
WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -
WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin
16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath "()" -
WOSessionTimeOut 3600 -WOApplicationName test -WOMonitorEnabled YES -
WONoPause YES
Loading /Library/WebObjects/Applications/ThoughtConduitRemote.woa/
Contents/MacOS/MacOSClassPath.txt
Generated classpath:
/Library/WebObjects/Applications/ThoughtConduitRemote.woa/Contents/
Resources/Java/
/Library/WebObjects/Applications/ThoughtConduitRemote.woa/Contents/
Resources/Java/thoughtconduitremote.jar
/Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar
/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
/Library/Frameworks/ERJars.framework/Resources/Java/
erxservletadaptor.jar
/Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar
/Library/Frameworks/ERPrototypes.framework/Resources/Java/
ERPrototypes.jar
/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
/Library/Frameworks/ThoughtConduitWO8.framework/Resources/Java/
thoughtconduitwo8.jar
/Library/Frameworks/WOPayPal.framework/Resources/Java/WOPayPal.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.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.8.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/
No ERX_MARKER field in NSMutableArray found.
This means your class path is incorrect. Adjust it so that
ERExtensions come before JavaFoundation.
=============================
node2:/Library/WebObjects/Applications root# cat
ThoughtConduitRemote.woa/Contents/MacOS/MacOSClassPath.txt
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass ==
net.thoughtconduit.ThoughtConduitRemote.Application
APPROOT/Resources/Java/
APPROOT/Resources/Java/thoughtconduitremote.jar
LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
erxservletadaptor.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
icu4j-3_8_1.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
log4j-1.2.14.jar
LOCALROOT/Library/Frameworks/ERPrototypes.framework/Resources/Java/
ERPrototypes.jar
LOCALROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
LOCALROOT/Library/Frameworks/ThoughtConduitWO8.framework/Resources/
Java/thoughtconduitwo8.jar
LOCALROOT/Library/Frameworks/WOPayPal.framework/Resources/Java/
WOPayPal.jar
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
WOROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
WOROOT/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
WOROOT/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
WOROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
=========================
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden