Added testcase for FELIX-4305


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1539397 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4310, FELIX-4282 - mixed Jetty versions:

- the cometd project referenced an older version of Jetty (7.6.3),
  which is not directly incorrect, but not inline with the other
  projects;
- due to this, classes of two different Jetty versions were inlined
  in the http.bundle project, causing subtle errors at runtime;
- upgraded Cometd to 2.7.0 as Cometd 2.4.2 uses Jetty 7.6.3 as
  compile-time dependency, while the 2.7.0 uses Jetty 7.6.13;
- reverted changes for Jetty 9 to make use of latest Jetty 7.6.13
  version (for fix-release);
- updated POMs to use version-properties for most of the used
  libraries. Also downgraded the version numbers in preparation for
  a fix-release.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540479 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4307: only log something when a real context ID is given.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540480 13f79535-47bb-0310-9956-ffa450edef68
Fixed typo in default config.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540508 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4311 - log real Jetty version.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540634 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4311 - log real Jetty version; include custom bundle header to reflect the used Jetty version.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540651 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4311 - log real Jetty version; include custom bundle header to reflect the used Jetty version.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540652 13f79535-47bb-0310-9956-ffa450edef68
Applied code formatting rules.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540653 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4312 - avoid pointless service interruptions:

- when the configuration of the HTTP Jetty service isn't changed,
  do not restart the server;
- avoid visibility of partial configurations during an update of the
  configuration.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540691 13f79535-47bb-0310-9956-ffa450edef68
FELIX-1955 - configure keystore/truststore types:

- allow the type of keystore/truststore to be configured, for example, to
  use PKCS12 store files;
- added two new configuration options `org.apache.felix.https.keystore.type`
  and `org.apache.felix.https.truststore.type` to define what type of store
  is to be expected.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540723 13f79535-47bb-0310-9956-ffa450edef68
FELIX-3987 - do not set content-length too late:

- headers should be send as early as possible as there is only a 
  small amount of buffering for the content taking place, which
  could cause it to be already flushed (with the headers known at
  that point) after which we cannot tell the browser how many 
  bytes we've got for it.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540739 13f79535-47bb-0310-9956-ffa450edef68
FELIX-2786 - allow random port to be used:

- Applied patch supplied by Carl Hall, after applying some minor cleanups.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540843 13f79535-47bb-0310-9956-ffa450edef68
FELIX-3103 - let CometdActivator inherit from AbstractActivator:

- applied patch by Julian Sedding.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540845 13f79535-47bb-0310-9956-ffa450edef68
[FELIX-4309] Under high load, SCR leaves some components in DISABLED state

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1541409 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4314 Fixed the code as described. Adapted the test cases as this affected some of the mock objects we were constructing.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542239 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4314 Accidentally committed a small experiment I did in the pom. Undoing.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542240 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4230 - Enhance SSL filter to forward client certificates:

- added some logging and exception handling to make sure that error
  situations are traceable;
- did some monkey tests on SSL certificate forwarding, which seems to
  work properly.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542257 13f79535-47bb-0310-9956-ffa450edef68
FELIX-3355 Added the metatype API as a substitutable exported package.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542273 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4184 Added a test case that shows the failure described in the issue. Did not yet commit a fix, so it will now fail.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542351 13f79535-47bb-0310-9956-ffa450edef68
FELIX-4184 Fixed the issue that was already identified, which also makes the test pass.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1542352 13f79535-47bb-0310-9956-ffa450edef68