[jcifs] Problem connecting to WINS after update from jcifs 1.0.1 to 1.1.8

Michael B Allen mba2000 at ioplex.com
Wed Apr 13 03:06:09 GMT 2005

On Fri, 08 Apr 2005 17:49:23 +0200
Ingo Rockel <irockel at pironet-ndh.com> wrote:

> Hi,
> we have problem connecting to a wins after updating from jcifs 1.0.1 to 
> 1.1.8. Our application is running in an Oracle Application Server, and 
> we store the user stuff into the session object. We configured a wins 
> server and if we try to authenticate the following happens:
> Status Code     500
> Exception Type  class java.lang.IllegalArgumentException
> Message         Only java.io.Serializable, javax.ejb.EJBObject and 
> javax.ejb.EJBHome instances can be bound to a session in a distributable 
> web-application, not: 
> NtlmChallenge[challenge=0x84B640626F406AA4,dc=DUCKBURG<1C>/] 
> (class jcifs.smb.NtlmChallenge)

NtlmChallenge needs "implements Serializable". Try it, see what happends.

> if we set the Domain-Controller instead of wins everything works fine.
> In a previous post on the mailing list the challenge object is not 
> serializable between different java vms but it implements serializable, 
> but according to the current sources (1.1.9) it does not. We don't want 
> to use it between different VMs, just in the same.

Right. I think the other post was a little off-base.

I think I'll have to bite the bullet and do a release. Stay tuned.


IRC - where men are men, women are men, and the boys are FBI agents.

More information about the jcifs mailing list