Discussion:
[jcifs] Blocking on lock for Dfs object?
Bryan Klopfenstein
2015-01-30 14:07:06 UTC
Permalink
Hi all, we are encountering lock issues with Dfs object that are nearly
constant since Jan 5 with a system that has been working for two years.
Stack trace of stuck thread in weblogic below, showing wait on lock on Dfs
object. Any ideas on where we hunt for cause?

<Jan 27, 2015 10:13:51 PM EST> <Error> <WebLogicServer> <BEA-000337>
<[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-
tuning)' has been busy for "634" seconds working on the request
"weblogic.work.SelfTuningWorkManagerImpl$***@11234004", which is
more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack
trace:
Thread-171 "[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default
(self-tuning)'" <alive, suspended, blocked, priority=1, DAEMON> {
-- Blocked trying to get lock: ***@115a1358[fat lock]
jcifs.smb.Dfs.resolve(Dfs.java:159)
jcifs.smb.SmbFile.resolveDfs(SmbFile.java:666)
jcifs.smb.SmbFile.send(SmbFile.java:773)
jcifs.smb.SmbFile.open0(SmbFile.java:972)
jcifs.smb.SmbFile.open(SmbFile.java:1003)
jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:123)
jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:97)
jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:67)

com.cintas.filenet.invoice.signature.SignaturePDFMessageImpl.getFileShareCon
nection(SignaturePDFMessageImpl.java:145)

com.cintas.filenet.invoice.signature.SignaturePDFMessageImpl.convertImageToP
DF(SignaturePDFMessageImpl.java:78)

com.cintas.filenet.invoice.signature.SignaturePDFMessageImpl.onMessage(Signa
turePDFMessageImpl.java:49)
weblogic.ejb.container.internal.MDListener.execute(MDListener.java:403)

weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener
.java:352)

weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:264)
weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4638)
weblogic.jms.client.JMSSession.execute(JMSSession.java:4134)
weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3820)
weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)

weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkMa
nagerImpl.java:528)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
}
Vella, Shon
2015-01-30 14:53:05 UTC
Permalink
This may be addressed by one of the patches submitted by Google.

http://article.gmane.org/gmane.network.samba.java/9410

*Shon Vella*
*Identity Automation*
Product Engineer
281-220-0021 x2030 office
281-817-5579 fax
www.identityautomation.com

On Fri, Jan 30, 2015 at 7:07 AM, Bryan Klopfenstein <
Post by Bryan Klopfenstein
Hi all, we are encountering lock issues with Dfs object that are nearly
constant since Jan 5 with a system that has been working for two years.
Stack trace of stuck thread in weblogic below, showing wait on lock on Dfs
object. Any ideas on where we hunt for cause?
<Jan 27, 2015 10:13:51 PM EST> <Error> <WebLogicServer> <BEA-000337>
<[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-
tuning)' has been busy for "634" seconds working on the request
more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack
Thread-171 "[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default
(self-tuning)'" <alive, suspended, blocked, priority=1, DAEMON> {
jcifs.smb.Dfs.resolve(Dfs.java:159)
jcifs.smb.SmbFile.resolveDfs(SmbFile.java:666)
jcifs.smb.SmbFile.send(SmbFile.java:773)
jcifs.smb.SmbFile.open0(SmbFile.java:972)
jcifs.smb.SmbFile.open(SmbFile.java:1003)
jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:123)
jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:97)
jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:67)
com.cintas.filenet.invoice.signature.SignaturePDFMessageImpl.getFileShareCon
nection(SignaturePDFMessageImpl.java:145)
com.cintas.filenet.invoice.signature.SignaturePDFMessageImpl.convertImageToP
DF(SignaturePDFMessageImpl.java:78)
com.cintas.filenet.invoice.signature.SignaturePDFMessageImpl.onMessage(Signa
turePDFMessageImpl.java:49)
weblogic.ejb.container.internal.MDListener.execute(MDListener.java:403)
weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener
.java:352)
weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:264)
weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4638)
weblogic.jms.client.JMSSession.execute(JMSSession.java:4134)
weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3820)
weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkMa
nagerImpl.java:528)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
}
Bryan Klopfenstein
2015-02-03 21:05:10 UTC
Permalink
Post by Vella, Shon
This may be addressed by one of the patches submitted by Google.
http://article.gmane.org/gmane.network.samba.java/9410
Do you (or anyone) know of any plans for these patches to be combined into
a new general release?
Michael B Allen
2015-02-15 03:24:21 UTC
Permalink
On Tue, Feb 3, 2015 at 4:05 PM, Bryan Klopfenstein
Post by Bryan Klopfenstein
Post by Vella, Shon
This may be addressed by one of the patches submitted by Google.
http://article.gmane.org/gmane.network.samba.java/9410
Do you (or anyone) know of any plans for these patches to be combined into
a new general release?
Hi Bryan,

It's on the TODO list but there is no ETA.

Mike

Loading...