[
https://issues.apache.org/jira/browse/TOMEE-4105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742513#comment-17742513
]
Richard Zowalla commented on TOMEE-4105:
----------------------------------------
{code:java}
rz@ironcat:~/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0/bin$ cat
setenv.sh
CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote.port=8686
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false"
{code}
{code:java}
rz@ironcat:~/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0/bin$
./catalina.sh start
Using CATALINA_BASE:
/home/rz/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0
Using CATALINA_HOME:
/home/rz/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0
Using CATALINA_TMPDIR:
/home/rz/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0/temp
Using JRE_HOME: /usr
Using CLASSPATH:
/home/rz/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0/bin/bootstrap.jar:/home/rz/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0/bin/tomcat-juli.jar
Using CATALINA_OPTS: -Dcom.sun.management.jmxremote.port=8686
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
Tomcat started.
{code}
{code:java}
rz@ironcat:~/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0/bin$
sudo netstat -tulpen | grep 8686
[sudo] Passwort für rz:
tcp6 0 0 :::8686 :::* LISTEN
1000 46189 4747/java
{code}
Connect via JConsole on localhost:8686.
> jmxremote enabled from java options in tomee not working
> --------------------------------------------------------
>
> Key: TOMEE-4105
> URL: https://issues.apache.org/jira/browse/TOMEE-4105
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 8.0.13
> Reporter: Yugandher reddy vonteddu
> Priority: Major
> Attachments: TomEE.2023-01-17.log, catalina.err, catalina.out,
> image-2022-10-31-13-00-33-841.png, image-2022-10-31-13-04-44-626.png,
> image-2023-03-16-16-04-46-556.png
>
>
> Hello Team,
>
> we where using 8.0.12 earlier and below jmx remote java properties where
> added then TomEE started properly without any error
> -Dcom.sun.management.jmxremote.port=8686
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false
>
> but when we do the same from 8.0.13 then we are getting below error
> !image-2022-10-31-13-00-33-841.png!
> did something chnage reagrding this in new TomEE?
>
> we see when we add the below property its working fine again
> -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8000
> !image-2022-10-31-13-04-44-626.png!
>
> can you help us with this if its mandatory so that we can document in our
> product
--
This message was sent by Atlassian Jira
(v8.20.10#820010)