[ 
http://issues.ops4j.org/browse/PAXRUNNER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783#action_12783
 ] 

Alin Dreghiciu commented on PAXRUNNER-295:
------------------------------------------

Pax Runner is right ;) Your war is not an osgi bundle so it cannot be deployed 
into an OSGi framework as is.
That is why we have the war: protocol handler. So, add war: in front of your 
war url as in:

war:mvn:com.xpectis.x3s/helloworld/1.0-SNAPSHOT/war

Simple? ;)

> Can't run PAX-RUNNER with a bundle defined with extension /war & --log=debug 
> does not work
> ------------------------------------------------------------------------------------------
>
>                 Key: PAXRUNNER-295
>                 URL: http://issues.ops4j.org/browse/PAXRUNNER-295
>             Project: Pax Runner
>          Issue Type: Bug
>            Reporter: Charles Moulliard
>            Assignee: Alin Dreghiciu
>
> Hi,
> I try to run PAX-runner with the following bundle list but I receive an error 
> :
> mvn:org.ops4j.pax.logging/pax-logging-api
> mvn:org.ops4j.pax.logging/pax-logging-service
> mvn:org.ops4j.pax.web/pax-web-bundle
> mvn:org.apache.wicket/wicket/1.4.1
> mvn:org.apache.wicket/wicket-ioc/1.4.1
> mvn:org.apache.wicket/wicket-spring/1.4.1
> mvn:org.apache.wicket/wicket-extensions/1.4.1
> mvn:com.xpectis.x3s/helloworld/1.0-SNAPSHOT/war
>  -> Downloading bundles...
>  -> mvn:com.xpectis.x3s/helloworld/1.0-SNAPSHOT/war : connecting...
>          ___
>         /  /
>        /  / Oops, there has been a problem!
>       /  /
>      /__/   URL [mvn:com.xpectis.x3s/helloworld/1.0-SNAPSHOT/war] could not 
> be resolved.
>     ___
>    /__/     Use --log=debug to see details.
> REMARK : OPTION --log=debug is not accepted
> pax-run --lr "C:/.m2/repository" --log=debug helloworld.bundles
> org.ops4j.pax.runner.provision.MalformedSpecificationException: Specification 
> [debug] could not be used

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to