Hi!

EJB Vikas wrote:
> 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?????

JBoss support queries go to the jboss-user mailing list (see jboss.org
for subscription details).

regards,
  Rickard, JBoss dev. team

--
Rickard �berg

Email: [EMAIL PROTECTED]

===========================================================================
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