Re: [VOTE] Release configadmin 1.0.6

2009-01-15 Thread Niclas Hedhman
+1

Cheers
Niclas

On Thu, Jan 15, 2009 at 12:37 AM, Felix Meschberger fmesc...@gmail.com wrote:
 Hi,

 I've compiled the release candidate for the Configuration Admin release
 1.0.6 and put it up here:

 http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.6/

 The KEYS file for verifying the signature is also in this directory. md5
 and sha1 files are maven generated.

 This release contains fixes for the following bugs (B) and improvements
 (I) :

  [FELIX-665] Configuration Admin OBR description (I)
  [FELIX-740] ConfigurationManager throws NPE when... (B)
  [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
  [FELIX-879] Use Collection interface internally instead... (I)
  [FELIX-880] ServiceReference of ConfigurationEvent is null (B)

 So, please check the release and cast your votes - the vote will be open
 for 72 hours.

 Regards
 Felix





-- 
http://www.qi4j.org - New Energy for Java


[jira] Work started: (FELIX-881) Stopping the Configuration Admin bundle causes a NullPointerException

2009-01-15 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on FELIX-881 started by Felix Meschberger.

 Stopping the Configuration Admin bundle causes a NullPointerException
 -

 Key: FELIX-881
 URL: https://issues.apache.org/jira/browse/FELIX-881
 Project: Felix
  Issue Type: Bug
  Components: Configuration Admin
Affects Versions: configadmin-1.0.6
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Priority: Blocker
 Fix For: configadmin-1.0.8


 When the Configuration Admin bundle is stopped a message is logged, which 
 causes a NullPointerException:
 ERROR: Error stopping bundle. (java.lang.NullPointerException) 
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 ERROR: Error stopping 
 file:/XXX/.m2/repository/org/apache/felix/org.apache.felix.configadmin/1.0.6/org.apache.felix.configadmin-1.0.6.jar
  (org.osgi.framework.BundleException: Activator stop error in bundle 
 org.apache.felix.configadmin [30].)
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 This is caused by the log method calling getReference() on  the 
 configurationAdminRegistration field which has already been set to null

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



[jira] Created: (FELIX-881) Stopping the Configuration Admin bundle causes a NullPointerException

2009-01-15 Thread Felix Meschberger (JIRA)
Stopping the Configuration Admin bundle causes a NullPointerException
-

 Key: FELIX-881
 URL: https://issues.apache.org/jira/browse/FELIX-881
 Project: Felix
  Issue Type: Bug
  Components: Configuration Admin
Affects Versions: configadmin-1.0.6
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Priority: Blocker
 Fix For: configadmin-1.0.8


When the Configuration Admin bundle is stopped a message is logged, which 
causes a NullPointerException:

ERROR: Error stopping bundle. (java.lang.NullPointerException) 
java.lang.NullPointerException
at 
org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
at 
org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
at 
org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
at 
org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
at 
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
at java.lang.Thread.run(Thread.java:613)
ERROR: Error stopping 
file:/XXX/.m2/repository/org/apache/felix/org.apache.felix.configadmin/1.0.6/org.apache.felix.configadmin-1.0.6.jar
 (org.osgi.framework.BundleException: Activator stop error in bundle 
org.apache.felix.configadmin [30].)
java.lang.NullPointerException
at 
org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
at 
org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
at 
org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
at 
org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
at 
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
at java.lang.Thread.run(Thread.java:613)

This is caused by the log method calling getReference() on  the 
configurationAdminRegistration field which has already been set to null

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



[CANCEL] [VOTE] Release configadmin 1.0.6

2009-01-15 Thread Felix Meschberger
Hi all,

I have to cancel this, because Clément Escoffier found a bug, which
caused NullPointerException to be thrown during bundle shutdown
(FELIX-881 [1]). I deem this bug problematic and a blocker for the
release, since it gives a very bad impression.

I have already fixed this bug and will provide a new release candidate
shortly.

Thanks for the votes already cast and sorry for the inconvenience.

Regards
Felix

[1] https://issues.apache.org/jira/browse/FELIX-881

Felix Meschberger schrieb:
 Hi,
 
 I've compiled the release candidate for the Configuration Admin release
 1.0.6 and put it up here:
 
 http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.6/
 
 The KEYS file for verifying the signature is also in this directory. md5
 and sha1 files are maven generated.
 
 This release contains fixes for the following bugs (B) and improvements
 (I) :
 
   [FELIX-665] Configuration Admin OBR description (I)
   [FELIX-740] ConfigurationManager throws NPE when... (B)
   [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
   [FELIX-879] Use Collection interface internally instead... (I)
   [FELIX-880] ServiceReference of ConfigurationEvent is null (B)
 
 So, please check the release and cast your votes - the vote will be open
 for 72 hours.
 
 Regards
 Felix
 
 



[jira] Resolved: (FELIX-881) Stopping the Configuration Admin bundle causes a NullPointerException

2009-01-15 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved FELIX-881.
-

Resolution: Fixed

Applied fixes in Rev. 734634 and 734635: The service reference is now to be 
retrieved using a getServiceReference() method which guards against the case 
where the service registration is already null. In addition the service 
registration field is cleared before the service is unregistered to prevent an 
IllegalStateExcetion in the getServiceReference() method in extreme cases, 
where the field is not null but the service has already been unregistered.

 Stopping the Configuration Admin bundle causes a NullPointerException
 -

 Key: FELIX-881
 URL: https://issues.apache.org/jira/browse/FELIX-881
 Project: Felix
  Issue Type: Bug
  Components: Configuration Admin
Affects Versions: configadmin-1.0.6
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Priority: Blocker
 Fix For: configadmin-1.0.8


 When the Configuration Admin bundle is stopped a message is logged, which 
 causes a NullPointerException:
 ERROR: Error stopping bundle. (java.lang.NullPointerException) 
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 ERROR: Error stopping 
 file:/XXX/.m2/repository/org/apache/felix/org.apache.felix.configadmin/1.0.6/org.apache.felix.configadmin-1.0.6.jar
  (org.osgi.framework.BundleException: Activator stop error in bundle 
 org.apache.felix.configadmin [30].)
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 This is caused by the log method calling getReference() on  the 
 configurationAdminRegistration field which has already been set to null

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



[jira] Updated: (FELIX-881) Stopping the Configuration Admin bundle causes a NullPointerException

2009-01-15 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger updated FELIX-881:


Fix Version/s: (was: configadmin-1.0.8)
   configadmin-1.0.6

 Stopping the Configuration Admin bundle causes a NullPointerException
 -

 Key: FELIX-881
 URL: https://issues.apache.org/jira/browse/FELIX-881
 Project: Felix
  Issue Type: Bug
  Components: Configuration Admin
Affects Versions: configadmin-1.0.6
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Priority: Blocker
 Fix For: configadmin-1.0.6


 When the Configuration Admin bundle is stopped a message is logged, which 
 causes a NullPointerException:
 ERROR: Error stopping bundle. (java.lang.NullPointerException) 
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 ERROR: Error stopping 
 file:/XXX/.m2/repository/org/apache/felix/org.apache.felix.configadmin/1.0.6/org.apache.felix.configadmin-1.0.6.jar
  (org.osgi.framework.BundleException: Activator stop error in bundle 
 org.apache.felix.configadmin [30].)
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 This is caused by the log method calling getReference() on  the 
 configurationAdminRegistration field which has already been set to null

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



[jira] Closed: (FELIX-881) Stopping the Configuration Admin bundle causes a NullPointerException

2009-01-15 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed FELIX-881.
---


Confirmed to work also by Clément Escoffier.

 Stopping the Configuration Admin bundle causes a NullPointerException
 -

 Key: FELIX-881
 URL: https://issues.apache.org/jira/browse/FELIX-881
 Project: Felix
  Issue Type: Bug
  Components: Configuration Admin
Affects Versions: configadmin-1.0.8
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Priority: Blocker
 Fix For: configadmin-1.0.8


 When the Configuration Admin bundle is stopped a message is logged, which 
 causes a NullPointerException:
 ERROR: Error stopping bundle. (java.lang.NullPointerException) 
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 ERROR: Error stopping 
 file:/XXX/.m2/repository/org/apache/felix/org.apache.felix.configadmin/1.0.6/org.apache.felix.configadmin-1.0.6.jar
  (org.osgi.framework.BundleException: Activator stop error in bundle 
 org.apache.felix.configadmin [30].)
 java.lang.NullPointerException
   at 
 org.apache.felix.cm.impl.ConfigurationManager.log(ConfigurationManager.java:777)
   at org.apache.felix.cm.impl.UpdateThread.schedule(UpdateThread.java:113)
   at 
 org.apache.felix.cm.impl.UpdateThread.terminate(UpdateThread.java:104)
   at 
 org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:215)
   at 
 org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611)
   at org.apache.felix.framework.Felix._stopBundle(Felix.java:2047)
   at org.apache.felix.framework.Felix.stopBundle(Felix.java:2004)
   at 
 org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1188)
   at 
 org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
   at java.lang.Thread.run(Thread.java:613)
 This is caused by the log method calling getReference() on  the 
 configurationAdminRegistration field which has already been set to null

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



