You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by Guillaume Nodet <gn...@apache.org> on 2017/03/20 12:48:04 UTC

[VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

I've staged 4 bundles for vote:
  * Aries Proxy Api 1.1.0
  * Aries Proxy 1.1.0
  * Blueprint Core 1.8.0
  * Blueprint CM 1.1.0

The bundles are staged in the following repositories:
  https://repository.apache.org/content/repositories/orgapachearies-1102
  https://repository.apache.org/content/repositories/orgapachearies-1103

The changes are the following:

Proxy
  [ARIES-1706] Use Provide-Capability instead of Export-Service
 [ARIES-1659] Only produce the combined bundle

 [ARIES-1658] Require OSGi 4.3 and slf4j

 [ARIES-1657] Make proxy impl indepdendent of aries test support

 [ARIES-1656] Remove dependency to aries utils


Blueprint-Core

  [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
relative (case of jar:file:)

  [ARIES-1678] Add requirement for ProxyManager service

  [ARIES-1662] Fix behavior when Interceptor.preCall thows exception

  [ARIES-1660] Make blueprint independent from aries util

  [ARIES-960] Make sure X.class is assignable to Class<X>

  [ARIES-960] Support conversion from Iterable<String> to Iterable

  [ARIES-960] Improve error message when unable to find a matching
constructor / method


Blueprint-CM

  [ARIES-1660] Make blueprint independent from aries util

Please review and vote.

Cheers,
Guillaume Nodet

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Guillaume Nodet <gn...@apache.org>.
Do you use the newer RC from the repo 1104 ?
You obviously need to clean your local repo of the previous attempt ;-)

If so, unless Christian has any idea, I'll revert the changes related to
aries-util to get the real blueprint fixes out.

2017-03-20 15:03 GMT+01:00 Grzegorz Grzybek <gr...@gmail.com>:

> I'm seeing some:
>
> ERROR: Bundle org.apache.aries.blueprint.core [18] Error stopping bundle.
> > (java.lang.IllegalStateException: Service already unregistered.)
> > java.lang.IllegalStateException: Service already unregistered.
> >     at
> > org.apache.felix.framework.ServiceRegistrationImpl.unregister(
> ServiceRegistrationImpl.java:124)
> >     at
> > org.apache.aries.util.tracker.hook.BundleHookBundleTracker.
> close(BundleHookBundleTracker.java:88)
> >     at
> > org.apache.aries.util.tracker.RecursiveBundleTracker.close(
> RecursiveBundleTracker.java:106)
> >     at
> > org.apache.aries.blueprint.container.BlueprintExtender.
> stop(BlueprintExtender.java:187)
> >     at
> > org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.
> java:667)
> >     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
> >     at
> > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
> >     at
> > org.apache.felix.framework.FrameworkStartLevelImpl.run(
> FrameworkStartLevelImpl.java:304)
> >     at java.lang.Thread.run(Thread.java:745)
> > java.lang.IllegalStateException: Service already unregistered.
> >     at
> > org.apache.felix.framework.ServiceRegistrationImpl.unregister(
> ServiceRegistrationImpl.java:124)
> >     at
> > org.apache.aries.util.tracker.hook.BundleHookBundleTracker.
> close(BundleHookBundleTracker.java:88)
> >     at
> > org.apache.aries.util.tracker.RecursiveBundleTracker.close(
> RecursiveBundleTracker.java:106)
> >     at
> > org.apache.aries.blueprint.container.BlueprintExtender.
> stop(BlueprintExtender.java:187)
> >     at
> > org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.
> java:667)
> >     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
> >     at
> > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
> >     at
> > org.apache.felix.framework.FrameworkStartLevelImpl.run(
> FrameworkStartLevelImpl.java:304)
> >     at java.lang.Thread.run(Thread.java:745)
> >
>
> and testing further (it's old 2.4 env, but there were no problems with
> bp.core 1.7.1 and bp.cm 1.0.9)...
>
> regards
> Grzegorz Grzybek
>
> 2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:
>
> > I've staged 4 bundles for vote:
> >   * Aries Proxy Api 1.1.0
> >   * Aries Proxy 1.1.0
> >   * Blueprint Core 1.8.0
> >   * Blueprint CM 1.1.0
> >
> > The bundles are staged in the following repositories:
> >   https://repository.apache.org/content/repositories/orgapachearies-1102
> >   https://repository.apache.org/content/repositories/orgapachearies-1103
> >
> > The changes are the following:
> >
> > Proxy
> >   [ARIES-1706] Use Provide-Capability instead of Export-Service
> >  [ARIES-1659] Only produce the combined bundle
> >
> >  [ARIES-1658] Require OSGi 4.3 and slf4j
> >
> >  [ARIES-1657] Make proxy impl indepdendent of aries test support
> >
> >  [ARIES-1656] Remove dependency to aries utils
> >
> >
> > Blueprint-Core
> >
> >   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> > relative (case of jar:file:)
> >
> >   [ARIES-1678] Add requirement for ProxyManager service
> >
> >   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> >   [ARIES-960] Make sure X.class is assignable to Class<X>
> >
> >   [ARIES-960] Support conversion from Iterable<String> to Iterable
> >
> >   [ARIES-960] Improve error message when unable to find a matching
> > constructor / method
> >
> >
> > Blueprint-CM
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> > Please review and vote.
> >
> > Cheers,
> > Guillaume Nodet
> >
>



