[jcifs] Re: jcifs-1.2.5 fails on bad domain controller; does not try others

Oliver Schoett os at sdm.de
Fri Dec 30 10:37:44 GMT 2005


Oliver Schoett wrote:
> In message <20050315133739.7a33637d.mba2000 at ioplex.com> dated Tue, 15 
> Mar 2005 13:37:39 -0500, Michael B Allen writes:
>> CIFS should handle this automatically. When jcifs rotates to a new
>> DC it tries to negotiate with it to see if it's "good". If it isn't it
>> removes it from the list. This process should not "hang".
> However, the 1.2.5 NtlmHttpFilter still fails when the first DC in the 
> list returned from WINS is bad (stack trace at the end). Apparently, 
> it does *not* proceed to the other DCs in the list, as suggested above.
I should add that the error message in the browser (talking to an OC4J 
server with jcifs 1.2.5) is the following:

500 Internal Server Error
500 Internal Server Error
java.net.UnknownHostException: Failed to negotiate with a suitable domain controller for ******
 at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:126)
 at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:150)
 at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)
 at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
 at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
 at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
 at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
 at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
 at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
 at java.lang.Thread.run(Thread.java:568)


Regards,

Oliver Schoett



More information about the jcifs mailing list