Simone Bordet
1ba945b39b
Issue #2941 - JDK 11: UnsupportedOperationException at AnnotationParser.scanClass.
...
Updated to ASM 7.0-beta, and defaulted AnnotationParser to ASM 7.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 13:47:56 +02:00
Simone Bordet
bd3eeeaa3f
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_module_name'.
2018-10-04 12:27:31 +02:00
Simone Bordet
31d82e148e
Issue #2191 - JPMS Support.
...
Using javax.transaction version starting from 1.1 for OSGi compatibility.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 11:06:14 +02:00
Simone Bordet
75942298f5
Issue #2191 - JPMS Support.
...
Restored previous OSGi bundle name for apache-jsp.
Introduced a new property for the JPMS Automatic-Module-Name.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 10:51:16 +02:00
Greg Wilkins
9f7f0bdc5f
Pass BadMessageException from parser to HttpReceiverOVerHTTP
...
This change has already mostly been made in 9.4, so essentially this is a back port. However the
primary signature of HttpParser.Handler for badMessage has not been changed and a default method
used to handle the cause. This avoids breaking any usages of the interface.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-10-04 13:30:11 +10:00
Simone Bordet
4dcc7cbae6
Issue #2191 - JPMS Support.
...
Restored String constant for the ASM version.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-04 00:43:52 +02:00
Simone Bordet
8e44abb113
Issue #2191 - JPMS Support.
...
Fixed OSGi manifest version reference.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-03 22:25:40 +02:00
Simone Bordet
76a9be8a82
Issue #2191 - JPMS Support.
...
Restored error message in case of wrong ASM version.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-03 19:24:05 +02:00
Simone Bordet
20db6700c0
Fixes #859 - Stack overflow error in jetty high level API.
...
Now executing the call to abort() so that the stack overflow is avoided.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-03 18:24:59 +02:00
WalkerWatch
64dc930500
Clarify Websocket intro. Resolves #2951
2018-10-03 11:13:40 -04:00
Greg Wilkins
9d37feba3c
Cleanup after #2903 ( #2933 )
...
Improved dump output of ServletHandler and ContextHandler
Fixed duplicate listeners
Removed unused fields
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-10-03 10:00:14 +10:00
Olivier Lamy
baca9cae39
Use cache to download to mongo and upgrade mongodb plugin ( #2949 )
...
* cache downloading mongodb and upgrade mongodb embeded plugin
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* force mongodb version
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-03 09:54:05 +10:00
Joakim Erdfelt
b91338f97d
Merge pull request #2943 from eclipse/jetty-9.4.x-issue-2936-badmessage-error-handling
...
Issue #2936 - BadMessageException should be able to be handled by ErrorPageErrorHandler
2018-10-02 16:54:46 -05:00
Simone Bordet
0922644c5b
Merge pull request #2910 from eclipse/jetty-9.4.x-2868-spnego_client
...
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
2018-10-02 22:50:23 +02:00
Simone Bordet
85d512ceec
Restored proper test timeout.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 21:55:09 +02:00
Simone Bordet
462668e80a
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Running tests only on JDK 11, as apparently other JDKs have problems
with AES encryption/decryption.
Another hypothesis is that Kerby does AES encryption differently from
what earlier JDKs expect.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 21:54:05 +02:00
Simone Bordet
06430f1b04
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Restored behavior where authentication results are stored
no matter the response status.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 16:10:52 +02:00
Joakim Erdfelt
57ef060325
Issue #2936 - Allow Dispatcher.error() to work for BadMessageException
...
+ Applying fixes from review
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-10-02 08:39:05 -05:00
Simone Bordet
9bb34f2758
Merged 'jetty-9.4.x' into 'jetty-9.4.x-2868-spnego_client'.
2018-10-02 15:17:41 +02:00
Simone Bordet
103b1292ea
Fixed annotations on tests that should run on specific JDK versions.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 15:16:58 +02:00
Simone Bordet
42de1dffe0
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Fixed server-side logic after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 13:25:33 +02:00
Simone Bordet
20fff533c8
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Updated server-side authentication logic after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 12:01:59 +02:00
Simone Bordet
6b5a46b63b
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Avoid hardcoded KDC port in tests.
Updated Krb5LoginModule options with refreshKrb5Config=true,
to make sure the KDC configuration is re-read for every test.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 12:01:25 +02:00
Simone Bordet
27efa6e2ad
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Added client-side classes javadocs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-10-02 11:24:45 +02:00
Olivier Lamy
a094dbaa69
fix osgi tests not running as paxexam is not junit5 ready ( #2945 )
...
* fix osgi tests not running as paxexam is not junit5 ready
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* upgrade pax exam to 4.12.0
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* cleanup comment, using transitive deps from pax-exam-junit4
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-10-02 16:44:24 +10:00
Joakim Erdfelt
fe66e3d0cb
Issue #2936 - Allow Dispatcher.error() to work for BadMessageException
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-10-01 10:43:57 -05:00
Joakim Erdfelt
b3739f42b8
Issue #2936 - Improving testcase to replicate reported scenario as described
2018-09-30 07:01:06 -05:00
Simone Bordet
5cac3376c6
Issue #2191 - JPMS Support.
...
JPMS documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-28 13:23:43 +02:00
Simone Bordet
02eccd55ae
Issue #2191 - JPMS Support.
...
NPE fixes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-28 10:22:51 +02:00
Simone Bordet
2b11d30a45
Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
...
Renamed server-side classes and added javadocs.
Deprecated old server-side classes in favor of the new ones.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-28 09:29:52 +02:00
Simone Bordet
eb00e6c7c6
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2868-spnego_client'
2018-09-28 08:59:46 +02:00
Greg Wilkins
c3ca4b7ee9
Issue #2936 Test bad message error page
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-28 15:29:32 +10:00
Simone Bordet
27e7b3287a
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_module_name'.
2018-09-26 13:51:21 +02:00
Simone Bordet
587ecfeb9c
Issue #2191 - JPMS Support.
...
Code cleanups.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-26 13:36:51 +02:00
Simone Bordet
7e68ef1e17
Issue #2191 - JPMS Support.
...
Now server.mod patches the servlet.api JPMS module with jetty-schemas.jar.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-26 13:22:29 +02:00
Simone Bordet
81d02893dc
Issue #2191 - JPMS Support.
...
Using BaseHome.getPaths() to resolve paths for patches modules.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-26 13:21:40 +02:00
Simone Bordet
22cbbdc900
Issue #2191 - JPMS Support.
...
Reverted wrong change in WebInfConfiguration.findAndFilterContainerPaths().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-26 12:41:12 +02:00
Simone Bordet
283a296e29
Merge pull request #2926 from eclipse/jetty-9.4.x-2727-mbeanInfoCaching2
...
Issue #2727 - Revisit JMX MBean lookup behavior.
2018-09-26 11:39:13 +02:00
Simone Bordet
701a21fb1a
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2727-mbeanInfoCaching2'.
2018-09-26 10:07:25 +02:00
Jan Bartel
5593e5b479
Jetty 9.4.x 2903 delay listener instantiation ( #2930 )
...
* Issue #2903 Ensure listeners not instantiated for quickstart gen
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-09-26 11:27:57 +10:00
Simone Bordet
e4ff653295
Issue #2191 - JPMS Support.
...
Introduced --jpms option in jetty-start to run Jetty from the module-path.
Introduced [jpms] sections in *.mod files, to specify JPMS command line
options that needs to be added to the command line generated by jetty-start.
Bumped java.transaction-api to 1.3 because it has Automatic-Module-Name.
Fixed ASM version lookup using ManifestUtils.
Fixed WebInfConfiguration.findAndFilterContainerPaths() to properly
scan the module-path, which may contain both files and directories.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-25 22:11:25 +02:00
Olivier Lamy
08d0092cbd
add a sys property with the it so we know which one fail otherwise it is always same name in jenkins ( #2928 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-25 20:52:49 +10:00
Simone Bordet
78d529b13a
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_module_name'.
2018-09-24 15:23:30 +02:00
Simone Bordet
92e70f2c84
Issue #2727 - Revisit JMX MBean lookup behavior.
...
Fixed invoke() lookup.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-24 10:49:29 +02:00
Greg Wilkins
87aba86d74
fix findAttribute
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-24 17:00:58 +10:00
Greg Wilkins
304eac7460
improved debug (more to do)
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-24 16:41:03 +10:00
Simone Bordet
53565047e0
Issue #2727 - Revisit JMX MBean lookup behavior.
...
Fixed creation of MBeanInfo.
Avoiding duplicating *Info by collecting them in a Map.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-23 12:06:53 +02:00
Simone Bordet
2673ae98c2
Issue #2727 - Revisit JMX MBean lookup behavior.
...
Optimized creation of MBeanInfo.
Rather than collecting attributes from the whole hierarchy,
just merge the local attributes with the ones from the parent,
using a Set to discard duplicates.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-21 17:56:43 +02:00
Simone Bordet
87f39449a9
Issue #2727 - Revisit JMX MBean lookup behavior.
...
Fixed NPE in case the class is an interface.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-21 10:56:13 +02:00
Simone Bordet
7a2ba10ed6
Issue #2727 - Revisit JMX MBean lookup behavior.
...
Improved lookup of MBean constructor, now done only once.
Cleaned up tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-21 10:38:23 +02:00