-- 
------------------------
Guillaume Nodet

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Christian Schneider <ch...@die-schneider.net>.
+1

Christian

2017-03-20 15:03 GMT+01:00 Grzegorz Grzybek <gr...@gmail.com>:

> I'm seeing some:
>
> ERROR: Bundle org.apache.aries.blueprint.core [18] Error stopping bundle.
> > (java.lang.IllegalStateException: Service already unregistered.)
> > java.lang.IllegalStateException: Service already unregistered.
> >     at
> > org.apache.felix.framework.ServiceRegistrationImpl.unregister(
> ServiceRegistrationImpl.java:124)
> >     at
> > org.apache.aries.util.tracker.hook.BundleHookBundleTracker.
> close(BundleHookBundleTracker.java:88)
> >     at
> > org.apache.aries.util.tracker.RecursiveBundleTracker.close(
> RecursiveBundleTracker.java:106)
> >     at
> > org.apache.aries.blueprint.container.BlueprintExtender.
> stop(BlueprintExtender.java:187)
> >     at
> > org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.
> java:667)
> >     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
> >     at
> > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
> >     at
> > org.apache.felix.framework.FrameworkStartLevelImpl.run(
> FrameworkStartLevelImpl.java:304)
> >     at java.lang.Thread.run(Thread.java:745)
> > java.lang.IllegalStateException: Service already unregistered.
> >     at
> > org.apache.felix.framework.ServiceRegistrationImpl.unregister(
> ServiceRegistrationImpl.java:124)
> >     at
> > org.apache.aries.util.tracker.hook.BundleHookBundleTracker.
> close(BundleHookBundleTracker.java:88)
> >     at
> > org.apache.aries.util.tracker.RecursiveBundleTracker.close(
> RecursiveBundleTracker.java:106)
> >     at
> > org.apache.aries.blueprint.container.BlueprintExtender.
> stop(BlueprintExtender.java:187)
> >     at
> > org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.
> java:667)
> >     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
> >     at
> > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
> >     at
> > org.apache.felix.framework.FrameworkStartLevelImpl.run(
> FrameworkStartLevelImpl.java:304)
> >     at java.lang.Thread.run(Thread.java:745)
> >
>
> and testing further (it's old 2.4 env, but there were no problems with
> bp.core 1.7.1 and bp.cm 1.0.9)...
>
> regards
> Grzegorz Grzybek
>
> 2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:
>
> > I've staged 4 bundles for vote:
> >   * Aries Proxy Api 1.1.0
> >   * Aries Proxy 1.1.0
> >   * Blueprint Core 1.8.0
> >   * Blueprint CM 1.1.0
> >
> > The bundles are staged in the following repositories:
> >   https://repository.apache.org/content/repositories/orgapachearies-1102
> >   https://repository.apache.org/content/repositories/orgapachearies-1103
> >
> > The changes are the following:
> >
> > Proxy
> >   [ARIES-1706] Use Provide-Capability instead of Export-Service
> >  [ARIES-1659] Only produce the combined bundle
> >
> >  [ARIES-1658] Require OSGi 4.3 and slf4j
> >
> >  [ARIES-1657] Make proxy impl indepdendent of aries test support
> >
> >  [ARIES-1656] Remove dependency to aries utils
> >
> >
> > Blueprint-Core
> >
> >   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> > relative (case of jar:file:)
> >
> >   [ARIES-1678] Add requirement for ProxyManager service
> >
> >   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> >   [ARIES-960] Make sure X.class is assignable to Class<X>
> >
> >   [ARIES-960] Support conversion from Iterable<String> to Iterable
> >
> >   [ARIES-960] Improve error message when unable to find a matching
> > constructor / method
> >
> >
> > Blueprint-CM
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> > Please review and vote.
> >
> > Cheers,
> > Guillaume Nodet
> >
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Open Source Architect
http://www.talend.com
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Grzegorz Grzybek <gr...@gmail.com>.
I'm seeing some:

