You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by dorwin <do...@gmail.com> on 2013/04/16 01:23:19 UTC

war file fails to deploy (servlet loaded twice?)

We are using the playframework and have a war file that works in 1.5.1 but
will not deploy in 1.5.2 snapshot or 1.5.3 snapshot.

We downloaded our snapshot from
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.5.3-SNAPSHOT/

The error message we get is: The servlets named [Play] and [Play] are both
mapped to the url-pattern [/] which is not permitted.

I saw a prior thread on servlets being loaded twice. It looked like it had
been fixed on 1.6.0 possibly but seems to be failing again. 

We are migrating to 1.5.2 from 1.5.1 because we were unable to get a
webservice to work in 1.5.1.

Is there a workaround for either of these?
I have a simple helloworld.war that reproduces the problem that's about 28MB
in size if needed.

Dorwin



--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by erdemy <er...@teb.com.tr>.
Hi Romain,
thanks for the fixed, i ll test and inform about the case.

kind regards,
Erdem



--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662480.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
fixed on trunk

wtp just add virtually to webapp jars tools.jar from the jvm (case you
can't have in reality and was not handled)

*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/25 Romain Manni-Bucau <rm...@gmail.com>

> to be honest i can't gurantee you it is ok since i was no more sync for
> days but i guess this change was done
>
> can't you try to build tomee?
>
> $ svn co https://svn.apache.org/repos/asf/tomee/tomee/trunk
> $ mvn clean install -pl tomee/apache-tomee -am -Dmaven.test.skip=true
>
> then tomee is in tomee/apache-tomee/target (take the zip you need)
>
> *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/25 erdemy <er...@teb.com.tr>
>
>> Hi,
>> i used the same version, but 17 April snapshot version... Is it ok?
>>
>> Syg.
>> Erdem
>>
>> On 25 Nis 2013, at 16:27, "Romain Manni-Bucau [via OpenEJB]" <
>> ml-node+s979440n4662454h27@n4.nabble.com<mailto:
>> ml-node+s979440n4662454h27@n4.nabble.com>> wrote:
>>
>> wait
>>
>> i used tomee 1.6.0 trunk, maybe that's the issue
>>
>> *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/25 erdemy <[hidden
>> email]</user/SendEmail.jtp?type=node&node=4662454&i=0>>
>>
>> > Hi Romain,
>> > I am not sure about the problem but when yo urun the application in
>> > eclipse within tomee here is the exception that it throws.
>> >
>> > Also i have attached the webapp folder in eclipse plugin temp folder
>> >
>> (C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps)
>> >
>> > 25.Nis.2013 16:07:51 org.apache.catalina.core.AprLifecycleListener init
>> > INFO: The APR based Apache Tomcat Native library which allows optimal
>> > performance in production environments was not found on the
>> > java.library.path:
>> >
>> C:\IBM\WebSphere\AppServer\java\jre\bin\default;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\OracleDev\bin;C:\Program
>> >
>> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
>> > Files\IBM\RationalSDLC\common;C:\Program
>> > Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
>> > Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
>> > Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
>> > Client;C:\dev\eclipse\apache-maven-3.0.5\bin;C:\OracleDev\bin;C:\Program
>> >
>> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
>> > Files\IBM\RationalSDLC\common;C:\Program
>> > Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
>> > Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
>> > Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
>> > Client;.
>> > 25.Nis.2013 16:07:52 org.apache.tomcat.util.digester.SetPropertiesRule
>> > begin
>> > WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
>> > property 'source' to 'org.eclipse.jst.jee.server:webapp' did not find a
>> > matching property.
>> > 25.Nis.2013 16:07:52 org.apache.coyote.AbstractProtocol init
>> > INFO: Initializing ProtocolHandler ["http-bio-80"]
>> > 25.Nis.2013 16:07:53 org.apache.coyote.AbstractProtocol init
>> > INFO: Initializing ProtocolHandler ["ajp-bio-8019"]
>> > 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
>> > INFO: Using
>> >
>> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO:
>> >
>> ********************************************************************************
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: OpenEJB http://openejb.apache.org/
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: Startup: Thu Apr 25 16:07:54 EEST 2013
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights
>> Reserved.
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: Version: 4.6.0-SNAPSHOT
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: Build date: 20130417
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: Build time: 04:07
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO:
>> >
>> ********************************************************************************
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: openejb.home = C:\dev\eclipse\apache-tomee-plus-1.6.0-SNAPSHOT
>> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
>> > INFO: openejb.base =
>> > C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
>> > 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
>> > INFO: Created new singletonService
>> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
>> > 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
>> > INFO: Succeeded in installing singleton service
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigUtils
>> > searchForConfiguration
>> > INFO: Cannot find the configuration file [conf/openejb.xml].  Creating
>> one
>> > at
>> >
>> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory init
>> > INFO: openejb configuration file is
>> >
>> 'C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml'
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=Tomcat Security Service,
>> > type=SecurityService, provider-id=Tomcat Security Service)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=Default Transaction Manager,
>> > type=TransactionManager, provider-id=Default Transaction Manager)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=My DataSource, type=Resource,
>> > provider-id=Default JDBC Database)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
>> > provider-id=Default JDBC Database)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=My Singleton Container, type=Container,
>> > provider-id=Default Singleton Container)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=My Stateful Container, type=Container,
>> > provider-id=Default Stateful Container)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=My Stateless Container, type=Container,
>> > provider-id=Default Stateless Container)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.DeploymentsResolver
>> loadFrom
>> > WARNING: File error: <Deployments dir="apps/"> - Does not exist:
>> >
>> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\apps
>> > 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
>> > INFO: Using 'openejb.system.apps=true'
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
>> > configureApplication
>> > INFO: Configuring enterprise application: openejb
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
>> > INFO: Using openejb.deploymentId.format '{ejbName}'
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
>> > INFO: Auto-deploying ejb openejb/User:
>> > EjbDeployment(deployment-id=openejb/User)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
>> > INFO: Auto-deploying ejb openejb/Deployer:
>> > EjbDeployment(deployment-id=openejb/Deployer)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
>> > INFO: Auto-deploying ejb openejb/ConfigurationInfo:
>> > EjbDeployment(deployment-id=openejb/ConfigurationInfo)
>> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
>> > INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.config.AppInfoBuilder build
>> > INFO: Enterprise application "openejb" loaded.
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating TransactionManager(id=Default Transaction Manager)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating SecurityService(id=Tomcat Security Service)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Resource(id=My DataSource)
>> > 25.Nis.2013 16:07:55
>> > org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
>> > INFO: Disabling testOnBorrow since no validation query is provided
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Resource(id=My Unmanaged DataSource)
>> > 25.Nis.2013 16:07:55
>> > org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
>> > INFO: Disabling testOnBorrow since no validation query is provided
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Container(id=My Singleton Container)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Container(id=My Stateful Container)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.core.stateful.SimplePassivater
>> init
>> > INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
>> > session passivation
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Container(id=My Stateless Container)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
>> > createApplication
>> > INFO: Assembling app: openejb
>> > 25.Nis.2013 16:07:55 org.apache.openejb.util.OptionsLog info
>> > INFO: Using
>> >
>> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=openejb/UserBusinessRemote) -->
>> > Ejb(deployment-id=openejb/User)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO:
>> >
>> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
>> > --> Ejb(deployment-id=openejb/User)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=global/openejb/openejb/User) -->
>> > Ejb(deployment-id=openejb/User)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
>> > Ejb(deployment-id=openejb/Deployer)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO:
>> >
>> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
>> > --> Ejb(deployment-id=openejb/Deployer)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=global/openejb/openejb/Deployer) -->
>> > Ejb(deployment-id=openejb/Deployer)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
>> > Ejb(deployment-id=openejb/ConfigurationInfo)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO:
>> >
>> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
>> > --> Ejb(deployment-id=openejb/ConfigurationInfo)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
>> > Ejb(deployment-id=openejb/ConfigurationInfo)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO:
>> Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
>> > --> Ejb(deployment-id=MEJB)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
>> bind
>> > INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
>> > 25.Nis.2013 16:07:55 org.apache.openejb.cdi.CdiBuilder initSingleton
>> > INFO: Existing thread singleton service in SystemInstance():
>> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
>> > 25.Nis.2013 16:07:55 org.apache.openejb.cdi.OpenEJBLifecycle
>> > startApplication
>> > INFO: OpenWebBeans Container is starting...
>> > 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
>> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
>> > 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
>> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
>> > 25.Nis.2013 16:07:56 org.apache.openejb.cdi.BeansDeployer
>> > validateInjectionPoints
>> > INFO: All injection points are validated successfully.
>> > 25.Nis.2013 16:07:56 org.apache.openejb.cdi.OpenEJBLifecycle
>> > startApplication
>> > INFO: OpenWebBeans Container has started, it took 157 ms.
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
>> > Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Created Ejb(deployment-id=openejb/Deployer,
>> > ejb-name=openejb/Deployer, container=My Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
>> > container=My Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
>> > ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
>> > Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Started Ejb(deployment-id=openejb/Deployer,
>> > ejb-name=openejb/Deployer, container=My Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
>> > container=My Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > startEjbs
>> > INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
>> > ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > deployMBean
>> > INFO: Deployed
>> >
>> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > createApplication
>> > INFO: Deployed Application(path=openejb)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
>> > INFO: Creating ServerService(id=cxf)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
>> > INFO: Creating ServerService(id=cxf-rs)
>> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
>> start
>> > INFO:   ** Bound Services **
>> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
>> > printRow
>> > INFO:   NAME                 IP              PORT
>> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
>> start
>> > INFO: -------
>> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
>> start
>> > INFO: Ready!
>> > 25.Nis.2013 16:07:56 org.apache.catalina.startup.Catalina load
>> > INFO: Initialization processed in 5416 ms
>> > 25.Nis.2013 16:07:56
>> > org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
>> > INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
>> > 'org.apache.catalina.UserDatabase'.
>> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Resource(id=UserDatabase)
>> > 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardService
>> startInternal
>> > INFO: Starting service Catalina
>> > 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardEngine
>> startInternal
>> > INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.39
>> > 25.Nis.2013 16:07:57 org.apache.tomee.catalina.TomcatWebAppBuilder init
>> > INFO: ------------------------- localhost -> /
>> > 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
>> > configureApplication
>> > INFO: Configuring enterprise application:
>> >
>> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
>> > 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
>> > INFO: Enterprise application
>> >
>> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT"
>> > loaded.
>> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
>> > createApplication
>> > INFO: Assembling app:
>> >
>> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
>> > INFO: Existing thread singleton service in SystemInstance():
>> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
>> > startApplication
>> > INFO: OpenWebBeans Container is starting...
>> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
>> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
>> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
>> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
>> > validateInjectionPoints
>> > INFO: All injection points are validated successfully.
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
>> > startApplication
>> > INFO: OpenWebBeans Container has started, it took 5 ms.
>> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
>> > createApplication
>> > INFO: Deployed
>> >
>> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT)
>> > 25.Nis.2013 16:07:58 org.apache.tomee.catalina.TomcatWebAppBuilder init
>> > INFO: ------------------------- localhost -> /webapp
>> > 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
>> > configureApplication
>> > INFO: Configuring enterprise application:
>> >
>> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
>> > 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
>> > configureService
>> > INFO: Configuring Service(id=Default Managed Container, type=Container,
>> > provider-id=Default Managed Container)
>> > 25.Nis.2013 16:07:58 org.apache.openejb.config.AutoConfig
>> createContainer
>> > INFO: Auto-creating a container for bean webapp.Comp-1453514587:
>> > Container(type=MANAGED, id=Default Managed Container)
>> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
>> > createRecipe
>> > INFO: Creating Container(id=Default Managed Container)
>> > 25.Nis.2013 16:07:58 org.apache.openejb.core.managed.SimplePassivater
>> init
>> > INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
>> > session passivation
>> > 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
>> > INFO: Enterprise application
>> >
>> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp"
>> > loaded.
>> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
>> > createApplication
>> > INFO: Assembling app:
>> >
>> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
>> > INFO: Existing thread singleton service in SystemInstance():
>> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
>> > startApplication
>> > INFO: OpenWebBeans Container is starting...
>> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
>> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
>> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
>> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
>> > validateInjectionPoints
>> > INFO: All injection points are validated successfully.
>> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
>> > startApplication
>> > INFO: OpenWebBeans Container has started, it took 75 ms.
>> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
>> > createApplication
>> > INFO: Deployed
>> >
>> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp)
>> > 25.Nis.2013 16:07:59 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:297)
>> >        at
>> >
>> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
>> >        at
>> >
>> org.apache.tomee.catalina.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:96)
>> >        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
>> > 25.Nis.2013 16:07:59 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
>> > 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
>> > SEVERE: Catalina.start:
>> > Throwable occurred: org.apache.catalina.LifecycleException: Failed to
>> > start component [StandardServer[8015]]
>> >        at
>> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>> >        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 [StandardService[Catalina]]
>> >        at
>> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>> >        at
>> >
>> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
>> >        at
>> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> >        ... 7 more
>> > Caused by: org.apache.catalina.LifecycleException: Failed to start
>> > component [StandardEngine[Catalina]]
>> >        at
>> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>> >        at
>> >
>> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
>> >        at
>> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> >        ... 9 more
>> > 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.StandardEngine.startInternal(StandardEngine.java:302)
>> >        at
>> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> >        ... 11 more
>> > 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
>> > INFO: Server startup in 2117 ms
>> >
>> >
>> > ________________________________
>> > 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
>> >
>> >
>> > webapp.zip (8K) <
>> > http://openejb.979440.n4.nabble.com/attachment/4662453/0/webapp.zip>
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662453.html
>> > Sent from the OpenEJB User mailing list archive at Nabble.com<
>> http://Nabble.com>.
>> >
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662454.html
>> To unsubscribe from war file fails to deploy (servlet loaded twice?),
>> click here<
>> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662288&code=ZXJkZW0ueWlsbWF6QHRlYi5jb20udHJ8NDY2MjI4OHwtMTY1NDIzMjE5
>> >.
>> NAML<
>> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662455.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
to be honest i can't gurantee you it is ok since i was no more sync for
days but i guess this change was done

