Hi Fabio
I'm afraid this is not the thing I must do to solve my problem: I tried to modify my web.xml file to match yours (adding the applicationRoot init param and the load-on-startup option) without success. Looking into the logs reported by tomcat, I saw that it looks for the myapp class and doesn't find it. The problem is that I cannot find it either so I cannot check is the classpath has been properly set. Anyway, I thank you for your help. Fr�d�ric >Hello Fredric, > >did you modify the web.xml file under your project/WEB-INF directory? > >that may be a hint!! > > <?xml version="1.0" encoding="ISO-8859-1" ?> > <!DOCTYPE web-app (View Source for full doctype...)> >- <web-app> >- <servlet> > <servlet-name>bugtrack</servlet-name> > <servlet-class>org.apache.turbine.Turbine</servlet-class> >- <init-param> > <param-name>applicationRoot</param-name> > <param-value>webContext</param-value> > </init-param> >- <init-param> > <param-name>properties</param-name> > <param-value>/WEB-INF/conf/TurbineResources.properties</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> >- <security-constraint> >- <web-resource-collection> > <web-resource-name>templates</web-resource-name> > <url-pattern>/templates/*</url-pattern> > </web-resource-collection> >- <web-resource-collection> > <web-resource-name>logs</web-resource-name> > <url-pattern>/logs/*</url-pattern> > </web-resource-collection> >- <auth-constraint> > <role-name>admin</role-name> > </auth-constraint> > </security-constraint> >- <login-config> > <auth-method>BASIC</auth-method> > <realm-name>Templates</realm-name> > </login-config> > </web-app> > >hope this helps! > >FD > >Frederic Gedin wrote: > >> Hi all >> >> >> I started to play with TDK, building a simple application which works >> fine when deployed using the TDK startup.sh script. >> >> Now I want to generate a war file to be put in the webapps directory >> of a "standalone" tomcat server. Tomcat sees my war file properly, >> unjars it but when I try to invoke >> http://myserver:8080/myapp/servlet/myapp, I have a "Not Found (404)" >> error message. >> >> I tried to make a complete copy of the myapp directory from the TDK >> workspace to the webapp directory of the standalone tomcat with the >> same result. >> >> >> Any hints? What did I miss? >> >> Thank you for your help >> >> Frederic >> >> >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: >> <mailto:[EMAIL PROTECTED]> >> > >-- > >-- >Fabio Daprile > >W�rth-Phoenix Srl >Via Kravogl 4, I-39100 Bolzano >Tel: +39 0471/564111 - (direct 564070) >Fax: +39 0471/564122 > >mailto:[EMAIL PROTECTED] >http://www.wuerth-phoenix.com >http://www.wuerth.com > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
