[jcifs] java.lang.ArrayIndexOutOfBoundsException error
Picaso
picaso.Thakkar at roltaus.com
Tue May 26 19:39:27 GMT 2009
Can someone please help. I am using the latest version of JCIFS (1.3.8)
with Apache Tomcat 5.0
I copied the jar file into the tomcat/shared/lib.
The authentication works like a charm for some time. After some time, I
get the following error :
java.lang.ArrayIndexOutOfBoundsException: 4
jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:112)
jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:123)
Please help.
I have the following properties defined in the tomcat/conf/web.xml
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.netbios.wins</param-name>
<param-value>172.17.20.20</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.domain</param-name>
<param-value>mydomain</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.username</param-name>
<param-value>defaultUsername</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.password</param-name>
<param-value>pazzword</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>NtlmHttpFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs
mailing list