[JBoss JIRA] Created: (JBAS-4025) failing org.jboss.test.web.test.ssl.SSLUnitTestCase
by Dimitris Andreadis (JIRA)
failing org.jboss.test.web.test.ssl.SSLUnitTestCase
---------------------------------------------------
Key: JBAS-4025
URL: http://jira.jboss.com/jira/browse/JBAS-4025
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Test Suite
Environment: Java Version 1.5.0_10
Java Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) Server VM
Java VM Version 1.5.0_10-b03
Java VM Info mixed mode
OS Name Linux
OS Version 2.6.9-42.0.2.ELsmp
OS Arch i386
Reporter: Dimitris Andreadis
Assigned To: Stan Silvert
Priority: Critical
Fix For: JBossAS-4.2.0.CR1
It seems the SSL connector of jboss-web is not configured properly?
In fact, a lot of other ssl security tests seem to fail.
Can you take a look Stan?
unknown Error Timeout occurred
junit.framework.AssertionFailedError: Timeout occurred
--
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
19 years, 2 months
[JBoss JIRA] Created: (JBPORTAL-1249) optimize number of DB calls when a simple portlet page is hit
by Prabhat Jha (JIRA)
optimize number of DB calls when a simple portlet page is hit
-------------------------------------------------------------
Key: JBPORTAL-1249
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1249
Project: JBoss Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6.Alpha2
Reporter: Prabhat Jha
Assigned To: Julien Viet
Assuming that following queries have already been optimized, can we reduce these DB calls and queries which are being made for every hit to the page? The URL that gets hit is http://localhost:8080/portal/portal/default/NullPortletPage
1. I see "[org.hibernate.jdbc.ConnectionManager] opening JDBC connection" getting printed 35 times.
2. This query is made 27 times. select objectnode0_.PK as PK56_1_, objectnode0_.PATH as PATH56_1_, objectnode0_.NAME as NAME56_1_, objectnode0_.PARENT_KEY as PARENT4_56_1_, securityco1_.NODE_KEY as NODE3_3_, securityco1_.PK as PK3_, securityco1_.ROLE as ROLE3_, securityco1_.PK as PK65_0_, securityco1_.ROLE as ROLE65_0_, securityco1_.NODE_KEY as NODE3_65_0_, actions2_.PK as PK4_, actions2_.ACTIONS as ACTIONS4_ from JBP_OBJECT_NODE objectnode0_ left outer join JBP_OBJECT_NODE_SEC securityco1_ on objectnode0_.PK=securityco1_.NODE_KEY left outer join JBP_OBJECT_NODE_SEC_ACTIONS actions2_ on securityco1_.PK=actions2_.PK where objectnode0_.PK=?
3. This query is made 8 times: select portalobje0_.PK as PK57_0_, portalobje0_.LISTENER as LISTENER57_0_, portalobje0_4_.INSTANCE_REF as INSTANCE2_64_0_, case when portalobje0_1_.PK is not null then 1 when portalobje0_2_.PK is not null then 2 when portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 when portalobje0_.PK is not null then 0 end as clazz_0_, declaredpr1_.OBJECT_KEY as OBJECT1_2_, declaredpr1_.jbp_VALUE as jbp2_2_, declaredpr1_.NAME as NAME2_, modes2_.PK as PK3_, modes2_.name as name3_, windowstat3_.PK as PK4_, windowstat3_.name as name4_ from JBP_PORTAL_OBJECT portalobje0_ left outer join JBP_CONTEXT portalobje0_1_ on portalobje0_.PK=portalobje0_1_.PK left outer join JBP_PORTAL portalobje0_2_ on portalobje0_.PK=portalobje0_2_.PK left outer join JBP_PAGE portalobje0_3_ on portalobje0_.PK=portalobje0_3_.PK left outer join JBP_WINDOW portalobje0_4_ on portalobje0_.PK=portalobje0_4_.PK left outer join JBP_PORTAL_OBJECT_PROPS declaredpr1_ on portalobje0_.PK=declaredpr1_.OBJECT_KEY left outer join JBP_PORTAL_MODE modes2_ on portalobje0_.PK=modes2_.PK left outer join JBP_PORTAL_WINDOW_STATE windowstat3_ on portalobje0_.PK=windowstat3_.PK where portalobje0_.PK=?
4. select children0_.PARENT_KEY as PARENT4_1_, children0_.PK as PK1_, children0_.NAME as NAME1_, children0_.PK as PK56_0_, children0_.PATH as PATH56_0_, children0_.NAME as NAME56_0_, children0_.PARENT_KEY as PARENT4_56_0_ from JBP_OBJECT_NODE children0_ where children0_.PARENT_KEY=?
--
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
19 years, 2 months
[JBoss JIRA] Created: (JBAS-4090) Race condition in Connection.close() can deadlock the JBossMQ's ping thread.
by Adrian Brock (JIRA)
Race condition in Connection.close() can deadlock the JBossMQ's ping thread.
----------------------------------------------------------------------------
Key: JBAS-4090
URL: http://jira.jboss.com/jira/browse/JBAS-4090
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMS service
Affects Versions: JBossAS-5.0.0.Beta1, JBossAS-4.0.5.GA, JBossAS-3.2.8.SP1
Reporter: Adrian Brock
Assigned To: Adrian Brock
Fix For: JBossAS-4.0.5.SP1
There is a race condition between the JBossMQ ping thread and connection.close()
that can cause the ping thread to become deadlocked.
Besides meaning that the ping stops working so broken connections are not detected,
this can also evenutally lead to a memory leak.
The problem occurs when the connection.close()
requests to cancel the ping for that connection, and then aquires the semaphore
to make sure the ping has stopped working.
Just at that moment, the ping was scheduled to run and tries to aquire the semaphore
(with no timeout), but it never can because the connection.close() has permenantly
aquired it.
The obvious fix is to include a timeout in the ping task's such that when it fails
to acquire the semaphore it can assume that the connection was closed and return
immediately.
Additionally, checking the "closing" flag should also avoid even trying to acquire
the semaphore when the connection is being closed (in most cases).
--
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
19 years, 2 months
[JBoss JIRA] Created: (JBAS-4015) failing org.jboss.test.invokers.test.MultiInvokersUnitTestCase
by Dimitris Andreadis (JIRA)
failing org.jboss.test.invokers.test.MultiInvokersUnitTestCase
--------------------------------------------------------------
Key: JBAS-4015
URL: http://jira.jboss.com/jira/browse/JBAS-4015
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Test Suite
Reporter: Dimitris Andreadis
Assigned To: Tom Elrod
Priority: Critical
Fix For: JBossAS-4.2.0.CR1
Testsuite: org.jboss.test.invokers.test.MultiInvokersUnitTestCase
Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 3.915 sec
Testcase: testMultiInvokers took 1.222 sec
Testcase: testClientContainer took 0.14 sec
Caused an ERROR
$Proxy7
java.lang.ClassCastException: $Proxy7
at org.jboss.test.invokers.test.MultiInvokersUnitTestCase.testClientContainer(MultiInvokersUnitTestCase.java:103)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
--
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
19 years, 2 months