Foros de discusión

Liferay listeners failed to start [SOLVED]

Onur Can Öz, modificado hace 7 años.

Liferay listeners failed to start [SOLVED]

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
Server started the desktop but on my laptop I got this error. How can I fix it?

27-Jul-2016 06:48:47.511 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener

27-Jul-2016 06:48:47.511 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
27-Jul-2016 06:48:47.511 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
27-Jul-2016 06:48:47.552 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay listeners failed to start

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Usually there was some earlier error which pointed to why the listeners didn't start. Is there anything else in the log?


Come meet me at the NAS!
Onur Can Öz, modificado hace 7 años.

RE: Liferay listeners failed to start

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
David H Nebinger:
Usually there was some earlier error which pointed to why the listeners didn't start. Is there anything else in the log?


Come meet me at the NAS!


My eclipse console:

27-Jul-2016 14:13:33.184 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.32
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 2 2016 19:34:53 UTC
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.32.0
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk1.8.0_102\jre
27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_102-b14
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\ooz\Desktop\liferay-ce-portal-tomcat-7.0-ga2-20160610113014153\liferay-ce-portal-7.0-ga2\tomcat-8.0.32
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Users\ooz\Desktop\liferay-ce-portal-tomcat-7.0-ga2-20160610113014153\liferay-ce-portal-7.0-ga2\tomcat-8.0.32
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=8099
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF8
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32/endorsed
27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32/temp
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.net.preferIPv4Stack=true
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32/conf/logging.properties
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Duser.timezone=GMT
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -DaQute.agent.server.port=29998
27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_102\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/Program Files/Java/jre1.8.0_102/bin/server;C:/Program Files/Java/jre1.8.0_102/bin;C:/Program Files/Java/jre1.8.0_102/lib/amd64;C:\ProgramData\Oracle\Java\javapath;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jre1.8.0_102\bin;C:\Program Files\Java\jdk1.8.0_102\bin;C:\Program Files\Java\jdk1.8.0_102;C:\Users\ooz\Desktop\eclipse-jee-mars-2-win32-x86_64\eclipse;;.
27-Jul-2016 14:13:33.307 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
27-Jul-2016 14:13:33.368 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
27-Jul-2016 14:13:33.371 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
27-Jul-2016 14:13:33.373 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
27-Jul-2016 14:13:33.377 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 400 ms
27-Jul-2016 14:13:33.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
27-Jul-2016 14:13:33.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32
27-Jul-2016 14:13:33.404 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Users\ooz\Desktop\liferay-ce-portal-tomcat-7.0-ga2-20160610113014153\liferay-ce-portal-7.0-ga2\tomcat-8.0.32\conf\Catalina\localhost\ROOT.xml
27-Jul-2016 14:13:48.784 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
Loading jar:file:/C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/Users/ooz/Desktop/liferay-ce-portal-tomcat-7.0-ga2-20160610113014153/liferay-ce-portal-7.0-ga2/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
27-Jul-2016 14:13:51.533 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
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.ExceptionInInitializerError
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:256)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
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.ExceptionInInitializerError
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)
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)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
at com.liferay.portal.spring.context.ArrayApplicationContext.<init>(ArrayApplicationContext.java:31)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:243)
... 13 more
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.ExceptionInInitializerError
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)
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)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 29 more
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.ExceptionInInitializerError
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)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 39 more
Caused by: java.lang.ExceptionInInitializerError
at jodd.bean.JoddBean.init(JoddBean.java:34)
at jodd.bean.JoddBean.<clinit>(JoddBean.java:28)
at jodd.bean.BeanUtilUtil.<init>(BeanUtilUtil.java:21)
at jodd.bean.BeanUtilBean.<init>(BeanUtilBean.java:18)
at jodd.bean.BeanUtil.<clinit>(BeanUtil.java:36)
at com.liferay.portal.dao.jdbc.DataSourceFactoryImpl.initDataSourceTomcat(DataSourceFactoryImpl.java:400)
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)
at com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean.createInstance(DataSourceFactoryBean.java:30)
at org.springframework.beans.factory.config.AbstractFactoryBean.afterPropertiesSet(AbstractFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1631)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)
... 46 more
Caused by: java.lang.IllegalArgumentException: Invalid module: class jodd.introspector.JoddIntrospector
at jodd.Jodd.init(Jodd.java:74)
at jodd.introspector.JoddIntrospector.init(JoddIntrospector.java:21)
at jodd.introspector.JoddIntrospector.<clinit>(JoddIntrospector.java:17)
... 59 more

27-Jul-2016 14:13:51.535 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
27-Jul-2016 14:13:51.537 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
14:13:51,561 ERROR [localhost-startStop-1][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 org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
14:13:51,575 ERROR [localhost-startStop-1][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 org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
14:13:51,587 ERROR [localhost-startStop-1][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:515)
at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.stopRuntime(ModuleFrameworkUtilAdapter.java:121)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:146)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
14:13:51,589 ERROR [localhost-startStop-1][PortalBeanLocatorUtil:109] BeanLocator is null
27-Jul-2016 14:13:51.590 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
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:377)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:159)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

27-Jul-2016 14:13:51.599 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Users\ooz\Desktop\liferay-ce-portal-tomcat-7.0-ga2-20160610113014153\liferay-ce-portal-7.0-ga2\tomcat-8.0.32\conf\Catalina\localhost\ROOT.xml has finished in 18,194 ms
27-Jul-2016 14:13:51.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
27-Jul-2016 14:13:51.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
27-Jul-2016 14:13:51.608 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 18229 ms
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay listeners failed to start

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Does this happen to you on a clean bundle, or have you made some configuration changes of some kind?





