Details

      Description

      Starting from 1.0.0.Beta4 JBoss OSGi can handle WAR deployments in JBoss.
      Disable the ordinary webapp deployment to Tomcat for these bundles.

      Later the JBoss Web Service should be enabled to handle OSGi WAR deployments.
      i.e. there would be just one service to handle WARs

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            thomas.diesler Thomas Diesler added a comment -

            Done in jboss-osgi-deployers

            /**

            • Sets the default relative order.
              */
              public BundleStructureDeployer() { // WARStructure: 1000 // JARStructure: 10000 setRelativeOrder(500); }
            Show
            thomas.diesler Thomas Diesler added a comment - Done in jboss-osgi-deployers /** Sets the default relative order. */ public BundleStructureDeployer() { // WARStructure: 1000 // JARStructure: 10000 setRelativeOrder(500); }
            Hide
            thomas.diesler Thomas Diesler added a comment -

            Revisit for *.war deployments

            Show
            thomas.diesler Thomas Diesler added a comment - Revisit for *.war deployments
            Hide
            thomas.diesler Thomas Diesler added a comment -

            Fixed in LegacyWebXmlLessDeployer

            // Detect and ignore OSGi WAR deployments
            // FIXME Use typed OSGiMetaData when we have it available at runtime
            String bundleSymbolicName = (String) unit.getAttachment("org.jboss.osgi.bundle.symbolic.name");
            if (bundleSymbolicName != null)

            { log.debug("Ignore OSGi webapp: " + bundleSymbolicName); return; }
            Show
            thomas.diesler Thomas Diesler added a comment - Fixed in LegacyWebXmlLessDeployer // Detect and ignore OSGi WAR deployments // FIXME Use typed OSGiMetaData when we have it available at runtime String bundleSymbolicName = (String) unit.getAttachment("org.jboss.osgi.bundle.symbolic.name"); if (bundleSymbolicName != null) { log.debug("Ignore OSGi webapp: " + bundleSymbolicName); return; }

              People

              • Assignee:
                thomas.diesler Thomas Diesler
                Reporter:
                thomas.diesler Thomas Diesler
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development