1 Reply Latest reply on Apr 5, 2011 7:17 PM by susmit_shukla

    Deploying a war bundle to OSGi embedded container

    susmit_shukla

      Does arquillian embedded container for OSGi support deploying web bundles packaged as war? while deploying a OSGi web bundle to arquillian embedded container (that is deployed successfully to other osgi containers) following error occurs:

       

      org.osgi.framework.BundleException: Cannot create deployment from: "/D:/sample/arquillian-osgi-embedded1/helloworld.war"

          at org.jboss.osgi.framework.plugin.internal.BundleDeploymentPluginImpl.createDeployment(BundleDeploymentPluginImpl.java:333)

          at org.jboss.osgi.framework.plugin.internal.BundleDeploymentPluginImpl.createDeployment(BundleDeploymentPluginImpl.java:78)

          at org.jboss.osgi.framework.bundle.AbstractBundleContext.installBundleInternal(AbstractBundleContext.java:228)

          at org.jboss.osgi.framework.bundle.AbstractBundleContext.installBundle(AbstractBundleContext.java:143)

          at org.jboss.osgi.framework.bundle.BundleContextWrapper.installBundle(BundleContextWrapper.java:79)

          at org.jboss.arquillian.container.osgi.embedded.OSGiEmbeddedFrameworkTestCase.testBundleContextInjection(OSGiEmbeddedFrameworkTestCase.java:78)

        • 1. Deploying a war bundle to OSGi embedded container
          susmit_shukla

          Is war deployment supported with OSGi embedded container?

          It would be helpful if someone has pointers to deploying a war to local/remote osgi+app server container through arquillian.

           

          One more question, is only JBOSS AS is supported for remote OSGi container or could the deployments work for another container such as Virgo?