build it from sources and it will disappear ;) another way to get it is to tweak conf/exclusions.list to add stax2-api-
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/4/5 <[email protected]> > Hi, > I have tried with 1.6.0-SNAPSHOT as Romain mentioned but still same error > message... > > From: ERDEM YILMAZ - Altyapi Yazilimlari Gelistirme Proje Lideri Yardimcisi > Sent: Friday, April 05, 2013 9:54 AM > To: '[email protected]' > Subject: Servlets loaded twice > > Hi, > We have upgraded to the latest 1.6.1-SNAPSHOT version but within this > version servlets defined is loaded twice and have the following exception: > (Also find the sample application that you can reproduce this issue as the > attachment) > > 05.Nis.2013 09:42:12 org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container is starting... > 05.Nis.2013 09:42:12 org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [CdiPlugin] > 05.Nis.2013 09:42:12 org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] > 05.Nis.2013 09:42:12 org.apache.openejb.cdi.BeansDeployer > validateInjectionPoints > INFO: All injection points are validated successfully. > 05.Nis.2013 09:42:12 org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container has started, it took 11 ms. > 05.Nis.2013 09:42:12 org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Deployed > Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp6\wtpwebapps\webapp) > 05.Nis.2013 09:42:12 org.apache.catalina.core.ContainerBase startInternal > SEVERE: A child container failed during start > Throwable occurred: java.util.concurrent.ExecutionException: > org.apache.catalina.LifecycleException: Failed to start component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/webapp]] > at > java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:233) > at java.util.concurrent.FutureTask.get(FutureTask.java:94) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) > at java.util.concurrent.FutureTask.run(FutureTask.java:149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:772) > Caused by: org.apache.catalina.LifecycleException: Failed to start > component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/webapp]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > ... 7 more > Caused by: java.lang.IllegalArgumentException: The servlets named > [/TestServlet] and [/TestServlet] are both mapped to the url-pattern > [/testMe/*] which is not permitted > at > org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:335) > at org.apache.catalina.deploy.WebXml.merge(WebXml.java:1691) > at > org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1338) > at > org.apache.tomee.catalina.OpenEJBContextConfig.webConfig(OpenEJBContextConfig.java:296) > at > org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) > at > org.apache.tomee.catalina.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:95) > at > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369) > 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:5269) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 7 more > 05.Nis.2013 09:42:12 org.apache.catalina.core.ContainerBase startInternal > SEVERE: A child container failed during start > Throwable occurred: java.util.concurrent.ExecutionException: > org.apache.catalina.LifecycleException: Failed to start component > [StandardEngine[Catalina].StandardHost[localhost]] > at > java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:233) > at java.util.concurrent.FutureTask.get(FutureTask.java:94) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) > at > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at org.apache.catalina.startup.Catalina.start(Catalina.java:684) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > at java.lang.reflect.Method.invoke(Method.java:611) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456) > Caused by: org.apache.catalina.LifecycleException: Failed to start > component [StandardEngine[Catalina].StandardHost[localhost]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) > at java.util.concurrent.FutureTask.run(FutureTask.java:149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:772) > Caused by: org.apache.catalina.LifecycleException: A child container > failed during start > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 7 more > > > > ________________________________ > Bu elektronik posta mesaj? ve ekleri sadece g?nderildi?i ki?i veya kuruma > ?zeldir ve gizli bilgiler i?erebilir. E?er bu mesaj? hataen ald?ysan?z > l?tfen bu durumu g?nderen ki?iye derhal bildiriniz ve mesaj? sisteminizden > siliniz. E?er do?ru ki?iye ula?mad???n? d???n?yorsan?z, bu mesaj?n > gizlenmesi, y?nlendirilmesi, kopyalanmas? veya herhangi bir ?ekilde > kullan?lmas? yasakt?r. Internet ileti?iminde g?venlik ve hatas?z g?nderim > garanti edilemeyece?inden, mesaj?n yerine ula?mamas?, ge? ula?mas?, > i?eri?inin bozulmas? ya da mesaj?n virus ta??mas? gibi problemler > olu?abilir. G?nderen taraf bu tip sorunlardan sorumlu tutulmaz. > > This e-mail message and any attachments are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this message in error, please notify the sender > immediately and delete it from your system. If you are not the intended > recipient you are hereby notified that any dissemination, forwarding, > copying or use of any of the information is prohibited. Internet > communications cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, arrive late or contain > viruses. The sender therefore does not accept liability for any errors or > omissions in the context of this message which arise as a result of > Internet transmission >
