Hi,
I'm having a really frustrating problem just creating a simple context using
Tomcat 4 on a Linux server.
I edit server.xml in my conf directory to include:
<Context
path="/jsp_public"
docBase="/var/tomcat4/webapps/jsp_public"
debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_manager_log." suffix=".txt" timestamp="true"/>
</Context>
then in /var/tomcat4/webapps/ I created the folder jsp_public as well as a
subdirectory WEB-INF where I added empty folders "classes" and "lib" and the
following web.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Public JSP directory</display-name>
<description>just trying to create a context for public
development.</description>
<context-param>
<param-name>webmaster</param-name>
<param-value>[EMAIL PROTECTED]</param-value>
<description>The EMAIL address of the administrator to whom questions and
comments about this application should be addressed.</description>
</context-param>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
but when I restart the server it always fails to recognize my context. It
serves the built in "examples" contexts just fine out of the same directory.
Anyways, what am I doing wrong? Can anyone help? Thanks!
Jim
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: newbie question creating and serving a context James Bender
- Re: newbie question creating and serving a context Paul Campbell
- Re: newbie question creating and serving a context Jacob Kjome
