[opencms-dev] OpenCMS on WAS 7.0

Edwin Chiu edwin.chiu at gmail.com
Fri Apr 23 09:21:05 CEST 2010


Hi Tim,

The OpenCms wrongly recognize your context root in WAS. Please try to add
the below context-param in the web.xml.

    <context-param>
        <param-name>WebApplicationContext</param-name>
        <param-value>opencms</param-value>
    </context-param>

Thanks
Edwin



Timothy Mcginnis wrote:
> 
> I was able to complete the setup.  I can pull up the login page but it is 
> not displaying the images.  It seems the url has "opencms.war" in it 
> instead of "opencms".  Can anybody tell me what I need to change to 
> correct this?
> 
>  /opencms.war/resources/commons/login_logo.png 
> To:
> "The OpenCms mailing list" <opencms-dev at opencms.org>
> Cc:
> "The OpenCms mailing list" <opencms-dev at opencms.org>, 
> opencms-dev-bounces at opencms.org
> Date:
> 04/21/2010 07:34 AM
> Subject:
> Re: [opencms-dev] OpenCMS on WAS 7.0
> Sent by:
> opencms-dev-bounces at opencms.org
> 
> 
> 
> 
> I cleaned out everything and re-loaded the opencms.war.  I still get the 
> setup exception which seems to be appropriate now and I can access the 
> setup wizard now (I couldn't before).  Must have been a bad install 
> previously.  Now the setup wizard locks up part way through importing the 
> modules.  I am working on that at the moment. 
> 
> Thanks for your support, another voice always helps :-) 
> 
> Tim McGinnis
> 717 720-1962
> Web Development
> AES/PHEAA 
> 
> 
> From: 
> "Christian Steinert" <christian_steinert at web.de> 
> To: 
> "The OpenCms mailing list" <opencms-dev at opencms.org> 
> Date: 
> 04/21/2010 02:17 AM 
> Subject: 
> Re: [opencms-dev] OpenCMS on WAS 7.0 
> Sent by: 
> opencms-dev-bounces at opencms.org
> 
> 
> 
> 
> Timothy Mcginnis wrote: 
> I redeployed the opencms.war, made sure it was expanded then tried to 
> start the app.  The app doesn't seem to be starting at all. 
> Does that mean that you cannot even use the JSP-based setup wizard?
> 
> I haven't used opencms on websphere - however, it is normal that the main 
> servlet will only start, after you are finished the setup by using the 
> wizard.
> 
> Kind regards
> Christian 
>   The opencms 
> log file is empty and my WebSphere logs display the following.
> 
> [4/20/10 8:16:12:951 EDT] 00000028 AdminHelper   A   ADMN1009I: An attempt 
> 
> is made to start the opencms_war application.
> [4/20/10 8:16:12:998 EDT] 00000028 CompositionUn A   WSVR0190I: Starting 
> composition unit WebSphere:cuname=opencms_war in BLA 
> WebSphere:blaname=opencms_war.
> [4/20/10 8:16:13:029 EDT] 00000028 ApplicationMg A   WSVR0200I: Starting 
> application: opencms_war
> [4/20/10 8:16:13:029 EDT] 00000028 ApplicationMg A   WSVR0204I: 
> Application: opencms_war  Application build level: Unknown
> [4/20/10 8:16:18:295 EDT] 00000028 webapp        I 
> com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading 
> Web Module: OpenCms.
> [4/20/10 8:16:18:420 EDT] 00000028 init          I org.opencms.main.CmsLog 
> 
> <clinit> . Log4j config file    : C:/Program 
> Files/IBM/SDP/runtimes/base_v7/profiles/was70profile2/installedApps/4n11062Node03Cell/opencms_war.ear/opencms.war/WEB-INF/classes/log4j.properties
> [4/20/10 8:16:18:451 EDT] 00000028 WASSessionCor I SessionContextRegistry 
> getSessionContext SESN0176I: Will create a new session context for 
> application key default_host/opencms
> [4/20/10 8:16:18:638 EDT] 00000028 init          I 
> org.opencms.i18n.CmsLocaleManager setDefaultLocale . i18n configuration : 
> the JVM default locale is "en_US"
> [4/20/10 8:16:18:638 EDT] 00000028 init          I 
> org.opencms.i18n.CmsLocaleManager setDefaultLocale . i18n configuration : 
> the JVM default locale is "en_US"
> [4/20/10 8:16:18:638 EDT] 00000028 init          I 
> org.opencms.main.OpenCmsCore setRunLevel . Runlevel change      : 
> Switching from 1 to 2
> [4/20/10 8:16:18:654 EDT] 00000028 OpenCmsCore   E 
> org.opencms.main.OpenCmsCore setErrorCondition Critical error during 
> OpenCms initialization: The OpenCms setup wizard is still enabled.
>                                 org.opencms.main.CmsException: Critical 
> error during OpenCms initialization: The OpenCms setup wizard is still 
> enabled.
>        at org.opencms.main.OpenCmsCore.setErrorCondition(
> OpenCmsCore.java:320)
>        at org.opencms.main.CmsInitException.setErrorCondition(
> CmsInitException.java:121)
>        at org.opencms.main.CmsInitException.<init>(
> CmsInitException.java:78)
>        at org.opencms.main.CmsInitException.<init>(
> CmsInitException.java:64)
>        at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1239)
>        at org.opencms.main.OpenCmsCore.upgradeRunlevel(
> OpenCmsCore.java:1736)
>        at org.opencms.main.OpenCmsListener.contextInitialized(
> OpenCmsListener.java:87)
>        at 
> com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(
> WebApp.java:1667)
>        at 
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(
> WebApp.java:368)
>        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(
> WebAppImpl.java:294)
>        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(
> WebGroupImpl.java:100)
>        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(
> VirtualHostImpl.java:166)
>        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(
> WSWebContainer.java:728)
>        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(
> WSWebContainer.java:616)
>        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(
> WebContainerImpl.java:376)
>        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(
> WebContainerImpl.java:668)
>        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(
> ApplicationMgrImpl.java:1120)
>        at 
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(
> DeployedApplicationImpl.java:1313)
>        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(
> DeployedModuleImpl.java:619)
>        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(
> DeployedApplicationImpl.java:938)
>        at 
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(
> ApplicationMgrImpl.java:723)
>        at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(
> ApplicationMgrImpl.java:1264)
>        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(
> ContextManagerImpl.java:4476)
>        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(
> ContextManagerImpl.java:4654)
>        at com.ibm.ws.security.core.SecurityContext.runAsSystem(
> SecurityContext.java:255)
>        at 
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(
> ApplicationMgrImpl.java:1269)
>        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(
> ApplicationMgrImpl.java:2041)
>        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(
> CompositionUnitMgrImpl.java:437)
>        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(
> CompositionUnitImpl.java:122)
>        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(
> CompositionUnitMgrImpl.java:380)
>        at 
> com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(
> CompositionUnitMgrImpl.java:651)
>        at 
> com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(
> CompositionUnitMgrImpl.java:613)
>        at 
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(
> ApplicationMgrImpl.java:1175)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:48)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:600)
>        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
>        at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:600)
>        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
>        at javax.management.modelmbean.RequiredModelMBean.invokeMethod(
> RequiredModelMBean.java:1086)
>        at javax.management.modelmbean.RequiredModelMBean.invoke(
> RequiredModelMBean.java:967)
>        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(
> DefaultMBeanServerInterceptor.java:848)
>        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(
> JmxMBeanServer.java:773)
>        at com.ibm.ws.management.AdminServiceImpl$1.run(
> AdminServiceImpl.java:1320)
>        at com.ibm.ws.security.util.AccessController.doPrivileged(
> AccessController.java:118)
>        at com.ibm.ws.management.AdminServiceImpl.invoke(
> AdminServiceImpl.java:1213)
>        at 
> com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(
> AdminServiceCommands.java:251)
>        at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(
> MBeanHelper.java:239)
>        at 
> com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(
> ApplicationDeploymentCollectionAction.java:564)
>        at 
> org.apache.struts.action.RequestProcessor.processActionPerform(Unknown 
> Source)
>        at org.apache.struts.action.RequestProcessor.process(Unknown 
> Source)
>        at org.apache.struts.action.ActionServlet.process(Unknown Source)
>        at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
> ServletWrapper.java:1597)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
> ServletWrapper.java:1531)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(
> WebAppFilterChain.java:104)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(
> WebAppFilterChain.java:77)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(
> WebAppFilterManager.java:885)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
> ServletWrapper.java:869)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
> ServletWrapper.java:475)
>        at 
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(
> ServletWrapperImpl.java:175)
>        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(
> WebAppRequestDispatcher.java:341)
>        at org.apache.struts.action.RequestProcessor.doForward(Unknown 
> Source)
>        at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown 
> Source)
>        at 
> org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown 
> Source)
>        at 
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown 
> 
> Source)
>        at 
> com.ibm.isclite.container.controller.InformationController.processForwardConfig(
> InformationController.java:217)
>        at org.apache.struts.action.RequestProcessor.process(Unknown 
> Source)
>        at org.apache.struts.action.ActionServlet.process(Unknown Source)
>        at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
> ServletWrapper.java:1597)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
> ServletWrapper.java:1531)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(
> WebAppFilterChain.java:131)
>        at 
> com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(
> WSCUrlFilter.java:927)
>        at 
> com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(
> WSCUrlFilter.java:494)
>        at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(
> WSCUrlFilter.java:315)
>        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(
> FilterInstanceWrapper.java:188)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(
> WebAppFilterChain.java:116)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(
> WebAppFilterChain.java:77)
>        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(
> WebAppFilterManager.java:885)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
> ServletWrapper.java:869)
>        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
> ServletWrapper.java:475)
>        at 
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(
> ServletWrapperImpl.java:175)
>        at 
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(
> CacheServletWrapper.java:91)
>        at com.ibm.ws.webcontainer.WebContainer.handleRequest(
> WebContainer.java:865)
>        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(
> WSWebContainer.java:1583)
>        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(
> WCChannelLink.java:182)
>        at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
> HttpInboundLink.java:455)
>        at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
> HttpInboundLink.java:384)
>        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(
> HttpInboundLink.java:272)
>        at 
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(
> NewConnectionInitialReadCallback.java:214)
>        at 
> com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(
> NewConnectionInitialReadCallback.java:113)
>        at 
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
> AioReadCompletionListener.java:165)
>        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
> AbstractAsyncFuture.java:217)
>        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(
> AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(
> ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
> 
> Tim McGinnis
> 717 720-1962
> Web Development
> AES/PHEAA
> 
> 
> 
> From:
> "Christian Steinert" <christian_steinert at web.de>
> To:
> "The OpenCms mailing list" <opencms-dev at opencms.org>
> Date:
> 04/19/2010 02:52 PM
> Subject:
> Re: [opencms-dev] OpenCMS on WAS 7.0
> Sent by:
> opencms-dev-bounces at opencms.org
> 
> 
> 
> Dear Timothy
> 
> Now I need to do the same for the software 
> used in our production environment which is IBM WebSphere 7.0 and DB2. Are 
> 
> 
> there any wiki entries, documentation, mail archives, etc. that would help 
> 
> 
> me in this endeavor?  I have tried it but I keep getting the error 
> 
> javax.servlet.ServletException: Critical error during OpenCms 
> initialization: The OpenCms setup wizard is still enabled.
> 
> Did you already go through the setup?
> 
> You need to deploy the web app in a way that ensures that the .war file 
> gets unpacked and that the unpacked files are writable by the web app. 
> Then, you need to go through the setup wizard which should spend some time 
> 
> to import all important modules.
> 
> In the end it should tell you that the setup was successful. Then, you 
> should re-start the web application context.
> 
> If the setup did go through, but for some reason this message still 
> appears, then you can manually disable the wizard in the 
> opencms.properties configuration file and re-start the web-app. But this 
> will only help if the wizard was able to import all important modules.
> 
> If you still have trouble, then it is good to attach your logfile from the 
> 
> installation which you can find in the opencms webapp under WEB-INF/logs.
> 
> 
> Kind regards
> Christian
> 
> 
> TIA
> 
> Tim McGinnis
> 717 720-1962
> Web Development
> AES/PHEAA
> ==============================================================================
> This message contains privileged and confidential information intended for 
> 
> the above addressees only.  If you
> receive this message in error please delete or destroy this message and/or 
> 
> attachments. 
> 
> The sender of this message will fully cooperate in the civil and criminal 
> prosecution of any individual engaging
> in the unauthorized use of this message.
> ==============================================================================
> 
> 
> 
> 
> 
> _______________________________________________
> 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
> [attachment "smime.p7s" deleted by Timothy Mcginnis/AES] 
> _______________________________________________
> 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 message contains privileged and confidential information intended for 
> the above addressees only.  If you
> receive this message in error please delete or destroy this message and/or 
> attachments. 
> 
> The sender of this message will fully cooperate in the civil and criminal 
> prosecution of any individual engaging
> in the unauthorized use of this message.
> ==============================================================================
> 
>   
> 
> 
> 
> _______________________________________________
> 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 
> [attachment "smime.p7s" deleted by Timothy Mcginnis/AES] 
> _______________________________________________
> 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 message contains privileged and confidential information intended for 
> the above addressees only.  If you
> receive this message in error please delete or destroy this message and/or 
> attachments. 
> 
> The sender of this message will fully cooperate in the civil and criminal 
> prosecution of any individual engaging
> in the unauthorized use of this message.
> ==============================================================================
> 
> ==============================================================================
> This message contains privileged and confidential information intended for 
> the above addressees only.  If you
> receive this message in error please delete or destroy this message and/or 
> attachments. 
> 
> The sender of this message will fully cooperate in the civil and criminal 
> prosecution of any individual engaging
> in the unauthorized use of this message.
> ==============================================================================
> 
> _______________________________________________
> 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 message contains privileged and confidential information intended for
> the above addressees only.  If you
> receive this message in error please delete or destroy this message and/or
> attachments.  
> 
> The sender of this message will fully cooperate in the civil and criminal
> prosecution of any individual engaging
> in the unauthorized use of this message.
> ==============================================================================
> 
> 
> _______________________________________________
> 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-on-WAS-7.0-tp28294574p28337634.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list