0 Replies Latest reply on Nov 12, 2004 5:53 AM by Roberto Colmegna

    JBOSS 4.0 - changing deployment problem

    Roberto Colmegna Newbie

      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