1. Why are you worried about the threads being created in the first place?
2. It looks like what is happening here is that it is allocating a "pool" of
threads for future use. This might have to do with DD setting about caching
and pooling (or even server configuration settings. What I've noticed in
the past (about many server not just WL) is that the allocate a pool of
threads and use them for multiple instances of the EJB of the same type (or
even sometime across EJB types). So ... did you try creating to of you
stateless EJB and see if it created more threads ...
3. I only post this here (even though it is a vendor specific question)
because this has been posted a few times and it always seems to follow with
WebLogic bashing.
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Vidyasagar Jeyakumar
Sent: Thursday, September 28, 2000 11:59 PM
To: [EMAIL PROTECTED]
Subject: Java Threads Created after EJB Lookup
Hi,
I have some doubts:::::
I am calling a Stateless EJB method(Weblogic5.1) from
a Client written in
Java Thread using RMI call.
Step-1::
Before calling EJB LOOKUP::When i diplay the number of
active threads it is
showing as follows::
java.lang.ThreadGroup[name=TraceLogThreadGroup,maxpri=10]
Thread[myserver,5,TraceLogThreadGroup]
Thread[myserver,5,TraceLogThreadGroup]
Thread[myserver,5,TraceLogThreadGroup]
Thread[myserver,5,TraceLogThreadGroup]
After calling EJB LOOKUP ::When i diplay the number of
active threads it is
showing as follows::
java.lang.ThreadGroup[name=TraceLogThreadGroup,maxpri=10]
Thread[myserver,5,TraceLogThreadGroup]
Thread[myserver,5,TraceLogThreadGroup]
Thread[myserver,5,TraceLogThreadGroup]
Thread[myserver,5,TraceLogThreadGroup]
Thread[SpinnerRandomSource,5,TraceLogThreadGroup]
Thread[TimeEventGenerator,5,TraceLogThreadGroup]
java.lang.ThreadGroup[name=Execute Thread
Group,maxpri=10]
Thread[ExecuteThread-0,5,Execute Thread Group]
Thread[ExecuteThread-1,5,Execute Thread Group]
Thread[ExecuteThread-2,5,Execute Thread Group]
Thread[ExecuteThread-3,5,Execute Thread Group]
Thread[ExecuteThread-4,5,Execute Thread Group]
Thread[HighPriority
TimeEventGenerator,9,Execute Thread Group]
So there are 8 New Threads created after i do a EJB
Look up.
1) Thread[SpinnerRandomSource,5,TraceLogThreadGroup]
2) Thread[TimeEventGenerator,5,TraceLogThreadGroup]
3) Thread[ExecuteThread-0,5,Execute Thread Group]
4) Thread[ExecuteThread-1,5,Execute Thread Group]
5) Thread[ExecuteThread-2,5,Execute Thread Group]
6) Thread[ExecuteThread-3,5,Execute Thread Group]
7) Thread[ExecuteThread-4,5,Execute Thread Group]
8) Thread[HighPriority TimeEventGenerator,9,Execute
Thread Group]
These 8 New threads are not
DESTROYED even if i call RemoteInterface.remove( )
method.
So i have the following questions::
1) Which EJB Look Up methods creates the above 8 New
threads.
2) How to DESTROY these 8 threads ????
Please reply.
Regards,
Vidyasagar
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".