WebSphere and JNDI Lookup for an EJB Session Bean
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Reinhard_Graf
Posted On:   Monday, September 29, 2003 02:40 AM

Hi there, I've created a simple stateless SessionBean in WSAD 5.0 and a simple testclient. When I try to make a JNDI-Lookup in my testclient I get the following error: java.lang.IncompatibleClassChangeError: com.ibm.CORBA.iiop.ORB method createObjectURL(Ljava/lang/String;)Lcom/ibm/CORBA/iiop/ObjectURL; at com.ibm.ws.naming.util.WsnInitCtxFactory.parseIiopUrl(WsnInitCtxFactory.java:1668) at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitCtxFactory.java:1427) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:368) at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102) at com.ibm.ws.naming.util.Ws   More>>

Hi there,



I've created a simple stateless SessionBean in WSAD 5.0
and a simple testclient.
When I try to make a JNDI-Lookup in my testclient I
get the following error:


java.lang.IncompatibleClassChangeError: com.ibm.CORBA.iiop.ORB method createObjectURL(Ljava/lang/String;)Lcom/ibm/CORBA/iiop/ObjectURL;
at com.ibm.ws.naming.util.WsnInitCtxFactory.parseIiopUrl(WsnInitCtxFactory.java:1668)
at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitCtxFactory.java:1427)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:368)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at TestClient. (TestClient.java:32)
at TestClient.main(TestClient.java:48)
Exception in thread "P=632430:O=0:CT"


Can somebody help me ?


thanks


Reinhard

   <<Less

Re: WebSphere and JNDI Lookup for an EJB Session Bean

Posted By:   Nick_Liu  
Posted On:   Friday, November 14, 2003 02:43 PM

I got the same error. Can you tell me how you solve the problem?

Re: WebSphere and JNDI Lookup for an EJB Session Bean

Posted By:   Roel_Simons  
Posted On:   Thursday, October 2, 2003 12:22 PM

I changed the JVM associated with the client in Websphere 5.1 from Default to Websphere 5 JRE.
After that the exception was gone.

Re: WebSphere and JNDI Lookup for an EJB Session Bean

Posted By:   Roel_Simons  
Posted On:   Thursday, October 2, 2003 12:22 PM

I changed the JVM associated with the client in Websphere 5.1 from Default to Websphere 5 JRE.
After that the exception was gone.
About | Sitemap | Contact