tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rooda, William J" <>
Subject RE: Requested Resource Not Available
Date Sun, 13 Apr 2003 21:45:57 GMT
I have had some similar problems, albeit on a Windows 2K server.  It
ALWAYS says that the given resource is not available if you don't have
the web.xml file in the WEB-INF folder.  

I haven't done the research to find WHY that problem exists... but this
solved it for me:

If you're JUST using *.jsp files, and not servlets or classes, you don't
really NEED a web.xml file.  And using JDK 1.3, it used to allow me to
NOT have a web.xml file.  But the new upgrade is much more strict about
the default structures.  I would recommend creating a WEB-INF folder in
your webapp, and putting a web.xml file inside.  Also, put a "classes"
folder in the WEB-INF directory, even if there are no classes inside.
When I did that, it started to recognize that the folder was its own
webapp, rather than treating it like a resource.

*/Tomcat 4.1/webapps/yourapplication/WEB-INF/web.xml
*/Tomcat 4.1/webapps/yourapplication/WEB-INF/classes

I don't know what your familiarity with using servlets and classes is (I
don't want to offend you if you already know all of this), but if it
won't accept a blank web.xml file, email me at and I
can send you a sample one.

Hope this helps somewhat,


-----Original Message-----
From: Tyson Lowery [] 
Sent: Sunday, April 13, 2003 4:44 PM
To: Tomcat-User@Jakarta.Apache.Org
Subject: Requested Resource Not Available

Hi, hoping someone can help me because my site is down right now.

I am attempting to upgrade to 4.1.24 from 4.0.3 on a linux machine.
When I
try to load any jsp page, I get the error "The requested resource
(/index.jsp) is not available."

When I start tomcat, here is the output:
WebappLoader[]: Deploying class repositories to work directory
/var/jakarta-tomcat-4.1.24/work/Apache - Tomcat4/defaulthost/_
ContextConfig[]: Missing application web.xml, using defaults only
StandardManager[]: Seeding random number generator class
StandardManager[]: Seeding of random number generator has been completed
StandardWrapper[:default]: Loading container servlet default
StandardWrapper[:invoker]: Loading container servlet invoker
Ajp13Connector[8009] Opening server socket on host IP address
Ajp13Connector[8009] Starting background thread
Ajp13Processor[8009][0] Starting background thread
Ajp13Processor[8009][1] Starting background thread
Ajp13Processor[8009][2] Starting background thread
Ajp13Processor[8009][3] Starting background thread
Ajp13Processor[8009][4] Starting background thread

The only thing that seems off is the part that says missing application
web.xml.  What does that mean?

Any guidance or clues would be greatly appreciated on this Sunday!!!!


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message