Hi,
Happy New Year,

I am using JBoss with JNP amd getting the following error:

Properties props = System.getProperties();
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL,"localhost:1099");
Context ctx = new InitialContext(props);
Object objRef = ctx.lookup("Hello");

HelloHome home = (HelloHome)javax.rmi.PortableRemoteObject.narrow(objRef,HelloHome.class); ***

I am getting the error in Line ***, it says unknown class name javax.rmi.........

What shall I do?????

 

 



Get your FREE download of MSN Explorer at http://explorer.msn.com

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to