How to setup timezone on glassfish/jvm Download http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/tzupdater-1_3_33-2010l.zip?BundledLineItemUUID=IXeJ_hCvlacAAAErQScpGPRn&OrderID=97KJ_hCvNGcAAAErNCcpGPRn&ProductID=T56J_hCwuZIAAAEre0AZ1adz&FileName=/tzupdater-1_3_33-2010l.zip Application Server > JVM Settings > JVM Options Add JVM Option -Duser.timezone=Brazil/East Configuration –> System settings user.timezone = Brazil/East Restart glassfish # service glassfish stop # java -jar tzupdater.jar -u -v # […]
Varnish Backend Response Monitor
I think it is important to know how much time it is taking for the varnish to go to the backend (webserver) and return. The script will show the response time of more then on site, to make it work […]
Compare float in bash
Compare float in bash If you have a regular if and one of the integers has a float value like 1.200 you will get an error message. The best way to do is using the bc command. Like: $ echo […]
How to monitor J2EE applications
How to monitor J2EE applications I found a cool JMX plugin that is does just that. In the example I am doing for Glassfish but I believe it can be done for Weblogic or Tomcat as well. I found quite […]
Rio de Janeiro traveler tips
Of course you have Cristo Corcovado (www.corcovado.com.br) in Rua Cosme Velho, 513, cost like US$ 21 (R/.36) per person and open at 8:30 until 19;00 h you can do it by car or by Corcovado train, well also you can […]
Mining statistics from lottery results
Data mining the megasenna results. Ref. http://plattek.com/estacio/datamining/ 4. Frequência de sorteio das dezenas, em 1218 sorteios: 01 (119) 02 (108) 03 (121) 04 (137) 05 (143) 06 (119) 07 (122) 08 (121) 09 (105) 10 (125) 11 (111) 12 (128) […]
Varnish 2.1.3
Varnish 2.1.3 – Use it! by Kristian on July 30, 2010 “We just released Varnish 2.1.3. And it’s good. I am a person who value stability, predictability and stability over pretty much everything else. I will gladly use 3-year old […]