Hi Stefan

You just have to add the appropriate JAR file from the /client directory
to you classpath that contains "org.jnp.interfaces.NamingContextFactory"
which is left to the reader.

Andy

----- Original Message -----
From: "Stefan Groschupf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 15, 2002 3:45 PM
Subject: [JBoss-dev] InitialContext ctx = new InitialContext(); in
RMIConnectorImpl


> Hi guys,
> I run in a problem with RMIConnectorImpl in the jmx/connector/rmi package.
> When I use the RMIConnetor in project I get a exception:
>
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.jnp.interfaces.NamingContextFactory.  Root exception is
> java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
> That happens at line 578:
> InitialContext ctx = new InitialContext();
>
> When I replace this lines with:
> NamingContextFactory f = new NamingContextFactory();
> Context ctx = f.getInitialContext(System.getProperties());
>
> Thank it looks like it working fine for me.
>
> Can somebody give me a hint, what I can do, instead create a custom
> jmx-connector package?
> Something like assign the RMIConnectorImpl my own Context?
>
> Thanks
> Stefan
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to