Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener for tomcat 5.8

After I install Nuxeo IDE in Eclipse JEE Kelper, I add Nuxeo SDK as the instructions says

In the Nuxeo SDK preference page (Eclipse Menu -> Window -> Preferences -> Nuxeo -> Nuxeo SDK), click on Add….

And some more infos about the environment:

java version "1.8.0_45"
Maven  3.2.5 

Then on the Nuxeo Sever tab in Eclipse, I start the sever by pushing the “Start the sever” button. But errors comes as below

  *=== Starting Nuxeo Server ===
2015-06-18 13:31:35,217 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Initializing ProtocolHandler       ["http-bio-0.0.0.0-8080"]

2015-06-18 13:31:35,232 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Initializing ProtocolHandler ["ajp-bio-0.0.0.0-8009"]

2015-06-18 13:31:35,232 INFO  [main] [org.apache.catalina.startup.Catalina] Initialization processed in 355 ms
 2015-06-18 13:31:35,279 INFO  [main] [org.apache.catalina.core.StandardService] Starting service Catalina
2015-06-18 13:31:35,279 INFO  [main] [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/7.0.42

2015-06-18 13:32:14,590 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deploying configuration descriptor G:\SoftWares\nuxeo-cap-5.8-tomcat-sdk\conf\Catalina\localhost\nuxeo.xml



 **2015-06-18 13:32:15,803 ERROR [localhost-startStop-1]
 [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]]
 Error configuring application listener of class  org.apache.catalina.deploy.ApplicationListener@177a1af

 java.lang.IllegalArgumentException: javax.management.NotCompliantMBeanException: Interface is not public:  org.nuxeo.ecm.webapp.seam.NuxeoSeamWebGate$WebConnector
  at javax.management.JMX.createProxy(Unknown Source)
at javax.management.JMX.newMBeanProxy(Unknown Source)
at javax.management.JMX.newMBeanProxy(Unknown Source)
at org.nuxeo.ecm.webapp.seam.NuxeoSeamWebGate.fetchConnectors(NuxeoSeamWebGate.java:83)
at org.nuxeo.ecm.webapp.seam.NuxeoSeamWebGate.<init>(NuxeoSeamWebGate.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:138)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
    Caused by: javax.management.NotCompliantMBeanException: Interface is not public: org.nuxeo.ecm.webapp.seam.NuxeoSeamWebGate$WebConnector
at com.sun.jmx.mbeanserver.MBeanAnalyzer.<init>(Unknown Source)
at com.sun.jmx.mbeanserver.MBeanAnalyzer.analyzer(Unknown Source)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.getAnalyzer(Unknown Source)
at com.sun.jmx.mbeanserver.Introspector.testComplianceMBeanInterface(Unknown Source)
... 24 more
   2015-06-18 13:32:15,814 ERROR [localhost-startStop-1] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] Skipped installing application listeners due to previous error(s)
  2015-06-18 13:32:15,815 ERROR [localhost-startStop-1] [org.apache.catalina.core.StandardContext] Error listenerStart
   2015-06-18 13:32:15,815 ERROR [localhost-startStop-1] [org.apache.catalina.core.StandardContext] Context [/nuxeo] startup failed due to previous errors
 2015-06-18 13:32:15,829 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deploying web application directory G:\SoftWares\nuxeo-cap-5.8-tomcat-sdk\webapps\host-manager
   2015-06-18 13:32:15,906 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deploying web application directory G:\SoftWares\nuxeo-cap-5.8-tomcat-sdk\webapps\manager
  2015-06-18 13:32:15,970 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deploying web application directory G:\SoftWares\nuxeo-cap-5.8-tomcat-sdk\webapps\ROOT
  2015-06-18 13:32:16,240 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Starting ProtocolHandler ["http-bio-0.0.0.0-8080"]
   2015-06-18 13:32:16,240 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Starting ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
    2015-06-18 13:32:16,240 INFO  [main] [org.apache.catalina.startup.Catalina] Server startup in 41005 ms
 === Nuxeo Server Started ===*

Mention that I use nuxeo-cap-6.0-HF01-tomcat before, and it works well. Why it fails when using nuxeo-cap-5.8-tomcat-sdk ? How should I solve the problem?

0 votes

0 answers

7770 views

ANSWER

@Julien Carsique Looking forward for your answers.
06/18/2015