tomcat context url

From: bb (kmilburn_at_austin.rr.com)
Date: 12/30/04


Date: 30 Dec 2004 14:27:27 -0800

I'm unable to access a webapp under tomcat. The webapp is installed
under the following directory tree:
testserv/
--------tomcat/
-----------4/
-------------/webapps
-----------------/emptrack

with 'testserv' being the server name.

The webapp's context entry in the Tomcat server.xml file follows:
<<<<<<<<<<<< START OF CONTEXT ENTRY >>>>>>>>>>>>>>>>>
<Context className="org.apache.catalina.core.StandardContext"
cachingAllowed="true"
charsetMapperClass="org.apache.catalina.util.CharsetMapper"
cookies="true" crossContext="false"
debug="6" displayName="emptrack"
docBase="sys:\tomcat\4\webapps\emptrack"
mapperClass="org.apache.catalina.core.StandardContextMapper"
path="/emptrack" privileged="false"
reloadable="false" swallowOutput="false"
useNaming="true"
wrapperClass="org.apache.catalina.core.StandardWrapper">
<Loader className="org.apache.catalina.loader.WebappLoader"
checkInterval="15" debug="4" delegate="false"
loaderClass="org.apache.catalina.loader.WebappClassLoader"
reloadable="false"/>
<Logger className="org.apache.catalina.logger.FileLogger"
debug="0" directory="logs" prefix="localhost_emptrack_log"
suffix=".txt" timestamp="true" verbosity="1"/>
<Manager
className="org.apache.catalina.session.StandardManager" algorithm="MD5"
checkInterval="60" debug="0" duplicates="0" expiredSessions="0"
maxActive="0" maxActiveSessions="2" maxInactiveInterval="600"
pathname="SESSIONS.ser" randomClass="java.security.SecureRandom"
rejectedSessions="0" sessionCounter="0">
</Manager>
</Context>
>>>>>>>>>>> END CONTEXT <<<<<<<<<<<<<<<<<<<<

The webapp is listed in the Tomcat Webapplication Manager Applications
List under the URL 'https://testserv/emptrack', but when I try to
access it I get a 404 Not Found Error. Other URLs fail as well. This is
the default Tomcat installation that comes with Netware.

The application is running on the server, named 'testserv' which is
running on Novell 6.x. The log files show it to be behaving as
expected.
The webapp was installed using an exploded .war file via the Tomcat Web
Application Manager. It is also present and configurable via the Tomcat
Web Server Administration Tool.

Any ideas anyone?



Relevant Pages

  • Re: Unsupported major.minor version 49.0
    ... I've been reading about this in the Tomcat Docs ... >> Create a separate yourownwebapp.xml file, and define the context there. ... Note, I spoke of the "context xml file", not the webapp. ...
    (comp.lang.java.help)
  • Re: Web Application Help
    ... JF1 - which contains class X. ... I am running Tomcat ver 5.0.28 with JDK 1.4.03 ... WebApplication B starts up, and loads this JAR file JF1, then after ... When WebApp B tries to cast this Object back to an instance of class X, ...
    (comp.lang.java.programmer)
  • Re: SOAP and servlets living together?
    ... > - add the path to my soap classes at the end of the CLASSPATH ... If you are using Tomcat 4 or later, ... The classes associated with a specific webapp ...
    (comp.lang.java.programmer)
  • Re: Unsupported major.minor version 49.0
    ... my webapps, I've been reading about this in the Tomcat Docs, and even though I have tried to do what it says here I get SEVERE errors when Tomcat is starting up (I mean if I define a element in either conf/Catalina/localhost/admin.xml, balancer.xml, or manager.xml (does it make a diff. ... and define the context there. ... The context xml file defines some things ... is appBase setting in the that owns this webapp. ...
    (comp.lang.java.help)
  • Re: Tomcat + Eclipse setup
    ... >outside the Tomcat home directory. ... your Eclipse project structure? ... point the docBase of my context to the root of my webapp. ...
    (comp.lang.java.programmer)