tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnf <...@tbird.com>
Subject Re: Porting webapp from 3.1 to 4.1.12
Date Mon, 30 Sep 2002 17:38:50 GMT
Hi Karl,

Just a shot in the dark, but are you aware that TOMCAT_HOME should be 
CATALINA_HOME under Tomcat 4.1.12?

They changes it sometime after 4.1.0.

Hope this helps,

Rick

> 
> 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 
> expected.
> 
> 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!
> Karl
> 
> 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"
>               timestamp="true"/>
> 
>       <Host name="dew" debug="0" appBase="webapps" unpackWARs="true">
>         <Valve className="org.apache.catalina.valves.AccessLogValve"
>                directory="logs"  prefix="dew_access_log." suffix=".txt"
>                pattern="common"/>
>         <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" />
> 
>       </Host>
>     </Engine>
>   </Service>
> </Server>
> 



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message