[opencms-dev] RE: OpenCMS 6 Beta 2 and Jetty 5.1

Alexander Kandzior alex at opencms.org
Fri Apr 22 08:06:46 CEST 2005


> I managed to solve this error, 
> I removed the <load-on-startup> parameter from the web.xml 
> file. This is only required when doing a clean installation 
> of OpenCms 6 beta 2. After doing the installation I can 
> add once again the <load-on-startup>1<load-on-startup>.

Ah there Tomcat and Jetty behave differently. On Tomcat, if the
servlet.init() method throws an exception, the servlet is not initialized,
but it will be tried to be initialized again on the next access to the
servlet. 

Does someone know what the Servlet specs say on this issue? I could remove
the crash of the init() method, but then (at last without doing more owrk on
the matter) OpenCms would require a container (web application) restart
after the setup wizard...

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com





More information about the opencms-dev mailing list