| 1 |
This is the Jolokia Roo-Addon. It allows to introduce a Jolokia agent |
| 2 |
servlet agent to an existing Web-Project. |
| 3 |
|
| 4 |
The single command provided is |
| 5 |
|
| 6 |
jolokia setup |
| 7 |
|
| 8 |
which will be available as soon as a WEB-INF/web.xml is there. This |
| 9 |
command will add the necessary dependencies to the pom.xml (upgrading |
| 10 |
any if there is already a Jolokia dependency in place to the Jolokia version |
| 11 |
associated with this addon) and adapt WEB-INF/web.xml to include a mapping |
| 12 |
to the Jolokia agent under "/jolokia". |
| 13 |
|
| 14 |
The command knows about these options: |
| 15 |
|
| 16 |
--addAccessPolicy This will add a sample "jolokia-access.xml" into |
| 17 |
resources/ with no restrictions. It can be |
| 18 |
adapted to configure fine granular access |
| 19 |
security to the agent |
| 20 |
|
| 21 |
--addDefaultInitParams With this options the servlet definition |
| 22 |
will contain the possible init parameters |
| 23 |
with their default values |
| 24 |
|
| 25 |
--addJsr160Proxy The servlet will be prepared so that it can |
| 26 |
act as a JSR-160 Proxy as well |
| 27 |
|
| 28 |
For more information, please refer to www.jolokia.org |