[jboss-user] [JBoss Messaging] - JBoss Messaging thread BLOCKED at method org.jboss.jms.clien
rcjboss
do-not-reply at jboss.com
Mon Jan 29 13:10:29 EST 2007
Hi,
Environment: JBoss App server 4.0.5GA(build: CVSTag=Branch_4_0 date=200610162340) running the JMS remote client and connecting to another server:
JBoss Messaging server 1.0.1.GA on another JBoss 4.0.5GA.
OS: SuSE Linux 9.x
Messaging DB - Oracle 10g.
Multiple threads have been blocked, as the following thread dump lists at the bottom.
Looking at the code for "org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded" there is a Synchronized block of code in the class where everyone is stuck.
In my application newer requests that put a message on jboss messaging get stuck and timeout. As they are not able to get a connection from the "queueConnectionFactory".
The implementation I have is that I get JndiContext and QueueConnectionFactory in a static block and use the same thruout the life of application.
Thread: http-0.0.0.0-8080-4 : priority:5, demon:true, threadId:352, threadState:BLOCKED, threadLockName:java.lang.Class at 11ee18eorg.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:227)org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:196)org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:108)org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:103)com.wizcom.mcdb.channel.LDB2CDBRecordSender.createConnection(Unknown Source)com.wizcom.mcdb.channel.LDB2CDBRecordSender.getQueueSession(Unknown Source)com.wizcom.mcdb.channel.LDB2CDBRecordSender.sendRecord(Unknown Source)com.wizcom.mcdb.business.bo.AbstractBaseBo.sendToCdb(Unknown Source)com.wizcom.mcdb.business.bo.AddressBO.saveAddress(Unknown Source)com.wizcom.mcdb.business.bo.AddressBO.handle(Unknown Source)com.wizcom.mcdb.business.bo.AbstractBaseBo.process(Unknown Source)com.wizcom.mcdb.business.delegate.Delegator.process(Unknown Source)com.wizcom.mcdb.presentation.action.AbstractBaseAction.execute(Unknown Source)org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)javax.servlet.http.HttpServlet.service(HttpServlet.java:810)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)com.wizcom.mcdb.presentation.filter.CharsetFilter.doFilter(Unknown Source)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007932#4007932
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007932
More information about the jboss-user
mailing list