can't you try to build tomee?

$ svn co https://svn.apache.org/repos/asf/tomee/tomee/trunk
$ mvn clean install -pl tomee/apache-tomee -am -Dmaven.test.skip=true

then tomee is in tomee/apache-tomee/target (take the zip you need)

*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/25 erdemy <er...@teb.com.tr>

> Hi,
> i used the same version, but 17 April snapshot version... Is it ok?
>
> Syg.
> Erdem
>
> On 25 Nis 2013, at 16:27, "Romain Manni-Bucau [via OpenEJB]" <
> ml-node+s979440n4662454h27@n4.nabble.com<mailto:
> ml-node+s979440n4662454h27@n4.nabble.com>> wrote:
>
> wait
>
> i used tomee 1.6.0 trunk, maybe that's the issue
>
> *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/25 erdemy <[hidden
> email]</user/SendEmail.jtp?type=node&node=4662454&i=0>>
>
> > Hi Romain,
> > I am not sure about the problem but when yo urun the application in
> > eclipse within tomee here is the exception that it throws.
> >
> > Also i have attached the webapp folder in eclipse plugin temp folder
> >
> (C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps)
> >
> > 25.Nis.2013 16:07:51 org.apache.catalina.core.AprLifecycleListener init
> > INFO: The APR based Apache Tomcat Native library which allows optimal
> > performance in production environments was not found on the
> > java.library.path:
> >
> C:\IBM\WebSphere\AppServer\java\jre\bin\default;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\OracleDev\bin;C:\Program
> >
> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> > Files\IBM\RationalSDLC\common;C:\Program
> > Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
> > Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
> > Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
> > Client;C:\dev\eclipse\apache-maven-3.0.5\bin;C:\OracleDev\bin;C:\Program
> >
> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> > Files\IBM\RationalSDLC\common;C:\Program
> > Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
> > Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
> > Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
> > Client;.
> > 25.Nis.2013 16:07:52 org.apache.tomcat.util.digester.SetPropertiesRule
> > begin
> > WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> > property 'source' to 'org.eclipse.jst.jee.server:webapp' did not find a
> > matching property.
> > 25.Nis.2013 16:07:52 org.apache.coyote.AbstractProtocol init
> > INFO: Initializing ProtocolHandler ["http-bio-80"]
> > 25.Nis.2013 16:07:53 org.apache.coyote.AbstractProtocol init
> > INFO: Initializing ProtocolHandler ["ajp-bio-8019"]
> > 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
> > INFO: Using
> >
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO:
> >
> ********************************************************************************
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: OpenEJB http://openejb.apache.org/
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: Startup: Thu Apr 25 16:07:54 EEST 2013
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights
> Reserved.
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: Version: 4.6.0-SNAPSHOT
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: Build date: 20130417
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: Build time: 04:07
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO:
> >
> ********************************************************************************
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: openejb.home = C:\dev\eclipse\apache-tomee-plus-1.6.0-SNAPSHOT
> > 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> > INFO: openejb.base =
> > C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
> > 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
> > INFO: Created new singletonService
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> > 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
> > INFO: Succeeded in installing singleton service
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigUtils
> > searchForConfiguration
> > INFO: Cannot find the configuration file [conf/openejb.xml].  Creating
> one
> > at
> >
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory init
> > INFO: openejb configuration file is
> >
> 'C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml'
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=Tomcat Security Service,
> > type=SecurityService, provider-id=Tomcat Security Service)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=Default Transaction Manager,
> > type=TransactionManager, provider-id=Default Transaction Manager)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=My DataSource, type=Resource,
> > provider-id=Default JDBC Database)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
> > provider-id=Default JDBC Database)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=My Singleton Container, type=Container,
> > provider-id=Default Singleton Container)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=My Stateful Container, type=Container,
> > provider-id=Default Stateful Container)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=My Stateless Container, type=Container,
> > provider-id=Default Stateless Container)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.DeploymentsResolver
> loadFrom
> > WARNING: File error: <Deployments dir="apps/"> - Does not exist:
> > C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\apps
> > 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
> > INFO: Using 'openejb.system.apps=true'
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> > configureApplication
> > INFO: Configuring enterprise application: openejb
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Using openejb.deploymentId.format '{ejbName}'
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb openejb/User:
> > EjbDeployment(deployment-id=openejb/User)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb openejb/Deployer:
> > EjbDeployment(deployment-id=openejb/Deployer)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb openejb/ConfigurationInfo:
> > EjbDeployment(deployment-id=openejb/ConfigurationInfo)
> > 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> > INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
> > 25.Nis.2013 16:07:55 org.apache.openejb.config.AppInfoBuilder build
> > INFO: Enterprise application "openejb" loaded.
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating TransactionManager(id=Default Transaction Manager)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating SecurityService(id=Tomcat Security Service)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Resource(id=My DataSource)
> > 25.Nis.2013 16:07:55
> > org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> > INFO: Disabling testOnBorrow since no validation query is provided
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Resource(id=My Unmanaged DataSource)
> > 25.Nis.2013 16:07:55
> > org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> > INFO: Disabling testOnBorrow since no validation query is provided
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Container(id=My Singleton Container)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Container(id=My Stateful Container)
> > 25.Nis.2013 16:07:55 org.apache.openejb.core.stateful.SimplePassivater
> init
> > INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
> > session passivation
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Container(id=My Stateless Container)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Assembling app: openejb
> > 25.Nis.2013 16:07:55 org.apache.openejb.util.OptionsLog info
> > INFO: Using
> > 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=openejb/UserBusinessRemote) -->
> > Ejb(deployment-id=openejb/User)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO:
> >
> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
> > --> Ejb(deployment-id=openejb/User)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=global/openejb/openejb/User) -->
> > Ejb(deployment-id=openejb/User)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
> > Ejb(deployment-id=openejb/Deployer)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO:
> >
> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
> > --> Ejb(deployment-id=openejb/Deployer)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=global/openejb/openejb/Deployer) -->
> > Ejb(deployment-id=openejb/Deployer)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
> > Ejb(deployment-id=openejb/ConfigurationInfo)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO:
> >
> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
> > --> Ejb(deployment-id=openejb/ConfigurationInfo)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
> > Ejb(deployment-id=openejb/ConfigurationInfo)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
> > --> Ejb(deployment-id=MEJB)
> > 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder
> bind
> > INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
> > 25.Nis.2013 16:07:55 org.apache.openejb.cdi.CdiBuilder initSingleton
> > INFO: Existing thread singleton service in SystemInstance():
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> > 25.Nis.2013 16:07:55 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container is starting...
> > 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > 25.Nis.2013 16:07:56 org.apache.openejb.cdi.BeansDeployer
> > validateInjectionPoints
> > INFO: All injection points are validated successfully.
> > 25.Nis.2013 16:07:56 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container has started, it took 157 ms.
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
> > Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Created Ejb(deployment-id=openejb/Deployer,
> > ejb-name=openejb/Deployer, container=My Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> > container=My Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
> > ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
> > Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Started Ejb(deployment-id=openejb/Deployer,
> > ejb-name=openejb/Deployer, container=My Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> > container=My Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
> > ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > deployMBean
> > INFO: Deployed
> >
> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Deployed Application(path=openejb)
> > 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
> > INFO: Creating ServerService(id=cxf)
> > 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
> > INFO: Creating ServerService(id=cxf-rs)
> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> > INFO:   ** Bound Services **
> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
> > printRow
> > INFO:   NAME                 IP              PORT
> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> > INFO: -------
> > 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> > INFO: Ready!
> > 25.Nis.2013 16:07:56 org.apache.catalina.startup.Catalina load
> > INFO: Initialization processed in 5416 ms
> > 25.Nis.2013 16:07:56
> > org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
> > INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
> > 'org.apache.catalina.UserDatabase'.
> > 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Resource(id=UserDatabase)
> > 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardService
> startInternal
> > INFO: Starting service Catalina
> > 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardEngine
> startInternal
> > INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.39
> > 25.Nis.2013 16:07:57 org.apache.tomee.catalina.TomcatWebAppBuilder init
> > INFO: ------------------------- localhost -> /
> > 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> > configureApplication
> > INFO: Configuring enterprise application:
> >
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> > 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
> > INFO: Enterprise application
> >
> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT"
> > loaded.
> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Assembling app:
> >
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
> > INFO: Existing thread singleton service in SystemInstance():
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container is starting...
> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
> > validateInjectionPoints
> > INFO: All injection points are validated successfully.
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container has started, it took 5 ms.
> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Deployed
> >
> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT)
> > 25.Nis.2013 16:07:58 org.apache.tomee.catalina.TomcatWebAppBuilder init
> > INFO: ------------------------- localhost -> /webapp
> > 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> > configureApplication
> > INFO: Configuring enterprise application:
> >
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
> > 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> > configureService
> > INFO: Configuring Service(id=Default Managed Container, type=Container,
> > provider-id=Default Managed Container)
> > 25.Nis.2013 16:07:58 org.apache.openejb.config.AutoConfig createContainer
> > INFO: Auto-creating a container for bean webapp.Comp-1453514587:
> > Container(type=MANAGED, id=Default Managed Container)
> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> > createRecipe
> > INFO: Creating Container(id=Default Managed Container)
> > 25.Nis.2013 16:07:58 org.apache.openejb.core.managed.SimplePassivater
> init
> > INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
> > session passivation
> > 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
> > INFO: Enterprise application
> >
> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp"
> > loaded.
> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Assembling app:
> >
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
> > INFO: Existing thread singleton service in SystemInstance():
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container is starting...
> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> > 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
> > validateInjectionPoints
> > INFO: All injection points are validated successfully.
> > 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFO: OpenWebBeans Container has started, it took 75 ms.
> > 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFO: Deployed
> >
> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp)
> > 25.Nis.2013 16:07:59 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:297)
> >        at
> >
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
> >        at
> >
> org.apache.tomee.catalina.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:96)
> >        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
> > 25.Nis.2013 16:07:59 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
> > 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
> > SEVERE: Catalina.start:
> > Throwable occurred: org.apache.catalina.LifecycleException: Failed to
> > start component [StandardServer[8015]]
> >        at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> >        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 [StandardService[Catalina]]
> >        at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> >        at
> >
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
> >        at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >        ... 7 more
> > Caused by: org.apache.catalina.LifecycleException: Failed to start
> > component [StandardEngine[Catalina]]
> >        at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> >        at
> >
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
> >        at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >        ... 9 more
> > 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.StandardEngine.startInternal(StandardEngine.java:302)
> >        at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >        ... 11 more
> > 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
> > INFO: Server startup in 2117 ms
> >
> >
> > ________________________________
> > 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
> >
> >
> > webapp.zip (8K) <
> > http://openejb.979440.n4.nabble.com/attachment/4662453/0/webapp.zip>
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662453.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com<
> http://Nabble.com>.
> >
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662454.html
> To unsubscribe from war file fails to deploy (servlet loaded twice?),
> click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662288&code=ZXJkZW0ueWlsbWF6QHRlYi5jb20udHJ8NDY2MjI4OHwtMTY1NDIzMjE5
> >.
> NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662455.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by erdemy <er...@teb.com.tr>.
Hi,
i used the same version, but 17 April snapshot version... Is it ok?

