-
1. Re: Message endpoint in use?
timfox Dec 23, 2009 3:55 PM (in response to pinkushn)If you can add a JIRA with exact instructions on how to reproduce, someone will take a look.
-
2. Re: Message endpoint in use?
pinkushn Dec 23, 2009 7:06 PM (in response to timfox)Thanks: I'll see if I can do that post-holidays.
josh
-
3. Re: Message endpoint in use?
timfox Jan 6, 2010 4:00 AM (in response to pinkushn)Hello Josh-
Did you get anywhere in replicating this?
-
4. Re: Message endpoint in use?
pinkushn Jan 12, 2010 1:39 PM (in response to timfox)Thanks for following up. I finally got back to it today (holidays were long and great!). I restarted from scratch with CR3, and now I no longer get the error. Hornetq is performing smoothly.
josh
-
5. Re: Message endpoint in use?
ataylor Jan 12, 2010 2:48 PM (in response to pinkushn)Ok, thanks for that Josh. -
6. Re: Message endpoint in use?
omerzohar Apr 3, 2011 3:25 AM (in response to pinkushn)im using jboss as 6 + hornetq 2.1.2 final and under heavy load im still getting these errors:
2011-04-02 23:58:09,435 ERROR [org.hornetq.ra.inflow.HornetQMessageHandler] Failed to deliver message: java.lang.IllegalStateException: This message endpoint + FetcherMessageBean is already in use by another thread Thread[Thread-1641 (group:HornetQ-client-global-threads-29744243),5,]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:118) [:1.7.17]
at $Proxy229.beforeDelivery(Unknown Source) at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:253) [:6.0
.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:822) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:940) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
I think this problem starts with memory limit problems, but then even when the server is not loaded the this thread is not being released and every call to that bean gets this error.
-
7. Re: Message endpoint in use?
domenicofe Apr 18, 2011 6:04 AM (in response to omerzohar)Hi all,
I have the same problem, quoted the Stacktrace, Any Idea how to troubleshoot it?
16:42:43,336 ERROR [org.hornetq.ra.inflow.HornetQMessageHandler] Failed to deliver message: java.lang.NullPointerException
at org.jboss.ejb3.EJBContainer.pushEnc(EJBContainer.java:580) [:1.7.17]
at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:300) [:1.7.17]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:299) [:1.7.17]
at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:152) [:1.7.17]
at $Proxy136.onMessage(Unknown Source) at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:256) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:822) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:940) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
-
8. Re: Message endpoint in use?
clebert.suconic Apr 18, 2011 12:13 PM (in response to domenicofe)at org.jboss.ejb3.EJBContainer.pushEnc(EJBContainer.java:580) [:1.7.17]
That's an EJB issue for sure.
What version of JBoss / HornetQ are you using?
-
9. Re: Message endpoint in use?
domenicofe Apr 19, 2011 5:43 AM (in response to clebert.suconic)I'm using Jboss 6.0.0.Final with embedded HornetQ (I suppose 2.1.x) on Windows 7 64 bit (developer machine).
The test environment is:
1) Queue's Producer on a Singleton EJB
2) MDB's that insert consumed messages on PostgreSQL DS
The Problem is randomly happens.
Rate 25msg/sec
-
10. Re: Message endpoint in use?
clebert.suconic Apr 19, 2011 10:55 AM (in response to domenicofe)Can you switch to the nightly build on AS6 and verify if that still happening?
I'm not aware of any issues like that on 2.2