Hi,
Recently I had implemented Spring Integration in my project, & I am getting issues where in the threads are getting stuck @ weblogic..
After taking the thread dumps here is the stack strace
Here the getOptimizedQuotesForAllCoverages is my method which uses SI.Code:"[ACTIVE] ExecuteThread: '49' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=10 tid=0x029783d0 nid=0x202 waiting on condition [0xb9a3c000..0xb9a3f8f0] at sun.misc.Unsafe.park(Native Method) b at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:681) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:837) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1144) at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:199) at org.springframework.integration.channel.MessageChannelTemplate$TemporaryReplyChannel.receive(MessageChannelTemplate.java:288) at org.springframework.integration.channel.MessageChannelTemplate$TemporaryReplyChannel.receive(MessageChannelTemplate.java:282) at org.springframework.integration.channel.MessageChannelTemplate.doReceive(MessageChannelTemplate.java:235) at org.springframework.integration.channel.MessageChannelTemplate.doSendAndReceive(MessageChannelTemplate.java:251) at org.springframework.integration.channel.MessageChannelTemplate.sendAndReceive(MessageChannelTemplate.java:215) at org.springframework.integration.gateway.AbstractMessagingGateway.sendAndReceiveMessage(AbstractMessagingGateway.java:176) at org.springframework.integration.gateway.AbstractMessagingGateway.sendAndReceive(AbstractMessagingGateway.java:159) at org.springframework.integration.gateway.AbstractMessagingGateway.sendAndReceive(AbstractMessagingGateway.java:150) at org.springframework.integration.gateway.GatewayProxyFactoryBean.invokeGatewayMethod(GatewayProxyFactoryBean.java:203) at org.springframework.integration.gateway.GatewayProxyFactoryBean.invoke(GatewayProxyFactoryBean.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy190.getOptimizedQuotesForAllCoverages(Unknown Source) at
The code in this method is
Code:IGateway quoteGateway = context.getBean("quoteGateway", IGateway.class); List<Message<QuotePOJO>> quoteMsgList = quoteGateway .getOptimizedQuotesForAllCoverages(param);
quoteGateway -- is a gateway.
Also I am using Spring transaction manager on getOptimizedQuotesForAllCoverages but still the threads are timing out & are in active state doing nothing
tx attribute used is
<prop key="get*">PROPAGATION_REQUIRED,timeout_60,-java.lang.Exception</prop>


Reply With Quote
