[esb-issues] [JBoss JIRA] Commented: (JBESB-1514) NotifyQueues not working: ConnectionException: Could not obtain a JMS connection from the pool

Martin Vecera (JIRA) jira-events at lists.jboss.org
Thu Jan 24 12:59:21 EST 2008


    [ http://jira.jboss.com/jira/browse/JBESB-1514?page=comments#action_12396643 ] 
            
Martin Vecera commented on JBESB-1514:
--------------------------------------

All the requested files are now attached.

Daniel, this shouldn't be the problem because
1) the server is bound to 0.0.0.0 so jawa02 and localhost are served by the same server
2) it worked in beta1


> NotifyQueues not working: ConnectionException: Could not obtain a JMS connection from the pool
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBESB-1514
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1514
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rosetta
>    Affects Versions: 4.2.1
>         Environment: RHEL5, Oracle 10g, SOA-P 4.2.1.CR1
>            Reporter: Martin Vecera
>             Fix For: 4.2.1 CP1
>
>         Attachments: Performance1_1.esb, server.log.gz
>
>
> When I tried to use NotifyQueues to verify JBESB-1484 I got the following error:
> 17:18:06,141 ERROR [STDERR] java.lang.reflect.InvocationTargetException
> 17:18:06,142 ERROR [STDERR]     at sun.reflect.GeneratedConstructorAccessor119.newInstance(Unknown Source)
> 17:18:06,142 ERROR [STDERR]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 17:18:06,142 ERROR [STDERR]     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotificationTarget.fromParams(NotificationTarget.java:144)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotificationList.notifyAll(NotificationList.java:162)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.actions.Notifier.notifyOK(Notifier.java:93)
> 17:18:06,142 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
> 17:18:06,142 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 17:18:06,142 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processSuccess(ActionProcessorMethodInfo.java:165)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.processSuccess(OverriddenActionLifecycleProcessor.java:108)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.notifySuccess(ActionProcessingPipeline.java:610)
> 17:18:06,142 ERROR [STDERR]     at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:384)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.soa.esb.listeners.jca.JcaMessageAwareListener.process(JcaMessageAwareListener.java:156)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.soa.esb.listeners.jca.JcaJMSInflowMessageProcessorAdapter.onMessage(JcaJMSInflowMessageProcessorAdapter.java:44)
> 17:18:06,143 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
> 17:18:06,143 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 17:18:06,143 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.soa.esb.listeners.jca.BaseJcaInflow$1.invoke(BaseJcaInflow.java:205)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:242)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:145)
> 17:18:06,143 ERROR [STDERR]     at $Proxy73.onMessage(Unknown Source)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:159)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:802)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
> 17:18:06,143 ERROR [STDERR]     at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
> 17:18:06,144 ERROR [STDERR]     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
> 17:18:06,144 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:595)
> 17:18:06,144 ERROR [STDERR] Caused by: org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException: Could not obtain a JMS connection from the pool after 30s.
> 17:18:06,144 ERROR [STDERR]     at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getSession(JmsConnectionPool.java:227)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getQueueSession(JmsConnectionPool.java:254)
> 17:18:06,144 ERROR [STDERR]     at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getQueueSession(JmsConnectionPool.java:249)
> 17:18:06,145 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotifyQueues.getSession(NotifyQueues.java:97)
> 17:18:06,145 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotifyQueues.getSession(NotifyQueues.java:58)
> 17:18:06,145 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotifyJMS.setUpProducers(NotifyJMS.java:372)
> 17:18:06,145 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotifyQueues.setQueues(NotifyQueues.java:80)
> 17:18:06,145 ERROR [STDERR]     at org.jboss.soa.esb.notification.NotifyQueues.<init>(NotifyQueues.java:75)
> 17:18:06,145 ERROR [STDERR]     ... 37 more
> 17:18:06,148 ERROR [NotificationList] Can't instantiate target <target class="NotifyQueues">
>                                                             <queue jndiName="queue/A"/>
>                                                         </target>
> org.jboss.soa.esb.ConfigurationException: NotifyQueues  does not extend NotificationTarget
>         at org.jboss.soa.esb.notification.NotificationTarget.fromParams(NotificationTarget.java:151)
>         at org.jboss.soa.esb.notification.NotificationList.notifyAll(NotificationList.java:162)
>         at org.jboss.soa.esb.actions.Notifier.notifyOK(Notifier.java:93)
>         at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processSuccess(ActionProcessorMethodInfo.java:165)
>         at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.processSuccess(OverriddenActionLifecycleProcessor.java:108)
>         at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.notifySuccess(ActionProcessingPipeline.java:610)
>         at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:384)
>         at org.jboss.soa.esb.listeners.jca.JcaMessageAwareListener.process(JcaMessageAwareListener.java:156)
>         at org.jboss.soa.esb.listeners.jca.JcaJMSInflowMessageProcessorAdapter.onMessage(JcaJMSInflowMessageProcessorAdapter.java:44)
>         at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.jboss.soa.esb.listeners.jca.BaseJcaInflow$1.invoke(BaseJcaInflow.java:205)
>         at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:242)
>         at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:145)
>         at $Proxy73.onMessage(Unknown Source)
>         at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)
>         at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:159)
>         at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:802)
>         at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)
>         at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
>         at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
>         at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
>         at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
>         at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
>         at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
>         at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237)
>         at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
>         at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
>         at java.lang.Thread.run(Thread.java:595)
> I deployed the attached archive and send 1000 messages to queue/quickstart_helloworld_Request_gw.
> To deploy the archive, you need test-result-service.sar and jboss-test.jar (see http://intranet.corp.redhat.com/ic/intranet/SOAPerformanceTestsHowTo.html).

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

        



More information about the esb-issues mailing list