Hi,
I have a TEST.EAR in "default/deploy". I
need to use some entities present
in "default/deploy/COMPS.EAR".
I tring to share classloader via setting
in JBOSS.XML presents in the EAR-files.
With this syntax:
<loader-repository loaderRepositoryClass="it.fm.LoaderRepository">
if.fm:loader=unique-archive-name
<loader-repository-config configParserClass="it.fm.LoaderParser">
java2ParentDelegaton=true
</loader-repository-config>
</loader-repository>
BUT when I deploy EARs I obtain this msg:
11:48:21,195 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: if.fm:loader=unique-archive-name, repositoryClassName: it.fm.LoaderRepository, configParserClassName: it.fm.LoaderParser, repositoryConfig: java2ParentDelegaton=true)
I don't want to deploy on "default/deploy"!
I need to use new 4.0 class-loader model.
TIA