java.rmi.MarshalException: while changing password

Guys need your help URGENTLY,

I have set up my application for changing password in Active Directory using ssl connection. I am catching exceptions if user enters wrong password and letting the user know that the password cannot be changed. It works fine but at times it gives exception :

SystemErrR java.rmi.MarshalException: CORBA BAD_PARAM 0x4f4d0006 Maybe; nested exception is: java.io.NotSerializableException: com.sun.jndi.ldap.LdapCtx is not serializable

I donot understand whats happening... Need you help.......what probably is doing this error and how do I get rid of it.

Thanks

[620 byte] By [VictorJeeta] at [2007-11-27 4:27:17]
# 1

hi again,

Also I am getting some times not ALL TIMES:

javax.naming.CommunicationException: simple bind failed: sphere3:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificate not Trusted]

Sometime restarting my websphere application server everything again starts working normally. Has any body experienced this kind of issue ?

Reply regarding solution of these problems would be highly appreciable.

Thanks -

VictorJeeta at 2007-7-12 9:35:53 > top of Java-index,Core,Core APIs...