Hello,

I have an MDB which calls a facade for different 
StatelessSessionBeans (SSB). If those beans are deployed
on the same jboss instance everything is OK, but
when the SSB is deployed in other instance (secondary server)
I'm getting the following exception (on the primary server)

[Container factory] Exception in JMSCI message listener: :
java.rmi.ServerException: Transaction rolled
back:com/ptc/bmx/component/BmxComponent
[Container factory] java.rmi.ServerException: Transaction rolled
back:com/ptc/bmx/component/BmxComponent
[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)

Does anybody has some clue?

I don't need any transactions in my MDB, so I set in ejb-jar

        <transaction-type>Bean</transaction-type>


The same facade is working perfectly from other beans - from
StatefulSessionBean,
for instance.

I'm running jBoss-2.2 (final?) on Solaris JDK1.3. The secondary server is
on NT.

BTW, looking at the code for MessageDrivenTxInterceptorBMT I noticed that
in case of Error (line 122) the original exception is not passed into new
ServerException, just a message. Maybe it should be added?

Thanks



-- 
__________________________________________________
Alexander Kogan  PTC   www.ptc.com
[EMAIL PROTECTED]    140 Kendrick St. Needham MA 02494

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to