Unresponsive EPR: JMSEpr exception
evanyang Jul 14, 2008 3:00 PMTo explain my project will take a long time, so if it is necessary I will spend more time, but for now I like to present my current problem for a quick answer if possible.
I got this exception once in a while, it may run fine for a few message then suddenly this one showed up, and when ever this occured, the message was resent, how ever the service that use this queue has mep=RequestResponse and was treated as synchronous process.
So if there is a quick answer about what will cause JMS unresponsive, please let me know. Thanks.
[ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < < wsa:Address jms://127.0.0.1:1099/queue/webservice_epayPreAuth_esb/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingCo ntextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : loc alhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.j np.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, < wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferencePr operties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProper ties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false />, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] fo r message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1 099/queue/webservice_epay_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.f actory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProper ties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties j bossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePrope rties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:spe cification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, < wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:Ref erenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbosses b:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa :Address jms://localhost/queue/webservice_epay_esb_reply/>, <wsa:ReferenceProper ties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties j bossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interf aces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:Refer enceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbos sesb:message-selector : jbossESBresponseUUID='e2516aee-106c-45ac-9fe0-0fde35cb16 d6'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProp erties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jbos s/esb/epr/type/jms/> > ] MessageID: e768387b-9207-49db-9a77-eb2d9bdf39a2 Relates To: jms:correlationID#e768387b-9207-49db-9a77-eb2d9bdf39a2 ]
the part of jboss-esb.xml that defines this queue:
<providers> <jms-provider name="JBossMQ" connection-factory="ConnectionFactory" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" jndi-URL="localhost"> ..... <jms-bus busid="ePayPreAuthEsbChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/webservice_epayPreAuth_esb" /> </jms-bus> .... </jms-provider> </providers> .... <services> <!-- service that peform the preAuth --> <service category="preAuthCategory" name="preAuth" description="perform preAuth"> <listeners> <jms-listener name="JMS-ESBListener" busidref="ePayPreAuthEsbChannel" maxThreads="1" /> </listeners> <actions mep="RequestResponse"> <action name="preAuth-request-mapper" class="com.j2.soa.epay.esb.actions.PreAuthRequestAction"/> <action name="preAuth-soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient"> <property name="wsdl" value="http://127.0.0.1:8080/preAuthWAR-1.0-SNAPSHOT/PreAuthProcessWS?wsdl" /> <property name="responseAsOgnlMap" value="true" /> <property name="SOAPAction" value="preAuth"/> <property name="get-payload-location" value="get-data-params" /> <property name="set-payload-location" value="get-data-response" /> </action> <action name="preAuth-response-mapper" class="com.j2.soa.epay.esb.actions.PreAuthResponseAction"/> <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore" /> </actions> </service>