Liferay listeners failed to start [SOLVED]Liferay listeners failed to start [SOLVED]https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=770494222024-03-29T00:16:25Z2024-03-29T00:16:25ZRE: Liferay listeners failed to startBanafshe Bamdadhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1130699002019-04-08T15:31:14Z2019-04-08T15:31:14Z<html><head></head><body>No, <br>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.<br>In Linux, I added the following command in ~/.bashrc file of user that runs tomcat.<pre><code>export PATH=$PATH:$JAVA_HOME/bin</code></pre>You can also change PATH system variable in windows.</body></html>Banafshe Bamdad2019-04-08T15:31:14ZRE: Liferay listeners failed to startJohn Barhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1130678302019-04-08T14:48:31Z2019-04-08T14:48:31Z<blockquote>Banafshe BamdadAfter changing my system, I found that this problem is due to PATH.<br />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.</blockquote><br /><br />Did you changed this in the setenv.bat file?John Bar2019-04-08T14:48:31ZRE: Liferay listeners failed to startBanafshe Bamdadhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=879049232017-04-03T12:10:52Z2017-04-03T12:10:52ZThe following link is useful<br /><a href="https://web.liferay.com/fr/community/forums/-/message_boards/message/80783301?_19_threadView=flat">https://web.liferay.com/fr/community/forums/-/message_boards/message/80783301?_19_threadView=flat</a>Banafshe Bamdad2017-04-03T12:10:52ZRE: Liferay listeners failed to startBanafshe Bamdadhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=849994112017-01-20T08:10:48Z2017-01-20T08:10:48ZAfter changing my system, I found that this problem is due to PATH.<br />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.Banafshe Bamdad2017-01-20T08:10:48ZRE: Liferay listeners failed to startBanafshe Bamdadhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=849951692017-01-20T07:02:59Z2017-01-20T07:02:59ZHi, <br />I had the same problem. I changed my system from Ubuntu 14.10 to Ubuntu 16.0.4 and the problem is solved.Banafshe Bamdad2017-01-20T07:02:59ZRE: Liferay listeners failed to startOnur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=772105212016-08-01T06:26:31Z2016-08-01T06:26:31Z<div class="quote-title">David H Nebinger:</div><blockquote>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.<br /><br />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.<br /><br />So the error, the "Caused by: java.lang.IllegalArgumentException: Invalid module: class jodd.introspector.JoddIntrospector" exception, that actually originates in jodd-core: <a href="https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/Jodd.java">https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/Jodd.java</a><br /><br />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.<br /><br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong></blockquote><br /><br />I solved my problem. My computer was win7 and language Turkish. I installed English Win7. It didn't work Win7 Turkish correctly.Onur Can Öz2016-08-01T06:26:31ZRE: Liferay listeners failed to startDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=771095092016-07-28T13:39:02Z2016-07-28T13:39:02ZAPR 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.<br /><br />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.<br /><br />So the error, the "Caused by: java.lang.IllegalArgumentException: Invalid module: class jodd.introspector.JoddIntrospector" exception, that actually originates in jodd-core: <a href="https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/Jodd.java">https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/Jodd.java</a><br /><br />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.<br /><br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong>David H Nebinger2016-07-28T13:39:02ZRE: Liferay listeners failed to startOnur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770925852016-07-28T06:40:47Z2016-07-28T06:40:47Z<div class="quote-title">David H Nebinger:</div><blockquote>I notice you're only using 1g plus have debug enabled - do you have enough resources for all of that?<br /><br />Also it looks like you're running within eclipse; can you start the bundle outside of eclipse?<br /><br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong></blockquote><br /><br /><br />I used to tomcat startup and same problem. and <br /><br />The APR based Apache Tomcat Native library which allows optimal performance in production environments was not <br /><br />found on the java.library.path <br /><br />resources ??? i am new my computer language is turkish any problem ?Onur Can Öz2016-07-28T06:40:47ZRE: Liferay listeners failed to startDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770925432016-07-28T06:33:45Z2016-07-28T06:33:45ZI notice you're only using 1g plus have debug enabled - do you have enough resources for all of that?<br /><br />Also it looks like you're running within eclipse; can you start the bundle outside of eclipse?<br /><br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong>David H Nebinger2016-07-28T06:33:45ZRE: Liferay listeners failed to startOnur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770891012016-07-28T06:11:32Z2016-07-28T06:11:32Z<div class="quote-title">David H Nebinger:</div><blockquote>Well a JRE is definitely wrong, liferay needs the JDK to compile stuff dynamically and that's what's reported in the log above...<br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong></blockquote><br /><br /><br />What should i do?Onur Can Öz2016-07-28T06:11:32ZRE: Liferay listeners failed to startDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770838062016-07-27T23:16:16Z2016-07-27T23:16:16ZWell a JRE is definitely wrong, liferay needs the JDK to compile stuff dynamically and that's what's reported in the log above...<br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong>David H Nebinger2016-07-27T23:16:16ZRE: Liferay listeners failed to startOnur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770814932016-07-27T22:24:36Z2016-07-27T22:24:36ZNo my friend already tried JAVA_HOME and JRE_HOMEOnur Can Öz2016-07-27T22:24:36ZRE: Liferay listeners failed to startDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770794352016-07-27T20:44:50Z2016-07-27T20:44:50Z<blockquote>Java Home: C:\Program Files\Java\jdk1.8.0_102\jre</blockquote><br /><br />Try using JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102<br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong>David H Nebinger2016-07-27T20:44:50ZRE: Liferay listeners failed to startOnur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770757492016-07-27T19:33:01Z2016-07-27T19:33:01ZcleanOnur Can Öz2016-07-27T19:33:01ZRE: Liferay listeners failed to startDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770711472016-07-27T16:54:46Z2016-07-27T16:54:46ZDoes this happen to you on a clean bundle, or have you made some configuration changes of some kind?<br /><br /><br /><br /><br /><br />Come meet me at the <strong><a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a></strong>David H Nebinger2016-07-27T16:54:46ZRE: Liferay listeners failed to startOnur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770630902016-07-27T14:16:20Z2016-07-27T14:16:20Z<div class="quote-title">David H Nebinger:</div><blockquote>Usually there was some earlier error which pointed to why the listeners didn't start. Is there anything else in the log?<br /><br /><strike> </strike><br />Come meet me at the <a href="https://web.liferay.com/web/events2016/">NAS!</a></blockquote><br /><br />My eclipse console:<br /><br />27-Jul-2016 14:13:33.184 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.32<br />27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 2 2016 19:34:53 UTC<br />27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.32.0<br />27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7<br />27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1<br />27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64<br />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<br />27-Jul-2016 14:13:33.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_102-b14<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation<br />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<br />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<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m<br />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<br />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<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=8099<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false<br />27-Jul-2016 14:13:33.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF8<br />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<br />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<br />27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.net.preferIPv4Stack=true<br />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<br />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<br />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<br />27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Duser.timezone=GMT<br />27-Jul-2016 14:13:33.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -DaQute.agent.server.port=29998<br />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;;.<br />27-Jul-2016 14:13:33.307 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]<br />27-Jul-2016 14:13:33.368 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read<br />27-Jul-2016 14:13:33.371 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]<br />27-Jul-2016 14:13:33.373 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read<br />27-Jul-2016 14:13:33.377 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 400 ms<br />27-Jul-2016 14:13:33.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina<br />27-Jul-2016 14:13:33.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32<br />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<br />27-Jul-2016 14:13:48.784 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath<br />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<br />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<br />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<br />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<br /> 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<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:256)<br /> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)<br /> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)<br /> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)<br /> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)<br /> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)<br /> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br /> at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br /> at java.lang.Thread.run(Thread.java:745)<br />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<br /> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)<br /> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)<br /> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)<br /> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736)<br /> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)<br /> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)<br /> at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)<br /> at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)<br /> at com.liferay.portal.spring.context.ArrayApplicationContext.<init>(ArrayApplicationContext.java:31)<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:243)<br /> ... 13 more<br />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<br /> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)<br /> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)<br /> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)<br /> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)<br /> ... 29 more<br />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<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)<br /> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)<br /> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)<br /> ... 39 more<br />Caused by: java.lang.ExceptionInInitializerError<br /> at jodd.bean.JoddBean.init(JoddBean.java:34)<br /> at jodd.bean.JoddBean.<clinit>(JoddBean.java:28)<br /> at jodd.bean.BeanUtilUtil.<init>(BeanUtilUtil.java:21)<br /> at jodd.bean.BeanUtilBean.<init>(BeanUtilBean.java:18)<br /> at jodd.bean.BeanUtil.<clinit>(BeanUtil.java:36)<br /> at com.liferay.portal.dao.jdbc.DataSourceFactoryImpl.initDataSourceTomcat(DataSourceFactoryImpl.java:400)<br /> at com.liferay.portal.dao.jdbc.DataSourceFactoryImpl.initDataSource(DataSourceFactoryImpl.java:177)<br /> at com.liferay.portal.kernel.dao.jdbc.DataSourceFactoryUtil.initDataSource(DataSourceFactoryUtil.java:44)<br /> at com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean.createInstance(DataSourceFactoryBean.java:44)<br /> at com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean.createInstance(DataSourceFactoryBean.java:30)<br /> at org.springframework.beans.factory.config.AbstractFactoryBean.afterPropertiesSet(AbstractFactoryBean.java:134)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1631)<br /> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)<br /> ... 46 more<br />Caused by: java.lang.IllegalArgumentException: Invalid module: class jodd.introspector.JoddIntrospector<br /> at jodd.Jodd.init(Jodd.java:74)<br /> at jodd.introspector.JoddIntrospector.init(JoddIntrospector.java:21)<br /> at jodd.introspector.JoddIntrospector.<clinit>(JoddIntrospector.java:17)<br /> ... 59 more<br /><br />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<br />27-Jul-2016 14:13:51.537 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors<br />14:13:51,561 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.NullPointerException<br />java.lang.NullPointerException<br /> at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:27)<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:132)<br /> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)<br /> at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)<br /> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)<br /> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)<br /> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)<br /> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)<br /> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br /> at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br /> at java.lang.Thread.run(Thread.java:745)<br />14:13:51,575 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.NullPointerException<br />java.lang.NullPointerException<br /> at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:53)<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:139)<br /> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)<br /> at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)<br /> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)<br /> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)<br /> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)<br /> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)<br /> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br /> at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br /> at java.lang.Thread.run(Thread.java:745)<br />14:13:51,587 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.IllegalStateException: The system has not be activated yet.<br />java.lang.IllegalStateException: The system has not be activated yet.<br /> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.setStartLevel(ModuleContainer.java:1442)<br /> at com.liferay.portal.bootstrap.ModuleFrameworkImpl.stopRuntime(ModuleFrameworkImpl.java:515)<br /> at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.stopRuntime(ModuleFrameworkUtilAdapter.java:121)<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:146)<br /> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)<br /> at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)<br /> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)<br /> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)<br /> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)<br /> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)<br /> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br /> at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br /> at java.lang.Thread.run(Thread.java:745)<br />14:13:51,589 ERROR [localhost-startStop-1][PortalBeanLocatorUtil:109] BeanLocator is null<br />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<br /> com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set<br /> at com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate(PortalBeanLocatorUtil.java:74)<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.closeDataSource(PortalContextLoaderListener.java:377)<br /> at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:159)<br /> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4859)<br /> at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)<br /> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)<br /> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)<br /> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)<br /> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)<br /> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br /> at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br /> at java.lang.Thread.run(Thread.java:745)<br /><br />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<br />27-Jul-2016 14:13:51.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]<br />27-Jul-2016 14:13:51.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]<br />27-Jul-2016 14:13:51.608 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 18229 msOnur Can Öz2016-07-27T14:16:20ZRE: Liferay listeners failed to startDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=770634062016-07-27T13:27:03Z2016-07-27T13:27:03ZUsually there was some earlier error which pointed to why the listeners didn't start. Is there anything else in the log?<br /><br /><strike> </strike><br />Come meet me at the <a href="https://web.liferay.com/web/events2016/northamerica/home">NAS!</a>David H Nebinger2016-07-27T13:27:03ZLiferay listeners failed to start [SOLVED]Onur Can Özhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=77049421