dcsimg
InvalidClassException.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yiannis_Makis
Posted On:   Monday, October 21, 2002 07:12 AM

I try to get InitilContext from weblogic6.1 sp2 jndi tree. I use the following code. weblogic.jndi.Environment environment = new weblogic.jndi.Environment(); environment.setInitialContextFactory( weblogic.jndi.Environment.DEFAULT_INITIAL_CONTEXT_FACTORY); environment.setProviderUrl("t3://myserver:port"); environment.setSecurityPrincipal(username); environment.setSecurityCredentials(password); Context ctx = environment.getInitialContext(); also i tried to use hashtable. When server runs on windows 2000 there is no problem, but when it's on AIX it returns the followng error. weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response    More>>

I try to get InitilContext from weblogic6.1 sp2 jndi tree. I use the following code.




weblogic.jndi.Environment environment = new weblogic.jndi.Environment();
environment.setInitialContextFactory( weblogic.jndi.Environment.DEFAULT_INITIAL_CONTEXT_FACTORY);
environment.setProviderUrl("t3://myserver:port");
environment.setSecurityPrincipal(username);
environment.setSecurityCredentials(password);
Context ctx = environment.getInitialContext();


also i tried to use hashtable. When server runs on windows 2000 there is no problem, but when it's on AIX it returns the followng error.


weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating response stream ] - with nested exception:
[java.io.InvalidClassException: javax.security.auth.Subject; Local class not compatible: stream classdesc serialVersionUID=-68424307
08383393570 local class serialVersionUID=-8308522755600156056]
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)



Yiannis

   <<Less
About | Sitemap | Contact