ERROR: Bundle org.apache.aries.blueprint.core [18] Error stopping bundle.
> (java.lang.IllegalStateException: Service already unregistered.)
> java.lang.IllegalStateException: Service already unregistered.
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
>     at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88)
>     at
> org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106)
>     at
> org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:187)
>     at
> org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
>     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
>     at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
>     at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
>     at java.lang.Thread.run(Thread.java:745)
> java.lang.IllegalStateException: Service already unregistered.
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
>     at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88)
>     at
> org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106)
>     at
> org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:187)
>     at
> org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
>     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
>     at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
>     at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
>     at java.lang.Thread.run(Thread.java:745)
>

and testing further (it's old 2.4 env, but there were no problems with
bp.core 1.7.1 and bp.cm 1.0.9)...

regards
Grzegorz Grzybek

2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:

> I've staged 4 bundles for vote:
>   * Aries Proxy Api 1.1.0
>   * Aries Proxy 1.1.0
>   * Blueprint Core 1.8.0
>   * Blueprint CM 1.1.0
>
> The bundles are staged in the following repositories:
>   https://repository.apache.org/content/repositories/orgapachearies-1102
>   https://repository.apache.org/content/repositories/orgapachearies-1103
>
> The changes are the following:
>
> Proxy
>   [ARIES-1706] Use Provide-Capability instead of Export-Service
>  [ARIES-1659] Only produce the combined bundle
>
>  [ARIES-1658] Require OSGi 4.3 and slf4j
>
>  [ARIES-1657] Make proxy impl indepdendent of aries test support
>
>  [ARIES-1656] Remove dependency to aries utils
>
>
> Blueprint-Core
>
>   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> relative (case of jar:file:)
>
>   [ARIES-1678] Add requirement for ProxyManager service
>
>   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>
>   [ARIES-1660] Make blueprint independent from aries util
>
>   [ARIES-960] Make sure X.class is assignable to Class<X>
>
>   [ARIES-960] Support conversion from Iterable<String> to Iterable
>
>   [ARIES-960] Improve error message when unable to find a matching
> constructor / method
>
>
> Blueprint-CM
>
>   [ARIES-1660] Make blueprint independent from aries util
>
> Please review and vote.
>
> Cheers,
> Guillaume Nodet
>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Guillaume Nodet <gn...@apache.org>.
+1

2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:

> I've staged 4 bundles for vote:
>   * Aries Proxy Api 1.1.0
>   * Aries Proxy 1.1.0
>   * Blueprint Core 1.8.0
>   * Blueprint CM 1.1.0
>
> The bundles are staged in the following repositories:
>   https://repository.apache.org/content/repositories/orgapachearies-1102
>   https://repository.apache.org/content/repositories/orgapachearies-1103
>
> The changes are the following:
>
> Proxy
>   [ARIES-1706] Use Provide-Capability instead of Export-Service
>  [ARIES-1659] Only produce the combined bundle
>
>  [ARIES-1658] Require OSGi 4.3 and slf4j
>
>  [ARIES-1657] Make proxy impl indepdendent of aries test support
>
>  [ARIES-1656] Remove dependency to aries utils
>
>
> Blueprint-Core
>
>   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> relative (case of jar:file:)
>
>   [ARIES-1678] Add requirement for ProxyManager service
>
>   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>
>   [ARIES-1660] Make blueprint independent from aries util
>
>   [ARIES-960] Make sure X.class is assignable to Class<X>
>
>   [ARIES-960] Support conversion from Iterable<String> to Iterable
>
>   [ARIES-960] Improve error message when unable to find a matching
> constructor / method
>
>
> Blueprint-CM
>
>   [ARIES-1660] Make blueprint independent from aries util
>
> Please review and vote.
>
> Cheers,
> Guillaume Nodet
>
>


