[JBoss JIRA] Created: (JBAS-5406) Increase testing of alternate legacy detached invokers
by Brian Stansberry (JIRA)
Increase testing of alternate legacy detached invokers
------------------------------------------------------
Key: JBAS-5406
URL: http://jira.jboss.com/jira/browse/JBAS-5406
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.CR1
We still ship the legacy JRMPInvoker and PooledInvoker. Need to test them.
The testsuite has a jrmp-invoker-tests target that doesn't get executed during a normal testsuite run. I will enable it. This target basically creates a test config with an overridden conf/standardjboss.xml that uses jrmp in place of unified. Then runs a number of EJB2 tests.
Then I'll add a pooled-invoker-tests target that functions like jrmp-invoker-tests, but uses pooled.
--
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
18 years, 3 months
[JBoss JIRA] Created: (JBAS-5375) LRUEnterpriseContextCachePolicy leaks classloader to Timer thread
by Brian Stansberry (JIRA)
LRUEnterpriseContextCachePolicy leaks classloader to Timer thread
-----------------------------------------------------------------
Key: JBAS-5375
URL: http://jira.jboss.com/jira/browse/JBAS-5375
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB2
Affects Versions: JBossAS-5.0.0.Beta4
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Minor
Fix For: JBossAS-5.0.0.CR1
When LRUEnterpriseContextCachePolicy loads, it creates a static ref to Timer, which creates a Thread. A newly created thread inherits its TCCL from whatever thread created it, so whatever deployment classloader is the TCCL when LRUEnterpriseContextCachePolicy is loaded, that classloader get leaked to the timer thread.
This is the cause of the failure of ClassloaderLeakUnitTestCase.testSimpleEjb().
JBoss Profiler heap analysis shows the path to the static Timer ref:
!--BaseClassLoader@d279e2{vfsfile:/C:/dev/jboss/jboss-head/testsuite/output/lib/classloader-leak-ejb.jar}
!--!--FieldReference private java.lang.ClassLoader java.lang.Thread.contextClassLoader=Thread[Timer-2,5,RMI Runtime]
!--!--!--FieldReference private java.util.TimerThread java.util.Timer.thread=java.util.Timer@5a9fcd
!--!--!--!--StaticFieldReference protected static java.util.Timer org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.tasksTimer
A fix is to set the TCCL to LRUEnterpriseContextCachePolicy.class.getClassLoader() before creating the timer, and then restoring it.
--
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
18 years, 3 months
[JBoss JIRA] Created: (SWAP-27) CmsImport
by Joerg-A. Stoehr (JIRA)
CmsImport
---------
Key: SWAP-27
URL: http://jira.jboss.com/jira/browse/SWAP-27
Project: PortletSwap
Issue Type: Release
Security Level: Public (Everyone can see)
Components: Portlet_Contrib
Reporter: Joerg-A. Stoehr
Assigned To: Julien Viet
The main purpose is to demonstrate the exchange of data between a portal (eg. JBoss Portal Server, JSR 168 specs) and a content management system (eg. Alfresco, JSR 170 specs). The portlet used in the portal can also state as an example how to realize a portlet based on JSF/Facelets and the JBoss Richfaces packages.
--
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
18 years, 3 months