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

How to delete the PU protocol from Glassfish 3

I have created PU protocol on Glassfish server in order to serving SSL pages forcefully. The main issue is this is the only way to redirect all the non-http requests to https. I did not find any other option for ‘SSL forcing’ in Glassfish 3 version. But here I want to get the same domain.xml […]

How to create keystore/jks file from SSL certifcate and Private key

Recently I had a challenge to install SSL certificate on Java based web server. The customer has certificate file, CA bundle and private key file. During the Googling it is found that we can not generate JKS file directly from the given certificate and private key file. JKS/keypair creation procedure are showing below,

1. Generate […]

File exists: mod_lua: Failed to create shared memory segment on file /tmp/httpd_lua_shm

This is the one strange error I’m getting from one the staging server. When I’m trying to restart the web server , it’s always showing, pid exists. stopped. It’s a kind of weird incident. As far I know that there are some part of Apache module libraries /programs are loaded in memory and Apache service […]

Nginx Error : 413 Request Entity Too Large

The Web server (running the Web site) thinks that the HTTP data stream sent by the client (e.g. your Web browser or something you feed in application) was simply too large i.e. too many bytes than normal. What constitutes ‘too many bytes‘ depends partly upon the operation being attempted. For example a request to upload […]

GeoIP : How to manage the web traffic on Amazon loadbalencer or block web accesss to a country

Recently we had an issue with the nodes which added in Loadbalencers due to heavy traffic. Server load become high during the peak time and identified that most of the busy traffic are being used for spamming and marketing purpose. Also we getting many referral traffic from banned countries as showing below,

1. Russia 2. […]