October 2020
« Apr    

JVM Monitoring tool : JTop

Here another informative software tool for monitoring JVM statistics using JDK tools. We can get it from demo folder in JDK bundle (C:\Program Files\Java\jdk1.6.0_14\demo\management).This is the nice tool I found to monitor and identify the JVM threshold value on peak hours.

How to launch JTop

 Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft […]

Monitoring JVM runtime statistics on JAVA application

One of the recent application release starting to keep the server load high after few hours of run and we are getting similar errors in log file [ My webserver is Glassfish Community version Build 5]

Interrupting idle Thread: http-thread-pool-443. To start further investigation, I would prefer to check the JVM consumption and would […]

Creating keystore file from Private key and Certificate file

There will some rare case you may need to generate keystore from Private Key file associated with Certificate file in PEM format. Scenario is moving a website from Apache to Java application server.

My requirement is , client gave PEM file to generate keystore file to configure SSL for Glassfish server.

Solution : Here […]

Glassfish 3 :- Force redirect all the http requests to https

While I’ve been migrating one jsf2 application to the latest version Glassfish3, I need forcefully re-direct all the http requests to https. It’s easy to achieve the same(ie force to https) very easily on earlier Glassfish version which can be done it by simply put a tick on the “SSL enabled” option under “http-lister-1”.

But […]

How do I install SSL on Glassfish server

The following steps will help you to install SSL certificate on Glassfish web server which is a free community edition web sever from Sun Microsystems.

a. Generating private key using keytool

This step will create a private key pair stored in a file named “keystore.jks” encrypted using a password. Private key associate with certain information […]

Glasshfish error : EMBEDDED Broker start failure:code

You may got the following errors when you start the glasshfish server where files are copied it from some other servers. The error exact look likes as follows.

[#|2012-01-02T03:43:44.999-0500|SEVERE|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;_RequestID=a405530f-501e-4486-a1d4-92d05f49976e;|MQJMSRA_RA4001: start:Aborting:Exception starting EMBEDDED broker=EMBEDDED Broker start failure:code = 1|#]


Just delete the “lock” file from the glassfish directory. The location of this file is […]