Syg.
Erdem

On 25 Nis 2013, at 16:27, "Romain Manni-Bucau [via OpenEJB]" <ml...@n4.nabble.com>> wrote:

wait

i used tomee 1.6.0 trunk, maybe that's the issue

*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/25 erdemy <[hidden email]</user/SendEmail.jtp?type=node&node=4662454&i=0>>

> Hi Romain,
> I am not sure about the problem but when yo urun the application in
> eclipse within tomee here is the exception that it throws.
>
> Also i have attached the webapp folder in eclipse plugin temp folder
> (C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps)
>
> 25.Nis.2013 16:07:51 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> C:\IBM\WebSphere\AppServer\java\jre\bin\default;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\OracleDev\bin;C:\Program
> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\IBM\RationalSDLC\common;C:\Program
> Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
> Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
> Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
> Client;C:\dev\eclipse\apache-maven-3.0.5\bin;C:\OracleDev\bin;C:\Program
> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\IBM\RationalSDLC\common;C:\Program
> Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
> Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
> Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
> Client;.
> 25.Nis.2013 16:07:52 org.apache.tomcat.util.digester.SetPropertiesRule
> begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.jee.server:webapp' did not find a
> matching property.
> 25.Nis.2013 16:07:52 org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-80"]
> 25.Nis.2013 16:07:53 org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8019"]
> 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO:
> ********************************************************************************
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: OpenEJB http://openejb.apache.org/
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Startup: Thu Apr 25 16:07:54 EEST 2013
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Version: 4.6.0-SNAPSHOT
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build date: 20130417
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build time: 04:07
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO:
> ********************************************************************************
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.home = C:\dev\eclipse\apache-tomee-plus-1.6.0-SNAPSHOT
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.base =
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
> 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Created new singletonService
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Succeeded in installing singleton service
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigUtils
> searchForConfiguration
> INFO: Cannot find the configuration file [conf/openejb.xml].  Creating one
> at
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory init
> INFO: openejb configuration file is
> 'C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml'
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Tomcat Security Service,
> type=SecurityService, provider-id=Tomcat Security Service)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My DataSource, type=Resource,
> provider-id=Default JDBC Database)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
> provider-id=Default JDBC Database)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Singleton Container, type=Container,
> provider-id=Default Singleton Container)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Stateful Container, type=Container,
> provider-id=Default Stateful Container)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Stateless Container, type=Container,
> provider-id=Default Stateless Container)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.DeploymentsResolver loadFrom
> WARNING: File error: <Deployments dir="apps/"> - Does not exist:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\apps
> 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
> INFO: Using 'openejb.system.apps=true'
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application: openejb
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Using openejb.deploymentId.format '{ejbName}'
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/User:
> EjbDeployment(deployment-id=openejb/User)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/Deployer:
> EjbDeployment(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/ConfigurationInfo:
> EjbDeployment(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application "openejb" loaded.
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating TransactionManager(id=Default Transaction Manager)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating SecurityService(id=Tomcat Security Service)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My DataSource)
> 25.Nis.2013 16:07:55
> org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> INFO: Disabling testOnBorrow since no validation query is provided
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My Unmanaged DataSource)
> 25.Nis.2013 16:07:55
> org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> INFO: Disabling testOnBorrow since no validation query is provided
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Singleton Container)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Stateful Container)
> 25.Nis.2013 16:07:55 org.apache.openejb.core.stateful.SimplePassivater init
> INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
> session passivation
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Stateless Container)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app: openejb
> 25.Nis.2013 16:07:55 org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/UserBusinessRemote) -->
> Ejb(deployment-id=openejb/User)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
> --> Ejb(deployment-id=openejb/User)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/User) -->
> Ejb(deployment-id=openejb/User)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
> Ejb(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
> --> Ejb(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/Deployer) -->
> Ejb(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
> --> Ejb(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
> --> Ejb(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:55 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 25.Nis.2013 16:07:56 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 25.Nis.2013 16:07:56 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 157 ms.
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
> Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
> Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> deployMBean
> INFO: Deployed
> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed Application(path=openejb)
> 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
> INFO: Creating ServerService(id=cxf)
> 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
> INFO: Creating ServerService(id=cxf-rs)
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> INFO:   ** Bound Services **
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
> printRow
> INFO:   NAME                 IP              PORT
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> INFO: -------
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> INFO: Ready!
> 25.Nis.2013 16:07:56 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 5416 ms
> 25.Nis.2013 16:07:56
> org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
> INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
> 'org.apache.catalina.UserDatabase'.
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=UserDatabase)
> 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardService startInternal
> INFO: Starting service Catalina
> 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.39
> 25.Nis.2013 16:07:57 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: ------------------------- localhost -> /
> 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT"
> loaded.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 5 ms.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT)
> 25.Nis.2013 16:07:58 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: ------------------------- localhost -> /webapp
> 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
> 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Managed Container, type=Container,
> provider-id=Default Managed Container)
> 25.Nis.2013 16:07:58 org.apache.openejb.config.AutoConfig createContainer
> INFO: Auto-creating a container for bean webapp.Comp-1453514587:
> Container(type=MANAGED, id=Default Managed Container)
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=Default Managed Container)
> 25.Nis.2013 16:07:58 org.apache.openejb.core.managed.SimplePassivater init
> INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
> session passivation
> 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp"
> loaded.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 75 ms.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp)
> 25.Nis.2013 16:07:59 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:297)
>        at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
>        at
> org.apache.tomee.catalina.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:96)
>        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
> 25.Nis.2013 16:07:59 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
> 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
> SEVERE: Catalina.start:
> Throwable occurred: org.apache.catalina.LifecycleException: Failed to
> start component [StandardServer[8015]]
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>        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 [StandardService[Catalina]]
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>        at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>        ... 7 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component [StandardEngine[Catalina]]
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>        at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>        ... 9 more
> 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.StandardEngine.startInternal(StandardEngine.java:302)
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>        ... 11 more
> 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2117 ms
>
>
> ________________________________
> 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
>
>
> webapp.zip (8K) <
> http://openejb.979440.n4.nabble.com/attachment/4662453/0/webapp.zip>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662453.html
> Sent from the OpenEJB User mailing list archive at Nabble.com<http://Nabble.com>.
>


