Hi (Jose), Had to put this aside as I was gone over the holiday weekend; I'm back at it again.
I forgot to give you one very important piece of information regarding my setup: tomcat is installed to /var/tomcat4 and the jsp that we are trying to use tomcat for is in /bioinformatics/webapps/bioinformatics (and again, we want to use the URL http://bioinformatics.ist.unomaha.edu/bioinformatics to access it; note the lack of a port). Based on this I'm assuming that Docs would be /bioinformatics/webapps/ and Manager would be /var/tomcat4/work/localhost/manager (where it exists in my install). For your reference, here are the relevant (uncommented-out) portions of my server.xml file and Apache httpd.conf file. One immediate question: should I be changing "localhost" to the DNS name of the machine? server.xml <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix =".txt" pattern="common"/> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> <Context path="/var/tomcat4" docBase="/bioinformatics/webapps" debug="0"/> <!-- Tomcat Manager Context --> <Context path="/manager" docBase="manager" debug="0" privileged ="true"/> <!-- Tomcat Examples Context --> <Context path="/examples" docBase="examples" debug="0" reloadable ="true"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_examples_log." suffix=".txt" timestamp="true"/> <Ejb name="ejb/EmplRecord" type="Entity" home="com.wombat.empl.EmployeeRecordHome" remote="com.wombat.empl.EmployeeRecord"/> <Manager className ="org.apache.catalina.session.PersistentManager" debug="0" saveOnRestart="true" maxActiveSessions="-1" minIdleSwap="-1" maxIdleSwap="-1" maxIdleBackup="-1"> <Store className="org.apache.catalina.session.FileStore"/> </Manager> --> <Environment name="maxExemptions" type="java.lang.Integer" value="15"/> <Parameter name="context.param.name" value="context.param.value" override="false"/> <Resource name="jdbc/EmployeeAppDb" auth="SERVLET" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/EmployeeAppDb"> <parameter><name>user</name><value>sa</value></parameter> <parameter><name>password</name><value></value></parameter> <parameter><name>driverClassName</name> <value>org.hsql.jdbcDriver</value></parameter> <parameter><name>driverName</name> <value>jdbc:HypersonicSQL:database</value></parameter> </ResourceParams> <Resource name="mail/Session" auth="Container" type="javax.mail.Session"/> <ResourceParams name="mail/Session"> <parameter> <name>mail.smtp.host</name> <value>localhost</value> </parameter> </ResourceParams> </Context> </Host> httpd.conf <VirtualHost 137.48.138.201> ServerName bioinformatics.ist.unomaha.edu ServerAlias bioinformatics.unomaha.edu DocumentRoot "/bioinformatics/webapps" DirectoryIndex index.jsp index.html </VirtualHost> Again, with the current configuration, the jsp works but the manager and examples contexts don't. Mark ---------------------------- Mark A. Pauley, Ph.D. Senior Research Fellow Instructor, Department of Computer Science College of Information Science & Technology, UNO Omaha, NE 68182-0116 e-mail: [EMAIL PROTECTED] phone: (402) 554-4954 fax: (402) 554-3284 Content-Transfer-Encoding: 7bit From: =?iso-8859-1?Q?Jos=E9_Montiel?= <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Subject: RE: HTTP Status 500 - No Context configured to process this request Date: Tue, 2 Jul 2002 13:36:02 -0400 Message-ID: <004701c221ee$f09c3fa0$6900030a@jmontiel> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Hi Mark, Ok I'm not totally clear with you set up, but try this Your context in Tomcat should look like this <Context path="/manager" docBase="/bioinformatics/webapps/manager" debug="0" privileged="true" /> if it doesn't work try this <Context path="/bioinformatics/manager" docBase="/bioinformatics/webapps/manager" debug="0" privileged="true" /> If this doesn't work please send me your entire conf directory, where server.xml file is, and your httpd.conf file of Apache. Also explain me the structure of you file system (ex. Docs: /bioinformatics/webapps, manager: /bioinformatics/webapps/manager, etc) I'm sending my server.xml file so you can take a look at it. my files are in /home/inmuebles/docs/ - site files (HTML, JSP, GIF etc) /home/inmuebles/webapps/manager - manager app About the other questions 1.- Tomcat can work Stand Alone, it is just not so efficient delivering HTML content for what I have read, but in my dev box I have it running Stand Alone (No Apache at all). If you want to set up Apache with tomcat you have to configure the connector AJP or WARP, there are more docs for AJP connector. Virtual Hosts has nothing to do with this. 2.-When you connect to http://bioinformatics.ist.unomaha.edu:8180, you are probably connecting directly to Tomcat bypassing Apache, and if you set up the connector mentioned above you will not have to specify the port. 3.- I don't really know if a WEB_INF is required, I have always had it since I work with JSP pages. I any case it doesn't do any harm to have that directory and even the web.xml file that is supposed to be there. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
