Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE RC1
    • Component/s: Collaboration, Mail
    • Labels:
      None
    • Environment:
      JBoss 7.0.2 + MySQL 5. 6.1.x GIT ID:a64c2eba844ec332577c8d6df5e03278d7f0674b. 6.2.x Plugins GIT ID: 23aef6d6af1012e096fc711ca45085200f47af8b.
      JBoss 7.0.2 + MySQL 5. 6.2.x GIT ID: 9e18a3f10eb24317ddddcaf4efe035f4c3fcbc02.
    • Fix Priority:
      4

      Description

      Mail portlet does not deploy in JBoss 7.0.2. Exceptions are thrown and mail portlet is not available to use in Liferay. Full stacktrace attached.

      17:08:26,049 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mail-portlet]] (MSC service thread 1-3) Exception sending context initialized event to listener instance of class com.liferay.portal.kernel.servlet.PortletContextListener: java.lang.IllegalStateException: Unable to initialize portal
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:47) [portal-service.jar:private-2011/04/13-23:33:42]
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:83) [portal-service.jar:private-2011/04/13-23:33:42]
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:66) [portal-service.jar:private-2011/04/13-23:33:42]
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52) [portal-service.jar:private-2011/04/13-23:33:42]
              at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55) [portal-service.jar:private-2011/04/13-23:33:42]
              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
      Caused by: java.lang.UnsupportedOperationException: Naming context is read-only
              at org.jboss.as.naming.NamingContext.createSubcontext(NamingContext.java:314)
              at javax.naming.InitialContext.createSubcontext(InitialContext.java:464) [:1.6.0_29]
              at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:130) [portal-service.jar:private-2011/04/13-23:33:42]
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42) [portal-service.jar:private-2011/04/13-23:33:42]
              ... 12 more
      
      17:08:26,069 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Error listenerStart
      17:08:26,070 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Context [/mail-portlet] startup failed due to previous errors
      17:08:26,121 INFO  [stdout] (MSC service thread 1-3) 17:08:26,120 INFO  [PluginPackageUtil:1099] Reading plugin package for mail-portlet
      17:08:26,135 INFO  [stdout] (MSC service thread 1-3) 17:08:26,135 INFO  [HookHotDeployListener:1093] Hook for mail-portlet was unregistered
      17:08:26,140 INFO  [stdout] (MSC service thread 1-3) 17:08:26,140 INFO  [PortletHotDeployListener:463] Unregistering portlets for mail-portlet
      17:08:26,146 INFO  [stdout] (MSC service thread 1-3) 17:08:26,145 INFO  [PortletHotDeployListener:494] 1 portlet for mail-portlet was unregistered
      17:08:26,159 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mail-portlet]] (MSC service thread 1-3) Closing Spring root WebApplicationContext
      17:08:26,166 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /mail-portlet
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 2 days ago

                  Packages

                  Version Package
                  6.1.0 CE RC1
                  --Sprint 11/12
                  6.2.0 CE M2