I know this is kind of cheating but and again I don't know if it will solve your problem but try putting all the axis jar files into a XXXX\webapps\ROOT\WEB-INF\lib folder, where XXXX is tomcats home folder. These automatically get dynamically added to the classpath when tomcat is started.

The reason I think its tomcats classpath is that you can (I think) compile the java without a problem normally?

Also If that doesn't solve it try just putting the jws file straight into the webapps/axis folder and let axis itself look after the compiling....

Dan

On 5/17/05, Frank <[EMAIL PROTECTED]> wrote:
Well I looked at the catalina.bat file.  Seems it does not use the CLASSPATH environment variable that is set for the system.  I changed it to  do that and restarted Tomcat but no good.  Same problem. 

Is there a separate variable used for tomcat for it's classpath beyond that? like TOMCAT_CLASSPATH or something?

Thanks,

Frank


Dan O'Neill wrote:
This is probably a stupid thing to say but have you checked tomcats classpath....

Dan

On 5/17/05, Frank <[EMAIL PROTECTED]> wrote:
I have a problem that I believe to be a classpath problem (see below), but I have included the path to the localhost directory, even created a jar of the class files and still  get the error.  I can compile the file directory just fine.  But if  I put the class file from a normal javac in the jwsClasses directory the call to produce the WSDL (http://kw14:8080/axis/TLS.jws?wsdl) from the browser say's file not found.

Line in java code (the directory structure exists and the java code is compiled):
import localhost.axis.OMS_jws.*;

Running on XP
Using tomcat distributed with JWSDP 1.4
Axis 1.2


AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - Error while compiling:  C:\tomcat-jwsdp-1.4\webapps\axis\WEB-INF\jwsClasses\TLS.java

AxisFault
faultCode: {
http://xml.apache.org/axis/
}Server.compileError
faultSubcode:
faultString: Error while compiling: C:\tomcat-jwsdp-1.4\webapps\axis\WEB-INF\jwsClasses\TLS.java
faultActor:
faultNode:
faultDetail:

{}Errors:Error compiling C:\tomcat-jwsdp-1.4\webapps\axis\WEB-INF\jwsClasses\TLS.java:
Line 0, column 0: could not parse error message: Note: sun.tools.javac.Main has been deprecated.
C:\tomcat-jwsdp-1.4\webapps\axis\WEB-INF\jwsClasses\TLS.java:39:
Package localhost.axis.OMS_jws not found in import.
import localhost.axis.OMS_jws.*;





--
<html><a href="" href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=82%22" target="_blank" >http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=82" ><img border="0" alt="Get Firefox!" title="Get Firefox!" src="" href="http://sfx-images.mozilla.org/affiliates/Buttons/80x15/white_1.gif%22/" target="_blank" >http://sfx-images.mozilla.org/affiliates/Buttons/80x15/white_1.gif"/ ></a></html>






--
"I swear, the next bastard that kisses the ground in front of me is gonna get
kicked in the antique chicken coops."  - Cohen the Barbarian

Reply via email to