[opencms-dev] OpenCMS won't run on Weblogic

Gianluca Cassina gcassina at etnoteam.it
Fri Jul 28 15:14:08 CEST 2006


The problem with Weblogic is that it doesn't unpack the war file, so it
can't update the context during setup wizard.

To run opencms on weblogic, you need to unpack (jar xvf opencms.war) and
then deploy it as unpacked directory.

 Regards,
	Gianluca

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Svjatoslav Agejenko
Sent: venerdì 28 luglio 2006 13.13
To: The OpenCms mailing list
Subject: Re: [opencms-dev] OpenCMS won't run on Weblogic

Christian Steinert wrote:
> Does Websphere really destroy the whole servlet context?

> If the whole application is not shown as running in the admin tools of
websphere then that *would* be an error.
> But the message you posted is normal and it's normal that opencms does not
"boot", if the wizard is active.


Using debugging statements traced following functions in presented order
have been executed on  Weblogic immediately after deployment.

OpenCmsListener.contextInitialized(...)
OpenCmsServlet.init(...)
    catched CmsInitException
    new ServletException(...) is thrown
OpenCmsListener.contextDestroyed(...)

Identical WAR on Tomcat:

OpenCmsListener.contextInitialized(...)
OpenCmsServlet.init(...)
    catched CmsInitException
    new ServletException(...) is thrown

It looks Weblogic destroyed whole servlet context
(OpenCmsListener.contextInitialized(...) function is called only once per
deployment attempt.)

Whole application is show as having failed status on Weblogic admin console.

> What is the URL of your opencms servlet context?
>   
URL of the servlet context is "http://localhost:7001/opencms/"

Defined in web.xml:
    <context-param>
        <param-name>OpenCmsServlet</param-name>
        <param-value>/opencms/*</param-value>
    </context-param>

> Which URL do you use to access the setup wizard?

I have tried: http://localhost:7001/opencms/setup/

> What message do you get, if you try to access the setup wizard?


    Error 404--Not Found

...

I suppose context destruction is triggered by some bug?
Anybody know how to fix this ?
Thank you for help !


_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list