0 Replies Latest reply on Jun 19, 2013 9:35 AM by Nilesh Patidar

    PolicyConfigurationFacadeMBean attribute issue

    Nilesh Patidar Newbie

      Hi,

       

      I am trying to convert weblogic-ejb-jar.xml to jboss.xml,  but i am getting the deployment error.

      Error:

       

      2013-06-19 14:14:17,535 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: name=jboss.jacc:id="vfszip:/D:/Nilesh1/working_software/JBoss5.2/jboss-eap-5.2/jboss-as/server/default/deploy/ncac.ear/ncacEJB.jar/",parent="ncac.ear",service=jacc state=Instantiated mode=Manual requiredState=Configured

      java.lang.RuntimeException: No Attribute found with name: PolicyConfigurationFacadeMBean for jboss.jacc:service=jacc,id="vfszip:/D:/Nilesh1/working_software/JBoss5.2/jboss-eap-5.2/jboss-as/server/default/deploy/ncac.ear/ncacEJB.jar/",parent="ncac.ear", attributes: [JaccContextID, PolicyConfiguration]

          at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142)

          at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)

          at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)

          at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.install(ServiceController.java:274)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1225)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

          at org.jboss.Main.boot(Main.java:229)

          at org.jboss.Main$1.call(Main.java:561)

          at org.jboss.Main$1.call(Main.java:557)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

          at java.util.concurrent.FutureTask.run(FutureTask.java:138)

          at java.lang.Thread.run(Thread.java:662)

      2013-06-19 14:14:18,270 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/D:/Nilesh1/working_software/JBoss5.2/jboss-eap-5.2/jboss-as/server/default/deploy/ncac.ear/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jacc:service=jacc,id="vfszip:/D:/Nilesh1/working_software/JBoss5.2/jboss-eap-5.2/jboss-as/server/default/deploy/ncac.ear/ncacEJB.jar/",parent="ncac.ear"

          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1225)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

          at org.jboss.Main.boot(Main.java:229)

          at org.jboss.Main$1.call(Main.java:561)

          at org.jboss.Main$1.call(Main.java:557)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

          at java.util.concurrent.FutureTask.run(FutureTask.java:138)

          at java.lang.Thread.run(Thread.java:662)

      Caused by: java.lang.RuntimeException: No Attribute found with name: PolicyConfigurationFacadeMBean for jboss.jacc:service=jacc,id="vfszip:/D:/Nilesh1/working_software/JBoss5.2/jboss-eap-5.2/jboss-as/server/default/deploy/ncac.ear/ncacEJB.jar/",parent="ncac.ear", attributes: [JaccContextID, PolicyConfiguration]

          at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142)

          at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)

          at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)

          at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.install(ServiceController.java:274)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)

          ... 38 more

       

       

      My weblogic-ejb-jar.xml is :

      <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>

       

       

      <!-- Generated XML! -->

       

      <weblogic-ejb-jar>

        <weblogic-enterprise-bean>

          <ejb-name>CAPSFacade</ejb-name>

          <stateless-session-descriptor>

            <pool>

            </pool>

       

            <stateless-clustering>

            </stateless-clustering>

       

          </stateless-session-descriptor>

       

          <transaction-descriptor>

            <trans-timeout-seconds>90</trans-timeout-seconds>

          </transaction-descriptor>

       

          <reference-descriptor>

            <ejb-reference-description>

              <ejb-ref-name>CAPSFacade</ejb-ref-name>

              <jndi-name>com.experian.ncac.caps.CAPSFacade</jndi-name>

            </ejb-reference-description>

          </reference-descriptor>

       

          <jndi-name>caps.CAPSFacadeHome</jndi-name>

        </weblogic-enterprise-bean>

        <weblogic-enterprise-bean>

          <ejb-name>CAPSRequest</ejb-name>

          <stateless-session-descriptor>

            <pool>

            </pool>

       

            <stateless-clustering>

            </stateless-clustering>

       

          </stateless-session-descriptor>

       

          <transaction-descriptor>

            <trans-timeout-seconds>90</trans-timeout-seconds>

          </transaction-descriptor>

       

          <reference-descriptor>

            <ejb-reference-description>

              <ejb-ref-name>CAPSRequest</ejb-ref-name>

              <jndi-name>com.experian.ncac.caps.CAPSRequest</jndi-name>

            </ejb-reference-description>

          </reference-descriptor>

       

          <jndi-name>caps.CAPSRequestHome</jndi-name>

        </weblogic-enterprise-bean>

      </weblogic-ejb-jar>

       

      and My Jboss.xml:

       

      <jboss>

       

         <enterprise-beans>

          <session>

            <ejb-name>CAPSFacade</ejb-name>

            <jndi-name>caps.CAPSFacadeHome</jndi-name>

           </session>

          <session>

            <ejb-name>CAPSRequest</ejb-name>

            <jndi-name>caps.CAPSRequestHome</jndi-name>

          </session>

        </enterprise-beans>

       

       

        <resource-managers>

          </resource-managers>

       

        </jboss>