-- 
------------------------
Guillaume Nodet

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Christian Schneider <ch...@die-schneider.net>.
I was just about to complain about the missing blueprint core jar. Great 
you already found and fixed it.
So look all good from my side.

Christian

On 20.03.2017 16:53, Guillaume Nodet wrote:
> I've uploaded a new release of blueprint-core 1.8.0 at
>    https://repository.apache.org/content/repositories/orgapachearies-1104
> which actually embeds utils 1.1.3 instead of the old utils 1.1.0, as
> pointed out by Grzegorz (thx !).
>
> 2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:
>
>> I've staged 4 bundles for vote:
>>    * Aries Proxy Api 1.1.0
>>    * Aries Proxy 1.1.0
>>    * Blueprint Core 1.8.0
>>    * Blueprint CM 1.1.0
>>
>> The bundles are staged in the following repositories:
>>    https://repository.apache.org/content/repositories/orgapachearies-1102
>>    https://repository.apache.org/content/repositories/orgapachearies-1103
>>
>> The changes are the following:
>>
>> Proxy
>>    [ARIES-1706] Use Provide-Capability instead of Export-Service
>>   [ARIES-1659] Only produce the combined bundle
>>
>>   [ARIES-1658] Require OSGi 4.3 and slf4j
>>
>>   [ARIES-1657] Make proxy impl indepdendent of aries test support
>>
>>   [ARIES-1656] Remove dependency to aries utils
>>
>>
>> Blueprint-Core
>>
>>    [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
>> relative (case of jar:file:)
>>
>>    [ARIES-1678] Add requirement for ProxyManager service
>>
>>    [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>>
>>    [ARIES-1660] Make blueprint independent from aries util
>>
>>    [ARIES-960] Make sure X.class is assignable to Class<X>
>>
>>    [ARIES-960] Support conversion from Iterable<String> to Iterable
>>
>>    [ARIES-960] Improve error message when unable to find a matching
>> constructor / method
>>
>>
>> Blueprint-CM
>>
>>    [ARIES-1660] Make blueprint independent from aries util
>>
>> Please review and vote.
>>
>> Cheers,
>> Guillaume Nodet
>>
>>
>


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Grzegorz Grzybek <gr...@gmail.com>.
The problem was missing fix for
https://issues.apache.org/jira/browse/ARIES-983 in aries-util-1.0.0
embedded in blueprint.core-1.8.0

~Grzegorz

2017-03-20 16:53 GMT+01:00 Guillaume Nodet <gn...@apache.org>:

> I've uploaded a new release of blueprint-core 1.8.0 at
>   https://repository.apache.org/content/repositories/orgapachearies-1104
> which actually embeds utils 1.1.3 instead of the old utils 1.1.0, as
> pointed out by Grzegorz (thx !).
>
> 2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:
>
> > I've staged 4 bundles for vote:
> >   * Aries Proxy Api 1.1.0
> >   * Aries Proxy 1.1.0
> >   * Blueprint Core 1.8.0
> >   * Blueprint CM 1.1.0
> >
> > The bundles are staged in the following repositories:
> >   https://repository.apache.org/content/repositories/orgapachearies-1102
> >   https://repository.apache.org/content/repositories/orgapachearies-1103
> >
> > The changes are the following:
> >
> > Proxy
> >   [ARIES-1706] Use Provide-Capability instead of Export-Service
> >  [ARIES-1659] Only produce the combined bundle
> >
> >  [ARIES-1658] Require OSGi 4.3 and slf4j
> >
> >  [ARIES-1657] Make proxy impl indepdendent of aries test support
> >
> >  [ARIES-1656] Remove dependency to aries utils
> >
> >
> > Blueprint-Core
> >
> >   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> > relative (case of jar:file:)
> >
> >   [ARIES-1678] Add requirement for ProxyManager service
> >
> >   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> >   [ARIES-960] Make sure X.class is assignable to Class<X>
> >
> >   [ARIES-960] Support conversion from Iterable<String> to Iterable
> >
> >   [ARIES-960] Improve error message when unable to find a matching
> > constructor / method
> >
> >
> > Blueprint-CM
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> > Please review and vote.
> >
> > Cheers,
> > Guillaume Nodet
> >
> >
>
>
> --
> ------------------------
> Guillaume Nodet
>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Guillaume Nodet <gn...@apache.org>.
I've uploaded a new release of blueprint-core 1.8.0 at
  https://repository.apache.org/content/repositories/orgapachearies-1104
which actually embeds utils 1.1.3 instead of the old utils 1.1.0, as
pointed out by Grzegorz (thx !).

2017-03-20 13:48 GMT+01:00 Guillaume Nodet <gn...@apache.org>:

> I've staged 4 bundles for vote:
>   * Aries Proxy Api 1.1.0
>   * Aries Proxy 1.1.0
>   * Blueprint Core 1.8.0
>   * Blueprint CM 1.1.0
>
> The bundles are staged in the following repositories:
>   https://repository.apache.org/content/repositories/orgapachearies-1102
>   https://repository.apache.org/content/repositories/orgapachearies-1103
>
> The changes are the following:
>
> Proxy
>   [ARIES-1706] Use Provide-Capability instead of Export-Service
>  [ARIES-1659] Only produce the combined bundle
>
>  [ARIES-1658] Require OSGi 4.3 and slf4j
>
>  [ARIES-1657] Make proxy impl indepdendent of aries test support
>
>  [ARIES-1656] Remove dependency to aries utils
>
>
> Blueprint-Core
>
>   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> relative (case of jar:file:)
>
>   [ARIES-1678] Add requirement for ProxyManager service
>
>   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>
>   [ARIES-1660] Make blueprint independent from aries util
>
>   [ARIES-960] Make sure X.class is assignable to Class<X>
>
>   [ARIES-960] Support conversion from Iterable<String> to Iterable
>
>   [ARIES-960] Improve error message when unable to find a matching
> constructor / method
>
>
> Blueprint-CM
>
>   [ARIES-1660] Make blueprint independent from aries util
>
> Please review and vote.
>
> Cheers,
> Guillaume Nodet
>
>


-- 
------------------------
Guillaume Nodet

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Grzegorz Grzybek <gr...@gmail.com>.
I got the difference.

It's: org.apache.aries.util.tracker.hook.BundleHookBundleTracker#close()

blueprint.core embeds aries.util 1.0.0 and 1.7.1 used 1.1.0.

In 1.0.0 we have:

  @Override
  public void close() {
    sr.unregister();
    tracked.close();
    tracked = null;
  }

and in 1.1.0 we have:

public void close() {
    Bundle[] bundles;
    BundleHookBundleTracker.Tracked outgoing;
    synchronized(this) {
        outgoing = this.tracked;
        if(outgoing == null) {
            return;
        }
        this.tracked.close();
        bundles = this.getBundles();
        this.tracked = null;
        try {
            this.sr.unregister();
        } catch (IllegalStateException var6) {
            ;
        }
    }
...

IMO it'd be better to have aries-util 1.1.3 in blueprint.core 1.8.0...

regards
Grzegorz

2017-03-20 15:59 GMT+01:00 Grzegorz Grzybek <gr...@gmail.com>:

> The exact exception is:
>
> java.lang.IllegalStateException: Service already unregistered.
>     at org.apache.felix.framework.ServiceRegistrationImpl.unregister(
> ServiceRegistrationImpl.java:124)
>     at org.apache.aries.util.tracker.hook.BundleHookBundleTracker.
> close(BundleHookBundleTracker.java:88)
>     at org.apache.aries.util.tracker.RecursiveBundleTracker.close(
> RecursiveBundleTracker.java:106)
>     at org.apache.aries.blueprint.container.BlueprintExtender.
> stop(BlueprintExtender.java:187)
>     at org.apache.felix.framework.util.SecureAction.
> stopActivator(SecureAction.java:667)
>     at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
>     at org.apache.felix.framework.Felix.setActiveStartLevel(
> Felix.java:1317)
>     at org.apache.felix.framework.FrameworkStartLevelImpl.run(
> FrameworkStartLevelImpl.java:304)
>     at java.lang.Thread.run(Thread.java:745)
>
> when system bundle is stopped, extender is stopped once and then, at
> start-level decrease it's stopped again. "ServiceUtil.
> safeUnregisterService(parserServiceReg);" is fine, but
> "((RecursiveBundleTracker) bt).close();" is throwing exception.
>
> regards
> Grzegorz
>
> 2017-03-20 15:18 GMT+01:00 Grzegorz Grzybek <gr...@gmail.com>:
>
>> Looks like it's my env, so "+1 (non-binding)"
>>
>> regards
>> Grzegorz Grzybek
>>
>> 2017-03-20 15:16 GMT+01:00 David Bosschaert <da...@gmail.com>:
>>
>>> +1
>>>
>>> David
>>>
>>> On 20 March 2017 at 13:48, Guillaume Nodet <gn...@apache.org> wrote:
>>>
>>> > I've staged 4 bundles for vote:
>>> >   * Aries Proxy Api 1.1.0
>>> >   * Aries Proxy 1.1.0
>>> >   * Blueprint Core 1.8.0
>>> >   * Blueprint CM 1.1.0
>>> >
>>> > The bundles are staged in the following repositories:
>>> >   https://repository.apache.org/content/repositories/orgapach
>>> earies-1102
>>> >   https://repository.apache.org/content/repositories/orgapach
>>> earies-1103
>>> >
>>> > The changes are the following:
>>> >
>>> > Proxy
>>> >   [ARIES-1706] Use Provide-Capability instead of Export-Service
>>> >  [ARIES-1659] Only produce the combined bundle
>>> >
>>> >  [ARIES-1658] Require OSGi 4.3 and slf4j
>>> >
>>> >  [ARIES-1657] Make proxy impl indepdendent of aries test support
>>> >
>>> >  [ARIES-1656] Remove dependency to aries utils
>>> >
>>> >
>>> > Blueprint-Core
>>> >
>>> >   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
>>> > relative (case of jar:file:)
>>> >
>>> >   [ARIES-1678] Add requirement for ProxyManager service
>>> >
>>> >   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>>> >
>>> >   [ARIES-1660] Make blueprint independent from aries util
>>> >
>>> >   [ARIES-960] Make sure X.class is assignable to Class<X>
>>> >
>>> >   [ARIES-960] Support conversion from Iterable<String> to Iterable
>>> >
>>> >   [ARIES-960] Improve error message when unable to find a matching
>>> > constructor / method
>>> >
>>> >
>>> > Blueprint-CM
>>> >
>>> >   [ARIES-1660] Make blueprint independent from aries util
>>> >
>>> > Please review and vote.
>>> >
>>> > Cheers,
>>> > Guillaume Nodet
>>> >
>>>
>>
>>
>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Grzegorz Grzybek <gr...@gmail.com>.
The exact exception is:

java.lang.IllegalStateException: Service already unregistered.
    at
org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
    at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88)
    at
org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106)
    at
org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:187)
    at
