tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aladdin <>
Subject Can't figure out directory structure (again:-(
Date Sun, 23 Jul 2006 23:32:20 GMT
I had this all working with some basic jsp pages and a (one) servlet.  I went
to continue to build on my application, and all of a sudden, it broke again.

I changed a lot of code (html, jsp, and java), but none of the configuration files,
I don't think (but, you know how that goes).  All of a sudden, it can't find the
"requested resource".  It gets through apache (so I'm assuming the workers
stuff is OK), and the message comes from tomcat.  The problem starts on a
jsp login page where the germane element is:

<form name="loginForm" method="post" action="/smsinfo/login">
    <!--           rest of stuff in form                  -->

Here is the germane part of the server.xml file:

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

	<Context path="/smsinfo"

             <Resource name="jdbc/smsinfo" auth="Container" type="javax.sql.DataSource"
	               maxActive="20" maxIdle="5" maxWait="10000" username="anw"
		       password="anw111" driverClassName="com.mysql.jdbc.Driver"


Here is the web.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"


  <!-- First, let's define the servlets and their mappings -->
  <!-- User authentication and validation -->


The login class in question is located in

This whole directory thing and where to find stuff with tomcat and apache
is getting very frustrating.

Thanks for any help!

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message