Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-26444

Jonas Startup Exceptions, does not allow Liferay to start.

    Details

      Description

      1. Startup Jonas with the following command:
        jonas-5.2.1\bin\> jonas.bat start
        • The attached Exception will be thrown.
        • You also can not hit the portal.
          2012-03-30 18:38:23,163 : Jdk14LogImpl.error : Unable to initialize PropsUtil
          com.germinus.easyconf.ConfigurationNotFoundException: Error reading configuration for portal: The base properties file was not found
                  at com.liferay.portal.configuration.easyconf.ClassLoaderComponentConfiguration.getProperties(ClassLoaderComponentConfiguration.java:80)
                  at com.liferay.portal.configuration.ConfigurationImpl.getComponentProperties(ConfigurationImpl.java:403)
                  at com.li
          feray.portal.configuration.ConfigurationImpl.printSources(ConfigurationImpl.java:418)
                  at com.liferay.portal.configuration.ConfigurationImpl.<init>(ConfigurationImpl.java:77)
                  at com.liferay.portal.configuration.ConfigurationImpl.<init>(ConfigurationImpl.java:54)
                  at com.liferay.portal.util.PropsUtil.<init>(PropsUtil.java:164)
                  at com.liferay.portal.util.PropsUtil.<clinit>(PropsUtil.java:323)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:77)
                  at com.liferay.portal.kernel.util.PortalClassInvoker.invoke(PortalClassInvoker.java:42)
                  at com.liferay.portal.kernel.util.PropsUtil.get(PropsUtil.java:32)
                  at com.liferay.util.log4j.Log4JUtil._getLiferayHome(Log4JUtil.java:193)
                  at com.liferay.util.log4j.Log4JUtil._getURLContent(Log4JUtil.java:201)
                  at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:67)
                  at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:57)
                  at com.liferay.portal.util.InitUtil.init(InitUtil.java:94)
                  at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:134)
                  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
                  at org.ow2.jonas.web.tomcat6.JOnASStandardContext.start(JOnASStandardContext.java:312)
                  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
                  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
                  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
                  at org.ow2.jonas.web.tomcat6.Tomcat6Service.__doRegisterWar(Tomcat6Service.java:764)
                  at org.ow2.jonas.web.tomcat6.Tomcat6Service.doRegisterWar(Tomcat6Service.java)
                  at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1003)
                  at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1241)
                  at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:78)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95)
                  at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94)
                  at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216)
          2012-03-30 18:38:23,168 : Jdk14LogImpl.error : java.lang.NullPointerException
          java.lang.NullPointerException
                  at com.liferay.portal.util.PropsUtil._get(PropsUtil.java:209)
                  at com.liferay.portal.util.PropsUtil.get(PropsUtil.java:58)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:77)
                  at com.liferay.portal.kernel.util.PortalClassInvoker.invoke(PortalClassInvoker.java:42)
                  at com.liferay.portal.kernel.util.PropsUtil.get(PropsUtil.java:32)
                  at com.liferay.util.log4j.Log4JUtil._getLiferayHome(Log4JUtil.java:193)
                  at com.liferay.util.log4j.Log4JUtil._getURLContent(Log4JUtil.java:201)
                  at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:67)
                  at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:57)
                  at com.liferay.portal.util.InitUtil.init(InitUtil.java:94)
                  at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:134)
                  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
                  at org.ow2.jonas.web.tomcat6.JOnASStandardContext.start(JOnASStandardContext.java:312)
                  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
                  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
                  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
                  at org.ow2.jonas.web.tomcat6.Tomcat6Service.__doRegisterWar(Tomcat6Service.java:764)
                  at org.ow2.jonas.web.tomcat6.Tomcat6Service.doRegisterWar(Tomcat6Service.java)
                  at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1003)
                  at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1241)
                  at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:78)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95)
                  at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94)
                  at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216)
          2012-03-30 18:38:23,175 : StandardContext.listenerStart : Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
          java.lang.NullPointerException
                  at java.util.regex.Matcher.appendReplacement(Matcher.java:699)
                  at java.util.regex.Matcher.replaceAll(Matcher.java:813)
                  at java.lang.String.replaceAll(String.java:2189)
                  at com.liferay.util.log4j.Log4JUtil._getURLContent(Log4JUtil.java:224)
                  at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:67)
                  at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:57)
                  at com.liferay.portal.util.InitUtil.init(InitUtil.java:94)
                  at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:134)
                  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
                  at org.ow2.jonas.web.tomcat6.JOnASStandardContext.start(JOnASStandardContext.java:312)
                  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
                  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
                  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
                  at org.ow2.jonas.web.tomcat6.Tomcat6Service.__doRegisterWar(Tomcat6Service.java:764)
                  at org.ow2.jonas.web.tomcat6.Tomcat6Service.doRegisterWar(Tomcat6Service.java)
                  at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1003)
                  at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1241)
                  at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:78)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95)
                  at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77)
                  at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94)
                  at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306)
                  at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              michael.hashimoto Michael Hashimoto
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 17 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2