You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andoni <an...@indigo.ie> on 2002/12/19 11:31:16 UTC

Configuration help: requested resource not available??

Hello:

this is my server.xml

   <Host name="animolocal.andoni.eurokom.ie" appBase="webapps/animo"
unpackWARs="true">
    <Context path="" docBase="c:/tomcat40/webapps/animo"
crossContext="false" debug="0" reloadable="false"/>
   </Host>


Then I go to my URL andonilocal.andoni.eurokom.ie and I get a Tomcat screen
(so it sees tomcat) saying

type Status report

message /index.jsp

description The requested resource (/index.jsp) is not available.



but the .war file has been expanded and the index.jsp is in the
c:\tomcat40\webapps\animo folder.

Please help.



Andoni.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Configuration help: requested resource not available??

Posted by p niemandt <ma...@acesurfer.co.za>.
Try changing your appBase back to webapps, and your docBase just animo.

Tomcat uses the webapps directory as the root for all it's web
applications. Specifying animo as the docBase implies webapps/animo.

You should not need to specify the full path in either.

<Host name="animolocal.andoni.eurokom.ie" appBase="webapps"
unpackWARs="true">
<Context path="" docBase="animo" crossContext="false" debug="0" reloadable="false"/>
</Host>

You can also set the debugging to 100 to find out what's going on.

hth

On Thu, 2002-12-19 at 10:31, Andoni wrote:
> Hello:
> 
> this is my server.xml
> 
>    <Host name="animolocal.andoni.eurokom.ie" appBase="webapps/animo"
> unpackWARs="true">
>     <Context path="" docBase="c:/tomcat40/webapps/animo"
> crossContext="false" debug="0" reloadable="false"/>
>    </Host>
> 
> 
> Then I go to my URL andonilocal.andoni.eurokom.ie and I get a Tomcat screen
> (so it sees tomcat) saying
> 
> type Status report
> 
> message /index.jsp
> 
> description The requested resource (/index.jsp) is not available.
> 
> 
> 
> but the .war file has been expanded and the index.jsp is in the
> c:\tomcat40\webapps\animo folder.
> 
> Please help.
> 
> 
> 
> Andoni.
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
p niemandt <ma...@acesurfer.co.za>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>