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

Include tomcat-juli.jar in the liferay.war as our default Tomcat database pool requires it for logging

    Details

      Description

      Deploying Liferay war, using our current packaging process, onto Weblogic 12.2.1 causes the following error as Tomcat database pool is our default database pool and needs tomcat-juli.jar for logging.

      Loading zip:/Users/ayame/Liferay/private/ee-7.0.x-bundles/weblogic-12.2.1/domains/liferay/servers/AdminServer/tmp/_WL_user/DXP/knzqh2/war/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading zip:/Users/ayame/Liferay/private/ee-7.0.x-bundles/weblogic-12.2.1/domains/liferay/servers/AdminServer/tmp/_WL_user/DXP/knzqh2/war/WEB-INF/lib/_wl_cls_gen.jar!/portal-ext.properties
      May 12, 2016 12:47:35 PM com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener _log
      INFO: ServiceEvent REGISTERED {org.eclipse.osgi.service.security.TrustEngine}={service.ranking=-2147483648, osgi.signedcontent.trust.engine=org.eclipse.osgi, service.id=24, service.bundleid=0, service.scope=singleton}
      May 12, 2016 12:47:35 PM com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener _log
      INFO: ServiceEvent REGISTERED {org.eclipse.osgi.signedcontent.SignedContentFactory}={service.id=25, service.bundleid=0, service.scope=singleton}
      May 12, 2016 12:47:35 PM com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener _log
      INFO: ServiceEvent REGISTERED {org.eclipse.osgi.service.debug.DebugOptionsListener}={service.ranking=2147483647, listener.symbolic.name=org.eclipse.osgi, service.pid=0.org.eclipse.osgi.internal.debug.Debug, service.vendor=Eclipse.org - Equinox, service.id=26, service.bundleid=0, service.scope=singleton}
      May 12, 2016 12:47:35 PM com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener _log
      INFO: ServiceEvent REGISTERED {org.eclipse.osgi.service.debug.DebugOptionsListener}={service.ranking=2147483647, listener.symbolic.name=org.eclipse.osgi, service.pid=0.org.eclipse.osgi.container.ModuleContainer, service.vendor=Eclipse.org - Equinox, service.id=27, service.bundleid=0, service.scope=singleton}
      May 12, 2016 12:47:35 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
      INFO: Refreshing com.liferay.portal.spring.context.ArrayApplicationContext@4d1043df: startup date [Thu May 12 12:47:35 PDT 2016]; root of context hierarchy
      May 12, 2016 12:47:35 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from class path resource [META-INF/hibernate-spring.xml]
      May 12, 2016 12:47:35 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from class path resource [META-INF/counter-infrastructure-spring.xml]
      May 12, 2016 12:47:35 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from class path resource [META-INF/infrastructure-spring.xml]
      May 12, 2016 12:47:35 PM org.springframework.context.support.AbstractApplicationContext refresh
      WARNING: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
      <May 12, 2016 12:47:35 PM PDT> <Warning> <com.liferay.portal.spring.context.ArrayApplicationContext> <BEA-000000> <Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory>
      <May 12, 2016 12:47:35 PM PDT> <Warning> <HTTP> <BEA-101162> <User defined listener com.liferay.portal.spring.context.PortalContextLoaderListener failed: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory.
      java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:256)
      	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:725)
      	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      	at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      	at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      	Truncated. see log file for complete stacktrace
      Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
      	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
      	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
      	Truncated. see log file for complete stacktrace
      Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
      	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
      	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
      	Truncated. see log file for complete stacktrace
      Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      	Truncated. see log file for complete stacktrace
      Caused By: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
      	at org.apache.tomcat.jdbc.pool.PoolProperties.<clinit>(PoolProperties.java:36)
      	at com.liferay.portal.dao.jdbc.DataSourceFactoryImpl.initDataSourceTomcat(DataSourceFactoryImpl.java:373)
      	at com.liferay.portal.dao.jdbc.DataSourceFactoryImpl.initDataSource(DataSourceFactoryImpl.java:177)
      	at com.liferay.portal.kernel.dao.jdbc.DataSourceFactoryUtil.initDataSource(DataSourceFactoryUtil.java:44)
      	at com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean.createInstance(DataSourceFactoryBean.java:44)
      	Truncated. see log file for complete stacktrace
      Caused By: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
      	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:981)
      	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:942)
      	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83)
      	at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:564)
      	at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:500)
      	Truncated. see log file for complete stacktrace
      >
      <May 12, 2016 12:47:35 PM PDT> <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected state during contextDestroyed: no ConfigManager instance in current ServletContext but one is expected to exist.>
      12:47:35,926 ERROR [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][PortalContextLoaderListener:114] java.lang.NullPointerException
      java.lang.NullPointerException
      	at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:27)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:132)
      	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:726)
      	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      	at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      	at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      	at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251)
      	at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:240)
      	at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:212)
      	at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3131)
      	at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:248)
      	at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:519)
      	at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1860)
      	at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:902)
      	at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:328)
      	at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:313)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
      	at weblogic.application.internal.ExtensibleModuleWrapper.deactivate(ExtensibleModuleWrapper.java:163)
      	at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:131)
      	at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:220)
      	at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:211)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
      	at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:105)
      	at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:121)
      	at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:759)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:53)
      	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
      	at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:53)
      	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:265)
      	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:481)
      	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:53)
      	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)
      	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:52)
      	at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:592)
      	at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:600)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:259)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:155)
      	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:221)
      	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:130)
      	at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
      	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
      	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
      	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
      	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      	at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
      	at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
      	at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
      	at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
      	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
      	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
      	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
      	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
      	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      	at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      12:47:35,933 ERROR [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][PortalContextLoaderListener:114] java.lang.NullPointerException
      java.lang.NullPointerException
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:53)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:139)
      	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:726)
      	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      	at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      	at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      	at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251)
      	at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:240)
      	at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:212)
      	at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3131)
      	at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:248)
      	at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:519)
      	at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1860)
      	at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:902)
      	at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:328)
      	at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:313)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
      	at weblogic.application.internal.ExtensibleModuleWrapper.deactivate(ExtensibleModuleWrapper.java:163)
      	at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:131)
      	at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:220)
      	at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:211)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
      	at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:105)
      	at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:121)
      	at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:759)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:53)
      	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
      	at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:53)
      	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:265)
      	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:481)
      	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:53)
      	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)
      	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:52)
      	at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:592)
      	at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:600)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:259)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:155)
      	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:221)
      	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:130)
      	at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
      	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
      	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
      	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
      	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      	at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
      	at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
      	at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
      	at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
      	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
      	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
      	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
      	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
      	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      	at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      12:47:35,940 ERROR [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][PortalContextLoaderListener:114] java.lang.IllegalStateException: The system has not be activated yet.
      java.lang.IllegalStateException: The system has not be activated yet.
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.setStartLevel(ModuleContainer.java:1442)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.stopRuntime(ModuleFrameworkImpl.java:506)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.stopRuntime(ModuleFrameworkUtilAdapter.java:115)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:146)
      	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:726)
      	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      	at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      	at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      	at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251)
      	at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:240)
      	at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:212)
      	at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3131)
      	at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:248)
      	at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:519)
      	at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1860)
      	at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:902)
      	at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:328)
      	at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:313)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
      	at weblogic.application.internal.ExtensibleModuleWrapper.deactivate(ExtensibleModuleWrapper.java:163)
      	at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:131)
      	at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:220)
      	at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:211)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
      	at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:105)
      	at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:121)
      	at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:759)
      	at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:53)
      	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
      	at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:53)
      	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:265)
      	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:481)
      	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:53)
      	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)
      	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:52)
      	at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:592)
      	at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:600)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:259)
      	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:155)
      	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:221)
      	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:130)
      	at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
      	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
      	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
      	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
      	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      	at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
      	at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
      	at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
      	at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
      	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
      	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
      	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
      	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
      	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      	at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      12:47:35,943 ERROR [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][PortalBeanLocatorUtil:109] BeanLocator is null
      <May 12, 2016 12:47:35 PM PDT> <Warning> <HTTP> <BEA-101162> <User defined listener com.liferay.portal.spring.context.PortalContextLoaderListener failed: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set.
      com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set
      	at com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate(PortalBeanLocatorUtil.java:74)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.closeDataSource(PortalContextLoaderListener.java:375)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:159)
      	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:726)
      	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      	Truncated. see log file for complete stacktrace
      >
      <May 12, 2016 12:47:35 PM PDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "DXP".
      weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
      	at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:237)
      	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:232)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      	Truncated. see log file for complete stacktrace
      Caused By: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
      	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:981)
      	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:942)
      	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83)
      	at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:564)
      	at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:500)
      	Truncated. see log file for complete stacktrace
      >
      <May 12, 2016 12:47:36 PM PDT> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
      <May 12, 2016 12:47:36 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
      <May 12, 2016 12:47:36 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
      

        Attachments

          Activity

            People

            • Assignee:
              albert.lee Albert Lee
              Reporter:
              albert.lee Albert Lee
              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:
                3 years, 36 weeks, 5 days ago

                Packages

                Version Package
                7.0.1 CE GA2