________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662454.html
To unsubscribe from war file fails to deploy (servlet loaded twice?), click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662288&code=ZXJkZW0ueWlsbWF6QHRlYi5jb20udHJ8NDY2MjI4OHwtMTY1NDIzMjE5>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662455.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
wait

i used tomee 1.6.0 trunk, maybe that's the issue

*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/25 erdemy <er...@teb.com.tr>

> Hi Romain,
> I am not sure about the problem but when yo urun the application in
> eclipse within tomee here is the exception that it throws.
>
> Also i have attached the webapp folder in eclipse plugin temp folder
> (C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps)
>
> 25.Nis.2013 16:07:51 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> C:\IBM\WebSphere\AppServer\java\jre\bin\default;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\OracleDev\bin;C:\Program
> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\IBM\RationalSDLC\common;C:\Program
> Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
> Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
> Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
> Client;C:\dev\eclipse\apache-maven-3.0.5\bin;C:\OracleDev\bin;C:\Program
> Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\IBM\RationalSDLC\common;C:\Program
> Files\IBM\RationalSDLC\ClearCase\bin;C:\Program
> Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise
> Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization
> Client;.
> 25.Nis.2013 16:07:52 org.apache.tomcat.util.digester.SetPropertiesRule
> begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.jee.server:webapp' did not find a
> matching property.
> 25.Nis.2013 16:07:52 org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-80"]
> 25.Nis.2013 16:07:53 org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8019"]
> 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO:
> ********************************************************************************
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: OpenEJB http://openejb.apache.org/
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Startup: Thu Apr 25 16:07:54 EEST 2013
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Version: 4.6.0-SNAPSHOT
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build date: 20130417
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build time: 04:07
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO:
> ********************************************************************************
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.home = C:\dev\eclipse\apache-tomee-plus-1.6.0-SNAPSHOT
> 25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.base =
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
> 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Created new singletonService
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Succeeded in installing singleton service
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigUtils
> searchForConfiguration
> INFO: Cannot find the configuration file [conf/openejb.xml].  Creating one
> at
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory init
> INFO: openejb configuration file is
> 'C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml'
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Tomcat Security Service,
> type=SecurityService, provider-id=Tomcat Security Service)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My DataSource, type=Resource,
> provider-id=Default JDBC Database)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
> provider-id=Default JDBC Database)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Singleton Container, type=Container,
> provider-id=Default Singleton Container)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Stateful Container, type=Container,
> provider-id=Default Stateful Container)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Stateless Container, type=Container,
> provider-id=Default Stateless Container)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.DeploymentsResolver loadFrom
> WARNING: File error: <Deployments dir="apps/"> - Does not exist:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\apps
> 25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
> INFO: Using 'openejb.system.apps=true'
> 25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application: openejb
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Using openejb.deploymentId.format '{ejbName}'
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/User:
> EjbDeployment(deployment-id=openejb/User)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/Deployer:
> EjbDeployment(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/ConfigurationInfo:
> EjbDeployment(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application "openejb" loaded.
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating TransactionManager(id=Default Transaction Manager)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating SecurityService(id=Tomcat Security Service)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My DataSource)
> 25.Nis.2013 16:07:55
> org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> INFO: Disabling testOnBorrow since no validation query is provided
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My Unmanaged DataSource)
> 25.Nis.2013 16:07:55
> org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> INFO: Disabling testOnBorrow since no validation query is provided
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Singleton Container)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Stateful Container)
> 25.Nis.2013 16:07:55 org.apache.openejb.core.stateful.SimplePassivater init
> INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
> session passivation
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Stateless Container)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app: openejb
> 25.Nis.2013 16:07:55 org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/UserBusinessRemote) -->
> Ejb(deployment-id=openejb/User)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
> --> Ejb(deployment-id=openejb/User)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/User) -->
> Ejb(deployment-id=openejb/User)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
> Ejb(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
> --> Ejb(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/Deployer) -->
> Ejb(deployment-id=openejb/Deployer)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
> --> Ejb(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
> --> Ejb(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
> 25.Nis.2013 16:07:55 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:55 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 25.Nis.2013 16:07:56 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 25.Nis.2013 16:07:56 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 157 ms.
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
> Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My
> Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> deployMBean
> INFO: Deployed
> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed Application(path=openejb)
> 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
> INFO: Creating ServerService(id=cxf)
> 25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
> INFO: Creating ServerService(id=cxf-rs)
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> INFO:   ** Bound Services **
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager
> printRow
> INFO:   NAME                 IP              PORT
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> INFO: -------
> 25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
> INFO: Ready!
> 25.Nis.2013 16:07:56 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 5416 ms
> 25.Nis.2013 16:07:56
> org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
> INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
> 'org.apache.catalina.UserDatabase'.
> 25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=UserDatabase)
> 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardService startInternal
> INFO: Starting service Catalina
> 25.Nis.2013 16:07:56 org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.39
> 25.Nis.2013 16:07:57 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: ------------------------- localhost -> /
> 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT"
> loaded.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 5 ms.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT)
> 25.Nis.2013 16:07:58 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: ------------------------- localhost -> /webapp
> 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
> 25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Managed Container, type=Container,
> provider-id=Default Managed Container)
> 25.Nis.2013 16:07:58 org.apache.openejb.config.AutoConfig createContainer
> INFO: Auto-creating a container for bean webapp.Comp-1453514587:
> Container(type=MANAGED, id=Default Managed Container)
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=Default Managed Container)
> 25.Nis.2013 16:07:58 org.apache.openejb.core.managed.SimplePassivater init
> INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful
> session passivation
> 25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp"
> loaded.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 75 ms.
> 25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp)
> 25.Nis.2013 16:07:59 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:297)
>        at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
>        at
> org.apache.tomee.catalina.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:96)
>        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
> 25.Nis.2013 16:07:59 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
> 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
> SEVERE: Catalina.start:
> Throwable occurred: org.apache.catalina.LifecycleException: Failed to
> start component [StandardServer[8015]]
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>        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 [StandardService[Catalina]]
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>        at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>        ... 7 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component [StandardEngine[Catalina]]
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>        at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>        ... 9 more
> 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.StandardEngine.startInternal(StandardEngine.java:302)
>        at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>        ... 11 more
> 25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2117 ms
>
>
> ________________________________
> 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
>
>
> webapp.zip (8K) <
> http://openejb.979440.n4.nabble.com/attachment/4662453/0/webapp.zip>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662453.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

