Dan O'Neill wrote:
Actually that
should have been my first reply.. don't know why I was focusin on
tomcat....
The reason i mentioned the placement of the jws is that in your first
email you were just placing the class file into the jwsClasses folder.
Why not put the original TLS.jws into the tomcathome\webapps\axis
folder?
actually that's what I did initially. but when axis tried to compile
it when I went to that url it failed.
As a work around I tired to place the manually generated class file in
the classes directory, that too failed. I'm Sorry guess I did not make
that clear.
But if you've got it working, well done, and sorry for this curiousity!
Dan
On 5/18/05, Frank <[EMAIL PROTECTED]> wrote:
found the problem classpath seems to not make a
difference, why I don't
know. Put the classes files in axis/WEB-INF/classes and it find them.
And this is where in the Axis documentation? LOL
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....
That was the problem letting axis compile then. Just doing
a javac on
them worked directly worked, that was the frustrating problem and was
using the same classpath
Thanks for the help
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=""http://www.spreadfirefox.com/?q=affiliates&id=0&t=82%22"
target="_blank" >http://www.spreadfirefox.com/?q=affiliates&id=0&t=82"
><img
border="0" alt="Get Firefox!" title="Get Firefox!"
src=""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
--
"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
|