cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

Enabling JMX Monitoring in WebLogic Server

Hello All,

We have Weblogic domain server with cluster(cluster_FFE) environment under which we have 2 managed servers running refer below screenshot.

pastedImage_0.png

Now we need to configure the SolarWinds monitoring for all this server by enabling the JMX port. 

To do so we have added the below configuration in the setDomainEnv.sh

JAVA_OPTIONS="$JAVA_OPTIONS -Djava.rmi.server.hostname=xxx.xxx.xx.xxx"

JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote"

JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote.port=8686"

JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote.ssl=false"

JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote.authenticate=false"

export JAVA_OPTIONS

Now when we started the WebLogic server using the command (nohup ./startWebLogic.sh  &), Admin server started successfully.

And when we try to start the managed server from the Weblogic AdminConsole, server state going to FAILED_NOT_RESTARTABLE state.

pastedImage_3.png

When we checked the logs for the same (Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 8686; nested exception is:

        java.net.BindException: Address already in use)

pastedImage_5.png

This means that Admin server whcih was started before this managed server using the 8686 port. hence the managed server cannot use this port failed to start because of this.

Is there a way to enable the jmx for the all the server with the same port, kind of cluster level jmx enablement is the exact requirement for us.

Thanks in Advance.

Regards,

Naveen.

0 Kudos
0 Replies