You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Walden Mathews <wa...@ilx.com> on 2002/04/04 17:49:43 UTC

Service deployment location

Where is the correct place to deploy web service classes to Axis running as
a Tomcat
servlet?  The examples are packaged into a folder hierarchy under
Axis/Web-inf, but Tomcat
doesn't seem to be able to locate them there.  If I move them to a "classes"
folder
directly under Tomcat, they are found, but is this the right "scope"?  I
think not.  Please
advise.

Walden Mathews 
ILX Systems 
111 Fulton St. 3rd Floor 
New York, NY 10038 
Phone (212) 510-3121 
Fax (212) 437-2305 

 

Re: Service deployment location

Posted by "M. en C. Jesús Sosa Iglesias" <js...@imp.mx>.
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