[jcifs] NotSerializableException: jcifs.UniAddress when using jCIFS

Robert Baldock robert.baldock at pfiks.com
Thu May 22 14:18:48 GMT 2008

Hi -
I'm a new member on this list.
I'm trying to get NTLM SSO working using a jCIFS filter in a web-app but, amongst other things, am seeing this error in my app server's logs:
WARNING! An attribute was set in the session that cannot serialize. Most application servers replicate the session using object serialization. NtlmChallenge[challenge=aaa,dc=xxx<1C>/yyy]
java.io.NotSerializableException: jcifs.UniAddress
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
        at com.vignette.portal.website.internal.HttpSessionWrapper.setAttribute(HttpSessionWrapper.java:100)
        at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:151)
        at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)

It's flagged as a "WARNING" but I would like to eliminate this as a possible cause of the issues I'm trying to resolve.
Does anyone know of a workaround/fix for this issue?
I'm using jCIFS 1.2.19.
Robert Baldock
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list