RE: war file fails to deploy (servlet loaded twice?)

Posted by erdemy <er...@teb.com.tr>.
Hi Romain,
I am not sure about the problem but when yo urun the application in eclipse within tomee here is the exception that it throws.

Also i have attached the webapp folder in eclipse plugin temp folder (C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps)

25.Nis.2013 16:07:51 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\IBM\WebSphere\AppServer\java\jre\bin\default;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\IBM\WebSphere\AppServer\java\jre\bin;C:\OracleDev\bin;C:\Program Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\IBM\RationalSDLC\common;C:\Program Files\IBM\RationalSDLC\ClearCase\bin;C:\Program Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization Client;C:\dev\eclipse\apache-maven-3.0.5\bin;C:\OracleDev\bin;C:\Program Files\Java\jdk1.6.0_32\bin;C:\OracleDev\jdk\jre\bin\classic;C:\OracleDev\jdk\jre\bin;C:\OracleDev\jdk\jre\bin\client;C:\OracleDev\jlib;C:\OracleDev\jre\1.4.2\bin\client;C:\OracleDev\jre\1.4.2\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\IBM\RationalSDLC\common;C:\Program Files\IBM\RationalSDLC\ClearCase\bin;C:\Program Files\Java\jdk1.6.0_24\;C:\Program Files\Enterprise Vault\EVClient\;C:\Program Files\Microsoft Application Virtualization Client;.
25.Nis.2013 16:07:52 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:webapp' did not find a matching property.
25.Nis.2013 16:07:52 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-80"]
25.Nis.2013 16:07:53 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8019"]
25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: ********************************************************************************
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: OpenEJB http://openejb.apache.org/
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: Startup: Thu Apr 25 16:07:54 EEST 2013
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: Version: 4.6.0-SNAPSHOT
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: Build date: 20130417
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: Build time: 04:07
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: ********************************************************************************
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.home = C:\dev\eclipse\apache-tomee-plus-1.6.0-SNAPSHOT
25.Nis.2013 16:07:54 org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.base = C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
25.Nis.2013 16:07:54 org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Succeeded in installing singleton service
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigUtils searchForConfiguration
INFO: Cannot find the configuration file [conf/openejb.xml].  Creating one at C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory init
INFO: openejb configuration file is 'C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml'
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService, provider-id=Tomcat Security Service)
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=My DataSource, type=Resource, provider-id=Default JDBC Database)
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource, provider-id=Default JDBC Database)
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=My Singleton Container, type=Container, provider-id=Default Singleton Container)
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=My Stateful Container, type=Container, provider-id=Default Stateful Container)
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=My Stateless Container, type=Container, provider-id=Default Stateless Container)
25.Nis.2013 16:07:54 org.apache.openejb.config.DeploymentsResolver loadFrom
WARNING: File error: <Deployments dir="apps/"> - Does not exist: C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\apps
25.Nis.2013 16:07:54 org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.system.apps=true'
25.Nis.2013 16:07:54 org.apache.openejb.config.ConfigurationFactory configureApplication
INFO: Configuring enterprise application: openejb
25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Using openejb.deploymentId.format '{ejbName}'
25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/User: EjbDeployment(deployment-id=openejb/User)
25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/Deployer: EjbDeployment(deployment-id=openejb/Deployer)
25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/ConfigurationInfo: EjbDeployment(deployment-id=openejb/ConfigurationInfo)
25.Nis.2013 16:07:54 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
25.Nis.2013 16:07:55 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "openejb" loaded.
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating TransactionManager(id=Default Transaction Manager)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating SecurityService(id=Tomcat Security Service)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Resource(id=My DataSource)
25.Nis.2013 16:07:55 org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
INFO: Disabling testOnBorrow since no validation query is provided
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Resource(id=My Unmanaged DataSource)
25.Nis.2013 16:07:55 org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
INFO: Disabling testOnBorrow since no validation query is provided
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Container(id=My Singleton Container)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Container(id=My Stateful Container)
25.Nis.2013 16:07:55 org.apache.openejb.core.stateful.SimplePassivater init
INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful session passivation
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Container(id=My Stateless Container)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.Assembler createApplication
INFO: Assembling app: openejb
25.Nis.2013 16:07:55 org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=openejb/UserBusinessRemote) --> Ejb(deployment-id=openejb/User)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User) --> Ejb(deployment-id=openejb/User)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/openejb/User) --> Ejb(deployment-id=openejb/User)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=openejb/DeployerBusinessRemote) --> Ejb(deployment-id=openejb/Deployer)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer) --> Ejb(deployment-id=openejb/Deployer)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/openejb/Deployer) --> Ejb(deployment-id=openejb/Deployer)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) --> Ejb(deployment-id=openejb/ConfigurationInfo)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo) --> Ejb(deployment-id=openejb/ConfigurationInfo)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) --> Ejb(deployment-id=openejb/ConfigurationInfo)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome) --> Ejb(deployment-id=MEJB)
25.Nis.2013 16:07:55 org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
25.Nis.2013 16:07:55 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
25.Nis.2013 16:07:55 org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container is starting...
25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
25.Nis.2013 16:07:55 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
25.Nis.2013 16:07:56 org.apache.openejb.cdi.BeansDeployer validateInjectionPoints
INFO: All injection points are validated successfully.
25.Nis.2013 16:07:56 org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container has started, it took 157 ms.
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Created Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo, ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Started Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo, ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler deployMBean
INFO: Deployed MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler createApplication
INFO: Deployed Application(path=openejb)
25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf)
25.Nis.2013 16:07:56 org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf-rs)
25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
INFO:   ** Bound Services **
25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager printRow
INFO:   NAME                 IP              PORT
25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
INFO: -------
25.Nis.2013 16:07:56 org.apache.openejb.server.SimpleServiceManager start
INFO: Ready!
25.Nis.2013 16:07:56 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5416 ms
25.Nis.2013 16:07:56 org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
INFO: Importing a Tomcat Resource with id 'UserDatabase' of type 'org.apache.catalina.UserDatabase'.
25.Nis.2013 16:07:56 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Resource(id=UserDatabase)
25.Nis.2013 16:07:56 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
25.Nis.2013 16:07:56 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.39
25.Nis.2013 16:07:57 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /
25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory configureApplication
INFO: Configuring enterprise application: C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT" loaded.
25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler createApplication
INFO: Assembling app: C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container is starting...
25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer validateInjectionPoints
INFO: All injection points are validated successfully.
25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container has started, it took 5 ms.
25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler createApplication
INFO: Deployed Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT)
25.Nis.2013 16:07:58 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /webapp
25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory configureApplication
INFO: Configuring enterprise application: C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
25.Nis.2013 16:07:58 org.apache.openejb.config.ConfigurationFactory configureService
INFO: Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
25.Nis.2013 16:07:58 org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean webapp.Comp-1453514587: Container(type=MANAGED, id=Default Managed Container)
25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Container(id=Default Managed Container)
25.Nis.2013 16:07:58 org.apache.openejb.core.managed.SimplePassivater init
INFO: Using directory C:\Users\ERDYIL~1\AppData\Local\Temp for stateful session passivation
25.Nis.2013 16:07:58 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp" loaded.
25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler createApplication
INFO: Assembling app: C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp
25.Nis.2013 16:07:58 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@98edbad2
25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container is starting...
25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
25.Nis.2013 16:07:58 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
25.Nis.2013 16:07:58 org.apache.openejb.cdi.BeansDeployer validateInjectionPoints
INFO: All injection points are validated successfully.
25.Nis.2013 16:07:58 org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container has started, it took 75 ms.
25.Nis.2013 16:07:58 org.apache.openejb.assembler.classic.Assembler createApplication
INFO: Deployed Application(path=C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\webapp)
25.Nis.2013 16:07:59 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:297)
       at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
       at org.apache.tomee.catalina.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:96)
       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
