This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate hangs with Jetty,Cocoon!?  RSS feed

Marko Jyrkinen
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to hibernate and I try to build a prototype using Jetty, Cocoon and Hibernate. I am calling hibernate by using Java Classes, which are called from Extended Server Pages (XSP). I have also created a help class which manages the Hibernate Sessions and Transactions. The latest version, which I tried is the following:

My problem is that, whe I test my application with JMeter using only one thread everything functions perfectly. However, when I run JMeter-Test with more than one thread the requests begin to hang. The problem seems to be some kind of timing problem, because the position where the application hangs up varies.

It seems to me, that Hibernate waits for a resource, which is not delivered. The original application using Stored Procedures has no problems with JMeter using several threads.

What am I doing wrong ? Any ideas ?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!