Databases Reference
In-Depth Information
2.
Now add the following environment variable in the
node-01\liferay-
portal-6.1.1-ce-ga2\ tomcat-7.0.27\bin\setEnv.bat
file of
liferay-
node-01
:
set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.
management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.
ssl=false -Dcom.sun.management.jmxremote.authenticate=false
If the Liferay Portal server is deployed on a Linux- or
Unix-based environment, the same changes need to be
done in the
setEnv.sh
file.
3.
Apply the same changes as mentioned in step 2 on
liferay-node-02
.
4.
Restart the two Liferay Portal nodes.
5.
Now from the command prompt run the
jconsole
command from the
<JAVA_HOME>\bin
directory.
6.
The system will show a connection dialog box, as shown in the
following screenshot:
7.
Enter the values in the
Remote Process
field as shown in the preceding
screenshot and then press
Connect
. The system will open the
Overview
tab.