Hi Frans,
You need to isolate what there's too many connections to. Is it the
database, the http server or some other resource?
My wild "stab in the dark" is that you're using the Session In View
pattern with hibernate and a connection pool setup through spring. The
pool is probably exhausted and you need to increase a setting in the
pool's config (and perhaps match it in the database). It may also be
worthwhile to design out unintended/unused connections. eg. don't use
session-in-view on pages that don't need a hibernate session.
Struts 2 is probably not a contributing factor and when you've isolated
the problem you'll find better help in hibernate/spring's/others FAQ.
Apache JMeter may help too:
http://jakarta.apache.org/jmeter/
regards,
Jeromy
Frans Thamura wrote:
hi there,
i am developing system using struts2, hibernate, and spring
and show off the error too many connection ,
and the error show off after there is 300 user log to the systme
can help anyone
F
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]