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

Ingo Rockel irockel at pironet-ndh.com
Fri Apr 8 15:49:23 GMT 2005


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>/10.0.0.19] 
(class jcifs.smb.NtlmChallenge)

URI     /comet/
Servlet Name    jsp
Exception       java.lang.IllegalArgumentException: 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>/10.0.0.19] 
(class jcifs.smb.NtlmChallenge)

Stacktrace      java.lang.IllegalArgumentException: 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>/10.0.0.19] 
(class jcifs.smb.NtlmChallenge) at 
com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:97) 
at 
com.pironet.pbng.principal.authentication.filter.NtlmAuthenticationFilter.doFilter(NtlmAuthenticationFilter.java:364) 
at 
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600) 
at 
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) 
at 
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) 
at 
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) 
at 
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) 
at 
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) 
at java.lang.Thread.run(Thread.java:534)

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.

I've attached the jcifs output at debug level 10

Any Suggestions?

Cheers,

	Ingo

-- 
PIRONET NDH AG
Ingo Rockel - Produktentwicklung
Maarweg 149-161, 50825 Koeln
Tel.: +49 (0)221-770-1788 / Fax: +49 (0)221-770-1005
mailto:irockel at pironet-ndh.com - http://www.pironet-ndh.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcifs-wins.log
Type: text/x-log
Size: 3842 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20050408/aaf49477/jcifs-wins.bin


More information about the jcifs mailing list