Is LoginServlet.class in WEB-INF/classes ?

Does LoginServlet.class import any helper classes from third party
aplications? If so are these JAR files in WEB-INF/lib ?

If you are using the specified context is your application under the dir
webapps/Test ?

Are you accessing the servlet on http://domain:port/Test/LoginServlet ?

Not sure if any of this will help but younever know!!!

Matt.


----- Original Message -----
From: "pcampaigne" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 4:13 PM
Subject: Re: HTTP 500-Internal Server Error


> Hi,
> I found some more information about my problem, the root cause is
> ClassNotFoundException: com.op.test.LoginServlet
> but I have the web.xml entry shown below, and also the following context
> entry in server.xml
>
> <!-- Test Context -->
> <Context path="/Test" docBase=Test"
> debug="100" privileged="true"/>
>
> I don't get it??
> Phil
> ----- Original Message -----
> From: "pcampaigne" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 11, 2003 6:59 AM
> Subject: HTTP 500-Internal Server Error
>
>
> Hi,
> I'm trying to setup database access with a simple test application using
> tomcat 4.0.6.
> When my servlet gets executed I get the 500 browser error,
> "Wrapper cannot find servlet class com.op.test.LoginServlet or a class it
> depends on"
> 1. Does anyone know why?
> 2. Is there any way to get more useful error messages?
> Thanks,
> Phil Campaigne
>
> I have the following entry in my web.xml file to address this:
>
> "<serlvet>
>     <servlet-name>LoginServlet</servlet-name>
> <display-name>LoginServlet</display-name>
> <servlet-class>com.op.test.LoginServlet</servlet-class>
> <init-param-name>debug</param-name>
> <param-value>2</param-value>
> <init-param>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>LoginServlet</servlet-name>
> <url-pattern>LoginServlet</url-pattern>
> </servlet-mapping>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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

Reply via email to