AW: [JBoss-dev] InitialContext ctx = new InitialContext(); in RMIConnectorImpl

2002-12-16 Thread Stefan Groschupf
>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

Re: [JBoss-dev] InitialContext ctx = new InitialContext(); in RMIConnectorImpl

2002-12-16 Thread Andy
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

Re: [JBoss-dev] InitialContext ctx = new InitialContext(); in RMIConnectorImpl

2002-12-16 Thread Igor Fedorenko
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

AW: [JBoss-dev] InitialContext ctx = new InitialContext(); in RMIConnectorImpl

2002-12-16 Thread Stefan Groschupf
>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'

Re: [JBoss-dev] InitialContext ctx = new InitialContext(); in RMIConnectorImpl

2002-12-15 Thread Andy
: <[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

[JBoss-dev] InitialContext ctx = new InitialContext(); in RMIConnectorImpl

2002-12-15 Thread Stefan Groschupf
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