Hi Bruno,
We have verified that this situation is occuring on several completely
different computers. The computers tested were several Dell Latitude laptops
mostly with 3COm network cards running Windows 2000 Profesional all with
256MB memory, several Dell desktops with 3COm network cards running Windows
2000 Profesional all with 256MB memory, Micron desktops with Kingston &
3COm network cards running Windows 2000 Advanced Server all with 256MB
memory. We have verified this both on JDK 1.2.2.006 and 1.3.0.001.
This situation was obseverved in both situations, when the client (Microsoft
IE 5.x browser) run on the same machine or on a different machine. The
browser connects to the web server (Jetty 2.4.x) running inside of the same
JVM as Jonas. We have this configuration working since Jonas 1.5 without any
problems. The servelt in Jetty creates JNDI context and use it to access
session beans inside of Jonas to satisfy the request. Our architecture is
Model/View/Controller architecture where session beans serve as controllers.
Session bean can create other session beans upon this request (created
another JNDI context to access them). Each session beans then invokes finder
to fetch data from the database (we observe this problem as soon as we try
to read beans from the database) again after another JNDI context is
created. We can see that the thread count starts increasing.
The interesting part is that we can identify the problem upon Jonas startup
even without accessing/creating any beans. In our cofiguration (Jetty +
Jonas + 60 deployed beans) when the computer is on not on the network (or
cable is unplugged or NIC is disabled) our server starts with 92 threads and
when it is on the network it starts with 101 threads (and then the problem
consistently occur).
We have tried to check when Jeremie/Jonathan are creating threads but the
source code is not shipped with Jonas and none of the thread creation in
Jonas seems to be related to our problem. This is becoming quit critical for
us therefore please let us know if we can help you to diagnose the problem.
Thanks for you help,
Miro
-----Original Message-----
From: Bruno Dumant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 7:11 AM
To: Halas, Miroslav
Cc: '[EMAIL PROTECTED]'; Jonathan
Subject: Re: FW: Bug in Jonas/Jeremie - Increasing Thread count
Hi,
Sorry for not having answered before, I couldn't reach my mail.
The reality is that I don't have any explanation to give ! I don't see
anything
in Jonathan that could depend whether the computer is really connected or
not.
The tests I perform have never shown any problem with threads. But it
doesn't
mean the bug is not in Jonathan.
Could you please give me some information about your configuration: number
of
machines involved, where are the servers, where are the clients, how do they
interact, when are server objects created ? This would help me tracking the
problem on Jonathan's side.
Regards,
Bruno
"Halas, Miroslav" wrote:
> Can please anybody verify if this is a bug in Jonas/Jeremie or in our
code?
> The fact that it doesn't happen with RMI points more towrds Jeremie, but
in
> project of our size everything is possible 8-).
>
> Regards,
>
> Miroslav Halas
> Software Architect
> Compuware Corp.
> 15305 Dallas Parkway Suite 900
> Addison, TX 75001
> phone: 9720-960-0960
> fax: 972-960-8489
> email: [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Halas, Miroslav [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 10, 2000 5:31 AM
> To: [EMAIL PROTECTED]
> Cc: Nolen, Randy
> Subject: RE: Bug in Jonas/Jeremie - Increasing Thread count
>
> With more testing this weekend I have discovered following.
>
> If I run the Jonas with Jeremie on a computer which is not connected to
the
> network or with network interface disabled, the thread count doesn't
> increase and remains constant (Jonas + web server + 60 beans starts with
92
> threads). If I am connected to the network and I start reading beans from
> the database, the thread count starts increasing (Jonas + web server + 60
> beans starts with 101 threads) This was verified on two different
computers
> (Dell Latitude laptop with 3Com adapter running W2K Pro with SP1 and
Micron
> Millenia Max GS Desktop with 3Com and Kingston adapters running W2K
Advanced
> Server with SP1).
>
> Jonas with RMI runs just fine in both cases.
>
> Does this sounds like problem with Jonas/Jeremie or our configuration?
>
> Regards,
>
> Miro Halas
>
> -----Original Message-----
> From: Halas, Miroslav [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 08, 2000 6:07 PM
> To: [EMAIL PROTECTED]
> Cc: Nolen, Randy
> Subject: Bug in Jonas/Jeremie - Increasing Thread count
>
> Looking hrough the Jonas mailing list I coulnd't find any similar issue so
I
> want to ask about situation we have discovered.
>
> This week we switched from Jonas 2.0 to Jonas 2.1.1 and then to Jonas
2.2.2
> running on JEREMIE
> Sice then we are seeing this problem. Every time we call to Jons to
retrieve
> some entity beans, the thread count for the Jonas process keeps
increasing.
> We are using CMP and are running on Windows 2000. We have tried both, JDK
> 1.2.2.006 and JDK 1.3.0.001 with no difference. To see number of thread we
> use Windows NT Task Manager Processes tab with thread count enabled.
> This problem doesn't occur when using Jonas 2.2.2 using RMI.
>
> The numbers I list here are thread counts from the comparison test we did
> (60 beans deployed)
> Jonas 2.0 using JEREMIE Jonas 2.1.1/2.2.2 using JEREMIE
> Jonas 2.1.1/2.2.2 using RMI
>
> Initial 23
> ~102 105
> Retrieved
> ~10 beans 23 ~142
> 105
> + ~24 beans 23 ~187
> 105
> +~8 beans 23 ~199
> 105
> +~40beans 23 ~264
> 105
> +~900beans 23 ~1400
> 105
>
> One symtom of the problem is that it takes a long time to shutdown or kill
> Jonas since all the thread needs to be destroyed. Another symptom is the
> impact on performance (about 50% slower).
>
> >From this test we guess that the problem is not in Jonas itself but in
> JEREMIE (whatever was changed since version 2.0). Can please anybody
verify
> if you saw similar problems and suggest what can we do to solve it?
>
> Regards,
>
> Miroslav Halas
> Software Architect
> Compuware Corp.
> 15305 Dallas Parkway Suite 900
> Addison, TX 75001
> phone: 9720-960-0960
> fax: 972-960-8489
> email: [EMAIL PROTECTED]
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> 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 "unsubscribe jonas-users".
> 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 "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
--
*******************************************************************
Bruno Dumant
DTL/ASR
france telecom R&D
38-40 rue du g�n�ral Leclerc
92794 Issy Moulineaux Cedex 9
FRANCE
mailto:[EMAIL PROTECTED]
tel: +33 1 45 29 46 03
fax: +33 1 45 29 66 04
*******************************************************************