[jboss-user] [Remoting] - Remoting idletimeout not working
koganty
do-not-reply at jboss.com
Mon Feb 12 21:32:01 EST 2007
We are running JBoss 4.0.5 with EJB3 RC9 on JDK1.6 with Remoting 1.4.6.
Our standalone client uses the socket transport to connect to the server and invoke methods on the EJB3 SLSB.
What I see is that the SocketInvoker threads are created to handle the client requests, but these threads just linger around and never go away even long after their idleTimeout.
Below is the connector configuration:
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
| display-name="Socket transport Connector">
| <depends>jboss.aop:service=AspectDeployer</depends>
| <attribute name="Configuration">
| <config>
| <invoker transport="socket">
| <attribute name="serverBindPort">${jboss.ejb3.remoting.port}</attribute>
| <attribute name="maxPoolSize">100</attribute>
| <attribute name="backlog">50</attribute>
| </invoker>
| <handlers>
| <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
|
And here is the thread dump for SocketInvoker:
Thread: SocketServerInvokerThread-10.255.48.46-6 : priority:5, demon:false, threadId:5910, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 371ad0java.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-7 : priority:5, demon:false, threadId:5912, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 86ea8djava.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-8 : priority:5, demon:false, threadId:5915, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 7e8acjava.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-9 : priority:5, demon:false, threadId:5927, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 12975c1java.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-10 : priority:5, demon:false, threadId:5928, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at b41410java.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-11 : priority:5, demon:false, threadId:5937, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 69e46ajava.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-12 : priority:5, demon:false, threadId:5945, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 9ba0f7java.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)Thread: SocketServerInvokerThread-10.255.48.46-13 : priority:5, demon:false, threadId:5946, threadState:WAITING, threadLockName:org.jboss.remoting.transport.socket.ServerThread at 15e0c9ejava.lang.Object.wait(Native Method)java.lang.Object.wait(Object.java:485)org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:282)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015540#4015540
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015540
More information about the jboss-user
mailing list