org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
    at org.apache.felix.framework.Felix.stopBundle(Felix.java:2538)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
    at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
    at java.lang.Thread.run(Thread.java:745)

when system bundle is stopped, extender is stopped once and then, at
start-level decrease it's stopped again.
"ServiceUtil.safeUnregisterService(parserServiceReg);" is fine, but
"((RecursiveBundleTracker) bt).close();" is throwing exception.

regards
Grzegorz

2017-03-20 15:18 GMT+01:00 Grzegorz Grzybek <gr...@gmail.com>:

> Looks like it's my env, so "+1 (non-binding)"
>
> regards
> Grzegorz Grzybek
>
> 2017-03-20 15:16 GMT+01:00 David Bosschaert <da...@gmail.com>:
>
>> +1
>>
>> David
>>
>> On 20 March 2017 at 13:48, Guillaume Nodet <gn...@apache.org> wrote:
>>
>> > I've staged 4 bundles for vote:
>> >   * Aries Proxy Api 1.1.0
>> >   * Aries Proxy 1.1.0
>> >   * Blueprint Core 1.8.0
>> >   * Blueprint CM 1.1.0
>> >
>> > The bundles are staged in the following repositories:
>> >   https://repository.apache.org/content/repositories/orgap
>> achearies-1102
>> >   https://repository.apache.org/content/repositories/orgap
>> achearies-1103
>> >
>> > The changes are the following:
>> >
>> > Proxy
>> >   [ARIES-1706] Use Provide-Capability instead of Export-Service
>> >  [ARIES-1659] Only produce the combined bundle
>> >
>> >  [ARIES-1658] Require OSGi 4.3 and slf4j
>> >
>> >  [ARIES-1657] Make proxy impl indepdendent of aries test support
>> >
>> >  [ARIES-1656] Remove dependency to aries utils
>> >
>> >
>> > Blueprint-Core
>> >
>> >   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
>> > relative (case of jar:file:)
>> >
>> >   [ARIES-1678] Add requirement for ProxyManager service
>> >
>> >   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>> >
>> >   [ARIES-1660] Make blueprint independent from aries util
>> >
>> >   [ARIES-960] Make sure X.class is assignable to Class<X>
>> >
>> >   [ARIES-960] Support conversion from Iterable<String> to Iterable
>> >
>> >   [ARIES-960] Improve error message when unable to find a matching
>> > constructor / method
>> >
>> >
>> > Blueprint-CM
>> >
>> >   [ARIES-1660] Make blueprint independent from aries util
>> >
>> > Please review and vote.
>> >
>> > Cheers,
>> > Guillaume Nodet
>> >
>>
>
>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Grzegorz Grzybek <gr...@gmail.com>.
Looks like it's my env, so "+1 (non-binding)"

