Class path problem
Class path problem
- Subject: Class path problem
- From: Corin Lawson <email@hidden>
- Date: Tue, 30 Aug 2005 12:05:58 +1000
Hi,
I can find the class yet WO can't... what does WO need?
I have tried deleting the framework from the project and adding it
again but to no avail.
Here's the class in question:
$ jar -tf /System/Library/Frameworks/JavaWebObjects.framework/
Resources/Java/javawebobjects.jar | grep WODirectAction.class
com/webobjects/appserver/WODirectAction.class
$
This is the run log:
Launching Shop.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/Users/corin/BDERS/
Project/Shop" -DWOEnvClassPath="" -DWOApplicationClass=Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=1924 -
DWOApplicationClass=com.auststyle.shop.Application -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -
DWOApplicationClass=com.auststyle.shop.Application
appRoot is /Users/corin/BDERS/Project/Shop/build/Development/Shop.woa/
Contents
Loading /Users/corin/BDERS/Project/Shop/build/Development/Shop.woa/
Contents/MacOS/MacOSClassPath.txt
Generated classpath:
/Users/corin/BDERS/Project/Shop/build/Development/Shop.woa/
Contents/Resources/Java/shop.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/JavaWOExtensions.framework/Resources/
Java/JavaWOExtensions.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar
/Library/Frameworks/WOUnitTest.framework/Resources/Java/
wounittest.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
Java/javajdbcadaptor.jar
/System/Library/Frameworks/JavaWebServicesClient.framework/
Resources/Java/javawebservicesclient.jar
/System/Library/Frameworks/JavaWebServicesSupport.framework/
Resources/Java/javawebservicessupport.jar
/Users/corin/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/avalon-framework-4.1.2.jar
/Library/WebObjects/Extensions/axis-ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/BDERS.jar
/Library/WebObjects/Extensions/commons-discovery.jar
/Library/WebObjects/Extensions/commons-logging.jar
/Library/WebObjects/Extensions/epp-namestore.jar
/Library/WebObjects/Extensions/epp-toolkit.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/logkit-1.0.1.jar
/Library/WebObjects/Extensions/mm.mysql-2.0.14-bin.jar
/Library/WebObjects/Extensions/mysql-connector-java-3.1.8-bin.jar
/Library/WebObjects/Extensions/mysql-connector-java-3.2.0-alpha-
bin.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/servlet.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/xercesImpl.jar
/Library/WebObjects/Extensions/xml-apis.jar
/Library/WebObjects/Extensions/
[2005-08-30 11:45:09 EST] <main> WOMaxIOBufferSize=8196
[2005-08-30 11:45:09 EST] <main> WOWorkerThreadCountMin=16
[2005-08-30 11:45:09 EST] <main> WOSocketMonitorSleepTime=50
[2005-08-30 11:45:09 EST] <main> WODirectConnectEnabled=true
[2005-08-30 11:45:09 EST] <main> WOIncludeCommentsInResponse=true
[2005-08-30 11:45:09 EST] <main> WOWorkerThreadCount=8
[2005-08-30 11:45:09 EST] <main> WOAdaptorURL=http://localhost/cgi-
bin/WebObjects
[2005-08-30 11:45:09 EST] <main> WOPlatform=MacOS
[2005-08-30 11:45:09 EST] <main> WODebuggingEnabled=true
[2005-08-30 11:45:09 EST] <main> WOEnvClassPath=
[2005-08-30 11:45:09 EST] <main> WOListenQueueSize=128
[2005-08-30 11:45:09 EST] <main> WOMissingResourceSearchEnabled=true
[2005-08-30 11:45:09 EST] <main>
WOSessionStoreClassName=WOServerSessionStore
[2005-08-30 11:45:09 EST] <main> WOContextClassName=WOContext
[2005-08-30 11:45:09 EST] <main> WOCachingEnabled=false
[2005-08-30 11:45:09 EST] <main>
WOApplicationClass=com.auststyle.shop.Application
[2005-08-30 11:45:09 EST] <main> WOAcceptMalformedCookies=false
[2005-08-30 11:45:09 EST] <main> NSProjectSearchPath=("..")
[2005-08-30 11:45:09 EST] <main> WOMonitorEnabled=false
[2005-08-30 11:45:09 EST] <main> WOAllowRapidTurnaround=true
[2005-08-30 11:45:09 EST] <main> WORootDirectory=/System
[2005-08-30 11:45:09 EST] <main> WOLocalRootDirectory=
[2005-08-30 11:45:09 EST] <main> WOGenerateWSDL=true
[2005-08-30 11:45:09 EST] <main> WOWorkerThreadCountMax=256
[2005-08-30 11:45:09 EST] <main> WOAllowsConcurrentRequestHandling=false
[2005-08-30 11:45:09 EST] <main> WOAdaptor=WODefaultAdaptor
[2005-08-30 11:45:09 EST] <main> WOSessionTimeOut=3600
[2005-08-30 11:45:09 EST] <main> WOMaxSocketIdleTime=180000
[2005-08-30 11:45:09 EST] <main> WODefaultUndoStackLimit=10
[2005-08-30 11:45:09 EST] <main> WOAutoOpenClientApplication=true
[2005-08-30 11:45:09 EST] <main> WOAutoOpenInBrowser=true
[2005-08-30 11:45:09 EST] <main> WOApplicationBaseURL=/WebObjects
[2005-08-30 11:45:09 EST] <main> WOMaxHeaders=200
[2005-08-30 11:45:09 EST] <main> WOLifebeatEnabled=true
[2005-08-30 11:45:09 EST] <main> WOAllowsCacheControlHeader=true
[2005-08-30 11:45:09 EST] <main> WOSMTPHost=smtp
[2005-08-30 11:45:09 EST] <main> WOFrameworksBaseURL=/WebObjects/
Frameworks
[2005-08-30 11:45:09 EST] <main> WOStatisticsStoreSessionMax=50
[2005-08-30 11:45:09 EST] <main> WOAdditionalAdaptors=()
[2005-08-30 11:45:09 EST] <main> WOLifebeatDestinationPort=1085
[2005-08-30 11:45:09 EST] <main> WOPort=55556
[2005-08-30 11:45:09 EST] <main> WOLifebeatInterval=30
[2005-08-30 11:45:09 EST] <main> WOSocketCacheSize=100
[2005-08-30 11:45:09 EST] <main> WOUserDirectory=/Users/corin/BDERS/
Project/Shop
[2005-08-30 11:45:09 EST] <main> WODisplayExceptionPages=true
[2005-08-30 11:45:09 EST] <main> com.webobjects.pid = 1924
[2005-08-30 11:45:09 EST] <main> ------------------------
[2005-08-30 11:45:09 EST] <main> Created adaptor of class
WODefaultAdaptor on port 55556 and address Corins-Computer.local/
10.10.18.113 with WOWorkerThread minimum of 16 and maximum of 256
[2005-08-30 11:45:09 EST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2005-08-30 11:45:10 EST] <main> A fatal exception occurred: com/
webobjects/appserver/WODirectAction
[2005-08-30 11:45:10 EST] <main> java.lang.NoClassDefFoundError: com/
webobjects/appserver/WODirectAction
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
com.webobjects.foundation._NSUtilities._searchForClassInPackages
(_NSUtilities.java:374)
at com.webobjects.foundation.NSBundle.searchForClassInBundles
(NSBundle.java:1002)
at
com.webobjects.foundation.NSBundle.searchAllBundlesForClassWithName
(NSBundle.java:986)
at com.webobjects.foundation.NSBundle.access$300
(NSBundle.java:208)
at com.webobjects.foundation.NSBundle
$1._searchForClassWithName(NSBundle.java:373)
at
com.webobjects.foundation._NSUtilities._classWithPartialName
(_NSUtilities.java:344)
at com.webobjects.foundation._NSUtilities.classWithName
(_NSUtilities.java:291)
at
com.webobjects.appserver._private.WOBundle.lookForClassInAllBundles
(WOBundle.java:89)
at
com.webobjects.appserver._private.WOActionRequestHandler._actionClassFor
Name(WOActionRequestHandler.java:53)
at
com.webobjects.appserver._private.WOActionRequestHandler.<init>
(WOActionRequestHandler.java:98)
at
com.webobjects.appserver._private.WODirectActionRequestHandler.<init>
(WODirectActionRequestHandler.java:27)
at
com.webobjects.appserver._private.WODirectActionRequestHandler.<init>
(WODirectActionRequestHandler.java:23)
at
com.webobjects.appserver.WOApplication._registerRequestHandlers
(WOApplication.java:2973)
at com.webobjects.appserver.WOApplication.<init>
(WOApplication.java:634)
at com.auststyle.shop.Application.<init>(Application.java:20)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance
(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.webobjects.appserver.WOApplication.main
(WOApplication.java:323)
at com.auststyle.shop.Application.main(Application.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main
(WOBootstrap.java:71)
_______________________________________________
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