[jcifs] Alert: ArrayIndexOutOfBoundsException with jcifs-1.1.3

Johan Danforth johandanforth at bredband.net
Wed Dec 15 10:30:36 GMT 2004

Hi, we just went live on our intranet with a new portal, and it went fine for 
an hour or so, then all new visitors started to get these:

Error 500--Internal Server Error 
java.lang.ArrayIndexOutOfBoundsException: 25
	at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:94)
	at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:123)
	at weblogic.servlet.internal.FilterChainImpl.doFilter
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs
	at weblogic.security.service.SecurityManager.runAs
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet
	at weblogic.servlet.internal.ServletRequestImpl.execute
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

The web.xml configuration for jcifs filter looks like this:

		<!-- The hostname of the domain controller to use -->

Some numbers and names replaced with 'x', but I guess you get the meaning.

We had to revert to an old jcifs version now (0.8.3) and point directly at one 
of our domain controlers. That old version has worked well with our previous 
version of the portal.

Any idea for the reason for this? Seems that it works fine as long as you have 
a low number of users. I think we passed 150 concurrent users or so, then 
things crashed...

More information about the jcifs mailing list