Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb  RSS feed

 
sampu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I was trying to run the client from the websphere test environment in VAJ and i am getting the following error. Could anybody help me?.
javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.ejs.ns.jndi.CNInitialContextFactory. Root exception is java.lang.ClassNotFoundException: com.ibm.ejs.ns.jndi.CNInitialContextFactory
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.lang.ClassNotFoundException(java.lang.String)
java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
java.lang.Class com.sun.naming.internal.VersionHelper12.loadClass(java.lang.String)
javax.naming.Context javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable)
javax.naming.Context javax.naming.InitialContext.getDefaultInitCtx()
void javax.naming.InitialContext.init(java.util.Hashtable)
javax.naming.InitialContext(java.util.Hashtable)
void com.ooti.sampu.address.client.FindPerson.main(java.lang.String [])
Thanks in advance.
 
Bartholemu Smith
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure the Servlet engine and Name server are running...
If either of these isnt then your EJB server will not work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!