Showing posts with label tomcat. Show all posts
Showing posts with label tomcat. Show all posts

Thursday, October 16, 2014

Fast stats from glassfish server.log

Very fast python script to take a fast look at your glassfish server.log file.

Output:

Fecha Inicio:  [2014-10-13T23:54:54.372+0200]
Fecha Fin:  [2014-10-16T13:46:22.230+0200]
Total INFO:  826
Total WARN:  126
Total SEVERE:  2341
Total ERROR:  96
Total Processing:  3389
Total Exceptions:  0
Total logfile lines:  13646

The script:


Wednesday, February 19, 2014

Firewall rules to redirect Glassfish 4.0 ports (80,443,8080 and 8181 will be open to internet)

Hello! Fast trick to redirect ports when you are using an java application server.

Be careful because 80, 443, 8080 and 8181 ports will be open to Internet.  If you want to close the 8080 and 8181 you will need an AJP proxy or to mark packets in the firewall. Read this link:

http://stackoverflow.com/questions/11065124/iptables-redirect-80-to-8080-but-block-public-8080-access

:)