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

    Deploying a war bundle to OSGi embedded container

    susmit Shukla Newbie

      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)