>This works fine inside Eclipse plugin ;-)
I see you catch the problem. 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
the RMIConnectorImpl.
Have fun- Andy
- Original Message -
From: "Stefan Groschupf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 1:16 AM
Subject: AW: [JBoss-dev] InitialContext ctx = new InitialContext(); in
RMIConnectorImpl
> >You ju
I am not sure if this solution is relevant to your problem, but
you could try something like this
ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(this.class);
// Code that calls "new InitialContext()"
...
} finally {
Th
>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,
Of curse I do that.
I use this inside a other framework, so it looks like I run in to trouble
with the framework'
: <[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
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.ClassNotFoundExceptio