Hi,
what version of JBoss are you using.
There was a bug in TX handling in MDB in 2.4.0 looking verry much like
this, occuring of setRollbackOnly() was used. Is this the case.
The bug should have been fixed in 2.4.1 though.
//Peter
On 11 Sep, Christophe GARCIA wrote:
> Hi,
>
> This is a question for Mark Fleury that is the author of this class.
>
> I have an ERROR that is raised in the invke method of this class. I cannot
>understand why it is raised because I can perform exactly the same thing in another
>part of my code with no errors ....
>
> Mainly, I use my own factory (Singleton) OGCBaseFactory to access my EJBs. The error
>occures when I call my getInstance method.
>
> Here is the stack trace I have :
>
> [Container factory] java.rmi.ServerException: Transaction rolled
>back:com/ogc/application/server/factory/OGCBaseFactory
> [Container factory] at
>org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:122)
> [Container factory] at
>org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:58)
> [Container factory] at
>org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:190)
> [Container factory] at
>org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [Container factory] at
>org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.java:264)
> [Container factory] at
>org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:151)
> [Container factory] at
>org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:448)
> [Container factory] at
>org.jbossmq.SpyMessageConsumer.deliverMessage(SpyMessageConsumer.java:294)
> [Container factory] at org.jbossmq.SpySession.run(SpySession.java:236)
> [Container factory] at
>org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:131)
> [Container factory] at
>org.jboss.jms.asf.ThreadPool$Worker.run(ThreadPool.java:128)
>
> Thanks for your help
> Christophe
>
>
>
> ------------------------------------------------
> Christophe GARCIA
> 1 rue des rivi�res - CP 116
> 69266 LYON Cedex 09
>
>
> Tel :
> Fax :
> Email : 04 72 19 25 05
> 04 72 19 25 50
> [EMAIL PROTECTED]
> ------------------------------------------------
>
--
Jobba hos oss: http://www.tim.se/weblab
------------------------------------------------------------
Peter Antman Technology in Media, Box 34105 100 26 Stockholm
Systems Architect WWW: http://www.tim.se
Email: [EMAIL PROTECTED] WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942
------------------------------------------------------------
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user