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 java.lang.NullPointerException 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 : java.lang.ClassCastException 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! Thanks.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Java client cant access EJB on WebSphere 3.5