[opencms-dev] OpenCMS Installation on Webshpere app server

Dylan Milks DMilks at greenridge.ca
Thu Jan 28 22:05:22 CET 2010


Hi Mario, 

 

I have gone through the steps to install on WebSphere 7 (I did have to deviate slightly since it would appear that your instructions are for 6.1).  However, when I start the server for the first time, I get various errors in the SystemOut.log.  Most seem to be related to classpath problems, where it can't find the OpenCMS servlets (see errors at end of message).

 

Do you know how to resolve these errors?

 

Thanks again!

 

- Dylan

 

[1/28/10 14:24:30:078 CST] 00000019 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[Failed to load listener: org.opencms.main.OpenCmsListener]: java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: org.opencms.main.OpenCmsListener

 

[1/28/10 14:24:30:297 CST] 00000019 jsp           E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [/WEB-INF/opencms.tld]: JSPG0036E: Failed to find resource file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/WEB-INF/opencms.tld

 

[1/28/10 14:24:30:531 CST] 00000019 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper run [Servlet Error]-[class java.lang.ClassNotFoundException: org.opencms.main.OpenCmsServletErrorHandler]: java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: org.opencms.main.OpenCmsServletErrorHandler

 

[1/28/10 14:24:30:766 CST] 00000019 extension     W com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor createServletWrapper Servlet OpenCmsServlet is currently unavailable: SRVE0200E: Servlet [org.opencms.main.OpenCmsServlet]: Could not find required class - class java.lang.ClassNotFoundException: org.opencms.main.OpenCmsServlet

 

 

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Mario Jäger
Sent: Thursday, January 28, 2010 11:06 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] OpenCMS Installation on Webshpere app server

 

Hi Dylan,

 

Log in to the WebSphere administration console, typically: http://localhost:9060/ibm/console/ and 

navigate to "Applications" > "Install New Application". Enter the path to the opencms.war file in 

the field "Path to the new application", and the right "Context Root", typically 'opencms.war' 

(the .war is necessary!), then click "Next".

 

In "Step 1: Select installation options", 

  -   uncheck "Distribute application"

  -   uncheck "Enable class reloading"

  -   set file permissions to ".*\.dll=777#.*\.so=777#.*\.a=777#.*\.sl=777" 

  

Then click "Next" 3 more times and "Finish". Then click on "Save directly to the master configuration".

 

This process creates several configuration files under:

  ${WAS_HOME}/profiles/${SERVER_NAME}/config/cells/${NODE_NAME}Cell/applications/opencms_war.ear/

 

Now you can see the installed application under "Applications" > "Enterprise Applications", but it 

is stopped. To be able to start the application you have to unpack opencms.war manually under

  ${WAS_HOME}/profiles/${SERVER_NAME}/installedApps/${NODE_NAME}Cell/opencms_war.ear/opencms.war/

  

And you have to copy ${WAS_HOME}/profiles/${SERVER_NAME}/config/cells/${NODE_NAME}Cell/applications/opencms_war.ear/deployments/opencms_war/META-INF/ 

To  ${WAS_HOME}/profiles/${SERVER_NAME}/installedApps/${NODE_NAME}Cell/opencms_war.ear/META-INF/

  

Then restart Websphere and install OpenCms as normally described in the documentation.

 

-- 

Kind Regards,

Mario.

 

-------------------

Mario Jäger

 

Alkacon Software GmbH  - The OpenCms Experts                    

http://www.alkacon.com - http://www.opencms.org

 

 

Dylan Milks schrieb:

> 

> Hi OpenCms group,

> 

> Does anyone have experience installing OpenCMS on a Websphere server?

> 

> I need to install OpenCMS 7.5.2 onto a Websphere 7 app server (the 

> exact versions aren't too important). I understand that installing 

> OpenCms on Websphere does not work "out of the box". Any guidance or 

> instructions would be appreciated.

> 

> Regards,

> 

> - Dylan

> 

> --------------------------------------------------------------------------------- 

> The contents of this communication, including any attachment(s), are

> confidential and may be privileged.  If you are not the intended recipient (or

> are not receiving this communication on behalf of the intended recipient),

> please notify the sender immediately and delete or destroy this communication

> without reading it, and making, forwarding or retaining any copy or record of it

> or its contents.  Thank you.

> ------------------------------------------------------------------------

> 

> 

> _______________________________________________

> 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

 

_______________________________________________

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




--------------------------------------------------------------------------------- 
The contents of this communication, including any attachment(s), are
confidential and may be privileged.  If you are not the intended recipient (or
are not receiving this communication on behalf of the intended recipient),
please notify the sender immediately and delete or destroy this communication
without reading it, and making, forwarding or retaining any copy or record of it
or its contents.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100128/2772585f/attachment.htm>


More information about the opencms-dev mailing list