Hi,

I have create a class that need to acces a remote EJB, during the creation
of the InitialContext I have
a ClassNotFoundError.

        tProperties.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
        tProperties.put("java.naming.factory.url.pkgs", "org.jboss.naming");
        tProperties.put(Context.PROVIDER_URL, "http://bf_ws_tst3:1099");

        //----
        return new InitialContext( tProperties );

The class "org.jnp.interfaces.NamingContextFactory" is not found !

So, it sounds that I need to include this class on the client !!!!
So, the client is linked to a server specific class, it sounds that it is
not really good !
Why do I need to include this class ?

Thanks a lot for your help

Christophe


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to