users@glassfish.java.net

Re: Request Partitioning for Session Bean

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Apr 2009 02:12:55 PDT

I am calling it from Struts action class, the SessioBean class(TestGlassFishBean1) is executed by "httpSSLWorkerThread-8080-0" Thread(i think it is a Web container Thread),
 there is no error message, only following log message i am getting in Server log
 
 [#|2009-04-03T14:21:13.182+0530|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-0;|
TESTING SESSION BEAN|#]

in my domian.xml i am having following entry

 <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1,mdbLowpriorityWorkmanager,session-pool-1"/>
 
 <thread-pools>
        <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
        <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="10" num-work-queues="1" thread-pool-id="mdbLowpriorityWorkmanager"/>
        <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="10" num-work-queues="1" thread-pool-id="session-pool-1"/>
  </thread-pools>
  
  In my Eclipse Debug mode i am able to see the custom pool thread(session-pool-1), so the Custom thread is available at runtime.
[Message sent by forum member 'rajeshkannacse' (rajeshkannacse)]

http://forums.java.net/jive/thread.jspa?messageID=340423