-
1. Re: Cannot instantiate class: org.jnp.interfaces.NamingConte
am_gandhi Feb 19, 2003 5:04 PM (in response to gdominik)include jnp-client.jar in your client's classpath
-
2. Re: Cannot instantiate class: org.jnp.interfaces.NamingConte
gdominik Feb 20, 2003 9:43 AM (in response to gdominik)> include jnp-client.jar in your client's classpath
I already did that, but it doesn't work!!!
I tried this tutorial:
www.dsg.cs.tcd.ie/~dowlingj/teaching/ ds/tutorials/ejb/jboss_3_intro.htm
I made exactly the same, as the tutorial told me, but i didn't work!!!
Please help me! -
3. Re: Cannot instantiate class: org.jnp.interfaces.NamingContextFa
dut.zgy May 25, 2011 10:19 PM (in response to gdominik)I have same problem? Yours got solved?
-
4. Re: Cannot instantiate class: org.jnp.interfaces.NamingContextFa
wdfink May 26, 2011 3:42 AM (in response to dut.zgy)What JBoss version do you use?
You should include jbossall-client.jar, maybe if you use JB5.x you have to keep all libs from JB/client in the same directory because since JB5 the jbossall-client.jar include refereces to other client archives.
-
5. Re: Cannot instantiate class: org.jnp.interfaces.NamingContextFa
dut.zgy May 26, 2011 9:21 PM (in response to wdfink)JBOSS6.0, the source code worked well in JBOSS4.2.2.
There is jbossall-client.jar and jnp-client.jar under folder of jboss-6.0.0\client.
-
6. Re: Cannot instantiate class: org.jnp.interfaces.NamingContextFa
wdfink May 27, 2011 5:34 AM (in response to dut.zgy)How do you start the client and how the classpath looking?
Do you copy jbossall-client.jar or use direct under jboss/client?