• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while Running the Client in JBoss

 
Sachin More
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you add jboss-common-client.jar in class path. It may solve your problem
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!