[jboss-jira] [JBoss JIRA] Reopened: (JBAS-6949) org.jboss.resource.adapter.mail.inflow.NewMsgsWorker: incorrect interrupt handling

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Feb 9 21:36:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reopened JBAS-6949:
------------------------------------



> org.jboss.resource.adapter.mail.inflow.NewMsgsWorker: incorrect interrupt handling
> ----------------------------------------------------------------------------------
>
>                 Key: JBAS-6949
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6949
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>            Reporter: David Lloyd
>            Assignee: David Lloyd
>             Fix For: JBossAS-6.0.0.M2
>
>
> It logs the exception and then swallows the interrupt status rather than resetting the the interrupt status.
> This causes an informative but irrelevant exception stack trace when you terminate the server:
> 20:03:22,210 WARN  [NewMsgsWorker] Interrupted waiting for new msg check
> java.lang.InterruptedException
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1899)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1934)
> 	at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:220)
> 	at org.jboss.resource.adapter.mail.inflow.NewMsgsWorker.run(NewMsgsWorker.java:76)
> 	at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
> 	at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
> 	at org.jboss.threads.SimpleQueueExecutor$Worker.run(SimpleQueueExecutor.java:526)
> 	at java.lang.Thread.run(Thread.java:619)
> 	at org.jboss.threads.JBossThread.run(JBossThread.java:58)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list