When I test my application under load the createSession(true,
Session.SESSION_TRANSACTED) method becomes my bottleneck. I've seen it take up
to 2 seconds to return.
Can someone explain what is happening in this method that might be slowing
things down?
Setup:
- JBoss AS 4.0.3SP1
- The application and the queue are running on the same server.
- The app has a servlet that does the following:
1. Lookup the UserTransaction.
2. Begin a new Transaction
3. Get a Hibernate session
4. Create a JMS Session
5. Performs some database queries and inserts using Hibernate.
6. Post a message to the queue
7. Commit the UserTransaction
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952063#3952063
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952063
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user