Hi Frederic,

Hmm..
Did you ever get the tdk to work in your test environment?  If so then and
assuming you have not missed anything while you mirrored the directory
structure then I think you might have a permissions problem (?).  I'd
check that first, especially if your test environment is in windows and
the deployment one is unix/linux.  Also check for the turbine.log file in
your webapp's log directory, if it's there then look for clues in it. If
it's not there, make sure your libs, tomcat shared or whatever and webapp
specific ones, are correct and in the proper places.

If this fails, try puttting a simple "hello world" servlet into your tdk
webapp directory in the jar file and move it to your deployment area and
let tomcat unjar it.  Then see if you can access it by
http://server:8080/your_context/servlet/HelloWorld.  This at least lets
you know if tomcat is recognizing your context and stuff, so you can
isolate things to a tdk problem.

Just some things that comes to mind...hope it helps.

Regards,
Dan

On Fri, 17 May 2002, Frederic Gedin wrote:

> 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]>
>


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

Reply via email to