axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Johnston <lastobe...@mac.com>
Subject problem with jwsclassloader
Date Tue, 06 Aug 2002 01:08:19 GMT
I've been working on getting axis working with WebObjects without 
running WebObjects in a servlet container.

I want to get .jws working first, and I'm stuck on the following point, 
where the JWSProcessor tries to create a JWSClassLoader for the compiled 
class. I'm using the Calculator class from samples.userguide.example2. 
I'm not sure if the problem is where I'm putting things, or what.


DEBUG 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:117) - 
Enter: JWSProcessor::invoke
DEBUG 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:159) - 
jwsFile: 
/Users/lasto/project/TestAxisServer/build/TestAxisServer.woa/Contents/Resources/
jwsServices/samples/userguide/example2/Calculator.jws
DEBUG 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:167) - 
jFile: 
/Users/lasto/project/TestAxisServer/build/TestAxisServer.woa/Contents/Resources/
jwsClasses/samples/userguide/example2/Calculator.java
DEBUG 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:168) - 
cFile: 
/Users/lasto/project/TestAxisServer/build/TestAxisServer.woa/Contents/Resources/
jwsClasses/samples/userguide/example2/Calculator.class
DEBUG 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:169) - 
outdir: 
/Users/lasto/project/TestAxisServer/build/TestAxisServer.woa/Contents/Resources/
jwsClasses/samples/userguide/example2
DEBUG 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:187) - 
ClsName: Calculator
java.lang.NoClassDefFoundError: Calculator (wrong name: 
samples/userguide/example2/Calculator)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
	at org.apache.axis.utils.JWSClassLoader.<init>(JWSClassLoader.java:106)
	at 
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:262)
	at org.apache.axis.handlers.JWSProcessor.invoke(JWSProcessor.java:110)
	at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:312)
	at services.handlePost(services.java:575)
	at services.handleSoapAction(services.java:802)
	at services.performActionNamed(services.java:830)
	at DirectAction.performActionNamed(DirectAction.java:39)
	at 
com.webobjects.appserver._private.WODirectActionRequestHandler._handleRequest(
WODirectActionRequestHandler.java:174)
	at 
com.webobjects.appserver._private.WODirectActionRequestHandler.handleRequest(
WODirectActionRequestHandler.java:307)
	at 
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1133)
	at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:
158)
	at 
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:231)
	at java.lang.Thread.run(Thread.java:496)



Any ideas? Anyone else interested in using Axis with WebObjects?

Cheers,
Michael Johnston


Mime
View raw message