Forums Register Login

Error while Running the Client in JBoss

+Pie Number of slices to send: Send
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

This is the error message I am getting while running my Client program. It was complied successfully Should I change the jndi.prorperties file to get the proper results. I am placing the default jndi.properties file in the same directory with the client.java
+Pie Number of slices to send: Send
you add jboss-common-client.jar in class path. It may solve your problem
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 656 times.
Similar Threads
Client for Calling a Entity Bean
unable to run ejb client
Exception during calling a entity bean from a standalone client
JBoss 4.2.1
javax.naming.Communication Exception: Can't find SerialContextProvider
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:02:13.