Hi dear friends :-)

I am new to this List, thanks for your help! :-)

now I use jakarta-tomcat-4.0-b1(standalone, JDK1.3,  winnt40).

from the direction of one email in Servlet-List, I find the following
link:
http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat-4.0/catalina/docs/dev/classloaders.html

and I find there is a classloader named  "Shared" , and I want to
use it to load MyHelper.class. So I put MyHelper.jar in
both:
   TOMCAT_HOME\lib
   TOMCAT_HOME\classes(I made this folder by meself)

but when I try to make a new instance of MyHelper in MyServlet, I got
the following info in my broswer:

HTTP Status 500 - /myServletFolder0/servlet/MyServlet
The server encountered an internal error
(/myServletFolder0/servlet/MyServlet)
that prevented it from fulfilling this request.

But if I put MyHelper.jar in TOMCAT_HOME\webapps\myServletFolder0\lib,
it works well, but now I think MyHelper is not loaded by "Shared"
classloader.

I just guess perhaps the reason is:  now "Shared" classloader doesn't
work
well, ot it doesn't find MyHelper.jar in TOMCAT_HOME\lib.

Did anybody meet the same problem?
could you tell me how to fix it?

Thanks in advance!


Bo
Feb.26, 2001




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to