Hi All,
I am getting problem while accessing session bean through remote client. I deployed one stateless session bean in weblogic 6.0 (Service pack 2). I am accessing that bean through
JSP. If i run that JSP in the weblogic it wroks fine. But if i run that JSP in the
Tomcat. It give me error :-
javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed: 'Incompatible version:Incompatible versions - this server:6.0.0b2 client:5.1.0]]
I used getInitialContext method as follows :-
//****************************
static Context getInitialContext(
String url, String user, String password) throws NamingException{
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
h.put(Context.PROVIDER_URL, url);
//h.put(Context.SECURITY_PRINCIPAL, user);
return new InitialContext(h);
}
//*****************************
Any body have idea about it >>
Plz Help me to solve this proble
Thanks In Advance
Regards,
Sandeep