jolokia queue monitoring html script (uses jquery)

Just alter the location of jquery to suit:


<!doctype html>
<script type=”text/javascript” src=”jquery-1.11.1.js“></script>
<style type=”text/css”>
td { border: 1px solid #666; padding:5px; }
table { border-collapse:collapse}
<body onload=”javascript:fetch()”>
<h1>Monitoring Queues on Admin Server</h1>
<script type=”text/javascript”>
var index_url = “http://localhost:7001/jolokia-war-1.2.1/read/com.bea:JMSServerRuntime=jms-server-1,Name=jms-module-1!!indexQueue,ServerRuntime=AdminServer,Type=JMSDestinationRuntime/MessagesCurrentCount,MessagesHighCount,MessagesReceivedCount”;
var luc_index_url = “http://localhost:7001/jolokia-war-1.2.1/read/com.bea:JMSServerRuntime=jms-server-1,Name=jms-module-1!!luceneIndexQueue,ServerRuntime=AdminServer,Type=JMSDestinationRuntime/MessagesCurrentCount,MessagesHighCount,MessagesReceivedCount”;
var mine_url = “http://localhost:7001/jolokia-war-1.2.1/read/com.bea:JMSServerRuntime=jms-server-1,Name=jms-module-1!!mineQueue,ServerRuntime=AdminServer,Type=JMSDestinationRuntime/MessagesCurrentCount,MessagesHighCount,MessagesReceivedCount”;

function updateDiv(url, divName) {
$.getJSON( url,
function( data ) {
var mhc = data.value.MessagesCurrentCount;

function fetch() {
updateDiv(index_url, “#indexQueueCount”);
updateDiv(mine_url, “#mineQueueCount”);
$(“#lastDate”).html(new Date());
setTimeout(fetch, 2000)
<td>Index Queue Current Message Count</td>
<td id=”indexQueueCount”></td>
<td>Lucene Queue Current Message Count</td>
<td id=”luceneQueueCount”></td>
<td>Link Mining Queue Current Message Count</td>
<td id=”mineQueueCount”></td>
Last fetched: <span id=”lastDate”></span>


WebLogic 12.1.2 Install – silent mode, console mode

Okay, well I decided to upgrade my WebLogic install knowledge tonight. I’ve got a few installs already to play with but thought I’d experience once more the joy that is the silent WebLogic install. Little did I know…

In WebLogic 12.1.2 we get some pretty big changes to the server installer:

  • Installation is now via the Oracle Unified Installer.
  • Install runs system requirement checks, warning if certain prerequisites are not met.
  • Silent mode requires a -silent flag (not -mode=silent) and a response file.
  • There is console switch or falling back to console for the installer – silent or gui only.

To get a response file you can run the GUI installer and click the ‘Save Response file’ button. Here is my response file from installing as a user oracle:


Response File Version=


#The oracle home location. This can be an existing Oracle Home or a new Oracle Home

#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=WebLogic Server

#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.

#Provide the My Oracle Support Password

#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration

#Set this to true if My Oracle Support Password is specified

#Provide the Proxy Host

#Provide the Proxy Port

#Provide the Proxy Username

#Provide the Proxy Password

#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]