Is this standalone or through apache with mod_jk?
If mod_jk, is the Alias for myApp added and the JkMount in the mod_jk.conf
file?
Alias /myApp "/Tomcat/webapps/myApp"
JkMount /myApp/* ajp13
Is the myApp Context added to the server.xml file?
<Context path="/myApp" docBase="myApp"/>
Is the <servlet> and <servlet-mapping> setup in the
webapps/myApp/WEB-INF/web.xml file?
<servlet>
<servlet-name>servletname</servlet-name>
<servlet-class>classname</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>servletname</servlet-name>
<url-pattern>/urlname</url-pattern>
</servlet-mapping>
Lastly, check the log files to ensure that your Context is being
successfully loaded and not failing due to an XML parsing error.
----- Original Message -----
From: "Eduardo Kotujansky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 11:38 AM
Subject: basic tomcat configuration
>
> I can only run servlets at webapps\examples\WEB-INF\classes.
> If I put a servlet at webapps\myApp\WEB-INF\classes , does not work.
>
> any help?
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>