A
Airness
Hello,
First of all, I don't write or even speak good english, so sorry for all the
mistakes of this post.
I tried to use Java classes from ASP. I used javareg to register my classes
and called that classes from ASP with CreateObject. I did a lot of
CreateObject in the whole site. That worked well.
But my web site crashed when the load was increasing, contrary to the old
version which used COM component.
I made tests with three simple pages :
- an ASP script with the com component which was used before,
- an ASP script with my java classes
- a JSP, with my java classes
The first one and the third one ran well, and the second one crashed (And
runs a lot slower than the others scripts)
It seems to prove that the use of the Java classes from ASP are the origin
of my problem : when the site gets loaded ( I mean with many clients on it,
not sure that "gets loaded" will be understood), the 'Requests Executing''s
counter increase to the MAX_THREAD_NUMBER, the 'Requests Queud' then
increases and the site didn't answer anymore.
I put logs on my pages, and it shows that the requests stop on a
CreateObject from my java class.
Did someone know something about a limitation of the number of objects in
the "COM Java bridge", I mean in the 'pseudo JVM' used in my mtx process (I
use WIN NT 4 and IIS 4), or how to configure that 'pseudo JVM' ?
Thanks for your help
Yours Sincerely,
Airness
First of all, I don't write or even speak good english, so sorry for all the
mistakes of this post.
I tried to use Java classes from ASP. I used javareg to register my classes
and called that classes from ASP with CreateObject. I did a lot of
CreateObject in the whole site. That worked well.
But my web site crashed when the load was increasing, contrary to the old
version which used COM component.
I made tests with three simple pages :
- an ASP script with the com component which was used before,
- an ASP script with my java classes
- a JSP, with my java classes
The first one and the third one ran well, and the second one crashed (And
runs a lot slower than the others scripts)
It seems to prove that the use of the Java classes from ASP are the origin
of my problem : when the site gets loaded ( I mean with many clients on it,
not sure that "gets loaded" will be understood), the 'Requests Executing''s
counter increase to the MAX_THREAD_NUMBER, the 'Requests Queud' then
increases and the site didn't answer anymore.
I put logs on my pages, and it shows that the requests stop on a
CreateObject from my java class.
Did someone know something about a limitation of the number of objects in
the "COM Java bridge", I mean in the 'pseudo JVM' used in my mtx process (I
use WIN NT 4 and IIS 4), or how to configure that 'pseudo JVM' ?
Thanks for your help
Yours Sincerely,
Airness