| To: | Wei Zhang <wei.zhang@xxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [cinjug-users] Hibernate in JBoss vs Tomcat |
| From: | Greg Nieman <gnieman@xxxxxxxx> |
| Date: | Fri, 21 Apr 2006 21:04:19 -0400 |
| Cc: | users@xxxxxxxxxx |
| Delivered-to: | mailing list users@cinjug.org |
| In-reply-to: | <800CC263DA01FF468F7321C62025B6A40384D7@intelligmail.intelligrated.com> |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| References: | <800CC263DA01FF468F7321C62025B6A40384D7@intelligmail.intelligrated.com> |
| User-agent: | Thunderbird 1.5 (Windows/20051201) |
Wei, This isn't definitive, but I can think of a few questions I'd have to ask before I even took a stab at dealing with it. What services are running in JBoss? Asked before, but worth repeating, what versions of Hibernate and any other libraries are actually hitting the classloader. JBoss' default (everything shared) and Tomcat's webapp first models are pretty polar. Asked before, how much memory is the server getting on startup? Related: Is this a Tomcat local instance, and if so, is the JBoss server a standalone local instance as well. Or are either network deploys with other people hitting them? Related: Have you profiled the garbage collection behavior of both? Asked, but worth repeating: How are you obtaining connections in each? DBCP? JNDI? Other? Is pool performance a possible issue? Are the configured connection properties the same? Have you eliminated the network as an issue: are they on the same networks, and where do these networks sit in relation to the database? Depending on the database, are the same drivers/version being used? Is any logging/diagnostics enabled for either the JBoss instance or the database drivers installed? These are just things that come off the top of my head. They may or may not be applicable, but I think you always need to start with trying to eliminate the all the obvious suspects before you start to drill down. If nothing else, if you are looking for hints, the more info you post the better chance I think you have of someone being able to suggest something. gn Wei Zhang wrote: I am using Hibernate3.0, Jboss 4.0.1 and Tomcat 5.5.12. It is ok with |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [cinjug-users] Hibernate in JBoss vs Tomcat, Tom Rose |
|---|---|
| Next by Date: | Re: [cinjug-users] J2ee Container Managed Web Security and Struts, Greg Nieman |
| Previous by Thread: | RE: [cinjug-users] Hibernate in JBoss vs Tomcat, Forsythe, Brian |
| Next by Thread: | RE: [cinjug-users] Hibernate in JBoss vs Tomcat, Broyles, Eric |
| Indexes: | [Date] [Thread] [Top] [All Lists] |