Hi,
I am using a simple RMI binding on JBoss. But I got ClassNotFound: it says it
can't find the Stub class
if (System.getSecurityManager() == null)
{
System.setSecurityManager(new RMISecurityManager());
System.out.println("Setting a RMISecurityManager.");
}
Registry registry = LocateRegistry.createRegistry(5050);
obj_AuthenticationManagerImpl = new AuthenticationManagerImpl();
registry.rebind("AuthenticationManager", obj_AuthenticationManagerImpl);
Note that the method containing this code is called from a Servlet.
I have compiled my classes through Eclipe, and ran "rmic" from a command line.
The WAR is created using the packager of JBoss. The WAR file contains the Stub
and Skel classes.
Is there anything I missed ?
Thank you.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856641#3856641
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856641
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user