You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/11/13 10:14:52 UTC

[jira] Commented: (SMX4-426) Redundancy in bundles/versions for PAX-WEB between feature file of ServiceMix 4.1.0-SNAPSHOT and Karaf 1.1.0-SNAPSHOT

    [ https://issues.apache.org/activemq/browse/SMX4-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55377#action_55377 ] 

Charles Moulliard commented on SMX4-426:
----------------------------------------

@Freeman,

Changing the version number of pax-web is not enough. The feature file of ServiceMix must be refactored. 

Why : this file proposes two features called : web and web-core while karaf has a http feature. 

I propose that we web features stay in karaf features file and is extended to contain jsp support and pax-url-war to deploy a WAR bundle

<feature name="http" version="1.2.0-SNAPSHOT">
   <bundle>mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1.2</bundle>
    <!-- Web container -->
   <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jetty-bundle/6.1.14_1</bundle>
   <feature version="0.6.0">pax-web</feature>
</feature>

<feature name="pax-web" version="0.6.0">
   <config name="org.ops4j.pax.web">
          org.osgi.service.http.port=8181
   </config>
   <bundle>mvn:org.ops4j.pax.web/pax-web-bundle/0.6.0</bundle>
   <!-- war support -->
   <bundle>mvn:org.ops4j.pax.web-extender/pax-web-ex-war/0.5.1</bundle>
   <!-- jsp support -->
   <bundle>mvn:org.ops4j.pax.web/pax-web-jsp/0.5.1</bundle>
   <!-- Additional services support -->
   <bundle>mvn:org.ops4j.pax.web-extender/pax-web-ex-whiteboard/0.5.1</bundle>
   <!-- to allow to install war from mvn -->
   <bundle>mvn:org.ops4j.pax.url/pax-url-war/0.5.1</bundle>
</feature>

REMARK : 

I don't think that we need anymore : <bundle>mvn:org.apache.servicemix.war/org.apache.servicemix.war.deployer/4.1.0-SNAPSHOT</bundle> and
 

More info about pax web can be find here : http://wiki.ops4j.org/display/paxweb/Artifacts



> Redundancy in bundles/versions for PAX-WEB between feature file of ServiceMix 4.1.0-SNAPSHOT and Karaf 1.1.0-SNAPSHOT
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-426
>                 URL: https://issues.apache.org/activemq/browse/SMX4-426
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Charles Moulliard
>            Assignee: Freeman Fang
>             Fix For: 4.1.0
>
>
> There are redundancies and different bundles versions (concerning
> pax-web) between ServiceMix features proposed for Web module (see
> http://repository.apache.org/snapshots/org/apache/servicemix/apache-servicemix/4.1.0-SNAPSHOT/apache-servicemix-4.1.0-20091108.232317-29-features.xml)
> and what is defined in http feature of Apache Felix Karaf (see
> http://repository.apache.org/snapshots/org/apache/felix/karaf/apache-felix-karaf/1.2.0-SNAPSHOT/apache-felix-karaf-1.2.0-SNAPSHOT-features.xml)
> Remark : These features files are refered in the
> org.apache.felix.karaf.features.cfg of ServiceMix 4.0
> In feature file of ServiceMix :
> <feature name="web-core" version="4.1.0-SNAPSHOT">
> <bundle>mvn:org.ops4j.pax.web/pax-web-jsp/0.5.2</bundle>
> <bundle>mvn:org.ops4j.pax.web/pax-web-bundle/0.5.2</bundle>
> </feature>
> <feature name="web" version="4.1.0-SNAPSHOT">
> <feature version="4.1.0-SNAPSHOT">web-core</feature>
> <bundle>mvn:org.ops4j.pax.web-extender/pax-web-ex-war/0.5.0</bundle>
> <bundle>mvn:org.ops4j.pax.web-extender/pax-web-ex-whiteboard/0.5.0</bundle>
> <bundle>mvn:org.ops4j.pax.url/pax-url-war/1.0.0</bundle>
> <bundle>mvn:org.apache.servicemix.war/org.apache.servicemix.war.deployer/4.1.0-SNAPSHOT</bundle>
> </feature>
> In feature file of Apache Felix Karaf :
> <feature name="http" version="1.2.0-SNAPSHOT">
> <bundle>mvn:org.ops4j.pax.web/pax-web-bundle/0.6.0</bundle>
> </feature>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.