[jira] [Created] (FELIX-5322) JDK9-ea exception (via pax.exam)

2016-08-09 Thread Ben Manes (JIRA)
Ben Manes created FELIX-5322:


 Summary: JDK9-ea exception (via pax.exam)
 Key: FELIX-5322
 URL: https://issues.apache.org/jira/browse/FELIX-5322
 Project: Felix
  Issue Type: Bug
Reporter: Ben Manes


When trying to run tests using jdk9-ea, it fails with the following exception.

java.lang.IllegalStateException: Stream handler unavailable due to: null
at 
org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:311)
at java.net.URL.openConnection(java.base@9-ea/URL.java:1049)
at 
org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:150)
at 
org.apache.felix.framework.cache.JarRevision.(JarRevision.java:77)
at 
org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878)
at 
org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)
at 
org.apache.felix.framework.cache.BundleArchive.(BundleArchive.java:153)
at 
org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2971)
at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:167)
at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:140)
at 
org.ops4j.pax.exam.nat.internal.NativeTestContainer.installAndStartBundles(NativeTestContainer.java:340)
at 
org.ops4j.pax.exam.nat.internal.NativeTestContainer.start(NativeTestContainer.java:209)
at 
org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:79)
at 
org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:267)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [VOTE] Release Apache Felix Http Base 3.0.12, Http Bridge 3.0.12, and Http Jetty 3.2.4

2016-08-09 Thread David Bosschaert
+1

David

On 9 August 2016 at 09:48, Carsten Ziegeler  wrote:

> I would like to call a vote for
>
> Http Base 3.0.12
> Http Bridge 3.0.12 (2 issues solved)
> Http Jetty 3.2.4 (2 issues solved)
>
> We solved two issues (same issues solved for all three modules):
> https://issues.apache.org/jira/browse/FELIX/fixforversion/12337985
>
> Staging repositories:
> https://repository.apache.org/content/repositories/orgapachefelix-1135/
>
> You can use this UNIX script to download the release and verify the
> signatures:
> http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh
>
> Usage:
> sh check_staged_release.sh 1135 /tmp/felix-staging
>
> Please vote to approve this release:
>
> [ ] +1 Approve the release
> [ ] -1 Veto the release (please provide specific comments)
>
> Regards
> Carsten
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziege...@apache.org
>


Re: [VOTE] Release Apache Felix Http Base 3.0.12, Http Bridge 3.0.12, and Http Jetty 3.2.4

2016-08-09 Thread Jean-Baptiste Onofré

+1 (binding)

Testing with sample code (very basic).

Regards
JB

On 08/09/2016 10:48 AM, Carsten Ziegeler wrote:

I would like to call a vote for

Http Base 3.0.12
Http Bridge 3.0.12 (2 issues solved)
Http Jetty 3.2.4 (2 issues solved)

We solved two issues (same issues solved for all three modules):
https://issues.apache.org/jira/browse/FELIX/fixforversion/12337985

Staging repositories:
https://repository.apache.org/content/repositories/orgapachefelix-1135/

You can use this UNIX script to download the release and verify the
signatures:
http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh

Usage:
sh check_staged_release.sh 1135 /tmp/felix-staging

Please vote to approve this release:

[ ] +1 Approve the release
[ ] -1 Veto the release (please provide specific comments)

Regards
Carsten



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


Re: svn commit: r1755500 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java

2016-08-09 Thread Chetan Mehrotra
On Tue, Aug 9, 2016 at 1:54 PM, Carsten Ziegeler  wrote:
> There is no unget service reference, the code is just getting the
> reference, not the service

Ah missed that part. Makes sense

Chetan Mehrotra


Re: [VOTE] Release Apache Felix Http Base 3.0.12, Http Bridge 3.0.12, and Http Jetty 3.2.4

2016-08-09 Thread Carsten Ziegeler
+1


 

-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org



[VOTE] Release Apache Felix Http Base 3.0.12, Http Bridge 3.0.12, and Http Jetty 3.2.4

2016-08-09 Thread Carsten Ziegeler
I would like to call a vote for

Http Base 3.0.12
Http Bridge 3.0.12 (2 issues solved)
Http Jetty 3.2.4 (2 issues solved)

We solved two issues (same issues solved for all three modules):
https://issues.apache.org/jira/browse/FELIX/fixforversion/12337985

Staging repositories:
https://repository.apache.org/content/repositories/orgapachefelix-1135/