25.Nis.2013 16:07:59 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
25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
Throwable occurred: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8015]]
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
       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 [StandardService[Catalina]]
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
       at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
       ... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
       at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
       ... 9 more
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.StandardEngine.startInternal(StandardEngine.java:302)
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
       ... 11 more
25.Nis.2013 16:07:59 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2117 ms


________________________________
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


webapp.zip (8K) <http://openejb.979440.n4.nabble.com/attachment/4662453/0/webapp.zip>




--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662453.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Erdem,

don't get how your sample reproduce it, the commonlib jar is found

*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/25 erdemy <er...@teb.com.tr>

> Hi Romain,
> Please find the test project  with the same error..
>
> Kind regards,
> Erdem
>
> From: Romain Manni-Bucau [via OpenEJB] [mailto:
> ml-node+s979440n4662450h3@n4.nabble.com]
> Sent: Thursday, April 25, 2013 3:50 PM
> To: ERDEM YILMAZ - Altyapi Yazilimlari Gelistirme Proje Lideri Yardimcisi
> Subject: Re: war file fails to deploy (servlet loaded twice?)
>
> hmm, you have META-INF/beans.xml and it doesn't answer to
> getResource("META-INF")? it shouldn't happen
>
> if so can you share the jar + the way it is built?
>
> *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/25 erdemy <[hidden
> email]</user/SendEmail.jtp?type=node&node=4662450&i=0>>
>
> > Hi Romain,
> > we have the same problem and it is not resolved. we also have the
> > MANIFEST.MF file (and beans.xml also) in the jar files. when we erase the
> > MANIFEST.MF, problem still exists. Also we can not remove beans.xml file
> as
> > you know it is required for CDI.
> > what do you suggest to resolve this issue?
> >
> > kind regards,
> > Erdem
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662449.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662450.html
> To unsubscribe from war file fails to deploy (servlet loaded twice?),
> click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662288&code=ZXJkZW0ueWlsbWF6QHRlYi5jb20udHJ8NDY2MjI4OHwtMTY1NDIzMjE5
> >.
> NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
> ________________________________
> 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
>
>
> test.rar (6K) <
> http://openejb.979440.n4.nabble.com/attachment/4662451/0/test.rar>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662451.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

