December 2020
« Apr    

How to change default JMS port on Glassfish server

Yesterday I was doing a task to fecilitate another Glassfish instance on the same IP but on using different port. I have modified all the ports those are mentioned specifically in domain.xml file. But yo u remember, I have another Glassfish server installed on the same hosting using default port values. While I’m verifying the […]

Glassfish 3 : There is a process already using the admin port 4848

When I migrated my glassfish server to new server I got the flowing error.

[root@QA02]# /var/glassfish-QA/bin/asadmin start-domain domain1 There is a process already using the admin port 4848 — it probably is another instance of a GlassFish server. Command start-domain failed.

I tried killing all the java process by executing this command “killall -9 java” […]

Running Glassfish as Windows Service

I have a requirement to run J2EE server Glassfish on Windows er server which I need to start at windows booting time. So I’m searching for a way to run it as window service. So that I can start and stop it at any time. After had few searches,I found something complicated from Oracle site […]

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 […]

Exporting private key Glassfish to Apache

My requirement is One of the java web server running on Glassfish apparently slow while on peak hours and this site has been served all the pages over https as of security concerns. I would like to improve the site performance as well as optimizing the sql query, effective usage of JVM settings close to […]