Make sure a line like this exists in your_tomcat_root/conf/server.xml:

       <Context path="/YourWebappName" docBase="YourWebappName"
reloadable="false"/>

You can make reloadable true if you want to add newly compiled classes to
your webapp without restarting.  It's a performance cost so if this is a
production server false is recommended.

TMcB

----- Original Message ----- 
From: "Peter Riegersperger" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Sunday, December 14, 2003 11:36 AM
Subject: Re: Migrating TDK2.3's newapp to Tomcat4.1.29


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Dec 14, 2003, at 12:50, Vjeran Marcinko wrote:
>
> > Hi folks.
> >
> > I had built newapp web-app following TDK2.3's instructions and
> > everything runs fine when starting Tomcat built in TDK (using
> > <tdk-home>/bin/catalina.bat start). But when I move this newapp to my
> > separate Tomcat-4.1.29 webapps/ dir, and call this newapp using URL -
> > http://localhost:8080/newapp/servlet/newapp , it gives me following
> > error :
> >
> > The requested resource (/newapp/servlet/newapp) is not available
> >
> > So, what is the difference between Tomcat contained inside TDK, and
> > separate one ?
>
> a had the same problem with a turbine 2.2 application. look at
> tomcat/conf/web.xml for this setting:
>      <servlet>
>          <servlet-name>invoker</servlet-name>
>          <servlet-class>
>            org.apache.catalina.servlets.InvokerServlet
>          </servlet-class>
>          <init-param>
>              <param-name>debug</param-name>
>              <param-value>0</param-value>
>          </init-param>
>          <load-on-startup>2</load-on-startup>
>      </servlet>
>
> it is commented out per default. removing the comment worked for me.
>
> peter
>
>
> peter riegersperger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (Darwin)
>
> iD8DBQE/3JGHIMP39JYOy9IRAnAMAKCrnbXZdLyekHc5hSZcja5AW0DsYgCeIfaD
> IpiF4PBWovdHhZDYNwoUsDc=
> =KqKd
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to