[opencms-dev] OpenCMS Installation on Webshpere app server
Dylan Milks
DMilks at greenridge.ca
Tue Feb 2 17:41:45 CET 2010
I've got another general question regarding the file and folder structure of the OpenCms application when installed on WebSphere 7 (it may be the same on WAS 6.1 - I'm not sure).
When an app is installed on WebSphere, there are 2 folder paths that seem to be important (and there's a web.xml and application.xml file in both places):
1) The config folder - i.e.:
...\config\cells\${NODE_NAME}Cell\applications\opencms.ear\deployments\opencms\META-INF\application.xml
...\config\cells\${NODE_NAME}Cell\applications\opencms.ear\deployments\opencms\opencms.war\WEB-INF\web.xml
2) The installedApps folder - i.e.:
...\installedApps\${NODE_NAME}Cell\opencms.ear
...\installedApps\${NODE_NAME}Cell\opencms.ear\META-INF\application.xml
...\installedApps\${NODE_NAME}Cell\opencms.ear\opencms.war\WEB-INF\web.xml
Observation:
When I modify the context root of the app or view the deployment descriptors (in the WAS admin colsole), it always seems to use the ones in the config folder. If that's the case, what is the purpose of the application.xml and web.xml in the installedApps folder?
Can someone please explain this to me? It would appear to me that the files in the installedApps folder are not required and that the duplication of files can lead to confusion (as it has with me!).
Regards,
- Dylan
-----Original Message-----
From: Christian Hellinger [mailto:Christian.Hellinger at dreger.de]
Sent: Tuesday, February 02, 2010 4:56 AM
To: Dylan Milks
Subject: Re: [opencms-dev] OpenCMS Installation on Webshpere app server
Hello Dylan,
I deployed OpenCms 7.5.2 successfully on WAS 7.
But prepare for some work to keep everything running.
You just need to change the web.xml of the OpenCms.
Uncomment the lines for specifying the context root und do this.
Also, when deploying on websphere, make sure to enter the same context
root.
You also have to change the classloader settings for OpenCms,
If you want to change the context name of opencms (i.e. instead of having
"/opencms/opencms/" you want "/cms/pages/", then some more work needs to
be done.
But therefore you should describe what you want to do ;)
Best regards
Christian Hellinger
--------------------------------------
DREGER INFORMATION TECHNOLOGY
DREGER Consulting GmbH & Co. KG
Carl-Benz-Straße 35
60386 Frankfurt am Main
Germany
Phone : +49-69-90479-0
Fax : +49-69-90479-479
Mobile: +49-173-6688208
Email : christian.hellinger at dreger.de
WWW : http://www.dreger.de
--------------------------------------
DREGER IT is Member of Grouplink
www.grouplink.de
From:
"Dylan Milks" <DMilks at greenridge.ca>
To:
"The OpenCms mailing list" <opencms-dev at opencms.org>
Date:
29.01.2010 18:45
Subject:
Re: [opencms-dev] OpenCMS Installation on Webshpere app server
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
--------------------------------------
Sitz / Registergericht: Frankfurt am Main / Amtsgericht Frankfurt am Main
Registernummer: HRA 42705
Geschaeftsfuehrer: Jens Dreger
USt.ID: DE244892265
--------------------------------------
Komplementaer-GmbH: J&J DREGER Verwaltungs GmbH, Carl-Benz-Str. 35, 60386 Frankfurt am Main
Sitz / Registergericht: Frankfurt am Main / Amtsgericht Frankfurt am Main
Registernummer: HRB 73891
Geschaeftsfuehrer: Jens Dreger
--------------------------------------
---------------------------------------------------------------------------------
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/20100202/ea98644a/attachment.htm>
More information about the opencms-dev
mailing list