[
http://jira.jboss.com/jira/browse/JBPORTAL-1401?page=all ]
Mike Millson updated JBPORTAL-1401:
-----------------------------------
Attachment: JDBCConnectionPoolTest.java
Test case.
Portal Unresponsiveness With Conection Pool Bottleneck
------------------------------------------------------
Key: JBPORTAL-1401
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1401
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Security
Affects Versions: 2.4.1 SP1
Environment: RHEL 5
Windows XP
Reporter: Mike Millson
Assigned To: Julien Viet
Attachments: JDBCConnectionPoolTest.java
Observed Behavior:
When the connection pool is not adequately sized, the portal freezes. A thread dump shows
that a single http connector thread holds the lock to
java.security.Permissions.implies(Permission) and is waiting BlockingTimeoutMillis to get
a connection. Almost all the other http threads are blocked waiting to aquire the lock to
java.security.Permissions.implies(Permission). Apparently the thread waiting for a
connection needs a connection to look up the permissions in the database.
Expected Behavior:
The portal should not become unresponsive. Portal 2.6 CR2 does not freeze up when the
same test is run.
I will attach the test case, thread dump, and datasource.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira