aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Error while Running the Client in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "Error while Running the Client in JBoss" Watch "Error while Running the Client in JBoss" New topic
Author

Error while Running the Client in JBoss

Sachin More
Greenhorn

Joined: Jan 08, 2005
Posts: 1
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

Joined: Dec 29, 2004
Posts: 243
you add jboss-common-client.jar in class path. It may solve your problem
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Error while Running the Client in JBoss
 
Similar Threads
Exception during calling a entity bean from a standalone client
JBoss 4.2.1
Client for Calling a Entity Bean
javax.naming.Communication Exception: Can't find SerialContextProvider
unable to run ejb client