regards
Grzegorz Grzybek

2017-03-20 15:16 GMT+01:00 David Bosschaert <da...@gmail.com>:

> +1
>
> David
>
> On 20 March 2017 at 13:48, Guillaume Nodet <gn...@apache.org> wrote:
>
> > I've staged 4 bundles for vote:
> >   * Aries Proxy Api 1.1.0
> >   * Aries Proxy 1.1.0
> >   * Blueprint Core 1.8.0
> >   * Blueprint CM 1.1.0
> >
> > The bundles are staged in the following repositories:
> >   https://repository.apache.org/content/repositories/orgapachearies-1102
> >   https://repository.apache.org/content/repositories/orgapachearies-1103
> >
> > The changes are the following:
> >
> > Proxy
> >   [ARIES-1706] Use Provide-Capability instead of Export-Service
> >  [ARIES-1659] Only produce the combined bundle
> >
> >  [ARIES-1658] Require OSGi 4.3 and slf4j
> >
> >  [ARIES-1657] Make proxy impl indepdendent of aries test support
> >
> >  [ARIES-1656] Remove dependency to aries utils
> >
> >
> > Blueprint-Core
> >
> >   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> > relative (case of jar:file:)
> >
> >   [ARIES-1678] Add requirement for ProxyManager service
> >
> >   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> >   [ARIES-960] Make sure X.class is assignable to Class<X>
> >
> >   [ARIES-960] Support conversion from Iterable<String> to Iterable
> >
> >   [ARIES-960] Improve error message when unable to find a matching
> > constructor / method
> >
> >
> > Blueprint-CM
> >
> >   [ARIES-1660] Make blueprint independent from aries util
> >
> > Please review and vote.
> >
> > Cheers,
> > Guillaume Nodet
> >
>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by David Bosschaert <da...@gmail.com>.
+1

