Hi,
I am facing problem to run a EJB client. The Beans are deployed on weblogic 5.0 server.
When i use the following client code :
Hashtable env = new Hashtable();
env.put
(Context.PROVIDER_URL, "t3://localhost:7001");
env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
Context ctx = new InitialContext(env);
it gives an ERROR :
javax.naming.CommunicationException. Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed: 'Incompatible version:Incompatible versions - this server:5.1.0 client:6.1.1.0]
I also tried to set the factory to weblogic.jndi.TengahInitialContextFactory but still the same error.
Can any1 throw somelight on this issue ?
Regards,
Dileep
-
WEBLOGIC 5.1 client application error (1 messages)
- Posted by: Dileep Dharma
- Posted on: June 18 2003 01:52 EDT
Threaded Messages (1)
- WEBLOGIC 5.1 client application error by manoj sharma on June 26 2003 03:32 EDT
-
WEBLOGIC 5.1 client application error[ Go to top ]
- Posted by: manoj sharma
- Posted on: June 26 2003 03:32 EDT
- in response to Dileep Dharma
Are you using some client classes from weblogic V6.1 ??
Looks like you have EJB Bean from Supported to 5.0 Weblogic and client classes coming form weblogic 6.1.1
CHeers
Manoj
> Hi,
>
> I am facing problem to run a EJB client. The Beans are deployed on weblogic 5.0 server.
>
> When i use the following client code :
>
> Hashtable env = new Hashtable();
>
> env.put
> (Context.PROVIDER_URL, "t3://localhost:7001");
>
> env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
>
> Context ctx = new InitialContext(env);
>
> it gives an ERROR :
>
> javax.naming.CommunicationException. Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed: 'Incompatible version:Incompatible versions - this server:5.1.0 client:6.1.1.0]
>
>
> I also tried to set the factory to weblogic.jndi.TengahInitialContextFactory but still the same error.
>
> Can any1 throw somelight on this issue ?
>
> Regards,
> Dileep