Hi Romain
yes, the app uses quartz and activemq, both persistent
my application.properties at WEB-INF
============================
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
org.quartz.jobStore.dataSource=quartzDS
org.quartz.jobStore.nonManagedTXDataSource = quartzDS2
org.quartz.jobStore.isClustered=false
org.quartz.jobStore.makeThreadsDaemons=true
org.quartz.jobStore.tablePrefix = QRTZ_
org.quartz.jobStore.driverDelegateClass =
org.quartz.impl.jdbcjobstore.StdJDBCDelegate
#org.quartz.jobStore.dontSetAutoCommitFalse = true
org.quartz.scheduler.instanceName = myScheduler
org.quartz.scheduler.instanceId=AUTO
org.quartz.scheduler.threadsInheritContextClassLoaderOfInitializer=true
org.quartz.scheduler.makeSchedulerThreadDaemon=true
org.quartz.dataSource.quartzDS.jndiURL=openejb:Resource/jdbc/quartzDS
org.quartz.dataSource.quartzDS.validationQuery=select 0 from dual
org.quartz.dataSource.quartzDS2.jndiURL=openejb:Resource/jdbc/quartzDS2
org.quartz.dataSource.quartzDS2.validationQuery=select 0 from dual
org.quartz.threadPool.threadCount = 10
org.quartz.jobStore.txIsolationLevelSerializable=false
tomee.xml
========
<?xml version="1.0" encoding="UTF-8"?>
<tomee>
<Resource id="poc1" type="DataSource">
JdbcDriver oracle.jdbc.OracleDriver
JdbcUrl jdbc:oracle:thin:@localhost:1521:XE
UserName xyz_jpa
Password xyz
JtaManaged true
oracle.net.encryption_client=REQUIRED
oracle.net.encryption_types_client=( DES40 )
oracle.net.crypto_checksum_client=REQUESTED
oracle.net.crypto_checksum_types_client=( MD5 )
</Resource>
<Resource id="poc2" type="DataSource">
JdbcDriver oracle.jdbc.OracleDriver
JdbcUrl jdbc:oracle:thin:@localhost:1521:XE
UserName xyz_jpa
Password xyz
JtaManaged false
oracle.net.encryption_client=REQUIRED
oracle.net.encryption_types_client=( DES40 )
oracle.net.crypto_checksum_client=REQUESTED
oracle.net.crypto_checksum_types_client=( MD5 )
</Resource>
<Resource id="jdbc/quartzDS" type="DataSource">
JdbcDriver oracle.jdbc.OracleDriver
JdbcUrl jdbc:oracle:thin:@localhost:1521:XE
UserName xyz_quartz
Password xyz
JtaManaged true
oracle.net.encryption_client=REQUIRED
oracle.net.encryption_types_client=( DES40 )
oracle.net.crypto_checksum_client=REQUESTED
oracle.net.crypto_checksum_types_client=( MD5 )
</Resource>
<Resource id="jdbc/quartzDS2" type="DataSource">
JdbcDriver oracle.jdbc.OracleDriver
JdbcUrl jdbc:oracle:thin:@localhost:1521:XE
UserName xyz_quartz
Password xyz
JtaManaged false
oracle.net.encryption_client=REQUIRED
oracle.net.encryption_types_client=( DES40 )
oracle.net.crypto_checksum_client=REQUESTED
oracle.net.crypto_checksum_types_client=( MD5 )
</Resource>
<Resource id="MyJmsDataSource" type="javax.sql.DataSource">
JdbcDriver = oracle.jdbc.OracleDriver
JdbcUrl jdbc:oracle:thin:@localhost:1521:XE
UserName = xyz_jms
Password = xyz
oracle.net.encryption_client=REQUIRED
oracle.net.encryption_types_client=( DES40 )
oracle.net.crypto_checksum_client=REQUESTED
oracle.net.crypto_checksum_types_client=( MD5 )
</Resource>
<Resource id="Default JMS Resource Adapter"
type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=true
ServerUrl = tcp://localhost:61616
DataSource = MyJmsDataSource
</Resource>
<Resource id="MyJmsConnectionFactory"
type="javax.jms.ConnectionFactory">
ResourceAdapter = Default\ JMS\ Resource\ Adapter
PoolMaxSize = 10
ConnectionMaxWaitMilliseconds = 500
</Resource>
<Resource id="DriverJobQueue" type="javax.jms.Queue"/>
<Resource id="myMailSession" type="javax.mail.Session">
mail.transport.protocol=smtp
mail.smtp.host=localhost
mail.smtp.port=9025
mail.smtp.user=leoks
mail.smtp.auth=false
mail.smtp.password=xxx
mail.smtp.debug=true
</Resource>
<Container id="messagePool" type="MESSAGE">
MinSize 10
InstanceLimit 10
</Container>
<Container id="statelessPool" type="STATELESS">
MinSize 10
InstanceLimit 10
</Container>
</tomee>
activemq.xml
==========
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<value>file:${activemq.conf}/credentials.properties</value>
</property>
</bean>
<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.data}">
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry
queue=">"
producerFlowControl="false"
prioritizedMessages="true"
useCache="false"
expireMessagesPeriod="0"
queuePrefetch="1"/>
<pendingQueuePolicy>
<vmQueueCursor />
</pendingQueuePolicy>
</policyEntries>
</policyMap>
</destinationPolicy>
</broker>
</beans>
Thanks!
Leo
[]
Leo
On Wed, Nov 20, 2013 at 3:42 AM, Romain Manni-Bucau
<[email protected]>wrote:
> Hi
>
> Any quartz config? Does the app delivers quartz? No classpath clash with
> 1.5.2?
> Le 20 nov. 2013 04:57, "Leonardo K. Shikida" <[email protected]> a écrit :
>
> > Hi
> >
> > I'm trying to migrate to 1.6.0, I already have a project running on
> 1.5.2,
> > using eclipse, but I can't start tomee+ 1.6.0. (today's snapshot)
> >
> > If I create a new dynamic web project and deploy it into 1.6.0 from
> within
> > eclipse it works, so it's probably something less evident.
> >
> > I am sorry, I can't create a maven project for this, so I'll limit to
> post
> > the stacktrace.
> >
> > Thanks in advance for any help
> >
> > SEVERE: ContainerBase.removeChild: destroy:
> > org.apache.catalina.LifecycleException: An invalid Lifecycle transition
> was
> > attempted ([before_destroy]) for component
> > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XYZ]]
> 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:1477)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1458)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:719)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1635)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:896)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:615)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1205)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127)
> > 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:5322)
> > 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.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:724)
> >
> > Nov 20, 2013 1:43:09 AM org.apache.tomee.catalina.TomcatWebAppBuilder
> > startInternal
> > SEVERE: Unable to deploy collapsed ear in war
> > StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XYZ]
> > org.apache.openejb.OpenEJBException: Creating application failed:
> >
> >
> /home/xyzk/EclipseIndigo/workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/XYZ:
> > Error starting 'TimerEJB'. Exception: class
> > org.apache.openejb.OpenEJBRuntimeException: Fail to initialize the
> default
> > scheduler: Fail to initialize the default scheduler
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:900)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:615)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1205)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127)
> > 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:5322)
> > 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.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:724)
> > Caused by: org.apache.openejb.OpenEJBException: Error starting
> 'TimerEJB'.
> > Exception: class org.apache.openejb.OpenEJBRuntimeException: Fail to
> > initialize the default scheduler: Fail to initialize the default
> scheduler
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.startEjbs(Assembler.java:1141)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:808)
> > ... 14 more
> > Caused by: org.apache.openejb.OpenEJBRuntimeException: Fail to initialize
> > the default scheduler
> > at
> >
> >
> org.apache.openejb.core.timer.EjbTimerServiceImpl.getDefaultScheduler(EjbTimerServiceImpl.java:194)
> > at
> >
> >
> org.apache.openejb.core.timer.EjbTimerServiceImpl.start(EjbTimerServiceImpl.java:455)
> > at
> >
> >
> org.apache.openejb.core.stateless.StatelessContainer.start(StatelessContainer.java:115)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.startEjbs(Assembler.java:1135)
> > ... 15 more
> > Caused by: org.quartz.SchedulerConfigException: Failure occured during
> job
> > recovery. [See nested exception:
> > org.quartz.impl.jdbcjobstore.NoSuchDelegateException: Couldn't create
> > delegate: org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate
> [See
> > nested exception: java.lang.InstantiationException:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate]]
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:693)
> > at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:580)
> > at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
> > at
> >
> >
> org.apache.openejb.core.timer.EjbTimerServiceImpl.getDefaultScheduler(EjbTimerServiceImpl.java:180)
> > ... 18 more
> > Caused by: org.quartz.impl.jdbcjobstore.NoSuchDelegateException: Couldn't
> > create delegate:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate [See nested
> > exception: java.lang.InstantiationException:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate]
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.getDelegate(JobStoreSupport.java:3109)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:854)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport$1.execute(JobStoreSupport.java:837)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport$46.execute(JobStoreSupport.java:3743)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3777)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3739)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:833)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:691)
> > ... 21 more
> > Caused by: java.lang.InstantiationException:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate
> > at java.lang.Class.newInstance(Class.java:359)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.getDelegate(JobStoreSupport.java:3104)
> > ... 28 more
> >
> > Nov 20, 2013 1:43:09 AM org.apache.catalina.core.ContainerBase
> > startInternal
> > SEVERE: A child container failed during start
> > java.util.concurrent.ExecutionException:
> > org.apache.catalina.LifecycleException: Failed to start component
> > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XYZ]]
> > at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> > at java.util.concurrent.FutureTask.get(FutureTask.java:188)
> > 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.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:724)
> > Caused by: org.apache.catalina.LifecycleException: Failed to start
> > component
> > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XYZ]]
> > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > ... 6 more
> > Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> > org.apache.openejb.OpenEJBException: Creating application failed:
> >
> >
> /home/xyzk/EclipseIndigo/workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/XYZ:
> > Error starting 'TimerEJB'. Exception: class
> > org.apache.openejb.OpenEJBRuntimeException: Fail to initialize the
> default
> > scheduler: Fail to initialize the default scheduler
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1214)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051)
> > at
> >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127)
> > 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:5322)
> > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > ... 6 more
> > Caused by: org.apache.openejb.OpenEJBException: Creating application
> > failed:
> >
> >
> /home/xyzk/EclipseIndigo/workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/XYZ:
> > Error starting 'TimerEJB'. Exception: class
> > org.apache.openejb.OpenEJBRuntimeException: Fail to initialize the
> default
> > scheduler: Fail to initialize the default scheduler
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:900)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:615)
> > at
> >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1205)
> > ... 12 more
> > Caused by: org.apache.openejb.OpenEJBException: Error starting
> 'TimerEJB'.
> > Exception: class org.apache.openejb.OpenEJBRuntimeException: Fail to
> > initialize the default scheduler: Fail to initialize the default
> scheduler
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.startEjbs(Assembler.java:1141)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:808)
> > ... 14 more
> > Caused by: org.apache.openejb.OpenEJBRuntimeException: Fail to initialize
> > the default scheduler
> > at
> >
> >
> org.apache.openejb.core.timer.EjbTimerServiceImpl.getDefaultScheduler(EjbTimerServiceImpl.java:194)
> > at
> >
> >
> org.apache.openejb.core.timer.EjbTimerServiceImpl.start(EjbTimerServiceImpl.java:455)
> > at
> >
> >
> org.apache.openejb.core.stateless.StatelessContainer.start(StatelessContainer.java:115)
> > at
> >
> >
> org.apache.openejb.assembler.classic.Assembler.startEjbs(Assembler.java:1135)
> > ... 15 more
> > Caused by: org.quartz.SchedulerConfigException: Failure occured during
> job
> > recovery. [See nested exception:
> > org.quartz.impl.jdbcjobstore.NoSuchDelegateException: Couldn't create
> > delegate: org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate
> [See
> > nested exception: java.lang.InstantiationException:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate]]
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:693)
> > at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:580)
> > at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
> > at
> >
> >
> org.apache.openejb.core.timer.EjbTimerServiceImpl.getDefaultScheduler(EjbTimerServiceImpl.java:180)
> > ... 18 more
> > Caused by: org.quartz.impl.jdbcjobstore.NoSuchDelegateException: Couldn't
> > create delegate:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate [See nested
> > exception: java.lang.InstantiationException:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate]
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.getDelegate(JobStoreSupport.java:3109)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:854)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport$1.execute(JobStoreSupport.java:837)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport$46.execute(JobStoreSupport.java:3743)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3777)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3739)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:833)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:691)
> > ... 21 more
> > Caused by: java.lang.InstantiationException:
> > org.apache.openejb.core.timer.quartz.PatchedStdJDBCDelegate
> > at java.lang.Class.newInstance(Class.java:359)
> > at
> >
> >
> org.quartz.impl.jdbcjobstore.JobStoreSupport.getDelegate(JobStoreSupport.java:3104)
> > ... 28 more
> >
> > Nov 20, 2013 1:43:09 AM org.apache.catalina.core.ContainerBase
> > startInternal
> > SEVERE: A child container failed during start
> > java.util.concurrent.ExecutionException:
> > org.apache.catalina.LifecycleException: Failed to start component
> > [StandardEngine[Catalina].StandardHost[localhost]]
> > at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> > at java.util.concurrent.FutureTask.get(FutureTask.java:188)
> > 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:691)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > 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.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:724)
> > 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)
> > ... 6 more
> >
> > Nov 20, 2013 1:43:09 AM org.apache.catalina.startup.Catalina start
> > SEVERE: The required Server component failed to start so Tomcat is unable
> > to start.
> > org.apache.catalina.LifecycleException: Failed to start component
> > [StandardServer[8005]]
> > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:691)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > 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
> >
> > Nov 20, 2013 1:43:09 AM org.apache.coyote.AbstractProtocol pause
> > INFO: Pausing ProtocolHandler ["http-bio-8080"]
> > Nov 20, 2013 1:43:09 AM org.apache.coyote.AbstractProtocol pause
> > INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
> > Nov 20, 2013 1:43:09 AM org.apache.catalina.core.StandardService
> > stopInternal
> > INFO: Stopping service Catalina
> > Nov 20, 2013 1:43:09 AM org.apache.openejb.server.SimpleServiceManager
> stop
> > INFO: Stopping server services
> > Nov 20, 2013 1:43:09 AM org.apache.openejb.assembler.classic.Assembler
> > destroyApplication
> > INFO: Undeploying app: openejb
> > Nov 20, 2013 1:43:09 AM org.apache.openejb.assembler.classic.Assembler
> > destroyApplication
> > INFO: Undeploying app:
> >
> >
> /home/xyzk/EclipseIndigo/workspace2/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/ROOT
> > Nov 20, 2013 1:43:10 AM org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Closing DataSource: quartzDS
> > Nov 20, 2013 1:43:10 AM org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Closing DataSource: quartzDS2
> > Nov 20, 2013 1:43:10 AM org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Closing DataSource: poc1
> > Nov 20, 2013 1:43:10 AM org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Closing DataSource: MyJmsDataSource
> > Nov 20, 2013 1:43:10 AM org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Closing DataSource: poc2
> > Nov 20, 2013 1:43:10 AM org.apache.openejb.assembler.classic.Assembler
> > destroyResource
> > INFO: Stopping ResourceAdapter: Default JMS Resource Adapter
> > Nov 20, 2013 1:43:10 AM
> > org.apache.openejb.resource.activemq.ActiveMQResourceAdapter stop
> > INFO: Stopping ActiveMQ
> > Nov 20, 2013 1:43:10 AM org.apache.activemq.broker.BrokerService stop
> > INFO: Apache ActiveMQ 5.9.0 (localhost,
> > ID:oc7612866413.xyz.com-51818-1384918981867-0:1) is shutting down
> > Nov 20, 2013 1:43:10 AM org.apache.activemq.broker.TransportConnector
> stop
> > INFO: Connector tcp://localhost.localdomain:61616 stopped
> > Nov 20, 2013 1:43:10 AM
> > org.apache.activemq.store.kahadb.plist.PListStoreImpl doStop
> > INFO: PListStore:[/home/xyzk/activemq-data/localhost/tmp_storage] stopped
> > Nov 20, 2013 1:43:10 AM
> > org.apache.activemq.store.jdbc.DefaultDatabaseLocker doStop
> > WARNING: Exception while rollbacking the connection on shutdown. This
> > exception is ignored.
> > java.sql.SQLException: Connection has already been closed.
> > at
> >
> >
> org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:117)
> > at
> >
> >
> org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
> > at
> >
> >
> org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:80)
> > at com.sun.proxy.$Proxy33.rollback(Unknown Source)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > at
> >
> >
> org.apache.openejb.resource.jdbc.managed.local.ManagedConnection.invoke(ManagedConnection.java:144)
> > at
> >
> >
> org.apache.openejb.resource.jdbc.managed.local.ManagedConnection.invoke(ManagedConnection.java:83)
> > at com.sun.proxy.$Proxy34.rollback(Unknown Source)
> > at
> >
> >
> org.apache.activemq.store.jdbc.DefaultDatabaseLocker.doStop(DefaultDatabaseLocker.java:144)
> > at
> org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:71)
> > at
> >
> >
> org.apache.activemq.broker.LockableServiceSupport.postStop(LockableServiceSupport.java:114)
> > at
> org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:75)
> > at
> org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
> > at
> > org.apache.activemq.broker.BrokerService.stop(BrokerService.java:748)
> > at
> >
> >
> org.apache.openejb.resource.activemq.ActiveMQResourceAdapter.stopImpl(ActiveMQResourceAdapter.java:203)
> > at
> >
> >
> org.apache.openejb.resource.activemq.ActiveMQResourceAdapter.stopImpl(ActiveMQResourceAdapter.java:189)
> > at
> >
> >
> org.apache.openejb.resource.activemq.ActiveMQResourceAdapter.access$000(ActiveMQResourceAdapter.java:36)
> > at
> >
> >
> org.apache.openejb.resource.activemq.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:159)
> >
> > Nov 20, 2013 1:43:10 AM org.apache.activemq.broker.BrokerService stop
> > INFO: Apache ActiveMQ 5.9.0 (localhost,
> > ID:oc7612866413.xyz.com-51818-1384918981867-0:1) uptime 10.130 seconds
> > Nov 20, 2013 1:43:10 AM org.apache.activemq.broker.BrokerService stop
> > INFO: Apache ActiveMQ 5.9.0 (localhost,
> > ID:oc7612866413.xyz.com-51818-1384918981867-0:1) is shutdown
> > Nov 20, 2013 1:43:10 AM
> > org.apache.openejb.resource.activemq.ActiveMQResourceAdapter stopImpl
> > INFO: Stopped ActiveMQ broker
> > Nov 20, 2013 1:43:10 AM org.apache.coyote.AbstractProtocol destroy
> > INFO: Destroying ProtocolHandler ["http-bio-8080"]
> > Nov 20, 2013 1:43:10 AM org.apache.coyote.AbstractProtocol destroy
> > INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
> >
> >
> > []
> >
> > Leo
> >
>