Hello,
I need to get jmx in alfresco CE.
I followed the documentation below, but it didn't work out.
Did not generate directory structure /etc/alfresco/config/
https://docs.alfresco.com/5.0/tasks/jmx-access.html
Any other procedures to be done?
Thanks.
JMX objects are not available in Alfresco Community Edition like they are in Alfresco Enterprise Edition. This is one of the "commercial only" features available to Enterprise Edition.
However, you might want to check out this community-driven initiative:
https://github.com/loftuxab/alfresco-jmx
It looks like it hasn't been touched in quite a while, though.
Hi jpotts,
I'm using JRE for alfresco.
Look:
https://gi.processoverde.com.br/alfresco/s/admin/admin-communitysummary
Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Java version: 1.8.0_232
See the error below:
root@servertwtech:~/install/alfresco-jmx# ./run.sh
[INFO] Compiling 3 source files to /root/install/alfresco-jmx/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:39 min
[INFO] Finished at: 2019-12-23T14:35:09-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5:compile (default-compile) on project alfresco-jmx: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Do I have to change any parameters to compile JMX?
With best regards,
Zé Brasil
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.