[jcifs] Deadlock issue
Michael B Allen
mba2000 at ioplex.com
Tue Aug 29 17:47:41 GMT 2006
Deadlocks have been found before but I thought the transport.setupDisco
lock fixed any known deadlocks. Of course we could be wrong.
I'm not familar with this jstack thing. Can you post a SIGQUIT style
thread dump?
Mike
On Tue, 29 Aug 2006 12:54:41 -0400
Stéphane Bond <stephane.bond at crim.ca> wrote:
> Hi
> We use jcifs 1.2.9 on a portal server where many simultaneous
> connections for different users have to be managed simultaneously in the
> same Tomcat context.
>
> Some times, a deadlock appear and leave most of our threads in the
> "BLOCKED" state.
>
> With jstack, we discover that all of the theses threads are blocked at
> the same line :
>
> Thread 26101: (state = BLOCKED)
> -
> jcifs.smb.SmbTransport.getSmbSession(jcifs.smb.NtlmPasswordAuthentication)
> @bci=0, line=122 (Compiled frame)
> - jcifs.smb.SmbFile.connect() @bci=35, line=787 (Interpreted frame)
> - jcifs.smb.SmbFile.connect0() @bci=1, line=761 (Compiled frame)
> - jcifs.smb.SmbFile.listFiles(java.lang.String, int,
> jcifs.smb.SmbFilenameFilter, jcifs.smb.SmbFileFilter) @bci=93, line=1587
> (Interpreted frame)
> - jcifs.smb.SmbFile.listFiles() @bci=7, line=1495 (Interpreted frame)
> - Portlet code...
>
> Did somebody already see this problem ?
>
>
--
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/
More information about the jcifs
mailing list