[jboss-jira] [JBoss JIRA] (AS7-4889) Subsequent create/close of javax.naming.Context leads to IllegalStateException
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Mon May 28 05:20:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696437#comment-12696437 ]
jaikiran pai commented on AS7-4889:
-----------------------------------
I'm _not_ able to reproduce this issue against the latest jboss-remote-naming project (which has some caching related fixes) nor against 1.0.3.Final version of that project (which is included in 7.1.2.Final of AS7 tag). Here's my testcase which is similar to the sample application you attached https://github.com/jaikiran/jboss-remote-naming/commit/1d5abbfa1ef94aa47b637af15d54aad7bf53a924.
Is this exception being thrown or is it just being logged? In my testcase, I couldn't see that exception being logged either (but that might be some config issue).
> Subsequent create/close of javax.naming.Context leads to IllegalStateException
> -------------------------------------------------------------------------------
>
> Key: AS7-4889
> URL: https://issues.jboss.org/browse/AS7-4889
> Project: Application Server 7
> Issue Type: Bug
> Components: Remoting
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Miroslav Novak
> Assignee: David Lloyd
> Priority: Minor
> Fix For: 7.1.3.Final (EAP)
>
> Attachments: FunnyLookUpTest.java
>
>
> When standalone client tries to create/close javax.naming.Context multiple times in a row then IllegalStateException will occur.
> Exception:
> {code}
> ERROR: A channel event listener threw an exception
> java.lang.IllegalStateException
> at org.xnio.Buffers$4.getResource(Buffers.java:1782)
> at org.xnio.Buffers$4.getResource(Buffers.java:1768)
> at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:84)
> at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:72)
> at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:45)
> at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
> at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)
> at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103)
> at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
> at org.xnio.nio.NioHandle.run(NioHandle.java:90)
> at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)
> {code}
> I hit this problem for 28th iteration. There is 500ms sleep between subsequent tries.
> Reproducer attached. I'm setting lower priority because this is not common use case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list