File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
My web.xml is good?, why no run my servlets into folder /servlets/ ???
Joined: Mar 11, 2008
Mar 03, 2012 17:06:59
This is my server.xml
<Host name="web.com" appBase="/home/user/public_html/servlets">
<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">
run the DEPLOY, but FOREVER 404,
only when I change
JkMount /servlets/* ajp13
JkMount /* ajp13
into [connector.conf] run fine; but I need RUN FINE INTO dir
Is impossible ?
Joined: Mar 05, 2012
Mar 05, 2012 04:01:58
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
and see whether its working by that way or not...
I agree. Here's the link:
subject: My web.xml is good?, why no run my servlets into folder /servlets/ ???
include doesn't recognize relative path from sub folder
i get diffrent contextpath
Issues when porting to production server - requested resource not available.
Servlet 404 and JkMount configuration - encountered some problem (Apache/Tomcat)
fail to include file from upper directory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015