Hi,

we have two JBoss 3.0.5 instances running on different machines. From
session bean X on instance ONE we're calling a method on session bean X (the
same session bean) on instance TWO. This results in the following
stacktrace. All methods are declared as TX_REQUIRED, we're using container
managed transactions. This excerpt from the stacktrace
(java.io.NotSerializableException: org.jboss.tm.TransactionImpl) indicates
there's is something going wrong with the transaction settings. Of course, I
may be wrong.

Maybe someone could point me to the reasons for this behavior. This would be
extremely helpful!

Thanks,
Bernhard


        at
com.logica.isis.server.al.ctrlservice.administration.CSUserSessionBean.login
(CSUserSessio
nBean.java:424)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionConta
iner.java:660)
        at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
edConnectionI
nterceptor.java:186)
        at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstance
Interceptor.java:77)
        at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:107)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:228)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)
        at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
0)
        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
        at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:313)
        at org.jboss.ejb.Container.invoke(Container.java:712)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
        at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)
        at java.lang.Thread.run(Thread.java:536)
Caused by: java.rmi.MarshalException: error marshalling arguments; nested
exception is:
        java.io.NotSerializableException: org.jboss.tm.TransactionImpl
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
        at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown
Source)
        at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProx
y.java:138)
        at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
        at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77
)
        at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
        at
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
        at $Proxy387.create(Unknown Source)
        at
com.logica.isis.server.al.ctrlservice.administration.CSUserSessionBean.login
(CSUserSessio
nBean.java:415)
        ... 27 more
Caused by: java.io.NotSerializableException: org.jboss.tm.TransactionImpl
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
        at
org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation
.java:377)
        at
java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1262)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1243)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
        at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
        ... 36 more

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to