tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Hauth" <>
Subject Porting webapp from 3.1 to 4.1.12
Date Mon, 30 Sep 2002 15:32:04 GMT
Hello all!  Zoinks this list is busier than I expected!  Thank you for
making yourselves available to us!

I am porting an application from Tomcat 3.1 to 4.1.12.

I am able to see http://dew:8080/index.jsp and the JSP and servlet examples 
all work.  Browsing to http://dew:8080/examples shows me a directory listing 
from my $TOMCAT_HOME/webapps/examples directory.  Clicking links works as 

My application is housed in /home/webapps/ebonds and is made up of html & 
class files.  No WAR file.  There is /home/webapps/ebonds/index.html file.  
I have recompiled my application with a new XXXX.jar file.  I have not 
changed any code.

When I browse http://dew:8080/ebonds I get:
    HTTP Status 404 - /ebonds
    type Status report
    message /ebonds
    description The requested resource (/ebonds) is not available.
    Apache Tomcat/4.1.12
Browsing http://dew:8080/ebonds/index.html yields a similar response.

I thought perhaps something didn't like not being inside $TOMCAT_HOME, so I 
copied $TOMCAT_HOME/webapps/examples to /home/webapps/exs and added a 
Context to my server.xml file.  Browsing http://dew:8080/exs works just as 
I'd like.  But I can't find any significatn differences between 
/home/webapps/exs & /home/webapps/ebonds.

I hope I'm overlooking something obvious.
Thanks in advance!

Here's my server.xml file:
<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="1" maxProcessors="75"
               enableLookups="false" acceptCount="10" debug="0"

    <Engine name="StandaloneEngine" defaultHost="dew" debug="0">
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="engine_log." suffix=".txt"

      <Host name="dew" debug="0" appBase="webapps" unpackWARs="true">
        <Valve className="org.apache.catalina.valves.AccessLogValve"
               directory="logs"  prefix="dew_access_log." suffix=".txt"
        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="logs"  prefix="dew_log." suffix=".txt"
                timestamp="true" verbosity="1" />

        <Context path=""                 docBase="ROOT"                 />
        <Context path="/examples"        docBase="examples"             />
        <Context path="/exs"             docBase="/home/webapps/exs"    />
        <Content path="/ebonds"          docBase="/home/webapps/ebonds" />

        <Realm className="org.apache.catalina.realm.MemoryRealm" />


Chat with friends online, try MSN Messenger:

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

View raw message