[Remoting] - InvokerLocator already exists for listener
by dunks80
Sory to cross post (I also posted in the messaging forum) but this seems like it may deal more with remoting.
I'm using Jboss 4.0.5 and JBoss Messaging 1.0.1.
What is happening is that I'm looping through a list of items and sending each item in the list off to a queue that has an MDB listening on it. I get maybe half way through the list and then this exception occurs. The code worked fine with JbossMQ but when I switched to JBoss messaging this started happening.
I'm sending alot of small messages very quickly. Is there somthing I have to set with the connector so this exception does not occur?
| javax.jms.IllegalStateException: InvokerLocator already exists for listener id 1436420135. Remove t
| his listener before adding again.
| at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:91)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6
| 840474864420126404.invokeNext()Ljava.lang.Object;(ClientConnectionFactoryDelegate$createConnectionDe
| legate_N6840474864420126404.java:???)
| at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
|
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6
| 840474864420126404.invokeNext()Ljava.lang.Object;(ClientConnectionFactoryDelegate$createConnectionDe
| legate_N6840474864420126404.java:???)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(Lj
| ava.lang.String;Ljava.lang.String;)Lorg.jboss.jms.delegate.ConnectionDelegate;(ClientConnectionFacto
| ryDelegate.java:???)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFacto
| ry.java:202)
| at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.
| java:108)
| at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.
| java:103)
| ...
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980843#3980843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980843
19 years, 6 months
[JBoss jBPM] - Re: BPEL beta2 - wait activity
by wugf
Alex, thanks. Now I tested wait up to PT60M and it worked.
But I encountered another problem: it does NOT work when I put a wait before and a wait after an invoke of a partnerLink, for example
<wait for="'PT5S'" />
<invoke name="Invoke_eOffer" partnerLink="PartnerLink_eOffer"
portType="ns4:SwsService" operation="cancelSolicitation"
inputVariable="Invoke_eOffer_cancelSolicitation_InputVariable"
outputVariable="Invoke_eOffer_cancelSolicitation_OutputVariable"/
<wait for="'PT5S'" />
It timed out.
Just for reference, it works and gives 10 seconds wait if I put the 2 waits together (either before or after the invoke) like
<wait for="'PT5S'" />
<wait for="'PT5S'" />
<invoke name="Invoke_eOffer" partnerLink="PartnerLink_eOffer"
portType="ns4:SwsService" operation="cancelSolicitation"
inputVariable="Invoke_eOffer_cancelSolicitation_InputVariable"
outputVariable="Invoke_eOffer_cancelSolicitation_OutputVariable"/
or
<invoke name="Invoke_eOffer" partnerLink="PartnerLink_eOffer"
portType="ns4:SwsService" operation="cancelSolicitation"
inputVariable="Invoke_eOffer_cancelSolicitation_InputVariable"
outputVariable="Invoke_eOffer_cancelSolicitation_OutputVariable"/
<wait for="'PT5S'" />
<wait for="'PT5S'" />
Please anybody let me know what the problem is. Thanks in advance.
(the missing ">" at the end of invoke is in the code, anyhow, it's not in the Preview)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980840#3980840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980840
19 years, 6 months