• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My web.xml is good?, why no run my servlets into folder /servlets/ ???

 
Gabriel Pinares
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

This is my server.xml



<Host name="web.com" appBase="/home/user/public_html/servlets">
<Alias>www.web.com</Alias>
<Context path="/servlets" reloadable="true" docBase="/home/user/public_html/servlets" debug="1"/>
<Context path="/manager" debug="0" privileged="true" docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>

And yes!,

TOMCAT run the DEPLOY, but FOREVER 404,
only when I change

JkMount /servlets/* ajp13

By

JkMount /* ajp13


into [connector.conf] run fine; but I need RUN FINE INTO dir

/servlets/



Is impossible ?






 
Sonia Rana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

try to change host as:

<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">

then deploy your war file to webapps folder and try to access your servlet on http://localhost:8080/Servlet_URL_pattern

and see whether its working by that way or not...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic