Details

    • Fix Priority:
      5
    • Application Servers:
      IBM Websphere 7.0, IBM Websphere 8.0

      Description

      1. Setup and install portal in Websphere 7
      2. Start portal (either restart Websphere or start it in the administration console)

      Expected result:
      Portal starts on Websphere without error

      Actual result:
      Websphere shuts off due to errors and portal generates errors:

      [3/14/14 11:39:20:695 PDT] 0000000a SystemOut     O Loading wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/liferay-ead7385Node01Cell/liferay-portal-7_0_0_war.ear/liferay-portal-7.0.0.war/WEB-INF/lib/portal-impl.jar!/portal.properties
      [3/14/14 11:39:20:695 PDT] 0000000a SystemOut     O Loading file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/liferay-ead7385Node01Cell/liferay-portal-7_0_0_war.ear/liferay-portal-7.0.0.war/WEB-INF/classes/portal-ext.properties
      [3/14/14 11:39:21:305 PDT] 0000000a SystemOut     O 11:39:21,289 ERROR [server.startup : 1][ModuleFrameworkAdapterHelper:96] java.lang.reflect.InvocationTargetException
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:599)
      	at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.exec(ModuleFrameworkAdapterHelper.java:93)
      	at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.execute(ModuleFrameworkAdapterHelper.java:106)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.<clinit>(ModuleFrameworkUtilAdapter.java:144)
      	at java.lang.J9VMInternals.initializeImpl(Native Method)
      	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:227)
      	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1718)
      	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:385)
      	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
      	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:732)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
      	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:1128)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
      	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:741)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl$3.run(ApplicationMgrImpl.java:2056)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5305)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5483)
      	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2061)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
      	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:117)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:899)
      	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:496)
      	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
      Caused by: java.lang.NoClassDefFoundError: com.liferay.registry.Registry
      	at java.lang.J9VMInternals.verifyImpl(Native Method)
      	at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
      	at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
      	at com.liferay.osgi.bootstrap.ModuleFrameworkUtil.getModuleFramework(ModuleFrameworkUtil.java:62)
      	... 36 more
      Caused by: java.lang.ClassNotFoundException: com.liferay.registry.Registry
      	at java.lang.Throwable.<init>(Throwable.java:80)
      	at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:76)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
      	at com.liferay.portal.module.framework.ModuleFrameworkClassLoader.loadClass(ModuleFrameworkClassLoader.java:122)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
      	... 40 more
      [3/14/14 11:39:21:492 PDT] 0000000a FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_71b971b9_14.03.14_11.39.21.32022240.txt com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341
      [3/14/14 11:39:21:492 PDT] 0000000a webapp        E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
                                       java.lang.ExceptionInInitializerError
      	at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:227)
      	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1718)
      	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:385)
      	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
      	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:732)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
      	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:1128)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
      	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:741)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl$3.run(ApplicationMgrImpl.java:2056)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5305)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5483)
      	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2061)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
      	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:117)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:899)
      	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:496)
      	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      	at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.exec(ModuleFrameworkAdapterHelper.java:98)
      	at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.execute(ModuleFrameworkAdapterHelper.java:106)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.<clinit>(ModuleFrameworkUtilAdapter.java:144)
      	at java.lang.J9VMInternals.initializeImpl(Native Method)
      	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
      	... 27 more
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:599)
      	at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.exec(ModuleFrameworkAdapterHelper.java:93)
      	... 31 more
      Caused by: java.lang.NoClassDefFoundError: com.liferay.registry.Registry
      	at java.lang.J9VMInternals.verifyImpl(Native Method)
      	at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
      	at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
      	at com.liferay.osgi.bootstrap.ModuleFrameworkUtil.getModuleFramework(ModuleFrameworkUtil.java:62)
      	... 36 more
      Caused by: java.lang.ClassNotFoundException: com.liferay.registry.Registry
      	at java.lang.Throwable.<init>(Throwable.java:80)
      	at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:76)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
      	at com.liferay.portal.module.framework.ModuleFrameworkClassLoader.loadClass(ModuleFrameworkClassLoader.java:122)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
      	... 40 more
      
      [3/14/14 11:39:21:992 PDT] 0000000a SystemOut     O Starting Liferay Portal Community Edition 7.0.0 CE M1 (Wilberforce / Build 7000 / May 1, 2014)
      [3/14/14 11:39:22:055 PDT] 0000000a SystemOut     O 11:39:22,055 ERROR [server.startup : 1][MainServlet:206] java.lang.NullPointerException
      java.lang.NullPointerException
      	at com.liferay.portal.kernel.executor.PortalExecutorManagerUtil.getPortalExecutor(PortalExecutorManagerUtil.java:51)
      	at com.liferay.portal.kernel.nio.intraband.BaseAsyncDatagramReceiveHandler.<init>(BaseAsyncDatagramReceiveHandler.java:32)
      	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:101)
      	at com.liferay.portal.events.StartupAction.run(StartupAction.java:69)
      	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1237)
      	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:203)
      	at javax.servlet.GenericServlet.init(GenericServlet.java:244)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:363)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:171)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1844)
      	at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)
      	at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1048)
      	at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:969)
      	at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:648)
      	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:450)
      	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:304)
      	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:732)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
      	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:1128)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
      	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:741)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl$3.run(ApplicationMgrImpl.java:2056)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5305)
      	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5483)
      	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2061)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
      	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:117)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:899)
      	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:496)
      	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
      [3/14/14 11:39:22:055 PDT] 0000000a SystemOut     O Stopping the server due to unexpected startup errors
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 28 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 M5