Hi all,

Thanks for your support. I reformulate my problem.
I need to restart tomcat, to load the application and to initialize the services.


I thought I can do it with tomcat & turbine configuration files, but I didn't find if I can do it like this.

The solution I right now is:

tomcat start
lynx http://localhost/myapp/servlet/start

I noticed that lynx http://localhost/myapp/, was not working because we redirect the link
to an error message in the case that the browser doesn't support javascript.


(The load-on-startup property is set to 1 in web.xml)

Best,

Sergiu

Stephane Vaucher wrote:

Sorry another comment (inline):

On Tue, 25 Jan 2005, sergiu gordea wrote:



Hi Michael,

Thanks for your answer, unfortunately my problem is a little bit different.
We have an application developed with turbine/velocity technology, and I'm
quite familiar with the installation of  turbine and of our application.

My problem is a little bit different.
I wrote a shell script to rebuild our application in each night (get from cvs, compile, restart tomcat).
My problem is that the simple tomcat restart is not loading the context automatically, and it is not starting turbine.



Is turbine started, but not its services? If that's the case use load-on-startup in web.xml to init your turbine app.




Do you have an idea of how can I achieve this in a better way then using lynx to generate a request?



httpunit :)

hth,
sv


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