Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ESB-1620
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Gert Vanthienen
Reporter: Jason Sherman
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
FUSE ESB

Wrap Protocol from PAX URL to provision a non-OSGi-ready artifact producing "Should not skip: ^" output

Created: 13/Jan/12 03:55 PM   Updated: 06/Feb/12 10:42 PM
Component/s: None
Affects Version/s: 4.4.1-fuse-01-06
Fix Version/s: 4.4.1-fuse-02-xx

File Attachments: 1. Java Archive File guava-r09.jar (1.09 MB)
2. Java Archive File JBossAll.jar (6.11 MB)
3. XML File maven-metadata-local.xml (0.3 kB)
4. Java Archive File pax-url-wrap-1.2.6.fuse-SNAPSHOT.jar (328 kB)
5. Java Archive File pax-url-wrap-1.2.6.fuse-SNAPSHOT.jar (333 kB)

Environment: 4.4.1-fuse-01-13


 Description  « Hide
When using the wrap protocol from PAX URL to provision a non-OSGi-ready artifact the following output is produced and customer would like to have it surpressed. The following shows an example when installing com.google.guava/guava/r09...
karaf@root> osgi:install wrap:mvn:com.google.guava/guava/r09
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Bundle ID: 249
karaf@root>


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jason Sherman added a comment - 13/Jan/12 04:04 PM
Attached jar file that reproduces issue.

Jason Sherman added a comment - 13/Jan/12 05:20 PM
I tested this with the latest version of guava (11.0.1) and I get the same result...
karaf@root> osgi:install wrap:mvn:com.google.guava/guava/11.0.1
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Should not skip: ^
Bundle ID: 251
karaf@root>

Gert Vanthienen added a comment - 19/Jan/12 09:46 AM
The upcoming 1.4.0 release of pax-url-wrap should fix the issue - I just tried with the latest snapshot and the warnings are no longer there:
karaf@root> osgi:list -t 0 | grep "wrap:"
[   1] [Active     ] [            ] [       ] [    5] OPS4J Pax Url - wrap: (1.4.0.SNAPSHOT)
karaf@root> osgi:install wrap:mvn:com.google.guava/guava/r09
Bundle ID: 218

Jason Sherman added a comment - 03/Feb/12 03:18 PM
Attached JBossAll.jar which is causes a uses conflict when being wrapped by pax-url-wrap-1.4.0-SNAPSHOT

Gert Vanthienen added a comment - 06/Feb/12 10:42 PM
Upgraded to the Pax URL 1.2.6.fuse-01 release in the karaf-2.2.2-fuse-02 branch
commit 30d02884bdf241067eac80c500be5966a5cd64a7 (fuse/karaf-2.2.2-fuse-02, karaf-2.2.2-fuse-02)
Author: Gert Vanthienen <gert.vanthienen@java.eu>
Date:   Mon Feb 6 23:03:10 2012 +0100

    ESB-1620: Upgrade to Pax URL 1.2.6.fuse-01