The only way I can get (not using MyService example though) to work is by placing the class file directly into the web-inf classes folder.� If I put it even one folder deep in the web-inf/classes folder, it will not work.� Is this by design?�

And yes, I did specify the folder hierchy in the wsdd file.�

 

Newman

 

-----Original Message-----
From: Walden Mathews [mailto:[EMAIL PROTECTED]]
Sent: 04 April, 2002 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Service deployment location

 

That seems to address a different problem, though.  How/where do you deploy your

web service classes?  Do you jar them also?  BTW, my Tomcat installation has not

"common" directory in the tree.  Is that significant?

 

wm

-----Original Message-----
From: Adam Greene [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Service deployment location

Actually put every jar file in the webapps/axis/web-inf/lib, except jax-rpc.jar because any file that contains javax.* namespaces on pacakage must be put in the

%TOMCAT_HOME%\common\lib directory.  That is how I do it and it works great.

----- Original Message -----

Sent: Thursday, April 04, 2002 1:05 PM

Subject: RE: Service deployment location

 

"axis can't load classes the same as tomcat"

 

Do I smell a requirement here, guys?

 

Walden

-----Original Message-----
From: M. en C. Jes�s Sosa Iglesias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 12:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Service deployment location

 
As you are talking with axis, not tomcat when invoking a service, axis can�t load classes the same as tomcat.
Axis use the Classpath to find classes, So you have to set up the classpath before start tomcat :
I put inside Tomcat Bat.
    set CLASSPATH=h:\jakarta-tomcat-3.2.3\webaps\axis\web-inf\classes;%CP%
I hope this help

Walden Mathews wrote:

 Where is the correct place to deploy web service classes to Axis running as a Tomcatservlet?  The examples are packaged into a folder hierarchy under Axis/Web-inf, but Tomcatdoesn't seem to be able to locate them there.  If I move them to a "classes" folderdirectly under Tomcat, they are found, but is this the right "scope"?  I think not.  Pleaseadvise.Walden Mathews
ILX Systems
111 Fulton St. 3rd Floor
New York, NY 10038
Phone (212) 510-3121
Fax (212) 437-2305 

Reply via email to