[jcifs] arrayindexoutofbounds exception using jcifs over vpn

quickturn cpgmr1 at platt.com
Wed Nov 14 15:36:04 GMT 2007


Please help....We have implemented jcifs-1.2.17 and everything was working
fine in our application until we tried to access the app using Citrix over
our vpn. I'm a newbie to this technology, but it appears that credentials
returned a negative value which is then used as an array index, causing the
arrayindexoutofbounds exception.... The other puzzling thing is that we do
not get a challenge screen when using IE over the vpn. We of course do get
the challenge screen when using Firefox either locally or over the vpn.
Anyone ever have to deal with tweaking jcifs to get it to run over a vpn
connection?

Not sure how much of the log output below is useful, but here it is:

2007-11-12 14:17:52,867 ERROR [STDERR] Default credentials
(jcifs.smb.client.username/password) not specified. SMB signing may not work
propertly.  Skipping DC interrogation.
2007-11-12 14:18:31,242 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/catmgr].[jsp]]
Servlet.service() for servlet jsp threw exception
java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at jcifs.ntlmssp.NtlmMessage.readSecurityBuffer(NtlmMessage.java:98)
	at jcifs.ntlmssp.Type3Message.parse(Type3Message.java:556)
	at jcifs.ntlmssp.Type3Message.<init>(Type3Message.java:208)
	at jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:93)
	at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160)
	at com.platt.catmgr.action.servlet.AuthFilter.doFilter(AuthFilter.java:74)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
	at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
	at java.lang.Thread.run(Unknown Source)

Any guidance you can provide would be most helpful...Thanks
-- 
View this message in context: http://www.nabble.com/arrayindexoutofbounds-exception-using-jcifs-over-vpn-tf4805945.html#a13749148
Sent from the Samba - jcifs mailing list archive at Nabble.com.



More information about the jcifs mailing list