[jboss-jira] [JBoss JIRA] Commented: (JBAS-6600) Setting isolated=true on EarClassLoaderDeployer does not work
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Thu Apr 9 12:05:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12461520#action_12461520 ]
Jesper Pedersen commented on JBAS-6600:
---------------------------------------
I have create the org.jboss.test.jca.test.ScopedRARNoJBossAppUnitTestCase test case in the application server test suite.
If you run this test case using the "all" configuration is passes, but it fails using the "standard" configuration.
E.g.
Works:
./run.sh -c all
./build.sh one-test -Dtest=org.jboss.test.jca.test.ScopedRARNoJBossAppUnitTestCase
Doesn't work:
./run.sh -c standard
./build.sh one-test -Dtest=org.jboss.test.jca.test.ScopedRARNoJBossAppUnitTestCase
> Setting isolated=true on EarClassLoaderDeployer does not work
> -------------------------------------------------------------
>
> Key: JBAS-6600
> URL: https://jira.jboss.org/jira/browse/JBAS-6600
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ClassLoading
> Affects Versions: JBossAS-5.0.0.GA, JBossAS-5.0.1.GA
> Environment: JBossAS-5.0 GA and JBossAS-5.0.1.GA, Sun Java 1.5
> Reporter: jaikiran pai
> Assignee: Ales Justin
> Fix For: JBossAS-5.1.0.CR1, JBossAS-5.0.2.GA, JBossAS-6.0.0.Alpha1
>
> Attachments: Isolated_Ear.patch
>
>
> JBossAS-5 allows each EAR to have its own isolated classloader, by setting the isolated flag to true in the EARClassLoaderDeployer (%JBOSS_HOME%/server/default/deployers/ear-deployer-jboss-beans.xml):
> <bean name="EARClassLoaderDeployer" class="org.jboss.deployment.EarClassLoaderDeployer">
> <!-- A flag indicating if ear deployments should have their own scoped
> class loader to isolate their classes from other deployments.
> -->
> <property name="isolated">true</property>
> </bean>
> However, this does not work. The classloaders for the EARs are not isolated. Please see the referenced forum thread for the complete details and the patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list