20 Commits

Author SHA1 Message Date
Howard Gao
e09be4864a ARTEMIS-988 Regression: web tmp dir not cleaned up
Due to recent changes, the web component is shutdown by the
server, but the shutdown flag is lost so the web component's
cleanup check method is not get called and the web's tmp
dir is left there after user stopped the broker (control-c).

The fix is add a suitable API to allow passing of the
flag so the web component can make sure its tmp dir gets
cleaned up properly before exiting the VM.
2017-02-23 12:39:50 +08:00
Howard Gao
f6670c9aaf ARTEMIS-958 Improve web server tmp dir cleanup
When server is shutdown by user the shutdown hook will check
if the tmpdir of the web server is cleaned up. However the cleanup
is also performed in a shutdown hook (using File.deleteOnExit).
Because the order of execution of hooks is not guaranteed,
if the tmp dir is not cleaned up by the time of check,
we should add a 'force' delete to make sure the tmp dir
is removed after server stop.
2017-02-14 20:17:23 -05:00
Howard Gao
07ea08a845 ARTEMIS-915 WebComponent stopped when backup failback 2017-01-12 10:11:10 +08:00
Andy Taylor
58d47897c3 ARTEMIS-909 - fix welcome files for root address with Jetty
https://issues.apache.org/jira/browse/ARTEMIS-909
2017-01-05 09:07:30 -06:00
Howard Gao
8c1ec12b33 ARTEMIS-835 Quick restart of broker will leave tmp dir dirty
- Added a timeout wait on each web context's tmp dir in
    WebServerComponent.stop() method.
2016-11-02 13:43:51 -04:00
Clebert Suconic
ec48f9ed00 ARTEMIS-765 Improve Checkstyle 2016-09-30 11:12:09 -04:00
jbertram
17cf45ad4f ARTEMIS-619 stop components along with server 2016-07-08 13:23:04 -05:00
Howard Gao
23475caca9 ARTEMIS-594 support HTTPS access to hawtio 2016-06-24 13:24:23 -05:00
Ville Skyttä
3923ae45f4 Fix checkstyle redundant modifier violations 2016-06-13 20:03:54 +03:00
Hiram Chirino
2e8ce98891 Clean up path handling in in the WebServerComponent a bit.
- The if the web element's path attribute is configured with an absolute path like `path="/tmp/artemis/web"` then use it as an absolute path instead of trying to make it a sub dir of artemis home.
2016-01-06 14:20:14 -05:00
Andy Taylor
6e7ed2348f added log message to show jolkia path when available, also added a logger 2015-12-23 10:58:44 -05:00
Ville Skyttä
25ae472455 Add missing @Override annotations 2015-12-06 01:27:35 +02:00
Clebert Suconic
bac96047f5 automatic checkstyle change
this is just calling Idea format on all the files using the new style
I am separating manual changes from automatic changes in case I have to repeat the manual changes again
2015-08-10 09:26:42 -04:00
Clebert Suconic
63a17adbdf simply renaming parameters on CLI 2015-06-26 11:42:50 -04:00
John D. Ament
fed0317df8 ARTEMIS-119 Added proper tests for webserver component startup checks. 2015-06-04 10:20:33 -04:00
John D. Ament
ef1b9605dc ARTEMIS-119 Upgraded to Jetty 9.2. 2015-06-04 10:20:32 -04:00
Thiago Kronig
d48b4f4770 ARTEMIS-129 License header should be a normal comment
To reproduce this commit, apply a replace regex rule using:

    search regex: /\*\*\n \* Licensed
    replace: /\*\n \* Licensed

These files had to be changed manually:

    artemis-selector/src/main/javacc/HyphenatedParser.jj
    artemis-selector/src/main/javacc/StrictParser.jj
    artemis-website/src/main/resources/styles/impact/css/pygmentize.css
    artemis-website/src/main/resources/styles/impact/css/site.css
2015-06-03 10:19:45 -04:00
Clebert Suconic
2a6422bc6f Fixing WebServer integration after created server
The web page was not loading
2015-05-04 22:44:32 -04:00
Justin Bertram
8f52a622d0 ACTIVEMQ6-1 Artemis rename
Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:48:02 -04:00
Clebert Suconic
f509c075c6 ACTIVEMQ6-1 Artemis rename
This commit is a simple mv of the files.. We required two commits to preserve history,
one to git mv, one for the actual changes...

otherwise history would be lost

Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:44:45 -04:00