[VOTE] Release configadmin 1.0.8

2009-01-15 Thread Felix Meschberger
Hi,

I've compiled the release candidate for the Configuration Admin release
1.0.8 and put it up here:

http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.8/

The KEYS file for verifying the signature is also in this directory. md5
and sha1 files are maven generated and modified to include the name of
the file to which they belong.

This release contains fixes for the following bugs (B) and improvements
(I) :

  [FELIX-665] Configuration Admin OBR description (I)
  [FELIX-740] ConfigurationManager throws NPE when... (B)
  [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
  [FELIX-879] Use Collection interface internally instead... (I)
  [FELIX-880] ServiceReference of ConfigurationEvent is null (B)
  [FELIX-881] Stopping the Configuration Admin bundle ... (B)

So, please check the release and cast your votes - the vote will be open
for 72 hours.

Regards
Felix




Re: [CANCEL] [VOTE] Release configadmin 1.0.6

2009-01-15 Thread Felix Meschberger
Hi,

Stuart McCulloch schrieb:
 2009/1/15 Felix Meschberger fmesc...@gmail.com
 
 Hi all,

 I have to cancel this, because Clément Escoffier found a bug, which
 caused NullPointerException to be thrown during bundle shutdown
 (FELIX-881 [1]). I deem this bug problematic and a blocker for the
 release, since it gives a very bad impression.

 
 agreed - we should really start adding basic tests to try to catch this sort
 of thing
 ( I usually run a basic install, start, stop, uninstall test before voting
 on a bundle )

I do, too. But I did not pay enough attention to what I saw :-(

Regards
Felix

 
 
 I have already fixed this bug and will provide a new release candidate
 shortly.

 Thanks for the votes already cast and sorry for the inconvenience.

 
 no worries - that's why there's a release vote ;)
 
 Regards
 Felix

 [1] https://issues.apache.org/jira/browse/FELIX-881

 Felix Meschberger schrieb:
 Hi,

 I've compiled the release candidate for the Configuration Admin release
 1.0.6 and put it up here:

 http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.6/http://people.apache.org/%7Efmeschbe/org.apache.felix.configadmin-1.0.6/

 The KEYS file for verifying the signature is also in this directory. md5
 and sha1 files are maven generated.

 This release contains fixes for the following bugs (B) and improvements
 (I) :

   [FELIX-665] Configuration Admin OBR description (I)
   [FELIX-740] ConfigurationManager throws NPE when... (B)
   [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
   [FELIX-879] Use Collection interface internally instead... (I)
   [FELIX-880] ServiceReference of ConfigurationEvent is null (B)

 So, please check the release and cast your votes - the vote will be open
 for 72 hours.

 Regards
 Felix



 
 



Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Felix Meschberger
Here is my +1

Regards
Felix

Felix Meschberger schrieb:
 Hi,
 
 I've compiled the release candidate for the Configuration Admin release
 1.0.8 and put it up here:
 
 http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.8/
 
 The KEYS file for verifying the signature is also in this directory. md5
 and sha1 files are maven generated and modified to include the name of
 the file to which they belong.
 
 This release contains fixes for the following bugs (B) and improvements
 (I) :
 
   [FELIX-665] Configuration Admin OBR description (I)
   [FELIX-740] ConfigurationManager throws NPE when... (B)
   [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
   [FELIX-879] Use Collection interface internally instead... (I)
   [FELIX-880] ServiceReference of ConfigurationEvent is null (B)
   [FELIX-881] Stopping the Configuration Admin bundle ... (B)
 
 So, please check the release and cast your votes - the vote will be open
 for 72 hours.
 
 Regards
 Felix
 
 
 


Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Clement Escoffier

+1


Works fine :-)


Regards,

Clement


On 15.01.2009, at 10:56, Felix Meschberger wrote:


Hi,

I've compiled the release candidate for the Configuration Admin  
release

1.0.8 and put it up here:

http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.8/

The KEYS file for verifying the signature is also in this directory.  
md5

and sha1 files are maven generated and modified to include the name of
the file to which they belong.

This release contains fixes for the following bugs (B) and  
improvements

(I) :

 [FELIX-665] Configuration Admin OBR description (I)
 [FELIX-740] ConfigurationManager throws NPE when... (B)
 [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
 [FELIX-879] Use Collection interface internally instead... (I)
 [FELIX-880] ServiceReference of ConfigurationEvent is null (B)
 [FELIX-881] Stopping the Configuration Admin bundle ... (B)

So, please check the release and cast your votes - the vote will be  
open

for 72 hours.

Regards
Felix






Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Alin Dreghiciu
+1 (not binding)

On Thu, Jan 15, 2009 at 11:56 AM, Felix Meschberger fmesc...@gmail.com wrote:
 Hi,

 I've compiled the release candidate for the Configuration Admin release
 1.0.8 and put it up here:

 http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.8/

 The KEYS file for verifying the signature is also in this directory. md5
 and sha1 files are maven generated and modified to include the name of
 the file to which they belong.

 This release contains fixes for the following bugs (B) and improvements
 (I) :

  [FELIX-665] Configuration Admin OBR description (I)
  [FELIX-740] ConfigurationManager throws NPE when... (B)
  [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
  [FELIX-879] Use Collection interface internally instead... (I)
  [FELIX-880] ServiceReference of ConfigurationEvent is null (B)
  [FELIX-881] Stopping the Configuration Admin bundle ... (B)

 So, please check the release and cast your votes - the vote will be open
 for 72 hours.

 Regards
 Felix






-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven
Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places


Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Carsten Ziegeler
+1

Carsten


-- 
Carsten Ziegeler
cziege...@apache.org


Re: [CANCEL] [VOTE] Release configadmin 1.0.6

2009-01-15 Thread Clement Escoffier

Hi,

I detect the issue inside an embedded Felix executing a lot of (iPOJO)  
tests. The host exposes a log service (to catch logged messages). When  
my tests were done, the embedded Felix stopped, I saw the NPE here. So  
it is not really the standard configuration :-). I'm not sure that an  
install/start/stop/uninstall cycle was able to detect the issue.



Regards,

Clement



On 15.01.2009, at 10:57, Felix Meschberger wrote:


Hi,

Stuart McCulloch schrieb:

2009/1/15 Felix Meschberger fmesc...@gmail.com


Hi all,

I have to cancel this, because Clément Escoffier found a bug, which
caused NullPointerException to be thrown during bundle shutdown
(FELIX-881 [1]). I deem this bug problematic and a blocker for the
release, since it gives a very bad impression.



agreed - we should really start adding basic tests to try to catch  
this sort

of thing
( I usually run a basic install, start, stop, uninstall test before  
voting

on a bundle )


I do, too. But I did not pay enough attention to what I saw :-(

Regards
Felix




I have already fixed this bug and will provide a new release  
candidate

shortly.

Thanks for the votes already cast and sorry for the inconvenience.



no worries - that's why there's a release vote ;)

Regards

Felix

[1] https://issues.apache.org/jira/browse/FELIX-881

Felix Meschberger schrieb:

Hi,

I've compiled the release candidate for the Configuration Admin  
release

1.0.6 and put it up here:

http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.6/ 
http://people.apache.org/%7Efmeschbe/org.apache.felix.configadmin-1.0.6/ 



The KEYS file for verifying the signature is also in this  
directory. md5

and sha1 files are maven generated.

This release contains fixes for the following bugs (B) and  
improvements

(I) :

 [FELIX-665] Configuration Admin OBR description (I)
 [FELIX-740] ConfigurationManager throws NPE when... (B)
 [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
 [FELIX-879] Use Collection interface internally instead... (I)
 [FELIX-880] ServiceReference of ConfigurationEvent is null (B)

So, please check the release and cast your votes - the vote will  
be open

for 72 hours.

Regards
Felix













Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Niclas Hedhman
On Thu, Jan 15, 2009 at 10:56 AM, Felix Meschberger fmesc...@gmail.com wrote:
 I've compiled the release candidate for the Configuration Admin release
 1.0.8 and put it up here:

 http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.8/

+1

Cheers
Niclas
-- 
http://www.qi4j.org - New Energy for Java


Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Marcel Offermans

+1



[jira] Work started: (FELIX-882) Use Logger to log messages in the OsgiManager instead of the servlet context log

2009-01-15 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on FELIX-882 started by Felix Meschberger.

 Use Logger to log messages in the OsgiManager instead of the servlet context 
 log
 

 Key: FELIX-882
 URL: https://issues.apache.org/jira/browse/FELIX-882
 Project: Felix
  Issue Type: Improvement
  Components: Web Console
Affects Versions: webconsole-1.2.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: webconsole-1.2.4


 Currently the OsgiManager class uses the ServletContext logger to log some 
 messages, even though it has a Logger for logging. This should be enhance to 
 only use the Logger.

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



[jira] Created: (FELIX-882) Use Logger to log messages in the OsgiManager instead of the servlet context log

2009-01-15 Thread Felix Meschberger (JIRA)
Use Logger to log messages in the OsgiManager instead of the servlet context log


 Key: FELIX-882
 URL: https://issues.apache.org/jira/browse/FELIX-882
 Project: Felix
  Issue Type: Improvement
  Components: Web Console
Affects Versions: webconsole-1.2.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: webconsole-1.2.4


Currently the OsgiManager class uses the ServletContext logger to log some 
messages, even though it has a Logger for logging. This should be enhance to 
only use the Logger.

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



[jira] Closed: (FELIX-882) Use Logger to log messages in the OsgiManager instead of the servlet context log

2009-01-15 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/FELIX-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed FELIX-882.
---

Resolution: Fixed

Replaced three uses of the servlet context logger by the Logger instance in 
Rev. 734721.

 Use Logger to log messages in the OsgiManager instead of the servlet context 
 log
 

 Key: FELIX-882
 URL: https://issues.apache.org/jira/browse/FELIX-882
 Project: Felix
  Issue Type: Improvement
  Components: Web Console
Affects Versions: webconsole-1.2.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: webconsole-1.2.4


 Currently the OsgiManager class uses the ServletContext logger to log some 
 messages, even though it has a Logger for logging. This should be enhance to 
 only use the Logger.

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



Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Toni Menzel
+1 non binding vote

On Thu, Jan 15, 2009 at 3:30 PM, Marcel Offermans 
marcel.offerm...@luminis.nl wrote:

 +1




-- 
Toni Menzel
Software Developer
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.


Re: HTTPRequestForIcon in UPnP base driver

2009-01-15 Thread Stefano Lenzi

Hi Bruce,

Jackson, Bruce wrote:

Hi there

Using the felix UPnP base driver, I'm unable to retrieve icons for Windows
Media Player UPnP content sources.

I've followed the code through, and I come to the class:

org.apache.felix.upnp.basedriver.importer.util.HTTPRequestForIcon

...which is where the trouble is.

This class contains a method:

public InputStream getInputStream()

... Which starts with the comment:

//TODO we should speak about that

... Never a good sign :-) ! I'm trying to understand why the code manually
constructs the HTTP request and does everything at the socket level, rather
than simply:

URLConnection conn = url.openConnection();
return conn.getInputStream();

I've changed this in my local copy of the base driver, and tested it, and it
works fine. So, either this is a bit of old code that should be fixed, OR
there is a good reason to not use the JDK URLConnection class that somebody
might be aware of.


There is no real reason to do not use URLConnection, and if add a JIRA 
issue with the patch we will fix it :)




If its the latter, please let me know, and I'll see how to fix it so that it
will work with Windows Media Player.

Thanks

Bruce



Ciao,
Stefano Kismet Lenzi


Re: HTTPRequestForIcon in UPnP base driver

2009-01-15 Thread Jackson, Bruce
Great!

I'm not sure why it the original code doesn't work correctly with Windows Media 
Player, as it seems to work fine with other sources such as Azureus or Orb.
However, the URLConnection method works with all of these.

Thanks

Bruce


On 15/01/2009 19:50, Stefano Lenzi kis...@interfree.it wrote:

Hi Bruce,

Jackson, Bruce wrote:
 Hi there

 Using the felix UPnP base driver, I'm unable to retrieve icons for Windows
 Media Player UPnP content sources.

 I've followed the code through, and I come to the class:

 org.apache.felix.upnp.basedriver.importer.util.HTTPRequestForIcon

 ...which is where the trouble is.

 This class contains a method:

 public InputStream getInputStream()

 ... Which starts with the comment:

 //TODO we should speak about that

 ... Never a good sign :-) ! I'm trying to understand why the code manually
 constructs the HTTP request and does everything at the socket level, rather
 than simply:

 URLConnection conn = url.openConnection();
 return conn.getInputStream();

 I've changed this in my local copy of the base driver, and tested it, and it
 works fine. So, either this is a bit of old code that should be fixed, OR
 there is a good reason to not use the JDK URLConnection class that somebody
 might be aware of.

There is no real reason to do not use URLConnection, and if add a JIRA
issue with the patch we will fix it :)


 If its the latter, please let me know, and I'll see how to fix it so that it
 will work with Windows Media Player.

 Thanks

 Bruce


Ciao,
Stefano Kismet Lenzi



Re: [VOTE] Release configadmin 1.0.8

2009-01-15 Thread Rob Walker

+1

- Rob


Felix Meschberger wrote:

Hi,

I've compiled the release candidate for the Configuration Admin release
1.0.8 and put it up here:

http://people.apache.org/~fmeschbe/org.apache.felix.configadmin-1.0.8/

The KEYS file for verifying the signature is also in this directory. md5
and sha1 files are maven generated and modified to include the name of
the file to which they belong.

This release contains fixes for the following bugs (B) and improvements
(I) :

  [FELIX-665] Configuration Admin OBR description (I)
  [FELIX-740] ConfigurationManager throws NPE when... (B)
  [FELIX-865] OBR: Do not declare ManagedService[Factory],... (I)
  [FELIX-879] Use Collection interface internally instead... (I)
  [FELIX-880] ServiceReference of ConfigurationEvent is null (B)
  [FELIX-881] Stopping the Configuration Admin bundle ... (B)

So, please check the release and cast your votes - the vote will be open
for 72 hours.

Regards
Felix


  


--


Ascert - Taking systems to the Edge
r...@ascert.com
+44 (0)20 7488 3470
www.ascert.com