• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java client cant access EJB on WebSphere 3.5  RSS feed

Natali Kukuyuk
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! does anyone can help me?
I am trying to access statefull EJB deployed on WAS 3.5 form simlple java client.I am getting errors all the time. First i got :
javax.naming.NamingException: Error during resolve. Root exception is
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(...).I am trying to access server form JBuilder8 with JDK 1.4. I read in one of topics, that i have to use the same version of JDK as on server. On mine its 1.2.2. So i made JBuilder use JDK 1.2.2_07(the older versions do not support Windows2000 ).
I got next error :
at com.ibm.ejs.ns.jndi.CNContextImpl.isContextLocalCheck(CNContextImpl.java:1324)
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:759)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:585)
at javax.naming.InitialContext.lookup(InitialContext.java:349)
at TestJavaClient.TestClient.main(TestClient.java:35)
where line 35 is" Object ref = context.lookup("CompanySFHome");"
Please help- i am stuck!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!