Results 1 to 2 of 2
  1. #1
    SE123 is offline Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    0

    Default Creating many Sessions for limited USers in Hibernate

    Hi,

    I have to improve the performance of an existing application where Hibernate is used for DB tx. I have also received few statistics of DB where it indicates that there is proper indexing in column of table. However, I have noticed that there was 883 sessions used for around 100 users. Could someone suggest what could be the reason is it because of connection pooling is not proper or connections were not properly closed???

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Any number of reasons. But, most likely, that something is not being closed properly, or something is using multiple connections simulteaneously (which might not be an error of any kind).

Similar Threads

  1. Http Sessions
    By manasa in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-29-2008, 11:51 AM
  2. Creating Hibernate HSQL connection
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-13-2007, 10:11 AM
  3. Sessions in jsp
    By Ed in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-02-2007, 04:46 PM
  4. sessions in jsp
    By Heather in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-30-2007, 04:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •