[jboss-remoting-issues] [JBoss JIRA] Commented: (JBREM-1071) IllegalStateException in ConnectorValidator.run()
Ron Sigal (JIRA)
jira-events at lists.jboss.org
Mon Dec 1 17:46:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBREM-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12440649#action_12440649 ]
Ron Sigal commented on JBREM-1071:
----------------------------------
I believe I've fixed this problem in the course of working on JBREM-1070 "Fix deadlock in ConnectionValidator".
> IllegalStateException in ConnectorValidator.run()
> -------------------------------------------------
>
> Key: JBREM-1071
> URL: https://jira.jboss.org/jira/browse/JBREM-1071
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.5.0.SP2 (Flounder)
> Reporter: Konstantin Khrapchenko
> Fix For: 2.5.0.SP3 (Flounder)
>
>
> Sometimes when a server is under a heavy load a connection validator timer thread gets crashed by
> Exception in thread "Timer-2" java.lang.IllegalStateException: org.jboss.remoting.ConnectionValidator.run() should not be called directly; use org.jboss.remoting.ConnectionValidator.addConnectionListener() instead.
> at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:289)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> It seems an additional synchronization on (lock) is needed in the 'start' method to ensure a 'timer' variable gets assigned before a 'run' method is invoked by a timer thread.
--
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-remoting-issues
mailing list