RE: war file fails to deploy (servlet loaded twice?)

Posted by erdemy <er...@teb.com.tr>.
Hi Romain,
Please find the test project  with the same error..

Kind regards,
Erdem

From: Romain Manni-Bucau [via OpenEJB] [mailto:ml-node+s979440n4662450h3@n4.nabble.com]
Sent: Thursday, April 25, 2013 3:50 PM
To: ERDEM YILMAZ - Altyapi Yazilimlari Gelistirme Proje Lideri Yardimcisi
Subject: Re: war file fails to deploy (servlet loaded twice?)

hmm, you have META-INF/beans.xml and it doesn't answer to
getResource("META-INF")? it shouldn't happen

if so can you share the jar + the way it is built?

*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/25 erdemy <[hidden email]</user/SendEmail.jtp?type=node&node=4662450&i=0>>

> Hi Romain,
> we have the same problem and it is not resolved. we also have the
> MANIFEST.MF file (and beans.xml also) in the jar files. when we erase the
> MANIFEST.MF, problem still exists. Also we can not remove beans.xml file as
> you know it is required for CDI.
> what do you suggest to resolve this issue?
>
> kind regards,
> Erdem
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662449.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662450.html
To unsubscribe from war file fails to deploy (servlet loaded twice?), click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662288&code=ZXJkZW0ueWlsbWF6QHRlYi5jb20udHJ8NDY2MjI4OHwtMTY1NDIzMjE5>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

________________________________
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


