users@glassfish.java.net

[gf-users] Re: org.jnp.interfaces.NamingContextFactory

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Thu, 11 Sep 2014 06:41:45 -0400

> Date: Wed, 10 Sep 2014 22:05:05 -0700
> From: hawat.thufir_at_gmail.com
> To: users_at_glassfish.java.net
> Subject: [gf-users] org.jnp.interfaces.NamingContextFactory
>
> I'm trying to get a remote client working as per:
>
> http://docs.oracle.com/javaee/7/tutorial/doc/ejb-intro004.htm
>
>
> but, when I run it, I get:
>
> run:
> [java] Sep 10, 2014 10:02:56 PM remotelookup.RemoteLookup main
> [java] SEVERE: Cannot instantiate class:
> org.jnp.interfaces.NamingContextFactory
> [java] javax.naming.NoInitialContextException: Cannot instantiate
> class: org.jnp.interfaces.NamingContextFactory [Root exception is
> java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
>
>
>
> what JAR do I need on the classpath?
MG>jbossall-client.jar
MG>http://mvnrepository.com/artifact/jboss/jbossall-client

>
>
>
> thanks,
>
> Thuf