0 Replies Latest reply on Dec 14, 2010 7:19 AM by Marek Neumann

    Spring Deployer: scoped deployment fails

    Marek Neumann Novice

      I configured the deployer for Spring applications documented here: http://community.jboss.org/wiki/JBossSpringIntegration. Everything works fine as long as the service is not scoped. Inserting a loader-repository inside the jboss-service.xml à la

       

      <loader-repository>jboss.spring:jboss.spring-deployer=ScopedDeployment
              <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
      </loader-repository>

       

      leads to problems. The JMX Mbeans are not registered in the JMX Server (Spring MBean Exporter) and the application context is not put into global JNDI. I cannot find out how to get this to work.

       

      The deployer should be scoped because I do not want to have the spring libraries deployed in the classloader repository.

       

      Thanks

      Marek