Come meet me at the NAS!
Onur Can Öz, modificado hace 7 años.

RE: Liferay listeners failed to start

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
clean
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay listeners failed to start

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Java Home: C:\Program Files\Java\jdk1.8.0_102\jre


Try using JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102





Come meet me at the NAS!
Onur Can Öz, modificado hace 7 años.

RE: Liferay listeners failed to start

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
No my friend already tried JAVA_HOME and JRE_HOME
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay listeners failed to start

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Well a JRE is definitely wrong, liferay needs the JDK to compile stuff dynamically and that's what's reported in the log above...





Come meet me at the NAS!
Onur Can Öz, modificado hace 7 años.

RE: Liferay listeners failed to start

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
David H Nebinger:
Well a JRE is definitely wrong, liferay needs the JDK to compile stuff dynamically and that's what's reported in the log above...





Come meet me at the NAS!



What should i do?
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay listeners failed to start

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
I notice you're only using 1g plus have debug enabled - do you have enough resources for all of that?

Also it looks like you're running within eclipse; can you start the bundle outside of eclipse?






Come meet me at the NAS!
Onur Can Öz, modificado hace 7 años.

RE: Liferay listeners failed to start

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
David H Nebinger:
I notice you're only using 1g plus have debug enabled - do you have enough resources for all of that?

Also it looks like you're running within eclipse; can you start the bundle outside of eclipse?






Come meet me at the NAS!



I used to tomcat startup and same problem. and

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not

found on the java.library.path

resources ??? i am new my computer language is turkish any problem ?
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay listeners failed to start

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
APR native library is not required, that's just a warning message. Tomcat will still start up and run and service requests when that message is generated.

I don't do much with I18N, but I don't believe that the computer's turkish locale would have anything to do with anything to do with the failure logged above.

So the error, the "Caused by: java.lang.IllegalArgumentException: Invalid module: class jodd.introspector.JoddIntrospector" exception, that actually originates in jodd-core: https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/Jodd.java

When you look at the code, it's trying to initialize jodd by pulling in all jodd modules in the classpath, but it's finding the introspector and it's not expecting that one at all, hence the invalid module exception. If you're using a regular bundle (and nothing more), well these things have been tested and evaluated over and over again. Why it would choose to fail on your single laptop is not clear to me. It would seem to be environmental in nature (you did say it's working on your desktop), but I don't know how you might track that down.






Come meet me at the NAS!
Onur Can Öz, modificado hace 7 años.

RE: Liferay listeners failed to start

New Member Mensajes: 23 Fecha de incorporación: 27/07/16 Mensajes recientes
David H Nebinger:
APR native library is not required, that's just a warning message. Tomcat will still start up and run and service requests when that message is generated.

I don't do much with I18N, but I don't believe that the computer's turkish locale would have anything to do with anything to do with the failure logged above.

So the error, the "Caused by: java.lang.IllegalArgumentException: Invalid module: class jodd.introspector.JoddIntrospector" exception, that actually originates in jodd-core: https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/Jodd.java

When you look at the code, it's trying to initialize jodd by pulling in all jodd modules in the classpath, but it's finding the introspector and it's not expecting that one at all, hence the invalid module exception. If you're using a regular bundle (and nothing more), well these things have been tested and evaluated over and over again. Why it would choose to fail on your single laptop is not clear to me. It would seem to be environmental in nature (you did say it's working on your desktop), but I don't know how you might track that down.






Come meet me at the NAS!


I solved my problem. My computer was win7 and language Turkish. I installed English Win7. It didn't work Win7 Turkish correctly.
thumbnail
Banafshe Bamdad, modificado hace 7 años.

RE: Liferay listeners failed to start

Junior Member Mensajes: 71 Fecha de incorporación: 6/11/07 Mensajes recientes
Hi,
I had the same problem. I changed my system from Ubuntu 14.10 to Ubuntu 16.0.4 and the problem is solved.
thumbnail
Banafshe Bamdad, modificado hace 7 años.

RE: Liferay listeners failed to start

Junior Member Mensajes: 71 Fecha de incorporación: 6/11/07 Mensajes recientes
After changing my system, I found that this problem is due to PATH.
In my ubuntu 14.10, java 1.7 was installed by default and its path was set in PATH. I set JAVA_HOME to jdk1.8, but it is not enough. I add $JAVA_HOME/bin to PATH and problem is solved on ubuntu 14.10.
thumbnail
Banafshe Bamdad, modificado hace 7 años.

RE: Liferay listeners failed to start

Junior Member Mensajes: 71 Fecha de incorporación: 6/11/07 Mensajes recientes
John Andaya, modificado hace 5 años.

RE: Liferay listeners failed to start

New Member Mensajes: 6 Fecha de incorporación: 15/03/19 Mensajes recientes
Banafshe BamdadAfter changing my system, I found that this problem is due to PATH.
In my ubuntu 14.10, java 1.7 was installed by default and its path was set in PATH. I set JAVA_HOME to jdk1.8, but it is not enough. I add $JAVA_HOME/bin to PATH and problem is solved on ubuntu 14.10.


Did you changed this in the setenv.bat file?
thumbnail
Banafshe Bamdad, modificado hace 5 años.

RE: Liferay listeners failed to start

Junior Member Mensajes: 71 Fecha de incorporación: 6/11/07 Mensajes recientes
No, 
What I remember, Liferay uses java from PATH system variable (where executable programs are located). So I exported Java 8 path to this environment variable.
In Linux, I added the following command in ~/.bashrc file of user that runs tomcat.
export PATH=$PATH:$JAVA_HOME/bin
You can also change PATH system variable in windows.