{"id":857,"date":"2017-12-14T12:26:31","date_gmt":"2017-12-14T12:26:31","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=857"},"modified":"2017-12-14T12:44:43","modified_gmt":"2017-12-14T12:44:43","slug":"weblogic","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/weblogic\/","title":{"rendered":"Weblogic"},"content":{"rendered":"<p class=\"description_pui\">This requires to develop a kind of agent plugin or script which collects information directly from server, after setup the java enviroment.<\/p>\n<p>Information about this is described here:<\/p>\n<p><a href=\"http:\/\/php.ptagis.org\/wiki\/index.php\/Monitor_Weblogic_through_the_command_line\" target=\"_blank\" rel=\"noopener\">http:\/\/php.ptagis.org\/wiki\/index.php\/Monitor_Weblogic_through_the_command_line<\/a><\/p>\n<h2>Module data<\/h2>\n<pre>Monitor Weblogic through the command line\u00a0\r\n\r\nEverything that is visible through the Weblogic admin console (http:\/\/reedi:7001\/console) can be accessed through a command line java tool. This tool can be used to gather data about the weblogic servers via scripting.\u00a0\r\n\r\nThere are at least two ways to get runtime monitoring data about weblogic processes. This document covers the use of the java classes that get information from management beans (mbeans). There is also a java tool that allows for browsing the mbean tree like an ftp client: Weblogic Scripting Tool (WLST).\u00a0\r\n\r\nSet the java environment\u00a0\r\n\r\nThere is a script for setting the CLASSPATH and PATH so that this tool can work. On pitblade, this script is \/dsk2\/local\/bea81\/weblogic81\/server\/bin\/setWLSEnv.sh\u00a0\r\n\r\npitblade:II:root: &gt; source setWLSEnv.sh\u00a0\r\nCLASSPATH=\/dsk2\/local\/bea81\/jdk141_02\/lib\/tools.jar:\/dsk2\/local\/bea81\/weblogic81\/server\/lib\/weblogic_sp.jar:\r\n\/dsk2\/local\/bea81\/weblogic81\/server\/lib\/weblogic.jar:\/dsk2\/local\/bea81\/weblogic81\/server\/lib\/ojdbc14.jar:\r\n:\/dsk1\/AdvIngres\/ing26\/ingres\/lib\/edbc.jar:\/dsk1\/AdvIngres\/ing26\/ingres\/lib\/edbc.jar\u00a0\r\n\r\nPATH=\/dsk2\/local\/bea81\/weblogic81\/server\/bin:\/dsk2\/local\/bea81\/jdk141_02\/jre\/bin:\/dsk2\/local\/bea81\/jdk141_02\/bin:\r\n\/dsk1\/AdvIngres\/ing26\/ingres\/bin:\/dsk1\/AdvIngres\/ing26\/ingres\/utility:\/dsk1\/AdvIngres\/ing26\/ingres\/files:\r\n\/dsk1\/AdvIngres\/ing26\/ingres\/lib:\/dsk1\/AdvIngres\/ing26\/ingres\/SUNWspro\/bin:\/sbin:\/usr\/sbin:\/bin:\/usr\/bin:\r\n\/usr\/ucb:\/etc:\/usr\/etc:\/opt\/fw\/bin:\/var\/adm\/psmfc\/bin:\/usr\/openwin\/bin:\/usr\/local\/bin:\/usr\/psmfc\/bin:\r\n\/usr\/ccs\/bin:\/usr\/lib\/nis:\/opt\/gnu\/bin:\/usr\/local\/bin\u00a0\r\n\r\nYour environment has been set.\u00a0\r\n\r\nVerify that the java environment is set properly\u00a0\r\n\r\nSuccess\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin\u00a0\r\n\r\nweblogic.Admin is a command-line utility for managing WebLogic Server. Try:\u00a0\r\n\r\nweblogic.Admin help LIFECYCLE Starting, stopping, discovering servers\u00a0\r\n\r\nweblogic.Admin help INFO Retrieving info about WebLogic Server\u00a0\r\n\r\nweblogic.Admin help JDBC Working with JDBC connection pools\u00a0\r\n\r\nweblogic.Admin help MBEAN Working with WebLogic Server MBeans\u00a0\r\n\r\nweblogic.Admin help CLUSTER Working with clusters\u00a0\r\n\r\nweblogic.Admin help ALL Help for all commands\u00a0\r\n\r\nUsage: java [&lt;SSL trust options&gt;] weblogic.Admin\u00a0\r\n[ [-url | -adminurl] [&lt;protocol&gt;:\/\/]&lt;listen-address&gt;:&lt;port&gt;]\u00a0\r\n-username &lt;username&gt; -password &lt;password&gt;\u00a0\r\n&lt;COMMAND&gt; &lt;ARGUMENTS&gt;\u00a0\r\n\r\nMore info available at: <a href=\"http:\/\/e-docs.bea.com\/wls\/docs81\/admin_ref\/cli.html\" target=\"_blank\" rel=\"noopener\">http:\/\/e-docs.bea.com\/wls\/docs81\/admin_ref\/cli.html\u00a0<\/a>\r\n\r\nFailure\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin\u00a0\r\nException in thread \"main\" java.lang.NoClassDefFoundError: weblogic\/Admin\u00a0\r\n\r\nSample commands\u00a0\r\nget state\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass GETSTATE myserver\u00a0\r\nCurrent state of \"myserver\" : RUNNING\u00a0\r\n\r\nget server config\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass GET -pretty -type Server\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Name=myserver,Type=Server\"\u00a0\r\nAcceptBacklog: 50\u00a0\r\nAdministrationPort: 0\u00a0\r\nAutoKillIfFailed: false\u00a0\r\nAutoRestart: true\u00a0\r\nCOM: myserver\u00a0\r\nCOMEnabled: false\u00a0\r\nCachingDisabled: true\u00a0\r\nClasspathServletDisabled: false\u00a0\r\nClientCertProxyEnabled: false\u00a0\r\nCluster:\u00a0\r\nClusterRuntime:\u00a0\r\nClusterWeight: 100\u00a0\r\nCompleteCOMMessageTimeout: -1\u00a0\r\nCompleteHTTPMessageTimeout: -1\u00a0\r\nCompleteIIOPMessageTimeout: -1\u00a0\r\nCompleteMessageTimeout: 60\u00a0\r\nCompleteT3MessageTimeout: -1\u00a0\r\nCustomIdentityKeyStoreFileName:\u00a0\r\nCustomIdentityKeyStorePassPhrase:\u00a0\r\nCustomIdentityKeyStoreType:\u00a0\r\nCustomTrustKeyStoreFileName:\u00a0\r\nCustomTrustKeyStorePassPhrase:\u00a0\r\nCustomTrustKeyStoreType:\u00a0\r\nDefaultIIOPPassword:\u00a0\r\nDefaultIIOPUser:\u00a0\r\nDefaultInternalServletsDisabled: false\u00a0\r\nDefaultProtocol: t3\u00a0\r\nDefaultSecureProtocol: t3s\u00a0\r\nDefaultTGIOPPassword: ******\u00a0\r\nDefaultTGIOPUser: guest\u00a0\r\nDomainLogFilter:\u00a0\r\nEnabledForDomainLog: true\u00a0\r\nExecuteQueues: weblogic.kernel.Default\u00a0\r\nExpectedToRun: true\u00a0\r\nExternalDNSName:\u00a0\r\nExtraEjbcOptions:\u00a0\r\nExtraRmicOptions:\u00a0\r\nGracefulShutdownTimeout: 10\u00a0\r\nHealthCheckIntervalSeconds: 180\u00a0\r\nHealthCheckTimeoutSeconds: 60\u00a0\r\nHttpdEnabled: true\u00a0\r\nIIOP: myserver\u00a0\r\nIIOPEnabled: true\u00a0\r\nIdleConnectionTimeout: 65\u00a0\r\nIdleIIOPConnectionTimeout: -1\u00a0\r\nIgnoreSessionsDuringShutdown: true\u00a0\r\nInstrumentStackTraceEnabled: true\u00a0\r\nInterfaceAddress:\u00a0\r\nJDBCLogFileName: myserver\/jdbc.log\u00a0\r\nJDBCLoggingEnabled: false\u00a0\r\nJMSDefaultConnectionFactoriesEnabled: true\u00a0\r\nJNDITransportableObjectFactoryList:\u00a0\r\nJavaCompiler: javac\u00a0\r\nJavaCompilerPostClassPath:\u00a0\r\nJavaCompilerPreClassPath:\u00a0\r\nJavaStandardTrustKeyStorePassPhrase:\u00a0\r\nKeyStores: DemoIdentityAndDemoTrust\u00a0\r\nListenAddress:\u00a0\r\nListenDelaySecs: 0\u00a0\r\nListenPort: 7001\u00a0\r\nListenPortEnabled: true\u00a0\r\nLog: myserver\u00a0\r\nLogRemoteExceptionsEnabled: false\u00a0\r\nLoginTimeout: 1000\u00a0\r\nLoginTimeoutMillis: 5000\u00a0\r\nLowMemoryGCThreshold: 5\u00a0\r\nLowMemoryGranularityLevel: 5\u00a0\r\nLowMemorySampleSize: 10\u00a0\r\nLowMemoryTimeInterval: 3600\u00a0\r\nMSIFileReplicationEnabled: false\u00a0\r\nMachine:\u00a0\r\nManagedServerIndependenceEnabled: true\u00a0\r\nMaxCOMMessageSize: -1\u00a0\r\nMaxHTTPMessageSize: -1\u00a0\r\nMaxIIOPMessageSize: -1\u00a0\r\nMaxMessageSize: 10000000\u00a0\r\nMaxOpenSockCount: -1\u00a0\r\nMaxT3MessageSize: -1\u00a0\r\nMessageIdPrefixEnabled: true\u00a0\r\nMuxerClass:\u00a0\r\nName: myserver\u00a0\r\nNativeIOEnabled: true\u00a0\r\nNetworkAccessPoints:\u00a0\r\nNotes:\u00a0\r\nObjectName: myserver\u00a0\r\nParent: mydomain\u00a0\r\nPreferredSecondaryGroup:\u00a0\r\nRegistered: true\u00a0\r\nReliableDeliveryPolicy:\u00a0\r\nReplicationGroup:\u00a0\r\nRestartDelaySeconds: 0\u00a0\r\nRestartIntervalSeconds: 3600\u00a0\r\nRestartMax: 2\u00a0\r\nReverseDNSAllowed: false\u00a0\r\nSSL: myserver\u00a0\r\nServerStart: myserver\u00a0\r\nServerVersion: 8.1.0.0\u00a0\r\nSocketReaders: -1\u00a0\r\nStagingMode:\u00a0\r\nStartupMode: RUNNING\u00a0\r\nStdoutDebugEnabled: false\u00a0\r\nStdoutEnabled: true\u00a0\r\nStdoutFormat: standard\u00a0\r\nStdoutLogStack: true\u00a0\r\nStdoutSeverityLevel: 32\u00a0\r\nStuckThreadMaxTime: 600\u00a0\r\nStuckThreadTimerInterval: 600\u00a0\r\nTGIOPEnabled: false\u00a0\r\nThreadPoolPercentSocketReaders: 33\u00a0\r\nTransactionLogFilePrefix: .\/\u00a0\r\nTransactionLogFileWritePolicy: Cache-Flush\u00a0\r\nTunnelingClientPingSecs: 45\u00a0\r\nTunnelingClientTimeoutSecs: 40\u00a0\r\nTunnelingEnabled: false\u00a0\r\nType: Server\u00a0\r\nUploadDirectoryName: .\/myserver\/upload\u00a0\r\nVerboseEJBDeploymentEnabled: false\u00a0\r\nWebServer: myserver\u00a0\r\nWeblogicPluginEnabled: false\u00a0\r\nXMLEntityCache:\u00a0\r\nXMLRegistry:\u00a0\r\n\r\nget server stats\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass GET -pretty -type ServerRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=myserver,Type=ServerRuntime\"\u00a0\r\nActivationTime: 1149801609891\u00a0\r\nAdminServer: true\u00a0\r\nAdminServerHost: pitblade\u00a0\r\nAdminServerListenPort: 7001\u00a0\r\nAdminServerListenPortSecure: false\u00a0\r\nAdministrationPort: 9002\u00a0\r\nAdministrationPortEnabled: false\u00a0\r\nCachingDisabled: true\u00a0\r\nClusterRuntime:\u00a0\r\nCurrentDirectory: \/dsk2\/local\/bea81\/user_projects\/mydomain\/.\u00a0\r\nHealthState: State:HEALTH_OK,ReasonCode:[,]\u00a0\r\nJVMID: -6864539854587189921\/205.230.28.80\/null\/null\/-840557488\/9\/7001\/7001\/-1\/-1\/7001\/-1\/-1\/0\/0\/mydomain\/myserver\r\nJVMRuntime: myserver\u00a0\r\nListenAddress: pitblade\/205.230.28.80\u00a0\r\nListenPort: 7001\u00a0\r\nListenPortEnabled: true\u00a0\r\nName: myserver\u00a0\r\nObjectName: myserver\u00a0\r\nOpenSocketsCurrentCount: 1\u00a0\r\nParent:\u00a0\r\nRegistered: true\u00a0\r\nRestartsTotalCount: 0\u00a0\r\nSSLListenAddress:\u00a0\r\nSSLListenPort: 7002\u00a0\r\nSSLListenPortEnabled: false\u00a0\r\nServerSecurityRuntime: myserver\u00a0\r\nSocketsOpenedTotalCount: 1\u00a0\r\nState: RUNNING\u00a0\r\nType: ServerRuntime\u00a0\r\nWeblogicVersion: WebLogic Server 8.1 Thu Mar 20 23:06:05 PST 2003 246620\u00a0\r\nWebLogic XMLX Module 8.1 Thu Mar 20 23:06:05 PST 2003 246620\u00a0\r\n\r\n\r\nget queue stats\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass GET -pretty -type ExecuteQueueRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=weblogic.admin.RMI,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 2\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@1ee2c2c\u00a0\r\nName: weblogic.admin.RMI\u00a0\r\nObjectName: weblogic.admin.RMI\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151346311947\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 25\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=weblogic.kernel.System,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 5\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@a9255c\u00a0\r\nName: weblogic.kernel.System\u00a0\r\nObjectName: weblogic.kernel.System\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151346312003\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 1581056\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 15\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@af72d8\u00a0\r\nName: weblogic.kernel.Default\u00a0\r\nObjectName: weblogic.kernel.Default\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151346312035\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 414117\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=weblogic.admin.HTTP,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 2\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@21e554\u00a0\r\nName: weblogic.admin.HTTP\u00a0\r\nObjectName: weblogic.admin.HTTP\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151346312061\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 5471\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=weblogic.kernel.Non-Blocking,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\u00a0\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 0\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@14df764\u00a0\r\nName: weblogic.kernel.Non-Blocking\u00a0\r\nObjectName: weblogic.kernel.Non-Blocking\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151346312088\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 0\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\nget queue stats for just the default execute queue (the one that does application work)\u00a0\r\n\r\nThis shows that there are 15 idle threads that can be used by the application and there are no pending requests. Also, this queue has serviced 415,607 requests.\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass -pretty GET -mbean \"mydomain:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 15\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@48edb5\u00a0\r\nName: weblogic.kernel.Default\u00a0\r\nObjectName: weblogic.kernel.Default\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151352425362\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 415607\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\n\r\nThe same query for production looks like this:\u00a0\r\n\r\nreedi.psmfc.org:C1:root: &gt; java weblogic.Admin -url t3:\/\/reedi:7001 -username user -password pass -pretty GET -mbean \"mydomain2:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain2:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime\"\r\nCachingDisabled: true\u00a0\r\nExecuteThreadCurrentIdleCount: 15\u00a0\r\nExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@48edb5\u00a0\r\nName: weblogic.kernel.Default\u00a0\r\nObjectName: weblogic.kernel.Default\u00a0\r\nParent: myserver\u00a0\r\nPendingRequestCurrentCount: 0\u00a0\r\nPendingRequestOldestTime: 1151355058643\u00a0\r\nRegistered: true\u00a0\r\nServicedRequestTotalCount: 796640\u00a0\r\nType: ExecuteQueueRuntime\u00a0\r\n\r\n\r\nget JVM stats\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass GET -pretty -type JVMRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=myserver,ServerRuntime=myserver,Type=JVMRuntime\"\u00a0\r\nCachingDisabled: true\u00a0\r\nHeapFreeCurrent: 221438512\u00a0\r\nHeapSizeCurrent: 265879552\u00a0\r\nJavaVendor: Sun Microsystems Inc.\u00a0\r\nJavaVersion: 1.4.1_02-ea\u00a0\r\nName: myserver\u00a0\r\nOSName: SunOS\u00a0\r\nOSVersion: 5.9\u00a0\r\nObjectName: myserver\u00a0\r\nParent: myserver\u00a0\r\nRegistered: true\u00a0\r\nType: JVMRuntime\u00a0\r\n\r\n\r\nOn production that same command gets just the admin server JVM stats:\u00a0\r\n\r\n\"$JAVA_HOME\/bin\/java\" weblogic.Admin -url t3:\/\/reedi:7001 -username $WLS_USER -password $WLS_PW -pretty GET -type JVMRuntime\u00a0\r\nreedi.psmfc.org:C1:root: &gt; .\/watchHeap.sh\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain2:Location=myserver,Name=myserver,ServerRuntime=myserver,Type=JVMRuntime\"\u00a0\r\nCachingDisabled: true\u00a0\r\nHeapFreeCurrent: 16717904\u00a0\r\nHeapSizeCurrent: 62840832\u00a0\r\nJavaVendor: Sun Microsystems Inc.\u00a0\r\nJavaVersion: 1.4.1_02-ea\u00a0\r\nName: myserver\u00a0\r\nOSName: SunOS\u00a0\r\nOSVersion: 5.9\u00a0\r\nObjectName: myserver\u00a0\r\nParent: myserver\u00a0\r\nRegistered: true\u00a0\r\nType: JVMRuntime\u00a0\r\n\r\nTo get the JVM stats for the app servers that are doing the work, specify the adminurl to an appserver instead of the admin server:\u00a0\r\n\r\n\"$JAVA_HOME\/bin\/java\" weblogic.Admin -url t3:\/\/reedi:7003 -username $WLS_USER -password $WLS_PW -pretty GET -type JVMRuntime\u00a0\r\n\r\nreedi.psmfc.org:C1:root: &gt; .\/watchHeap.sh\u00a0\r\n\r\n\u00a0\r\n<strong>MBeanName<\/strong>: \"mydomain2:Location=appserver_reedi,Name=appserver_reedi,ServerRuntime=appserver_reedi,Type=JVMRuntime\"\r\nCachingDisabled: true\u00a0\r\nHeapFreeCurrent: 137764704\u00a0\r\nHeapSizeCurrent: 265879552\u00a0\r\nJavaVendor: Sun Microsystems Inc.\u00a0\r\nJavaVersion: 1.4.1_02-ea\u00a0\r\nName: appserver_reedi\u00a0\r\nOSName: SunOS\u00a0\r\nOSVersion: 5.9\u00a0\r\nObjectName: appserver_reedi\u00a0\r\nParent: appserver_reedi\u00a0\r\nRegistered: true\u00a0\r\nType: JVMRuntime\u00a0\r\n\r\nget JDBC stats\u00a0\r\n\r\nWe have connection pools configured, but are not using them, so this is not a useful source of information.\u00a0\r\n\r\npitblade:II:root: &gt; java weblogic.Admin -username user -password pass GET -pretty -type JDBCConnectionPoolRuntime\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=SOCKEYE,ServerRuntime=myserver,Type=JDBCConnectionPoolRuntime\"\r\nActiveConnectionsAverageCount: 0\u00a0\r\nActiveConnectionsCurrentCount: 0\u00a0\r\nActiveConnectionsHighCount: 0\u00a0\r\nCachingDisabled: true\u00a0\r\nConnectionDelayTime: 360\u00a0\r\nConnectionLeakProfileCount: 0\u00a0\r\nConnectionsTotalCount: 1\u00a0\r\nCurrCapacity: 1\u00a0\r\nEnabled: true\u00a0\r\nFailuresToReconnectCount: 0\u00a0\r\nHighestNumAvailable: 1\u00a0\r\nHighestNumUnavailable: 0\u00a0\r\nLeakedConnectionCount: 0\u00a0\r\nMaxCapacity: 30\u00a0\r\nName: SOCKEYE\u00a0\r\nNumAvailable: 1\u00a0\r\nNumUnavailable: 0\u00a0\r\nObjectName: SOCKEYE\u00a0\r\nParent: myserver\u00a0\r\nPoolState: true\u00a0\r\nProperties: database=sockeye::ptagis3;user=webjsp\u00a0\r\nRegistered: true\u00a0\r\nState: Running\u00a0\r\nType: JDBCConnectionPoolRuntime\u00a0\r\nVersionJDBCDriver: ca.edbc.jdbc.EdbcDriver\u00a0\r\nWaitSecondsHighCount: 0\u00a0\r\nWaitingForConnectionCurrentCount: 0\u00a0\r\nWaitingForConnectionHighCount: 0\u00a0\r\n\r\n<strong>MBeanName<\/strong>: \"mydomain:Location=myserver,Name=PTAGIS3_Blueback,ServerRuntime=myserver,Type=JDBCConnectionPoolRuntime\"\r\nActiveConnectionsAverageCount: 0\u00a0\r\nActiveConnectionsCurrentCount: 0\u00a0\r\nActiveConnectionsHighCount: 0\u00a0\r\nCachingDisabled: true\u00a0\r\nConnectionDelayTime: 577\u00a0\r\nConnectionLeakProfileCount: 0\u00a0\r\nConnectionsTotalCount: 1\u00a0\r\nCurrCapacity: 1\u00a0\r\nEnabled: true\u00a0\r\nFailuresToReconnectCount: 0\u00a0\r\nHighestNumAvailable: 1\u00a0\r\nHighestNumUnavailable: 0\u00a0\r\nLeakedConnectionCount: 0\u00a0\r\nMaxCapacity: 15\u00a0\r\nName: PTAGIS3_Blueback\u00a0\r\nNumAvailable: 1\u00a0\r\nNumUnavailable: 0\u00a0\r\nObjectName: PTAGIS3_Blueback\u00a0\r\nParent: myserver\u00a0\r\nPoolState: true\u00a0\r\nProperties: database=Blueback::ptagis3;user=webjsp\u00a0\r\nRegistered: true\u00a0\r\nState: Running\u00a0\r\nType: JDBCConnectionPoolRuntime\u00a0\r\nVersionJDBCDriver: ca.edbc.jdbc.EdbcDriver\u00a0\r\nWaitSecondsHighCount: 0\u00a0\r\nWaitingForConnectionCurrentCount: 0\u00a0\r\nWaitingForConnectionHighCount: 0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This requires to develop a kind of agent plugin or script which collects information directly from server, after setup the java enviroment. Information about this is described here: http:\/\/php.ptagis.org\/wiki\/index.php\/Monitor_Weblogic_through_the_command_line Module data Monitor Weblogic through the command line\u00a0 Everything that is visible through the Weblogic admin console (http:\/\/reedi:7001\/console) can be accessed through a command line java [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[5],"tags":[203],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/857"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=857"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}