Klaas, relationships can be established only with local interfaces and, thus, accessed only localy, in the same VM. That's by the spec.
alex Monday, January 20, 2003, 3:47:30 PM, you wrote: KvdP> Hi All, KvdP> I have successfully deployed some entitybeans on my jboss 3.0.4 server. I'm KvdP> using CMP with MySQL. KvdP> I have ejb-relation between 'subscriber' and 'service' KvdP> If I do a getSubscribers() on the local interface of a service entity bean KvdP> in the same jvm (ie from a session bean or so) I am getting the results KvdP> correctly. KvdP> But, when i try to do the same on the remote interface from my tomcat KvdP> instance, i'm getting the exception below. Anyone any idea what can be KvdP> wrong? Or am I misusing the container managed relationship mechanism? KvdP> Thanks. KvdP> Klaas KvdP> --------------------------- KvdP> java.lang.reflect.UndeclaredThrowableException KvdP> at $Proxy1.getSubscribers(Unknown Source) KvdP> at mystruts.action.ServiceDetailAction.perform(ServiceDetailAction.java:58) KvdP> ... KvdP> ... KvdP> at java.lang.Thread.run(Thread.java:536) KvdP> Caused by: java.io.NotSerializableException: KvdP> org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet KvdP> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) KvdP> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) KvdP> at java.rmi.MarshalledObject.(MarshalledObject.java:92) KvdP> at KvdP> org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:387) KvdP> at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) KvdP> at KvdP> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) KvdP> at java.lang.reflect.Method.invoke(Method.java:324) KvdP> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) KvdP> at sun.rmi.transport.Transport$1.run(Transport.java:148) KvdP> at java.security.AccessController.doPrivileged(Native Method) KvdP> at sun.rmi.transport.Transport.serviceCall(Transport.java:144) KvdP> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) KvdP> at KvdP> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) KvdP> at java.lang.Thread.run(Thread.java:536) KvdP> at KvdP> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) KvdP> at KvdP> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) KvdP> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) KvdP> at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) KvdP> at KvdP> org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:138) KvdP> at KvdP> org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108) KvdP> at KvdP> org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77) KvdP> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80) KvdP> at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:116) KvdP> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) KvdP> ... 36 more ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user