Commit Graph

17579 Commits

Author SHA1 Message Date
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
olivier lamy 45411b694f fix wrong merge from c165d07492
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-26 12:52:15 +10:00
olivier lamy 78c1cc2a6d fix wrong copy/paste
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-26 12:42:44 +10:00
Jan Bartel c165d07492 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2018-09-26 12:13:31 +10: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 3682638961 Merge branch 'jetty-9.4.x' into jetty-10.0.x 2018-09-25 20:54:14 +10: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
olivier lamy 8ac9912fd3 fix merge
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-22 21:31:01 +10:00
olivier lamy 2f96792937 fix merge
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-22 21:29:29 +10:00
olivier lamy 49c12ae0f0 fix merge
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-22 21:19:31 +10:00
olivier lamy 5e8a7403d1 Merge branch 'jetty-9.4.x' into jetty-10.0.x 2018-09-22 20:11:03 +10: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
Olivier Lamy 71a1801433
Issue #2918 restore a TestTracker with junit5 (#2927)
* add TestTracker junit5 extension #2918

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-21 14:03:05 +10:00
Simone Bordet f72cb74b35 Issue #2727 - Revisit JMX MBean lookup behavior.
Removed unused code.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-21 00:13:53 +02:00
Simone Bordet 75b2c1d001 Issue #2727 - Revisit JMX MBean lookup behavior.
Rewrote JMX implementation using caches to improve performance
of JMX lookups.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-20 23:53:50 +02:00
Greg Wilkins a9566d429c
Issue #2912 Remove Content-Length from inflated requests (#2915)
Issue #2912 Remove Content-Length from inflated requests
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-21 07:44:53 +10:00
Joakim Erdfelt b225ebe756
Merge pull request #2902 from eclipse/jetty-9.4.x-issue-2875-websocketclient-redirect
Issues #2875 and #2901 WebSocketClient Redirected Upgrade
2018-09-20 13:56:55 -05:00
Simone Bordet f6474f9b8c
Merge pull request #2922 from eclipse/jetty-9.4.x-2913-CNFE_sun_reflect_Reflection
Fixes #2913 - ClassNotFoundException: sun.reflect.Reflection with JDK 11
2018-09-20 11:06:59 +02:00
Olivier Lamy f340b404a8
get rid of maven warning due to duplicate plugin declaration (#2920)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-20 15:59:42 +10:00
olivier lamy cf59a8aa65 Merge branch 'jetty-9.4.x' into jetty-10.0.x 2018-09-20 07:36:11 +10:00
Simone Bordet e1905e6961 Issue #2868 - Adding SPNEGO authentication support for Jetty Client.
Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-19 18:47:39 +02:00
Simone Bordet 3a8a20557d Fixes #2913 - ClassNotFoundException: sun.reflect.Reflection with JDK 11
Another update after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-19 17:07:49 +02:00
Simone Bordet bae502681c Fixes #2913 - ClassNotFoundException: sun.reflect.Reflection with JDK 11
Another update after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-19 13:50:33 +02:00
Simone Bordet 9a9a52b960 Fixes #2913 - ClassNotFoundException: sun.reflect.Reflection with JDK 11
Updated after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-19 13:44:12 +02:00
Simone Bordet 3384ff90ea Fixes #2913 - ClassNotFoundException: sun.reflect.Reflection with JDK 11
Replaced usage of sun.reflect.Reflection with a
SecurityManager subclass, so that it works in all JDKs.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-19 12:46:39 +02:00
Greg Wilkins 9fae0c2fa0
Move snapshot repositories to profile (#2917)
Issue #2917
* Move snapshot repositories to profile
* feedback from review

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-19 11:20:14 +10:00
WalkerWatch defa9e42f2 Merge branch 'jetty-9.4.x' into jetty-10.0.x 2018-09-18 10:54:36 -04:00
WalkerWatch be564ecd59 Updated example. Resolves #2916 2018-09-18 10:53:07 -04:00
Olivier Lamy cfe7fa1cb2
Issue #2906 excluded reactor projects with provided scope (#2914)
* Issue #2906 excluded reactor projects with provided scope

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* avoid test project within reactors to be in the classpath

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-18 21:17:25 +10:00
Simone Bordet a6abd0b741 Issue #2191 - JPMS Support
Fixed apache-jsp JPMS module name.
Fixed jetty-ant JPMS module name.

ASM 6.2 contains a proper module-info.class that requires also
asm-tree and asm-analysis, so added them to the jetty-home module
so that they are present in the distribution.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-09-18 00:35:29 +02:00