XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M2
    • None
    • None
    • None

      As we discussed, looks like an inadvertent incorrect URL value got introduced; the 6.0.0.M1 value is correct.

      Index: org/jboss/web/deployers/AbstractWarDeployment.java
      ===================================================================
      — org/jboss/web/deployers/AbstractWarDeployment.java (.../tags/JBoss_6_0_0_M1/server/src/main) (revision 97312)
      +++ org/jboss/web/deployers/AbstractWarDeployment.java (.../trunk/server/src/main/java) (revision 97312)
      @@ -37,7 +37,6 @@
      import javax.naming.NamingException;

      import org.jboss.beans.metadata.api.annotations.Inject;
      -import org.jboss.bootstrap.api.as.config.JBossASServerConfig;
      import org.jboss.deployers.structure.spi.DeploymentUnit;
      import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
      import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
      @@ -69,9 +68,10 @@
      import org.jboss.security.ISecurityManagement;
      import org.jboss.security.SecurityConstants;
      import org.jboss.security.authorization.PolicyRegistration;
      -import org.jboss.virtual.VFSUtils;
      import org.jboss.web.WebApplication;
      import org.jboss.wsf.spi.deployment.UnifiedVirtualFile;
      +import org.jboss.virtual.VFSUtils;
      +import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
      import org.omg.CORBA.ORB;

      /**
      @@ -85,7 +85,7 @@

      • performUndeploy(WebApplication webApp, String warUrl) to remove the application
        corresponding to the WebApplication data. This is called when the
        AbstractWarDeployment is stopped.
        -
        +
        The one thing to be aware of is the relationship between the thread context
        class loader and the JNDI ENC context. Any method that attempts to access
        the JNDI ENC context must have the ClassLoader in the WebApplication returned
        @@ -169,7 +169,7 @@
        */
        public static String shortWarUrlFromServerHome(String warUrl)
        {
      • String serverHomeUrl = System.getProperty(JBossASServerConfig.PROP_KEY_JBOSSAS_SERVER_HOME_URL);
        + String serverHomeUrl = System.getProperty(JBossASServerConfig.PROP_KEY_JBOSSAS_HOME_URL);

      if (warUrl == null || serverHomeUrl == null)
      return warUrl;
      @@ -348,7 +348,7 @@

      /**

      • Get the securityManagement.

              arubinge@redhat.com Andrew Rubinger (Inactive)
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: