Bugs item #957032, was opened at 2004-05-19 20:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=957032&group_id=22866

Category: JBossServer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Boon (davidmboon)
Assigned to: Nobody/Anonymous (nobody)
Summary: loader-repository in jboss-app.xml not working 

Initial Comment:
Specifying loader-repository in jboss-app.xml does not
work as described.

I'm attempting to enable scoped classloading at the ear
level.  I would like each ear to have isolation from
each other.

I've added the following to, or similar to each ear:

  <loader-repository
loaderRepositoryClass="org.jboss.mx.loading.HeirachicalLoaderRepository3">
      lmnk:loader=ear_name_here.ear
      <loader-repository-config>
        java2ParentDelegaton=true
      </loader-repository-config>
   </loader-repository>

When deploying the ears the following is printed to the
logs:

2004.05.18 07:25:07.890 EDT INFO 
[org.jboss.deployment.MainDeployer] Starting deployment
of package: file:/c:/khub/JBossEval/deploy/lms

2004.05.18 07:27:37.953 EDT INFO 
[org.jboss.deployment.EARDeployer] Init J2EE
application: file:/c:/khub/JBossEval/deploy/lms/dave.ear/

2004.05.18 07:27:38.062 EDT INFO 
[org.jboss.deployment.EARDeployer] Init J2EE
application: file:/c:/khub/JBossEval/deploy/lms/dave2.ear/

2004.05.18 07:27:38.140 EDT INFO 
[org.jboss.deployment.EARDeployer] Init J2EE
application:
file:/c:/khub/JBossEval/deploy/lms/kauthor.ear/

2004.05.18 07:27:38.171 EDT WARN 
[org.jboss.deployment.DeploymentInfo] Only the root
deployment can set the loader repository, ingoring
config=LoaderRepositoryConfig(repositoryName:
lmnk:loader=kauthor.ear, repositoryClassName:
org.jboss.mx.loading.HeirachicalLoaderRepository3,
configParserClassName:
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser,
repositoryConfig: java2ParentDelegaton=true)

2004.05.18 07:27:38.687 EDT INFO 
[org.jboss.deployment.EARDeployer] Init J2EE
application: file:/c:/khub/JBossEval/deploy/lms/lms.ear/

2004.05.18 07:27:38.750 EDT WARN 
[org.jboss.deployment.DeploymentInfo] Only the root
deployment can set the loader repository, ingoring
config=LoaderRepositoryConfig(repositoryName:
lmnk:loader=lms.ear, repositoryClassName:
org.jboss.mx.loading.HeirachicalLoaderRepository3,
configParserClassName:
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser,
repositoryConfig: java2ParentDelegaton=true)

Also, after the server is running the classes that I
expected to have isolation are not isolated. 

Tried with 3.2.3, and 3.2.4RC1, operating system:
windows XP, jdk 1.4.2




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=957032&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to