You can use this UNIX script to download the release and verify the
signatures:
http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh

Usage:
sh check_staged_release.sh 1135 /tmp/felix-staging

Please vote to approve this release:

[ ] +1 Approve the release
[ ] -1 Veto the release (please provide specific comments)

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org


Re: svn commit: r1755500 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java

2016-08-09 Thread Carsten Ziegeler
> On Mon, Aug 8, 2016 at 5:48 PM,   wrote:
>> +final ServiceReference ref = 
>> this.getServiceReference(dto.serviceId);
> 
> Probably an unget would also need to be done?
> 
There is no unget service reference, the code is just getting the
reference, not the service

 Carsten

-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org



[jira] [Updated] (FELIX-5221) Reduce locking when service are registered/unregistered

2016-08-09 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler updated FELIX-5221:

Fix Version/s: (was: http.base-3.0.12)

> Reduce locking when service are registered/unregistered
> ---
>
> Key: FELIX-5221
> URL: https://issues.apache.org/jira/browse/FELIX-5221
> Project: Felix
>  Issue Type: Improvement
>  Components: HTTP Service
>Reporter: Carsten Ziegeler
>
> Currently when a new service is added/removed/modified through the 
> whiteboard, the whole process is done within one global lock, forcing all 
> operations to be done in sequence.
> In addition, this code calls out to the service registry, which we should 
> avoid.
> I think we can solve this by treating SCH registration differently from all 
> other services and use something like a change count for the SCH 
> registrations: when a new whiteboard service is added, it's processed with 
> the current set of SCHs. Once it's done it compares the current change count 
> to the one from when the registration started. If it's different, it updates 
> the registration. This is repeated until the count is equal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FELIX-5297) [RFC 223] 5.1 Whiteboard Services and Http Service

2016-08-09 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler updated FELIX-5297:

Summary: [RFC 223] 5.1 Whiteboard Services and Http Service  (was: 5.1 
Whiteboard Services and Http Service)

> [RFC 223] 5.1 Whiteboard Services and Http Service
> --
>
> Key: FELIX-5297
> URL: https://issues.apache.org/jira/browse/FELIX-5297
> Project: Felix
>  Issue Type: Sub-task
>  Components: HTTP Service
>Reporter: Carsten Ziegeler
>
> Section 5.1defines how to associate whiteboard services with 
> servlets/resources registered through the http service



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FELIX-5298) [RFC 223] 5.2 Request Preprocessing

2016-08-09 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler updated FELIX-5298:

Summary: [RFC 223] 5.2 Request Preprocessing  (was: 5.2 Request 
Preprocessing)

> [RFC 223] 5.2 Request Preprocessing
> ---
>
> Key: FELIX-5298
> URL: https://issues.apache.org/jira/browse/FELIX-5298
> Project: Felix
>  Issue Type: Sub-task
>  Components: HTTP Service
>Reporter: Carsten Ziegeler
>
> A new service interface allows to pre process requests



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FELIX-5299) [RFC 223] 5.4 Support Servlets without a pattern

2016-08-09 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler updated FELIX-5299:

Summary: [RFC 223] 5.4 Support Servlets without a pattern  (was: 5.4 
Support Servlets without a pattern)

> [RFC 223] 5.4 Support Servlets without a pattern
> 
>
> Key: FELIX-5299
> URL: https://issues.apache.org/jira/browse/FELIX-5299
> Project: Felix
>  Issue Type: Sub-task
>  Components: HTTP Service
>Reporter: Carsten Ziegeler
>
> Servlets without a pattern should be supported



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (FELIX-5317) Use http whiteboard for filter registration

2016-08-09 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler resolved FELIX-5317.
-
Resolution: Fixed

> Use http whiteboard for filter registration
> ---
>
> Key: FELIX-5317
> URL: https://issues.apache.org/jira/browse/FELIX-5317
> Project: Felix
>  Issue Type: Improvement
>  Components: HTTP Service
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
> Fix For: http.sslfilter-1.1.0
>
>
> Instead of using the propriatary felix whiteboard we should use the offical 
> http whiteboard to register the filter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: svn commit: r1755500 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java

2016-08-09 Thread Chetan Mehrotra
On Mon, Aug 8, 2016 at 5:48 PM,   wrote:
> +final ServiceReference ref = 
> this.getServiceReference(dto.serviceId);

Probably an unget would also need to be done?

Chetan Mehrotra