Hi,

> -----Original Message-----
> From: Muntean Horia [mailto:[EMAIL PROTECTED]]
> Try to read JBoss.3.0QuickStart.Draft4.pdf ( around page 37 
> ). There is 
> an example about accesing a remote EJB from another EJB.

Ok, I tried this with the jndi-link, but this somehow calls my
local bean and not the remote one.
Do I have to configure jndi here to use a external server as well?

* @ejb.ejb-external-ref
 *  view-type="remote"
 *  link="Hello"
 *  ref-name="RemoteHello"
 *  type="Session"
 *  home="test.ejb.HelloHome"
 *  business="test.ejb.Hello"
 *
 * @jboss.ejb-ref-jndi
 *  ref-name="RemoteHello"
 *  jndi-name="jnp://192.168.100.146:1099/ejb/Hello"

If I leave out the @ejb.ejb-external-ref link="Hello", then
ejbdoclet does not complain, but I get the exception again.

18:38:11,658 ERROR [STDERR] bla bla failed .. java.rmi.MarshalException:
error marshalling arguments; nested exception is:
        java.io.NotSerializableException: org.jboss.tm.TransactionImpl

When I try to create the Hello object

  Thanks
    Heiko

-- 
Bancotec GmbH      EMail: [EMAIL PROTECTED]
Calwer Str. 33     Telefon: +49 711 222 992 900
D-70173 Stuttgart  Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to