You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Steffen Gürtler (JIRA)" <ji...@apache.org> on 2010/08/23 14:35:47 UTC

[jira] Created: (SMX4-581) xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode

xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode
-------------------------------------------------------------------------------------------------------------------------------

                 Key: SMX4-581
                 URL: https://issues.apache.org/activemq/browse/SMX4-581
             Project: ServiceMix 4
          Issue Type: Bug
          Components: Bundles
         Environment: Using the bundle outside of the service mix project as osgi-bundle of XPP3 implementation
            Reporter: Steffen Gürtler
            Priority: Minor


Used version (in maven location format);
		<dependency>
			<groupId>org.apache.servicemix.bundles</groupId>
			<artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
			<version>1.1.4c_1</version>
		</dependency>

The xml pull parser is not working with giving the implementation class names to the XmlPullParserFactory newInstance due the missing service configuration file.

Exception given below:

Caused by: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
        at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294) ~[org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar:na]

IMO, this service config file should be part of the bundle.

Workaround: We created a fragment bundle containing that file.
META-INF/services/org.xmlpull.v1.XmlPullParserFactory content:
org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer



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


[jira] Updated: (SMX4-581) xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode

Posted by "Steffen Gürtler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steffen Gürtler updated SMX4-581:
---------------------------------

    Description: 
Used version (in maven location format);
		<dependency>
			<groupId>org.apache.servicemix.bundles</groupId>
			<artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
			<version>1.1.4c_1</version>
		</dependency>

The xml pull parser is not working without giving the implementation class names to the XmlPullParserFactory newInstance due the missing service configuration file.
{{newinstance(null, null)}}
To simplify usage and to support working with the bundle as with the actual implementation jar file, this should work.

Exception given below:

Caused by: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
        at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294) ~[org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar:na]

IMO, this service config file should be part of the bundle.

Workaround: We created a fragment bundle containing that file.
META-INF/services/org.xmlpull.v1.XmlPullParserFactory content:
org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer



  was:
Used version (in maven location format);
		<dependency>
			<groupId>org.apache.servicemix.bundles</groupId>
			<artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
			<version>1.1.4c_1</version>
		</dependency>

The xml pull parser is not working with giving the implementation class names to the XmlPullParserFactory newInstance due the missing service configuration file.

Exception given below:

Caused by: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
        at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294) ~[org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar:na]

IMO, this service config file should be part of the bundle.

Workaround: We created a fragment bundle containing that file.
META-INF/services/org.xmlpull.v1.XmlPullParserFactory content:
org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer




Edited description

> xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-581
>                 URL: https://issues.apache.org/activemq/browse/SMX4-581
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>         Environment: Using the bundle outside of the service mix project as osgi-bundle of XPP3 implementation
>            Reporter: Steffen Gürtler
>            Priority: Minor
>
> Used version (in maven location format);
> 		<dependency>
> 			<groupId>org.apache.servicemix.bundles</groupId>
> 			<artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
> 			<version>1.1.4c_1</version>
> 		</dependency>
> The xml pull parser is not working without giving the implementation class names to the XmlPullParserFactory newInstance due the missing service configuration file.
> {{newinstance(null, null)}}
> To simplify usage and to support working with the bundle as with the actual implementation jar file, this should work.
> Exception given below:
> Caused by: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
>         at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294) ~[org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar:na]
> IMO, this service config file should be part of the bundle.
> Workaround: We created a fragment bundle containing that file.
> META-INF/services/org.xmlpull.v1.XmlPullParserFactory content:
> org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer

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


[jira] Assigned: (SMX4-581) xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned SMX4-581:
-----------------------------------------

    Assignee: Jean-Baptiste Onofré

> xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-581
>                 URL: https://issues.apache.org/activemq/browse/SMX4-581
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>         Environment: Using the bundle outside of the service mix project as osgi-bundle of XPP3 implementation
>            Reporter: Steffen Gürtler
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> Used version (in maven location format);
> 		<dependency>
> 			<groupId>org.apache.servicemix.bundles</groupId>
> 			<artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
> 			<version>1.1.4c_1</version>
> 		</dependency>
> The xml pull parser is not working without giving the implementation class names to the XmlPullParserFactory newInstance due the missing service configuration file.
> {{newinstance(null, null)}}
> To simplify usage and to support working with the bundle as with the actual implementation jar file, this should work.
> Exception given below:
> Caused by: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
>         at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294) ~[org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar:na]
> IMO, this service config file should be part of the bundle.
> Workaround: We created a fragment bundle containing that file.
> META-INF/services/org.xmlpull.v1.XmlPullParserFactory content:
> org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer

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


[jira] Resolved: (SMX4-581) xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SMX4-581.
---------------------------------------

    Fix Version/s: 4.4.0
       Resolution: Fixed

Revision 988834.

> xpp3 bundle is missing META-INF/services/org.xmlpull.v1.XmlPullParserFactory needed to support zero configuation operation mode
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-581
>                 URL: https://issues.apache.org/activemq/browse/SMX4-581
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>         Environment: Using the bundle outside of the service mix project as osgi-bundle of XPP3 implementation
>            Reporter: Steffen Gürtler
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.4.0
>
>
> Used version (in maven location format);
> 		<dependency>
> 			<groupId>org.apache.servicemix.bundles</groupId>
> 			<artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
> 			<version>1.1.4c_1</version>
> 		</dependency>
> The xml pull parser is not working without giving the implementation class names to the XmlPullParserFactory newInstance due the missing service configuration file.
> {{newinstance(null, null)}}
> To simplify usage and to support working with the bundle as with the actual implementation jar file, this should work.
> Exception given below:
> Caused by: org.xmlpull.v1.XmlPullParserException: caused by: org.xmlpull.v1.XmlPullParserException: resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing XmlPull API is available
>         at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294) ~[org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar:na]
> IMO, this service config file should be part of the bundle.
> Workaround: We created a fragment bundle containing that file.
> META-INF/services/org.xmlpull.v1.XmlPullParserFactory content:
> org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer

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