8 Replies Latest reply on Mar 19, 2008 12:15 PM by anil.saldhana

    Broken object names in jacc

      I've done a basic fix to this, but I'm still seeing other problems.

      The first I saw was object names without values, e.g.
      jboss.jacc:id=,service=jacc
      which is not a valid JMX object name.

      Since you can't guarantee the a deployment unit doesn't contain
      an invalid character for a JMX object name, I quoted the properties
      in AbstractSecurityDeployer

      But now I'm seeing this error when trying to run web integration tests

      16:55:15,867 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/home/ejort/jboss-head/testsuite/output/lib/class-loading.war state=PreReal mode=Manual requiredState=Real
      org.jboss.deployment.DeploymentException: Error during install jboss.jacc:service=jacc,id=""
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
       at org.jboss.system.ServiceController.install(ServiceController.java:277)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
       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:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
      


      So there's obviously something wrong with the way you are generating
      object names.