Question
AIG
US
Last activity: 16 Sep 2016 0:50 EDT
List of all Pega PRPC related MBeans(JMX related MBeans),supported operations list and operation short description.
Can somebody provide me list of all Pega PRPC related MBeans(JMX related MBeans),supported operations list with operation short description.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
JP Morgan Chase
IN
JP Morgan Chase
IN
Hi Sudheer,
Pega provides the JMXJava docs as part of Pega Product .Will that suffice your needs ?
Thanks
DInesh
AIG
US
Accepted Solution
JP Morgan Chase
IN
Pegasystems Inc.
US
AIG
US
Thanks Kevin, Can you provide me steps to run this jConsole on Pega-PVS.
How do I access jConsole of a remote ApplicationServer(for example on WebSphere) where Pega application is hosted, usually on what port we can access this, what username and password we need to give. Do we need to set any security settings, if yes what are those settings. Please provide us details related to this.
Thanks
-Sudheer CH
Pegasystems Inc.
US
I normally setup a local prpc instance running tomcat. The easiest way is to install pega 7.2 personal edition (which comes with a jdk/postgresql/tomcat - https://pdn.pega.com/pega-7-personal-edition). Another advantage for the local setup is the performance, very fast and responsive. Setting up remote access is doable but it will take some efforts (no documents from pega that I am aware of, this is mainly app server specific, e.g., for WAS: Configuring JMX in WebSphere 8.5)
Tata Consulting Services
US
Hi,
We are calling mbean operation from an activity to get listener status. Issue is, we are getting only status of listner from the node in which activity is running from. We need to get listner status from other nodes too. For this we may need to remote login to other nodes. The code which Kevin shared in related topic (https://mesh.pega.com/docs/DOC-81928) seems to have remote login for JBoss server. Appreciate if someone can provide a sample code to do remote login to a different node in websphere server.
Code used:
String host = "pgwasshrxx";
int port = 9999;
String urlString ="service:jmx:remoting-jmx://" + host + ":" + port;
javax.management.remote.JMXServiceURL serviceURL = new javax.management.remote.JMXServiceURL(urlString);
java.util.Map map = new java.util.HashMap();
String[] credentials = new String[] {" Proprietary information hidden", "rules"};
map.put("jmx.remote.credentials", credentials);
javax.management.remote.JMXConnector jmxConnector = javax.management.remote.JMXConnectorFactory.connect(serviceURL, map);
javax.management.MBeanServerConnection connection = jmxConnector.getMBeanServerConnection();
Log:
Hi,
We are calling mbean operation from an activity to get listener status. Issue is, we are getting only status of listner from the node in which activity is running from. We need to get listner status from other nodes too. For this we may need to remote login to other nodes. The code which Kevin shared in related topic (https://mesh.pega.com/docs/DOC-81928) seems to have remote login for JBoss server. Appreciate if someone can provide a sample code to do remote login to a different node in websphere server.
Code used:
String host = "pgwasshrxx";
int port = 9999;
String urlString ="service:jmx:remoting-jmx://" + host + ":" + port;
javax.management.remote.JMXServiceURL serviceURL = new javax.management.remote.JMXServiceURL(urlString);
java.util.Map map = new java.util.HashMap();
String[] credentials = new String[] {" Proprietary information hidden", "rules"};
map.put("jmx.remote.credentials", credentials);
javax.management.remote.JMXConnector jmxConnector = javax.management.remote.JMXConnectorFactory.connect(serviceURL, map);
javax.management.MBeanServerConnection connection = jmxConnector.getMBeanServerConnection();
Log:
2016-09-15 00:08:58,255 [ WebContainer : 0] [ STANDARD] [ ] [ CDR:01.03.01] (eFirst_FW_Renewals_Work.Action) INFO pgwasshr3|sv-xapp-p022.carefirst.com xxxxx - java.net.MalformedURLException: Unsupported protocol: remoting-jmx
2016-09-15 00:18:28,592 [ WebContainer : 21] [ STANDARD] [ ] [ CDR:01.03.01] (eFirst_FW_Renewals_Work.Action) INFO pgwasshr3|sv-xapp-p022.carefirst.com xxxxx- java.net.MalformedURLException: Unsupported protocol: remoting-jmx
2016-09-15 00:24:54,239 [ WebContainer : 32] [ STANDARD] [ ] [ CDR:01.03.01] (eFirst_FW_Renewals_Work.Action) INFO pgwasshr3|sv-xapp-p022.carefirst.com xxxxx - java.net.MalformedURLException: Unsupported protocol: remoting-jmx
Pegasystems Inc.
IN
This has been raised as a new post - Remote Host login for Mean Operation
Regards,
Lochan | Community Moderator | Pegasystems Inc.