Hi,

The jBoss transaction propagation currently only
works within the same VM that started the transaction.
When trying to import the transaction in another VM
you get the "Cannot Import Transaction" error.

You are not the only one who needs multible federated
jBoss servers, and I am currently speculating on how
this is best done in a way so we can also interoperate
with other transaction managers (in particular CORBA
OTS).


Best Regards,

Ole Husgaard.


Todd Huss wrote:
> 
> I have two JBoss servers running. On server A I have session bean A and
> entity bean APrime and on server B I have session bean B.
> 
> Bean B has a method that accepts the Interface for entity bean A'.
> Basically Bean A does a findByPK to get the interface for A' and then
> calls session bean B passing it the A' interface as the argument. So as
> soon as I call BInterface.send(APrimeInterface):
> 
> On server A I get the error:
> [APrime] Cannot Import Transaction: TransactionImpl:XidImpl:[B@1fdbcb
> 
> On server B I get the error:
> [B] TRANSACTION ROLLBACK EXCEPTION:RemoteException occurred in
> server thread; nested exception is:
>         java.rmi.ServerException: Exception occurred; nested exception is:
>         java.lang.NullPointerException; nested exception is:
>         java.rmi.ServerException: RemoteException occurred in server
> thread; nested exception is:
>         java.rmi.ServerException: Exception occurred; nested exception is:
>         java.lang.NullPointerException
> [B] java.rmi.ServerException: RemoteException occurred in server
> thread; nested exception is:
> [B]       java.rmi.ServerException: Exception occurred; nested
> exception is:
> 
> and so on.... The interesting thing is, that this all works fine when I
> run it in one EJB server but as soon as I distribute it across 2 servers
> it breaks.
> 
> Any suggestions?
> Thanks,
> Todd
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to