I want to "publish" a RemoteObject I made so that stand-alone clients can 
access it through JNDI (I intend to make a "logger" for the application that is 
running in JBoss so remote applications can see what's going on in the server).

When I try to bind it (from an EJB) with Context.bind(myRemoteObject, 
"/smile/Object");, I get:
java.rmi.MarshalException: Invalid remote object

Then I try with Context.bind(object, "rmi:/smile/Object"); I get:
java.rmi.ConnectIOException: non-JRMP server at remote endpoint


Details:
I created one business interface that extends Remote that throws 
RemoteException in every method.

I created a class that extends RemoteObject and implements the former business 
interface.

I compiled this class with rmic.

What am I missing?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874925#3874925

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874925


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to