Howdy all
I am getting this same error now as well.
I can swear I actually had this working at some point but it is not
working even after a clean instance of jboss is used and a small test is
run.
According to the Tyrex Docs for 1.0 TransactionImpl is not Serializable.
Using 3.0.1 built from source with tyrex version 1.0 (the version in
CVS fals to load because of a log4j error) (xerces and castor jars are
both in the lib as well)
I have tyrex-tm-plugin.jar compiled and in the llib of the server.
the config entry is
<mbean code="org.jboss.tm.plugins.tyrex.TransactionManagerService"
name="jboss:service=TransactionManager">
<attribute
name="ConfigFileName">../server/flyapp/conf/domain.xml</attribute>
</mbean>
where the domain.xml is in the same conf dir as the jboss-service.xml
and looks like....
<domain>
<name>default</name>
</domain>
The top of the Exception is as follows:
java.rmi.MarshalException: error marshalling arguments; nested exception
is:
java.io.NotSerializableException: tyrex.tm.impl.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(JRMPInvokerProxy.java:128)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
at $Proxy53.create(Unknown Source)
On Tue, 2002-09-03 at 09:52, Josh Davis wrote:
> I'm using JBoss 3.0. The interesting thing is, is that in the
> standardjboss.xml file I found the container configuration for the standard
> stateless session beans and I commented out the transaction intercepter in
> the client. When I restarted my distributed calls work fine.
>
> Here is my guess as to what is happening. JBoss starts a transaction when
> the client session bean is called on. When the client session bean tries to
> make a distributed call to the other jboss instance it tries to pass on the
> transaction information as well. In this case none of the transaction code
> is serializable. David Jencks makes mention of this in a distributed
> transaction email thread. This makes sense as to why it is happening.
>
> The main problem that I'm having is how are people getting this to work by
> leaving the transaction interceptor in place. My assumption is nobody has
> this working with version 3.0. Also what are the implications of leaving
> the transaction interceptor commented out?
>
> Shouldn't you theoretically be able to call any bean on any jboss instance
> in a distributed environment? Isn't this what the J2EE architecture is all
> about?
>
> Josh Davis
>
> >-----Original Message-----
> >From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> >Sent: Saturday, August 31, 2002 1:56 AM
> >To: [EMAIL PROTECTED]
> >Subject: RE: [JBoss-user] Is anyone able to use two jboss's on different
> >machines?
> >
> >
> >Hello,
> >
> >Can you please provide us with:
> > - the version (3.0.2, 3.2beta, HEAD, etc.)
> > - the client code and any config file
> > - the stack trace
> >
> >
> >Cheers,
> >
> > Sacha
> >
> > > -----Message d'origine-----
> > > De : [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]De la part de Josh Davis
> > > Envoy� : vendredi, 30 ao�t 2002 19:47
> > > � : [EMAIL PROTECTED]
> > > Objet : RE: [JBoss-user] Is anyone able to use two jboss's on different
> > > machines?
> > >
> > >
> > > I can see the other machine because the jndi call successfully
> > > completes the
> > > initial lookup of the home interface. The problem arises when the
> > > home.create() method is called from the client jboss instance. I get a
> > > NotSerializableException on a TransactionImpl class. Why is a
> > > TransactionImpl class even involved in my call to the other jboss
> > > instance?
> > > The home.create() should just return the remote stub to me. Do I have
> >to
> > > configure something so the transaction interceptor isn't being
> > > used. Using
> > > tyrex produces the same problem.
> > >
> > > Josh (java guru) Davis
> > >
> > > >-----Original Message-----
> > > >From: Emerson Cargnin - SICREDI Servi�os
> > > >[mailto:[EMAIL PROTECTED]]
> > > >Sent: Friday, August 30, 2002 11:16 AM
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Re: [JBoss-user] Is anyone able to use two jboss's on
> >different
> > > >machines?
> > > >
> > > >
> > > >you have to have a jndi.properties in the classpath to allow
> > > jboss to see
> > > >the other host.
> > > >
> > > >Josh Davis wrote:
> > > > > Does anyone have JBoss 3.0 running on two different machines
> > > with ejb >
> > > >lookups working correctly between them? I'm not talking
> > > clustering > here.
> > > > I want to know if anyone can successfully do a lookup from a >
> >session
> > > >bean to a session bean on two different machines running jboss.
> > > > > > Lookups work fine from an ear file to another ear file
> > > deployed in the
> > > > > same jboss instance on the same machine, but fails
> > > distributedly. Have
> > > > > I configured something wrong?
> > > > > > Josh (java guru) Davis
> > > > > > > >
> > > _________________________________________________________________
> > > > > MSN Photos is the easiest way to share and print your photos: >
> > > >http://photos.msn.com/support/worldwide.aspx
> > > > > > > > -------------------------------------------------------
> > > > > This sf.net email is sponsored by: OSDN - Tired of that same old
> > > > > cell phone? Get a new here for FREE!
> > > > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > > > _______________________________________________
> > > > > JBoss-user mailing list
> > > > > [EMAIL PROTECTED]
> > > > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > > > >
> > > >
> > > >
> > > >--
> > > >Emerson Cargnin - MSA
> > > >SICREDI - Tel : 3358-4860
> > > >
> > > >
> > > >
> > > >-------------------------------------------------------
> > > >This sf.net email is sponsored by: OSDN - Tired of that same old
> > > >cell phone? Get a new here for FREE!
> > > >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > >_______________________________________________
> > > >JBoss-user mailing list
> > > >[EMAIL PROTECTED]
> > > >https://lists.sourceforge.net/lists/listinfo/jboss-user
> > > >
> > >
> > > _________________________________________________________________
> > > MSN Photos is the easiest way to share and print your photos:
> > > http://photos.msn.com/support/worldwide.aspx
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by: OSDN - Tired of that same old
> > > cell phone? Get a new here for FREE!
> > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: OSDN - Tired of that same old
> >cell phone? Get a new here for FREE!
> >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> >_______________________________________________
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user