Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.naming.noInitialContext Exception  RSS feed

 
rehans oberoi
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jboss , i have deployed session bean , while calling
from standalone application
i am getting an error
<b>
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.Nam
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
</b>

can anyone help me which class files are missing and where i
can find it .


thanks
 
Purushoth Thambu
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your classpath? Have you included jbossall-client.jar in the classpath? If you unjar this file you must find the org.jnp.interfaces.NamingContextFactory class. If you don't find then search through other client libarires in the JBoss.
 
rehans oberoi
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Purushothaman

it works
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!