[ 
https://issues.apache.org/jira/browse/TOMEE-4105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17741944#comment-17741944
 ] 

Richard Zowalla commented on TOMEE-4105:
----------------------------------------

On my Ubuntu system, I downloaded 9.1.0 and created *setenv.sh* with the 
following content:
{code:java}
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=8686 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false"{code}

Afterwards I run

 
{code:java}
rz@ironpig-linux:~/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:   
Tomcat started.{code}

Next, I checked for an open port

 
{code:java}
rz@ironpig-linux:~/Downloads/apache-tomee-9.1.0-plus/apache-tomee-plus-9.1.0$ 
sudo netstat -tulpen | grep 8686
tcp6       0      0 :::8686                 :::*                    LISTEN      
1000       99080      13841/java{code}

And connected via *jconsole* to 8686 using JMX.

> 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)

Reply via email to