INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
provider-id=Tomcat Security Service)
May 08, 2013 4:20:03 PM org.apache.openejb.config.ConfigurationFactory
configureService
SEVERE: Failed Configuring Service(id=Default Transaction Manager)
org.apache.openejb.config.NoSuchProviderException: Cannot determine a
provider for TransactionManager(id=Default Transaction Manager,
type=javax.transac
tion.TransactionManager, provider=null).

Possible valid configurations might be:
  <TransactionManager id="Default Transaction Manager"
type="TransactionManager"/>
        at
org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:1023)
        at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:459)
        at
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:394)
        at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:373)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
        at
org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
        at
org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
        at
org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:121)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)

May 08, 2013 4:20:03 PM org.apache.openejb.OpenEJB$Instance <init>
SEVERE: OpenEJB has encountered a fatal error and cannot be started:
Assembler failed to build the container system.
org.apache.openejb.OpenEJBException: Failed Configuring Service(id=Default
Transaction Manager): Cannot determine a provider for
TransactionManager(id=D
efault Transaction Manager, type=javax.transaction.TransactionManager,
provider=null).
Possible valid configurations might be:
  <TransactionManager id="Default Transaction Manager"
type="TransactionManager"/>
        at
org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:1105)
        at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:459)
        at
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:394)
        at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:373)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
        at
org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
        at
org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
        at
org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:121)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)

May 08, 2013 4:20:03 PM org.apache.tomee.catalina.ServerListener
lifecycleEvent
SEVERE: TomEE Listener can't start OpenEJB
org.apache.openejb.OpenEJBException: Failed Configuring Service(id=Default
Transaction Manager): Cannot determine a provider for
TransactionManager(id=Default Transaction Manager,
type=javax.transaction.TransactionManager, provider=null).



On 8 May 2013 16:24, Romain Manni-Bucau <rmannibu...@gmail.com> wrote:

> fails = ? which error?
>
> *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/5/8 James Green <james.mk.gr...@gmail.com>
>
> > In tomee.xml:
> > <TransactionManager id="Default Transaction Manager"
> > type="javax.transaction.TransactionManager">
> > defaultTransactionTimeoutSeconds = 20 minutes
> > </TransactionManager>
> >
> > That causes tomee to fail to boot.
> >
> > Any ideas?
> >
> >
> > On 3 May 2013 17:23, Romain Manni-Bucau <rmannibu...@gmail.com> wrote:
> >
> > > "Default Transaction Manager" is the default i think
> > >
> > > *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/5/3 James Green <james.mk.gr...@gmail.com>
> > >
> > > > Is there an id value that must be set?
> > > >
> > > > Just setting a TransactionManager with a single line for timeout
> value
> > > > causes TomEE to error on boot saying the id is invalid.
> > > >
> > > >
> > > >
> > > > On 2 May 2013 12:29, Romain Manni-Bucau <rmannibu...@gmail.com>
> wrote:
> > > >
> > > > > if you want to update it completely you have the whole config in
> this
> > > > > thread:
> > > > >
> > > > >
> > > >
> > >
> >
> http://grokbase.com/t/openejb/users/12agd0wmmm/transaction-has-timed-out-how-to-set-the-server-timeout
> > > > >
> > > > > *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/5/2 James Green <james.mk.gr...@gmail.com>
> > > > >
> > > > > > Just submitted a documentation update to include this.
> > > > > >
> > > > > >
> > > > > > On 2 May 2013 12:16, Romain Manni-Bucau <rmannibu...@gmail.com>
> > > wrote:
> > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > default duration is 10 minutes
> > > > > > >
> > > > > > > you can configure it in tomee.xml:
> > > > > > >
> > > > > > > <TransactionManager
> type="javax.transaction.TransactionManager">
> > > > > > > defaultTransactionTimeoutSeconds = 10 minutes
> > > > > > > </TransactionManager>
> > > > > > >
> > > > > > > *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/5/2 James Green <james.mk.gr...@gmail.com>
> > > > > > >
> > > > > > > > Caused by: javax.transaction.RollbackException: Unable to
> > commit:
> > > > > > > > transaction marked for rollback
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:272)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.transaction.JtaTransactionPolicy.completeTransaction(JtaTransactionPolicy.java:328)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > org.apache.openejb.core.transaction.TxRequired.commit(TxRequired.java:75)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.transaction.EjbTransactionUtil.afterInvoke(EjbTransactionUtil.java:76)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:253)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:185)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:256)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:251)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:85)
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:279)
> > > > > > > >         ... 42 more
> > > > > > > > Caused by: java.lang.Exception: Transaction has timed out
> > > > > > > >         at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:266)
> > > > > > > >         ... 52 more
> > > > > > > >
> > > > > > > >
> > > > > > > > This is coming from a CXF JAX-RS web service invocation where
> > the
> > > > > > backend
> > > > > > > > services in the container are genuinely going to take several
> > > > minutes
> > > > > > to
> > > > > > > > complete.
> > > > > > > >
> > > > > > > > I'm trying to find documentation in order to see the current
> > > > timeout
> > > > > > > value
> > > > > > > > and increase it but I've not found anything yet.
> > > > > > > >
> > > > > > > > Any clues appreciated!
> > > > > > > >
> > > > > > > > James
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to