Hi,

I have some doubts:::::

I am calling a Stateless EJB method 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".

Reply via email to