[ 
https://issues.apache.org/jira/browse/GERONIMO-5148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842758#action_12842758
 ] 

Ashish Jain commented on GERONIMO-5148:
---------------------------------------

Hi Rex, This is how you can use the JavaAgent.jar. You have to set it in 
geronimo.bat as follows:

%_EXECJAVA% %JAVA_OPTS% %GERONIMO_OPTS% %JAVA_AGENT_OPTS% 
-Djava.endorsed.dirs="%GERONIMO_HOME%\lib\endorsed;%JRE_HOME%\lib\endorsed" 
-Djava.ext.dirs="%GERONIMO_HOME%\lib\ext;%JRE_HOME%\lib\ext" 
-Dorg.apache.geronimo.home.dir="%GERONIMO_HOME%" 
-Djava.io.tmpdir="%GERONIMO_TMPDIR%" 
-javaagent:%GERONIMO_HOME%\lib\JavaAgent.jar -jar %_JARFILE% %_LONG_OPT% 
%CMD_LINE_ARGS%.

If you are using your own keystore and truststore than you may want to specify 
"org.apache.geronimo.keyStoreTrustStorePasswordFile". Else the default will be 
taken from config-substituion.properties. Chck out GERONIMO-5146. 

The jar has to be copied to lib folder of geronimo.

Thanks
Ashish

> Remove the dependency of clustering over JMXConnector
> -----------------------------------------------------
>
>                 Key: GERONIMO-5148
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5148
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.5, 2.2.1, 3.0
>            Reporter: Ashish Jain
>            Assignee: Ashish Jain
>             Fix For: 2.1.5, 2.2.1, 3.0
>
>         Attachments: 5148.patch, JavaAgent.jar
>
>
> It should be possible to make use of JMXSecureConnector for clustering. 
> Currently if we use JMXSecureConnector than we have to disable the clustering 
> modules.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to