David

On 20 March 2017 at 13:48, Guillaume Nodet <gn...@apache.org> wrote:

> I've staged 4 bundles for vote:
>   * Aries Proxy Api 1.1.0
>   * Aries Proxy 1.1.0
>   * Blueprint Core 1.8.0
>   * Blueprint CM 1.1.0
>
> The bundles are staged in the following repositories:
>   https://repository.apache.org/content/repositories/orgapachearies-1102
>   https://repository.apache.org/content/repositories/orgapachearies-1103
>
> The changes are the following:
>
> Proxy
>   [ARIES-1706] Use Provide-Capability instead of Export-Service
>  [ARIES-1659] Only produce the combined bundle
>
>  [ARIES-1658] Require OSGi 4.3 and slf4j
>
>  [ARIES-1657] Make proxy impl indepdendent of aries test support
>
>  [ARIES-1656] Remove dependency to aries utils
>
>
> Blueprint-Core
>
>   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> relative (case of jar:file:)
>
>   [ARIES-1678] Add requirement for ProxyManager service
>
>   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>
>   [ARIES-1660] Make blueprint independent from aries util
>
>   [ARIES-960] Make sure X.class is assignable to Class<X>
>
>   [ARIES-960] Support conversion from Iterable<String> to Iterable
>
>   [ARIES-960] Improve error message when unable to find a matching
> constructor / method
>
>
> Blueprint-CM
>
>   [ARIES-1660] Make blueprint independent from aries util
>
> Please review and vote.
>
> Cheers,
> Guillaume Nodet
>

