On Wed, 2002-06-05 at 09:28, Tobias Seelinger wrote:
> 
> HH> The funny bit is that when I run my app on separate JBoss 3.0 and Tomcat 4.0.3 
>instances, performance is acceptable. (Well, almost, it is not a blazingly fast 
>machine ...)
> HH> I'll keep on running Tomcat separately, but I will test the Jetty bundle also 
>and compare the performance.
> HH> However, are there no Tomcat people that have anything to say about this?
> 
> I have the same situation with the JBoss 2.4.4 / Tomcat 3.2 bundle. 3
> times reload for a JSP page which calls 80 Entity Beans in a row and
> the server stalls. Port 8082 doesn't respond, even shutdown lasts five
> minutes. Running them separately and everything works fine.
But jsp should NEVER (i think) call entity beans directly! If you do,
you get one transaction per call (if not turned off), and this creates
no good transactions either. Let the jsp call a session bean that does
the work (and much less calls between the session-bean and jsp, i.e.
large methods like "order", registerPerson etc.).

> 
> I have used a profiling tool to see what happens in this situation.
> And it drives me crazy: running the JVM in profiling mode doesn't lead
> to a server stall! Maybe its some kind of timing problem.
> 
> What also confuses me: if JBoss and Tomcat are running in the same
> JVM, the servlets are using RMI to call Entity Beans. I always
> thought that avoiding RMI calls is part of the in-VM optimization.
> 
> 
> Tobias
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to