[jboss-jira] [JBoss JIRA] (JGRP-1933) Please enable dynamic imports on JGroups (3.5.1.Final) and upwards
Susan Javurek (JIRA)
issues at jboss.org
Thu Jun 4 09:26:02 EDT 2015
[ https://issues.jboss.org/browse/JGRP-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13074154#comment-13074154 ]
Susan Javurek edited comment on JGRP-1933 at 6/4/15 9:25 AM:
-------------------------------------------------------------
Thank you, what's a PR?
Also, yes, it is just in the pom file, i.e:
{code}
<plugin>
<groupId>org.apache.felix</groupId>
...
<configuration>
<instructions>
<Bundle-SymbolicName>camel-blueprint</Bundle-SymbolicName>
<Import-Package>*</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
</instructions>
</configuration>
...
</plugin>
{code}
Also, customer originally downloaded the jar from: http://mvnrepository.com/artifact/org.jgroups/jgroups/3.5.1.Final so it is a community version as opposed to an RH distribution
was (Author: sjavurek):
Thank you, what's a PR?
Also, yes, it is just in the pom file, i.e:
{code}
<plugin>
<groupId>org.apache.felix</groupId>
...
<configuration>
<instructions>
<Bundle-SymbolicName>camel-blueprint</Bundle-SymbolicName>
<Import-Package>*</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
</instructions>
</configuration>
...
</plugin>
{code}
> Please enable dynamic imports on JGroups (3.5.1.Final) and upwards
> ------------------------------------------------------------------
>
> Key: JGRP-1933
> URL: https://issues.jboss.org/browse/JGRP-1933
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 3.5.1
> Reporter: Susan Javurek
> Assignee: Bela Ban
> Fix For: 3.5.1
>
>
> We've run into an issue deploying JGroups inside Fuse where we end up with a class not found exception:
> {code}
> java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: net.sf.ehcache.distribution.jgroups.JGroupEventMessage
> {code}
> In OSGi there is a command dynamic-imports that allows us change a deployed bundle so that it uses dynamic-imports. For example:
> {code}
> [ 310] [Active ] [Created ] [ ] [ 60] My Application Implementation (0.0.26)
> [ 372] [Active ] [ ] [ ] [ 60] jgroupreplication.wrapper (1.7.0)
> [ 374] [Active ] [ ] [ ] [ 60] JGroups (3.5.1.Final)
> {code}
> Running the following command resolves our wiring problem:
> {code}
> JBossFuse:karaf at root> dynamic-import 374
> Enabling dynamic imports on bundle JGroups (3.5.1.Final) [374]
> {code}
> Would it be possible to build this jar with:
> <DynamicImport-Package>*</DynamicImport-Package>
> In place?
> The customer in question has this featured deployed in many containers and manually logging into all the containers to run this command is not a good use of time.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list