You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by ??? <ma...@human.co.kr> on 2002/10/16 07:40:42 UTC

RE: Fault Occuerd..

but..

why only this sample results like that...  other sample codes work correctly ...

only put service class to %CATALINA_HOME%\classes,  not to %CATALINA_HOME%\webapps\soap\WEB-INF\classes

what's  difference??


Re: Fault Occuerd..

Posted by Scott Nichol <sn...@scottnichol.com>.
For Tomcat 4.0, see
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html.

Scott Nichol

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, October 16, 2002 9:45 AM
Subject: Re: Fault Occuerd..


> It is only when your service code actually uses a class from Apache
SOAP
> that it must be in the webapps directory.  There is a different class
> loader for %CATALINA_HOME%\classes than
> %CATALINA_HOME%\webapps\soap\WEB-INF\classes.  The loader for
> %CATALINA_HOME%\classes cannot load classes from
> %CATALINA_HOME%\webapps\soap\WEB-INF\classes.  Check
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "???" <ma...@human.co.kr>
> To: <so...@xml.apache.org>
> Sent: Wednesday, October 16, 2002 1:40 AM
> Subject: RE: Fault Occuerd..
>
>
> > but..
> >
> > why only this sample results like that...  other sample codes work
> correctly ...
> >
> > only put service class to %CATALINA_HOME%\classes,  not to
> %CATALINA_HOME%\webapps\soap\WEB-INF\classes
> >
> > what's  difference??
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>


Re: Fault Occuerd..

Posted by Scott Nichol <sn...@scottnichol.com>.
For Tomcat 4.0, see
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html.

Scott Nichol

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, October 16, 2002 9:45 AM
Subject: Re: Fault Occuerd..


> It is only when your service code actually uses a class from Apache
SOAP
> that it must be in the webapps directory.  There is a different class
> loader for %CATALINA_HOME%\classes than
> %CATALINA_HOME%\webapps\soap\WEB-INF\classes.  The loader for
> %CATALINA_HOME%\classes cannot load classes from
> %CATALINA_HOME%\webapps\soap\WEB-INF\classes.  Check
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "???" <ma...@human.co.kr>
> To: <so...@xml.apache.org>
> Sent: Wednesday, October 16, 2002 1:40 AM
> Subject: RE: Fault Occuerd..
>
>
> > but..
> >
> > why only this sample results like that...  other sample codes work
> correctly ...
> >
> > only put service class to %CATALINA_HOME%\classes,  not to
> %CATALINA_HOME%\webapps\soap\WEB-INF\classes
> >
> > what's  difference??
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Fault Occuerd..

Posted by Scott Nichol <sn...@scottnichol.com>.
It is only when your service code actually uses a class from Apache SOAP
that it must be in the webapps directory.  There is a different class
loader for %CATALINA_HOME%\classes than
%CATALINA_HOME%\webapps\soap\WEB-INF\classes.  The loader for
%CATALINA_HOME%\classes cannot load classes from
%CATALINA_HOME%\webapps\soap\WEB-INF\classes.  Check
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html.

Scott Nichol

----- Original Message -----
From: "???" <ma...@human.co.kr>
To: <so...@xml.apache.org>
Sent: Wednesday, October 16, 2002 1:40 AM
Subject: RE: Fault Occuerd..


> but..
>
> why only this sample results like that...  other sample codes work
correctly ...
>
> only put service class to %CATALINA_HOME%\classes,  not to
%CATALINA_HOME%\webapps\soap\WEB-INF\classes
>
> what's  difference??
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Fault Occuerd..

Posted by Scott Nichol <sn...@scottnichol.com>.
It is only when your service code actually uses a class from Apache SOAP
that it must be in the webapps directory.  There is a different class
loader for %CATALINA_HOME%\classes than
%CATALINA_HOME%\webapps\soap\WEB-INF\classes.  The loader for
%CATALINA_HOME%\classes cannot load classes from
%CATALINA_HOME%\webapps\soap\WEB-INF\classes.  Check
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html.

Scott Nichol

----- Original Message -----
From: "???" <ma...@human.co.kr>
To: <so...@xml.apache.org>
Sent: Wednesday, October 16, 2002 1:40 AM
Subject: RE: Fault Occuerd..


> but..
>
> why only this sample results like that...  other sample codes work
correctly ...
>
> only put service class to %CATALINA_HOME%\classes,  not to
%CATALINA_HOME%\webapps\soap\WEB-INF\classes
>
> what's  difference??
>
>