tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Jaekel <fkjae...@gmail.com>
Subject Re: Problem wih context name not unique
Date Fri, 18 Sep 2015 17:03:34 GMT
Hi,

I already have this config:
openejb.deploymentId.format = {ejbJarId}/{ejbName}
openejb.jndiname.format = {deploymentId}{interfaceType.annotationName}

Without it parallel deployment doesn't work at all, I get a
DuplicateDeploymentIdException.

This problem started recently. The strange part is that it doesn't happen
always, and if retry the deployment with the same classes and libs, but a
newer version number on the file name, it works.

The only relevant change I found looking at the commit history of my
project pom.xml is that I removed apache commons (codec, lang, etc) from
the classpath to use the ones provided by TomEE. Can it be the cause?

I also noticed that the extra unversioned context I mentioned on issue 1412
is not appearing on tomcat manager.
https://issues.apache.org/jira/browse/TOMEE-1412

Thanks

2015-09-18 13:22 GMT-03:00 Jonathan Fisher <jonathan@springventuregroup.com>
:

> http://tomee.apache.org/properties-listing.html
>
> You probably need to change the default openejb.deploymentId.format. I
> think if you just uncomment the line in system.properties it prefixes it
> with the jar name.
>
> *Jonathan S. Fisher*
>
>
> On Fri, Sep 18, 2015 at 8:47 AM, Felipe Jaekel <fkjaekel@gmail.com> wrote:
>
> > Hi,
> >
> > I'm using parallel deployment with TomEE 1.7.2 for some months without
> > problem, but since the end of the last month, sometimes I get an
> exception
> > when I try to deploy a newer version, telling that the context name is
> not
> > unique. But if after some minutes I try to deploy the same webapp with a
> > different version it works.
> >
> > Any ideas?
> >
> > Thanks
> >
> >
> > *Deploy log + Exception:*
> >
> > Set 18, 2015 10:15:52 AM org.apache.catalina.startup.HostConfig deployWAR
> > INFORMAÇÕES: Deploying web application archive
> > /home/ec2-user/apache-tomee-plus-1.7.2/webapps/cliente##20150918-1012.war
> > Set 18, 2015 10:15:52 AM org.apache.tomee.catalina.TomcatWebAppBuilder
> init
> > INFORMAÇÕES: ------------------------- localhost -> /cliente
> > Set 18, 2015 10:15:52 AM org.apache.openejb.util.JarExtractor extract
> > INFORMAÇÕES: Extracting jar:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012.war
> > Set 18, 2015 10:15:52 AM org.apache.openejb.util.JarExtractor extract
> > INFORMAÇÕES: Extracted path:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012
> > Set 18, 2015 10:15:54 AM org.apache.openejb.config.ConfigurationFactory
> > configureApplication
> > INFORMAÇÕES: Configuring enterprise application:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.InitEjbDeployments
> > deploy
> > INFORMAÇÕES: Auto-deploying ejb StatusChamadoService:
> > EjbDeployment(deployment-id=cliente##20150918-1012/StatusChamadoService)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.InitEjbDeployments
> > deploy
> > INFORMAÇÕES: Auto-deploying ejb VoceOnlineTimer:
> > EjbDeployment(deployment-id=cliente##20150918-1012/VoceOnlineTimer)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.InitEjbDeployments
> > deploy
> > INFORMAÇÕES: Auto-deploying ejb ProjetoService:
> > EjbDeployment(deployment-id=cliente##20150918-1012/ProjetoService)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.InitEjbDeployments
> > deploy
> > INFORMAÇÕES: Auto-deploying ejb ComunicadoSghService:
> > EjbDeployment(deployment-id=cliente##20150918-1012/ComunicadoSghService)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.InitEjbDeployments
> > deploy
> > INFORMAÇÕES: Auto-deploying ejb VoceOnlineClienteMdb:
> > EjbDeployment(deployment-id=cliente##20150918-1012/VoceOnlineClienteMdb)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig deploy
> > INFORMAÇÕES: Configuring PersistenceUnit(name=Firebird,
> > provider=org.hibernate.ejb.HibernatePersistence)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig
> > setNonJtaDataSource
> > INFORMAÇÕES: Adjusting PersistenceUnit Firebird <non-jta-data-source> to
> > Resource ID 'Firebird' from 'openejb:Resource/Firebird'
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig deploy
> > INFORMAÇÕES: Configuring PersistenceUnit(name=FirebirdTest,
> > provider=org.hibernate.ejb.HibernatePersistence)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.util.OptionsLog info
> > INFORMAÇÕES: Using
> > 'openejb.autocreate.jta-datasource-from-non-jta-one=false'
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig
> > setNonJtaDataSource
> > INFORMAÇÕES: Adjusting PersistenceUnit FirebirdTest <non-jta-data-source>
> > to Resource ID 'MySql' from 'null'
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig deploy
> > INFORMAÇÕES: Configuring PersistenceUnit(name=MySql,
> > provider=org.hibernate.ejb.HibernatePersistence)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig
> > setNonJtaDataSource
> > INFORMAÇÕES: Adjusting PersistenceUnit MySql <non-jta-data-source> to
> > Resource ID 'MySql' from 'openejb:Resource/MySql'
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig deploy
> > INFORMAÇÕES: Configuring PersistenceUnit(name=MySqlTest,
> > provider=org.hibernate.ejb.HibernatePersistence)
> > Set 18, 2015 10:15:55 AM org.apache.openejb.util.OptionsLog info
> > INFORMAÇÕES: Using
> > 'openejb.autocreate.jta-datasource-from-non-jta-one=false'
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AutoConfig
> > setNonJtaDataSource
> > INFORMAÇÕES: Adjusting PersistenceUnit MySqlTest <non-jta-data-source> to
> > Resource ID 'MySql' from 'null'
> > Set 18, 2015 10:15:55 AM org.apache.openejb.config.AppInfoBuilder build
> > INFORMAÇÕES: Enterprise application
> > "/home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012" loaded.
> > Set 18, 2015 10:15:55 AM org.apache.openejb.assembler.classic.Assembler
> > createApplication
> > INFORMAÇÕES: Assembling app:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012
> > Set 18, 2015 10:15:55 AM org.atmosphere.cpr.AtmosphereFramework
> > addAtmosphereHandler
> > INFORMAÇÕES: Installed AtmosphereInterceptor [@PushEndpoint Interceptor]
> > mapped to AtmosphereHandler
> > org.primefaces.push.impl.PushEndpointHandlerProxy
> > Set 18, 2015 10:15:55 AM org.hibernate.annotations.common.Version
> <clinit>
> > INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
> > Set 18, 2015 10:15:55 AM org.hibernate.Version logVersion
> > INFO: HHH000412: Hibernate Core {4.2.20.Final}
> > Set 18, 2015 10:15:55 AM org.hibernate.cfg.Environment <clinit>
> > INFO: HHH000206: hibernate.properties not found
> > Set 18, 2015 10:15:55 AM org.hibernate.cfg.Environment
> > buildBytecodeProvider
> > INFO: HHH000021: Bytecode provider name : javassist
> > Set 18, 2015 10:15:55 AM org.hibernate.ejb.Ejb3Configuration configure
> > INFO: HHH000204: Processing PersistenceUnitInfo [
> > name: Firebird
> > ...]
> > Set 18, 2015 10:15:55 AM
> >
> org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator
> > instantiateExplicitConnectionProvider
> > INFO: HHH000130: Instantiating explicit connection provider:
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > Set 18, 2015 10:15:55 AM org.hibernate.dialect.Dialect <init>
> > INFO: HHH000400: Using dialect: org.hibernate.dialect.FirebirdDialect
> > Set 18, 2015 10:15:56 AM
> > org.hibernate.engine.transaction.internal.TransactionFactoryInitiator
> > initiateService
> > INFO: HHH000268: Transaction strategy:
> > org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
> > Set 18, 2015 10:15:56 AM
> > org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>
> > INFO: HHH000397: Using ASTQueryTranslatorFactory
> > Set 18, 2015 10:15:59 AM org.hibernate.internal.SessionFactoryImpl
> > buildCurrentSessionContext
> > WARN: HHH000008: JTASessionContext being used with
> JDBCTransactionFactory;
> > auto-flush will not operate correctly with getCurrentSession()
> > Set 18, 2015 10:15:59 AM
> > org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
> > createDelegate
> > INFORMAÇÕES: PersistenceUnit(name=Firebird,
> > provider=org.hibernate.ejb.HibernatePersistence) - provider time 4472ms
> > Set 18, 2015 10:15:59 AM org.hibernate.ejb.Ejb3Configuration configure
> > INFO: HHH000204: Processing PersistenceUnitInfo [
> > name: FirebirdTest
> > ...]
> > Set 18, 2015 10:15:59 AM
> >
> org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator
> > instantiateExplicitConnectionProvider
> > INFO: HHH000130: Instantiating explicit connection provider:
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > Set 18, 2015 10:15:59 AM org.hibernate.dialect.Dialect <init>
> > INFO: HHH000400: Using dialect: org.hibernate.dialect.FirebirdDialect
> > Set 18, 2015 10:15:59 AM
> > org.hibernate.engine.transaction.internal.TransactionFactoryInitiator
> > initiateService
> > INFO: HHH000268: Transaction strategy:
> > org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> > Set 18, 2015 10:15:59 AM
> > org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>
> > INFO: HHH000397: Using ASTQueryTranslatorFactory
> > Set 18, 2015 10:16:00 AM
> > org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
> > createDelegate
> > INFORMAÇÕES: PersistenceUnit(name=FirebirdTest,
> > provider=org.hibernate.ejb.HibernatePersistence) - provider time 938ms
> > Set 18, 2015 10:16:00 AM org.hibernate.ejb.Ejb3Configuration configure
> > INFO: HHH000204: Processing PersistenceUnitInfo [
> > name: MySql
> > ...]
> > Set 18, 2015 10:16:01 AM
> >
> org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator
> > instantiateExplicitConnectionProvider
> > INFO: HHH000130: Instantiating explicit connection provider:
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > Set 18, 2015 10:16:01 AM org.hibernate.dialect.Dialect <init>
> > INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
> > Set 18, 2015 10:16:01 AM
> > org.hibernate.engine.transaction.internal.TransactionFactoryInitiator
> > initiateService
> > INFO: HHH000268: Transaction strategy:
> > org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
> > Set 18, 2015 10:16:01 AM
> > org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>
> > INFO: HHH000397: Using ASTQueryTranslatorFactory
> > Set 18, 2015 10:16:05 AM org.hibernate.internal.SessionFactoryImpl
> > buildCurrentSessionContext
> > WARN: HHH000008: JTASessionContext being used with
> JDBCTransactionFactory;
> > auto-flush will not operate correctly with getCurrentSession()
> > Set 18, 2015 10:16:07 AM
> > org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
> > createDelegate
> > INFORMAÇÕES: PersistenceUnit(name=MySql,
> > provider=org.hibernate.ejb.HibernatePersistence) - provider time 6276ms
> > Set 18, 2015 10:16:07 AM org.hibernate.ejb.Ejb3Configuration configure
> > INFO: HHH000204: Processing PersistenceUnitInfo [
> > name: MySqlTest
> > ...]
> > Set 18, 2015 10:16:07 AM
> >
> org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator
> > instantiateExplicitConnectionProvider
> > INFO: HHH000130: Instantiating explicit connection provider:
> > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> > Set 18, 2015 10:16:07 AM org.hibernate.dialect.Dialect <init>
> > INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
> > Set 18, 2015 10:16:07 AM
> > org.hibernate.engine.transaction.internal.TransactionFactoryInitiator
> > initiateService
> > INFO: HHH000268: Transaction strategy:
> > org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> > Set 18, 2015 10:16:07 AM
> > org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>
> > INFO: HHH000397: Using ASTQueryTranslatorFactory
> > Set 18, 2015 10:16:10 AM
> > org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
> > createDelegate
> > INFORMAÇÕES: PersistenceUnit(name=MySqlTest,
> > provider=org.hibernate.ejb.HibernatePersistence) - provider time 3137ms
> > Set 18, 2015 10:16:10 AM org.apache.openejb.util.OptionsLog info
> > INFORMAÇÕES: Using
> > 'openejb.jndiname.format={deploymentId}{interfaceType.annotationName}'
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> > Jndi(name=cliente##20150918-1012/StatusChamadoServiceLocalBean) -->
> > Ejb(deployment-id=cliente##20150918-1012/StatusChamadoService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> >
> >
> Jndi(name=global/cliente##20150918-1012/StatusChamadoService!br.com.spdata.persistence.mysql.service.suporte.StatusChamadoService)
> > --> Ejb(deployment-id=cliente##20150918-1012/StatusChamadoService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> Jndi(name=global/cliente##20150918-1012/StatusChamadoService)
> > --> Ejb(deployment-id=cliente##20150918-1012/StatusChamadoService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES: Jndi(name=cliente##20150918-1012/VoceOnlineTimerLocalBean)
> -->
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineTimer)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> >
> >
> Jndi(name=global/cliente##20150918-1012/VoceOnlineTimer!br.com.spdata.cliente.ejb.VoceOnlineTimer)
> > --> Ejb(deployment-id=cliente##20150918-1012/VoceOnlineTimer)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES: Jndi(name=global/cliente##20150918-1012/VoceOnlineTimer) -->
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineTimer)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES: Jndi(name=cliente##20150918-1012/ProjetoServiceLocalBean)
> -->
> > Ejb(deployment-id=cliente##20150918-1012/ProjetoService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> >
> >
> Jndi(name=global/cliente##20150918-1012/ProjetoService!br.com.spdata.persistence.mysql.service.plano.ProjetoService)
> > --> Ejb(deployment-id=cliente##20150918-1012/ProjetoService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES: Jndi(name=global/cliente##20150918-1012/ProjetoService) -->
> > Ejb(deployment-id=cliente##20150918-1012/ProjetoService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> > Jndi(name=cliente##20150918-1012/ComunicadoSghServiceLocalBean) -->
> > Ejb(deployment-id=cliente##20150918-1012/ComunicadoSghService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> >
> >
> Jndi(name=global/cliente##20150918-1012/ComunicadoSghService!br.com.spdata.persistence.mysql.dao.ComunicadoSghService)
> > --> Ejb(deployment-id=cliente##20150918-1012/ComunicadoSghService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES:
> Jndi(name=global/cliente##20150918-1012/ComunicadoSghService)
> > --> Ejb(deployment-id=cliente##20150918-1012/ComunicadoSghService)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.assembler.classic.JndiBuilder
> > bind
> > INFORMAÇÕES: Jndi(name=cliente##20150918-1012/VoceOnlineClienteMdb) -->
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineClienteMdb)
> > Set 18, 2015 10:16:10 AM org.apache.openejb.cdi.CdiBuilder initSingleton
> > INFORMAÇÕES: Existing thread singleton service in SystemInstance():
> > org.apache.openejb.cdi.ThreadSingletonServiceImpl@3943283d
> > Set 18, 2015 10:16:10 AM org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFORMAÇÕES: OpenWebBeans Container is starting...
> > Set 18, 2015 10:16:10 AM org.apache.webbeans.plugins.PluginLoader startUp
> > INFORMAÇÕES: Adding OpenWebBeansPlugin : [CdiPlugin]
> > Set 18, 2015 10:16:10 AM org.apache.webbeans.plugins.PluginLoader startUp
> > INFORMAÇÕES: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> > Set 18, 2015 10:16:11 AM org.apache.webbeans.config.BeansDeployer
> > deploySingleAnnotatedType
> > INFORMAÇÕES: Skipping deployment of Class class
> > br.com.spdata.google.GoogleCalendarServicedue to a NoClassDefFoundError:
> > com/google/api/client/http/HttpRequestInitializer
> > Set 18, 2015 10:16:11 AM org.apache.webbeans.config.BeansDeployer
> > deploySingleAnnotatedType
> > INFORMAÇÕES: Skipping deployment of Class class
> > br.com.spdata.google.GoogleDriveUtildue to a NoClassDefFoundError:
> > com/google/api/client/http/HttpRequestInitializer
> > Set 18, 2015 10:16:11 AM org.apache.webbeans.config.BeansDeployer
> > deploySingleAnnotatedType
> > INFORMAÇÕES: Skipping deployment of Class class
> > br.com.spdata.persistence.mysql.service.TbTecnicoServicedue to a
> > NoClassDefFoundError: com/google/api/client/auth/oauth2/Credential
> > Set 18, 2015 10:16:11 AM org.apache.webbeans.config.BeansDeployer
> > deploySingleAnnotatedType
> > INFORMAÇÕES: Skipping deployment of Class class
> > br.com.spdata.google.GoogleSdkUtildue to a NoClassDefFoundError:
> > com/google/api/client/json/JsonFactory
> > Set 18, 2015 10:16:11 AM org.apache.webbeans.config.BeansDeployer
> > deploySingleAnnotatedType
> > INFORMAÇÕES: Skipping deployment of Class class
> >
> >
> br.com.spdata.persistence.mysql.service.projeto.AcompanhamentoProjetoServicedue
> > to a NoClassDefFoundError:
> > com/google/api/client/googleapis/json/GoogleJsonResponseException
> > Set 18, 2015 10:16:12 AM org.apache.webbeans.config.BeansDeployer
> > validateInjectionPoints
> > INFORMAÇÕES: All injection points were validated successfully.
> > Set 18, 2015 10:16:12 AM org.apache.openejb.cdi.OpenEJBLifecycle
> > startApplication
> > INFORMAÇÕES: OpenWebBeans Container has started, it took 1778 ms.
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Created
> > Ejb(deployment-id=cliente##20150918-1012/ComunicadoSghService,
> > ejb-name=ComunicadoSghService, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Created
> > Ejb(deployment-id=cliente##20150918-1012/ProjetoService,
> > ejb-name=ProjetoService, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Created
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineTimer,
> > ejb-name=VoceOnlineTimer, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Created
> > Ejb(deployment-id=cliente##20150918-1012/StatusChamadoService,
> > ejb-name=StatusChamadoService, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.activemq.ra.ActiveMQEndpointWorker
> > start
> > INFORMAÇÕES: Starting
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Created
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineClienteMdb,
> > ejb-name=VoceOnlineClienteMdb, container=Default MDB Container)
> > Set 18, 2015 10:16:12 AM org.apache.geronimo.connector.work.WorkerContext
> > run
> > INFORMAÇÕES: Removing non-required WorkContextHandler with no context:
> > org.apache.geronimo.connector.work.TransactionContextHandler@74dc350e
> > Set 18, 2015 10:16:12 AM org.apache.geronimo.connector.work.WorkerContext
> > run
> > INFORMAÇÕES: Removing non-required WorkContextHandler with no context:
> > org.apache.openejb.core.security.SecurityContextHandler@251f6612
> > Set 18, 2015 10:16:12 AM org.apache.geronimo.connector.work.WorkerContext
> > run
> > INFORMAÇÕES: Removing non-required WorkContextHandler with no context:
> > org.apache.geronimo.connector.work.HintsContextHandler@631c6ed4
> > Set 18, 2015 10:16:12 AM org.apache.activemq.ra.ActiveMQEndpointWorker$1
> > run
> > INFORMAÇÕES: Establishing connection to broker
> > [vm://localhost?waitForStart=20000&async=true]
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Started
> > Ejb(deployment-id=cliente##20150918-1012/ComunicadoSghService,
> > ejb-name=ComunicadoSghService, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Started
> > Ejb(deployment-id=cliente##20150918-1012/ProjetoService,
> > ejb-name=ProjetoService, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.activemq.ra.ActiveMQEndpointWorker$1
> > run
> > INFORMAÇÕES: Successfully established connection to broker
> > [vm://localhost?waitForStart=20000&async=true]
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Started
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineTimer,
> > ejb-name=VoceOnlineTimer, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Started
> > Ejb(deployment-id=cliente##20150918-1012/StatusChamadoService,
> > ejb-name=StatusChamadoService, container=Default Stateless Container)
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > startEjbs
> > INFORMAÇÕES: Started
> > Ejb(deployment-id=cliente##20150918-1012/VoceOnlineClienteMdb,
> > ejb-name=VoceOnlineClienteMdb, container=Default MDB Container)
> > Set 18, 2015 10:16:12 AM org.apache.tomee.catalina.TomcatWebAppBuilder
> > deployWebApps
> > INFORMAÇÕES: using context file
> >
> >
> /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012/META-INF/context.xml
> > Set 18, 2015 10:16:12 AM org.apache.openejb.assembler.classic.Assembler
> > destroyApplication
> > INFORMAÇÕES: Undeploying app:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012
> > Set 18, 2015 10:16:12 AM org.apache.activemq.ra.ActiveMQEndpointWorker
> stop
> > INFORMAÇÕES: Stopping
> > Set 18, 2015 10:16:15 AM org.apache.tomee.catalina.TomcatWebAppBuilder
> > startInternal
> > GRAVE: Unable to deploy collapsed ear in war
> >
> >
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cliente##20150918-1012]
> > org.apache.openejb.OpenEJBException: Creating application failed:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012:
> addChild:
> >  Child name '/cliente' is not unique
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:970)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:652)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1261)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
> > at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > at
> >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5416)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
> > at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:745)
> > Caused by: java.lang.IllegalArgumentException: addChild:  Child name
> > '/cliente' is not unique
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:887)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:663)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:620)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:927)
> > ... 18 more
> >
> > Set 18, 2015 10:16:15 AM org.apache.catalina.core.ContainerBase
> removeChild
> > GRAVE: ContainerBase.removeChild: destroy:
> > org.apache.catalina.LifecycleException: An invalid Lifecycle transition
> was
> > attempted ([before_destroy]) for component
> >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cliente##20150918-1012]]
> > in state [STARTING_PREP]
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)
> > at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:299)
> > at
> >
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1537)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1518)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1267)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
> > at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > at
> >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5416)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
> > at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > Set 18, 2015 10:16:15 AM org.apache.catalina.core.ContainerBase
> > addChildInternal
> > GRAVE: ContainerBase.addChild: start:
> > org.apache.catalina.LifecycleException: Failed to start component
> >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cliente##20150918-1012]]
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
> > at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:745)
> > Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> > org.apache.openejb.OpenEJBException: Creating application failed:
> > /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012:
> addChild:
> >  Child name '/cliente' is not unique
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1270)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
> > at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> > at
> >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > at
> >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5416)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > ... 10 more
> > Caused by: org.apache.openejb.OpenEJBException: Creating application
> > failed: /home/ec2-user/apache-tomee-plus/webapps/cliente##20150918-1012:
> > addChild:  Child name '/cliente' is not unique
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:970)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:652)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1261)
> > ... 16 more
> > Caused by: java.lang.IllegalArgumentException: addChild:  Child name
> > '/cliente' is not unique
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:887)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:663)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:620)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:927)
> > ... 18 more
> >
> > Set 18, 2015 10:16:15 AM org.apache.catalina.startup.HostConfig deployWAR
> > GRAVE: Error deploying web application archive
> > /home/ec2-user/apache-tomee-plus-1.7.2/webapps/cliente##20150918-1012.war
> > java.lang.IllegalStateException: ContainerBase.addChild: start:
> > org.apache.catalina.LifecycleException: Failed to start component
> >
> >
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cliente##20150918-1012]]
> > at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
> > at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
> > at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > Set 18, 2015 10:16:15 AM org.apache.catalina.startup.HostConfig deployWAR
> > INFORMAÇÕES: Deployment of web application archive
> > /home/ec2-user/apache-tomee-plus-1.7.2/webapps/cliente##20150918-1012.war
> > has finished in 22,757 ms
> >
>
> --
> Email Confidentiality Notice: The information contained in this
> transmission is confidential, proprietary or privileged and may be subject
> to protection under the law, including the Health Insurance Portability and
> Accountability Act (HIPAA). The message is intended for the sole use of the
> individual or entity to whom it is addressed. If you are not the intended
> recipient, you are notified that any use, distribution or copying of the
> message is strictly prohibited and may subject you to criminal or civil
> penalties. If you received this transmission in error, please contact the
> sender immediately by replying to this email and delete the material from
> any computer.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message