Re: [VOTE] Release Apache Aries Proxy 1.1.0, Blueprint-Core 1.8.0, Blueprint-CM 1.1.0

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
+1 (binding)

Regards
JB

On 03/20/2017 01:48 PM, Guillaume Nodet wrote:
> I've staged 4 bundles for vote:
>   * Aries Proxy Api 1.1.0
>   * Aries Proxy 1.1.0
>   * Blueprint Core 1.8.0
>   * Blueprint CM 1.1.0
>
> The bundles are staged in the following repositories:
>   https://repository.apache.org/content/repositories/orgapachearies-1102
>   https://repository.apache.org/content/repositories/orgapachearies-1103
>
> The changes are the following:
>
> Proxy
>   [ARIES-1706] Use Provide-Capability instead of Export-Service
>  [ARIES-1659] Only produce the combined bundle
>
>  [ARIES-1658] Require OSGi 4.3 and slf4j
>
>  [ARIES-1657] Make proxy impl indepdendent of aries test support
>
>  [ARIES-1656] Remove dependency to aries utils
>
>
> Blueprint-Core
>
>   [ARIES-1682] Fallback to URL API if URI.resolve(systemId) is still
> relative (case of jar:file:)
>
>   [ARIES-1678] Add requirement for ProxyManager service
>
>   [ARIES-1662] Fix behavior when Interceptor.preCall thows exception
>
>   [ARIES-1660] Make blueprint independent from aries util
>
>   [ARIES-960] Make sure X.class is assignable to Class<X>
>
>   [ARIES-960] Support conversion from Iterable<String> to Iterable
>
>   [ARIES-960] Improve error message when unable to find a matching
> constructor / method
>
>
> Blueprint-CM
>
>   [ARIES-1660] Make blueprint independent from aries util
>
> Please review and vote.
>
> Cheers,
> Guillaume Nodet
>

-- 
Jean-Baptiste Onofr�
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Were these issues part of blueprint-core 1.8.0?

Posted by Guillaume Nodet <gn...@apache.org>.
It was partially fixed, hence the 3 commits that came up in the change log
for the vote (which I extracted from the git log and not from jira).
I've moved ARIES-960 fix version to 1.9.0 though.

2017-04-13 12:08 GMT+02:00 Christian Schneider <ch...@die-schneider.net>:

> Hi Guillaume,
>
> Smasher on irc found that we are missing a jira version for
> blueprint-core-1.8.0. I added this version now and also set the fix version
> of the issues I found in the vote mail.
> Unfortunately these issues all point to the same issue id that is not
> related to the issue description.
>
> Can you check what happened to these issues and set their fix version if
> they were part of blueprint core 1.8.0?
>
> Christian
>
> On 20.03.2017 13:48, Guillaume Nodet wrote:
>
>>    [ARIES-960] Make sure X.class is assignable to Class<X>
>>
>>    [ARIES-960] Support conversion from Iterable<String> to Iterable
>>
>>    [ARIES-960] Improve error message when unable to find a matching
>> constructor / method
>>
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>
>


-- 
------------------------
Guillaume Nodet

Were these issues part of blueprint-core 1.8.0?

Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Guillaume,

Smasher on irc found that we are missing a jira version for 
blueprint-core-1.8.0. I added this version now and also set the fix 
version of the issues I found in the vote mail.
Unfortunately these issues all point to the same issue id that is not 
related to the issue description.

Can you check what happened to these issues and set their fix version if 
they were part of blueprint core 1.8.0?

Christian

On 20.03.2017 13:48, Guillaume Nodet wrote:
>    [ARIES-960] Make sure X.class is assignable to Class<X>
>
>    [ARIES-960] Support conversion from Iterable<String> to Iterable
>
>    [ARIES-960] Improve error message when unable to find a matching
> constructor / method


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com