tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Cetina <maxtorz...@gmail.com>
Subject ReadDescriptors.checkDuplicatedByBeansXml
Date Wed, 11 Jul 2012 16:44:41 GMT
Hi i download today this version:
apache-tomee-1.1.0-20120711.041022-51-webprofile.zip i can start TomEE
without problem, but when i try to deploy (via manager) any kind of
jsf app i always get this:

log:

INFO: -------------------------
TomcatWebAppBuilder.init /mavenproject3-1.0-SNAPSHOT
Jul 11, 2012 11:32:58 AM org.apache.openejb.config.DeploymentLoader
addFacesConfigs
INFO: faces config file is null
Jul 11, 2012 11:32:58 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mavenproject3-1.0-SNAPSHOT]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	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:618)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
	at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
	at org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:301)
	at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:208)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
	at org.apache.openejb.config.ReadDescriptors.checkDuplicatedByBeansXml(ReadDescriptors.java:445)
	at org.apache.openejb.config.DeploymentLoader.mergeBeansXml(DeploymentLoader.java:811)
	at org.apache.openejb.config.DeploymentLoader.addBeansXmls(DeploymentLoader.java:786)
	at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:754)
	at org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:616)
	at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:179)
	at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:1331)
	at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:671)
	at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:632)
	at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 41 more

Jul 11, 2012 11:32:58 AM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive
/home/piratas/apache/apache-tomee-1.1.0-20120711.041022-51-webprofile/apache-tomee-webprofile-1.1.0-SNAPSHOT/webapps/mavenproject3-1.0-SNAPSHOT.war
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mavenproject3-1.0-SNAPSHOT]]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:537)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1468)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
	at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
	at org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:301)
	at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:208)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

Jul 11, 2012 11:33:03 AM org.apache.openejb.config.DeploymentLoader
addFacesConfigs
INFO: faces config file is null
Jul 11, 2012 11:36:36 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port.
Stopping the Server instance.
Jul 11, 2012 11:36:36 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8888"]
Jul 11, 2012 11:36:36 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Jul 11, 2012 11:36:36 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jul 11, 2012 11:36:36 AM
org.apache.myfaces.webapp.AbstractFacesInitializer destroyFaces
WARNING: No mappings of FacesServlet found. Abort destroy MyFaces.
Jul 11, 2012 11:36:36 AM
org.apache.openejb.assembler.classic.Assembler destroyApplication
INFO: Undeploying app:
/home/piratas/apache/apache-tomee-1.1.0-20120711.041022-51-webprofile/apache-tomee-webprofile-1.1.0-SNAPSHOT/webapps/manager
Jul 11, 2012 11:36:36 AM
org.apache.myfaces.webapp.AbstractFacesInitializer destroyFaces
WARNING: No mappings of FacesServlet found. Abort destroy MyFaces.
Jul 11, 2012 11:36:36 AM
org.apache.myfaces.webapp.AbstractFacesInitializer destroyFaces
WARNING: No mappings of FacesServlet found. Abort destroy MyFaces.
Jul 11, 2012 11:36:36 AM
org.apache.myfaces.webapp.AbstractFacesInitializer destroyFaces
WARNING: No mappings of FacesServlet found. Abort destroy MyFaces.
Jul 11, 2012 11:36:36 AM
org.apache.myfaces.webapp.AbstractFacesInitializer destroyFaces
WARNING: No mappings of FacesServlet found. Abort destroy MyFaces.






I download a previous version:
apache-tomee-1.1.0-20120709.063017-50-webprofile.tar.gz and then works
ok.



-------------------------------------------------------------------
SCJA. José Luis Cetina
-------------------------------------------------------------------

Mime
View raw message