test.rar (6K) <http://openejb.979440.n4.nabble.com/attachment/4662451/0/test.rar>




--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662451.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm, you have META-INF/beans.xml and it doesn't answer to
getResource("META-INF")? it shouldn't happen

if so can you share the jar + the way it is built?

*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/25 erdemy <er...@teb.com.tr>

> Hi Romain,
> we have the same problem and it is not resolved. we also have the
> MANIFEST.MF file (and beans.xml also) in the jar files. when we erase the
> MANIFEST.MF, problem still exists. Also we can not remove beans.xml file as
> you know it is required for CDI.
> what do you suggest to resolve this issue?
>
> kind regards,
> Erdem
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662449.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by erdemy <er...@teb.com.tr>.
Hi Romain,
we have the same problem and it is not resolved. we also have the
MANIFEST.MF file (and beans.xml also) in the jar files. when we erase the
MANIFEST.MF, problem still exists. Also we can not remove beans.xml file as
you know it is required for CDI.
what do you suggest to resolve this issue?

kind regards,
Erdem



--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662449.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
A little note (not sure you handle it yourself): the deps are named
grouid.artifactid. in tomee we have some exclusions based on the fact it
starts with only artifactid so basically you can have qide effects because
of it.
Le 18 avr. 2013 01:12, "dorwin" <do...@gmail.com> a écrit :

> Thank you, Romain! You're always super helpful! I'll try this shortly
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662325.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by dorwin <do...@gmail.com>.
Thank you, Romain! You're always super helpful! I'll try this shortly



--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662325.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
ok, found the issue,

we use xbean to find jars (i use a shortcut but that's not important for
you i think) and we rely on META-INF presence or not to  find jars. In your
com.github.play2war... jars you have META-INF/MANIFEST which doesn't answer
to getResources("META-INF") so the jars are not scanned.

An easy workaround is to add META-INF/empty for instance.

I'll see how to fix it for next xbean release

*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/17 Romain Manni-Bucau <rm...@gmail.com>

> I just tested on the snapshot and
> http://localhost:8080/a-play2war-sample-servlet25-1.0-SNAPSHOT/ works
> super fine, the servlet 30 has an issue (i guess the file @WebServlet is
> skipped), checking ATM why
>
>
> *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/17 Romain Manni-Bucau <rm...@gmail.com>
>
>> can you share a built war? i have classcast exception with sbt ATM and no
>> real time to look deeper
>>
>>
>> BTW did you check you don't use servlet3.0 (@WebServlet) + servlet 2.5
>> (through web.xml) at the same time?
>>
>> *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/17 dorwin <do...@gmail.com>
>>
>>> Hi, Romain
>>>
>>> We found a workaround by using 1.5.2 with Tomcat 7.0.34 merged in.
>>>
>>> I tried using the 1.6.0-SNAPSHOT and got the same result. It worked
>>> correctly when I deployed to Tomcat 7.0.39, however. So it seems only the
>>> combination of tomee and tomcat produce the problem. I looked and
>>> couldn't
>>> find evidence of the WebServlet annotation being present in more than one
>>> place, however, there may still be an issue with the play2war plugin:
>>> https://github.com/dlecan/play2-war-plugin
>>>
>>> Thank you,
>>>
>>> Dorwin
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662308.html
>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>
>>
>>
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
I just tested on the snapshot and
http://localhost:8080/a-play2war-sample-servlet25-1.0-SNAPSHOT/ works super
fine, the servlet 30 has an issue (i guess the file @WebServlet is
skipped), checking ATM why


*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/17 Romain Manni-Bucau <rm...@gmail.com>

> can you share a built war? i have classcast exception with sbt ATM and no
> real time to look deeper
>
>
> BTW did you check you don't use servlet3.0 (@WebServlet) + servlet 2.5
> (through web.xml) at the same time?
>
> *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/17 dorwin <do...@gmail.com>
>
>> Hi, Romain
>>
>> We found a workaround by using 1.5.2 with Tomcat 7.0.34 merged in.
>>
>> I tried using the 1.6.0-SNAPSHOT and got the same result. It worked
>> correctly when I deployed to Tomcat 7.0.39, however. So it seems only the
>> combination of tomee and tomcat produce the problem. I looked and couldn't
>> find evidence of the WebServlet annotation being present in more than one
>> place, however, there may still be an issue with the play2war plugin:
>> https://github.com/dlecan/play2-war-plugin
>>
>> Thank you,
>>
>> Dorwin
>>
>>
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662308.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
can you share a built war? i have classcast exception with sbt ATM and no
real time to look deeper


BTW did you check you don't use servlet3.0 (@WebServlet) + servlet 2.5
(through web.xml) at the same time?

*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/17 dorwin <do...@gmail.com>

> Hi, Romain
>
> We found a workaround by using 1.5.2 with Tomcat 7.0.34 merged in.
>
> I tried using the 1.6.0-SNAPSHOT and got the same result. It worked
> correctly when I deployed to Tomcat 7.0.39, however. So it seems only the
> combination of tomee and tomcat produce the problem. I looked and couldn't
> find evidence of the WebServlet annotation being present in more than one
> place, however, there may still be an issue with the play2war plugin:
> https://github.com/dlecan/play2-war-plugin
>
> Thank you,
>
> Dorwin
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662308.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: war file fails to deploy (servlet loaded twice?)

Posted by dorwin <do...@gmail.com>.
Hi, Romain

We found a workaround by using 1.5.2 with Tomcat 7.0.34 merged in.

I tried using the 1.6.0-SNAPSHOT and got the same result. It worked
correctly when I deployed to Tomcat 7.0.39, however. So it seems only the
combination of tomee and tomcat produce the problem. I looked and couldn't
find evidence of the WebServlet annotation being present in more than one
place, however, there may still be an issue with the play2war plugin:
https://github.com/dlecan/play2-war-plugin

Thank you,

Dorwin



--
View this message in context: http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288p4662308.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: war file fails to deploy (servlet loaded twice?)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

please check it works with 1.6.0-SNAPSHOT. In fact it is a change in tomcat
itself after some discussion with the servlet expert group. The fact to
tolerate it was "wrong" so they changed it (creating such regressions :().
We hacked it in 1.6.0-SNAPHOT but i don't think it was backported in 1.5.x
since it was not a good practise and not asked.

*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/16 dorwin <do...@gmail.com>

> We are using the playframework and have a war file that works in 1.5.1 but
> will not deploy in 1.5.2 snapshot or 1.5.3 snapshot.
>
> We downloaded our snapshot from
>
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.5.3-SNAPSHOT/
>
> The error message we get is: The servlets named [Play] and [Play] are both
> mapped to the url-pattern [/] which is not permitted.
>
> I saw a prior thread on servlets being loaded twice. It looked like it had
> been fixed on 1.6.0 possibly but seems to be failing again.
>
> We are migrating to 1.5.2 from 1.5.1 because we were unable to get a
> webservice to work in 1.5.1.
>
> Is there a workaround for either of these?
> I have a simple helloworld.war that reproduces the problem that's about
> 28MB
> in size if needed.
>
> Dorwin
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/war-file-fails-to-deploy-servlet-loaded-twice-tp4662288.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>