[opencms-dev] OpenCMS Installation on Webshpere app server
Edwin Chiu
edwin.chiu at gmail.com
Mon Feb 1 05:45:03 CET 2010
Hi Dylan,
What's the path of CSS or Images which cannot show? If the part of the path
include "/opencms.war" as the context root, then you should try to add the
following "context-param" in your web.xml.
<context-param>
<param-name>WebApplicationContext</param-name>
<param-value>opencms</param-value>
</context-param>
The original web.xml given by OpenCms commented this fragment out.
Remember to re-deploy your webapp to reload the web.xml in websphere.
Thanks
Edwin
Dylan Milks wrote:
>
> Hi Mario,
>
> No, I can't log in. But the login screen can't find the CSS and images.
> So I think it's just a URI mapping problem. Looks like I have to manually
> update the application.xml file (and maybe others too).
>
> I didn't realize this, but it appears that I am one of the first people to
> attempt an install on WebSphere 7. So I'll make sure that I post my
> instructions to the group once I get it working.
>
> I'll let you know how it turns out.
>
> - Dylan
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Mario Jäger
> Sent: Friday, January 29, 2010 2:38 AM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] OpenCMS Installation on Webshpere app server
>
> Hi Dylan,
>
> Can you login in OpenCms?
>
> --
> Kind Regards,
> Mario.
>
> -------------------
> Mario Jäger
>
> Alkacon Software GmbH - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
>
>
> Dylan Milks schrieb:
>>
>> 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.
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> 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.
>
> _______________________________________________
> 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
>
>
--
View this message in context: http://old.nabble.com/OpenCMS-Installation-on-Webshpere-app-server-tp27358606p27399665.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list