that's not a bug you used the "wrong" property i think
did you try "defaultTransactionTimeout"? *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 <[email protected]> > INFO: Enterprise application "openejb" loaded. > May 08, 2013 4:42:07 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating TransactionManager(id=Default Transaction Manager) > May 08, 2013 4:42:07 PM org.apache.openejb.util.OpenEJBErrorHandler > handleUnknownError > SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the following > stack trace and this message to [email protected] : > org.apache.xbean.propertyeditor.PropertyEditorException: > java.lang.NumberFormatException: For input string: "20 minutes" > at > > org.apache.xbean.propertyeditor.IntegerEditor.toObjectImpl(IntegerEditor.java:31) > at > > org.apache.xbean.propertyeditor.AbstractConverter.toObject(AbstractConverter.java:86) > at > > org.apache.xbean.propertyeditor.PropertyEditors.getValue(PropertyEditors.java:284) > at > org.apache.xbean.recipe.RecipeHelper.convert(RecipeHelper.java:172) > at > > org.apache.xbean.recipe.ObjectRecipe.extractConstructorArgs(ObjectRecipe.java:592) > at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:275) > at > org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at > org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at > org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) > at > > org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:2219) > at > > org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:450) > at > org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:374) > 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) > Caused by: java.lang.NumberFormatException: For input string: "20 minutes" > at > > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Integer.parseInt(Integer.java:492) > at java.lang.Integer.valueOf(Integer.java:582) > at > > org.apache.xbean.propertyeditor.IntegerEditor.toObjectImpl(IntegerEditor.java:29) > ... 28 more > > If think English sentence version ought to work would you might filing that > as a bug in the relevant Apache project please? > > Thanks, > > James > > > > On 8 May 2013 16:49, Romain Manni-Bucau <[email protected]> wrote: > > > If so thats a bug > > Le 8 mai 2013 17:48, "James Green" <[email protected]> a écrit : > > > > > <TransactionManager id="Default Transaction Manager" > > > type="TransactionManager"> > > > defaultTransactionTimeoutSeconds = 1200 > > > </TransactionManager> > > > > > > Note that property value is no longer read as an English sentence, but > as > > > an Integer representing time in seconds. Time to update the docs... > > > > > > > > > > > > On 8 May 2013 16:37, Romain Manni-Bucau <[email protected]> wrote: > > > > > > > maybe try type="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/8 James Green <[email protected]> > > > > > > > > > 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 <[email protected]> > > 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 <[email protected]> > > > > > > > > > > > > > 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 <[email protected] > > > > > > 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 <[email protected]> > > > > > > > > > > > > > > > > > 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 < > > [email protected] > > > > > > > > > > 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 <[email protected]> > > > > > > > > > > > > > > > > > > > > > Just submitted a documentation update to include this. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 2 May 2013 12:16, Romain Manni-Bucau < > > > > [email protected] > > > > > > > > > > > > > > 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 <[email protected]> > > > > > > > > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
