[jcifs] Max number of threads reached

Felix Schumacher felix.schumacher at internetallee.de
Sun Sep 9 11:48:12 GMT 2007

Am Sonntag, den 09.09.2007, 11:52 +0200 schrieb
cesar at clazaro1.jazztel.es:
> Hi there,
> executing a web application on Tomcat that is using JCIFS libraries I got an
> error message saying that the maximun number of threads in Tomcat has been
> reached and can not then open more SMB connections. It always happens when the
> application has been running for a while and it's trying to open new SMB
> connections.
Try to get a stacktrace. If you are running the tomcat under unix you
can try to send a SIGQUIT with kill -QUIT $PID_OF_TOMCAT. The stacktrace
will tell you, what the threads are waiting for.
> It seems the SMB connections are not released properly in my code although I'm
> using the same code that is in the examples. When is a SMB connection going to
> be closed?. Is there any way to force to close those connections?. BTW, I'm
> using kerberos authN.
> Thanks, Cesar.

More information about the jcifs mailing list