[jboss-user] [Remoting] - Which thread pool services SLSB requests in AS?
justinwalsh
do-not-reply at jboss.com
Thu Oct 2 13:01:15 EDT 2008
Hi,
Not sure if this is a JBoss AS question or a remoting question - will be glad to move the post if required.
Basically I am trying to find out which thread pool contains the worker threads which service incoming (remote) requests made to stateless session beans in JBoss AS so that I can configure it.
The only references to thread pools in jboss-service.xml that I can see are for the NamingService and WebService. The naming service reference appears to be a pool for bootstrap lookups. Not sure if this is what I'm after.
NamingService:
| <mbean code="org.jboss.naming.NamingService"
| name="jboss:service=Naming"
| xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
| ...
| <!-- The thread pool service used to control the bootstrap lookups -->
| <depends optional-attribute-name="LookupPool"
| proxy-type="attribute">jboss.system:service=ThreadPool</depends>
| ...
|
| </mbean>
| ...
|
This is a stack at the point of a breakpoint in the SLSB
| Thread [WorkerThread#0[127.0.0.1:3398]] (Suspended (breakpoint at line 95 in FooBean))
| FooBean.save(ApplicationContext, Object) line: 95
| NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
| NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
| DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
| Method.invoke(Object, Object...) line: 585
| MarshalledInvocation(Invocation).performCall(Object, Method, Object[]) line: 359
| StatelessSessionContainer$ContainerInterceptor.invoke(Invocation) line: 237
| .....
|
| Invocation.invoke() line: 86
| XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
| MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
| UnifiedInvokerHA.invoke(InvocationRequest) line: 146
| SocketServerInvoker(ServerInvoker).invoke(InvocationRequest) line: 769
| ServerThread.processInvocation(SocketWrapper) line: 573
| ServerThread.dorun() line: 387
| ServerThread.run() line: 166
Any pointers in the right direction apprectiated
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180109#4180109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180109
More information about the jboss-user
mailing list