Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6425

AbstractSecurityDeployer assumes VFSDeploymentUnit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.1.0.CR1
    • JBossAS-5.0.0.GA
    • Security
    • None

      Caused by: java.lang.ClassCastException: org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit cannot be cast to org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit
      at org.jboss.deployment.security.AbstractSecurityDeployer.deploy(AbstractSecurityDeployer.java:148)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

      In AbstractSecurityDeployer this code

      // if policy registration has been set, check the deployments for XACML and ACL configuration files.
      if (this.policyRegistration != null)
      {
      VFSDeploymentUnit deploymentUnit = (VFSDeploymentUnit) unit;

      assumes that you pass in a VFSDeploymentUnit

      ... it might mean you cannot deploy WebMetaData dynamically in AS50

        There are no Sub-Tasks for this issue.

            anil.saldhana Anil Saldanha (Inactive)
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: