aspose file tools
The moose likes Distributed Java and the fly likes Java client  cant access EJB on WebSphere 3.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Java client  cant access EJB on WebSphere 3.5" Watch "Java client  cant access EJB on WebSphere 3.5" New topic
Author

Java client cant access EJB on WebSphere 3.5

Natali Kukuyuk
Greenhorn

Joined: Dec 11, 2003
Posts: 1
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
 
Similar Threads
Accessing EJB on websphere 3.5 from Java Client
RMI-IIOP with Websphere naming server in WAS 3.5
WSAD 5.1.2 - error in accessing EJB
Accessing Websphere Datasource through Standalone jav program.
javax.naming.NamingException: Error during resolve. Root exception is com.ibm.ejs.jt