• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?






 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic