Article: “We Crunched 1 Billion Java Logged Errors – Here’s What Causes 97% of Them”

A friend shared this article and I find it informative. Here are my notes: Steve Burton explained the challenge for engineers to troubleshoot production issues when the logs are filled with a large number of non-critical error messages. Not only this made troubleshooting of critical errors harder, it also has the following additional costs: “Disk storage to […]

Read more "Article: “We Crunched 1 Billion Java Logged Errors – Here’s What Causes 97% of Them”"

HowTo: Setup GWT remote logging

I find the official documentation on remote logging wasn’t complete. Here are my notes based on various web sites I visited (here, here, and here). Hope this helps! App.gwt.xml You should add the inherits statement below. You should be able to adjust the log level to any of the following: ALL, FINEST, FINER, FINE, CONFIG, INFO, […]

Read more "HowTo: Setup GWT remote logging"

Adding print feature to a GWT app

Enable print: I was able to add print feature to a GWT app by using gwt-print-it library. I used last example in the documentation to get the printing to work (see included code fragment below).“<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01//EN’ ‘’>&#8221;, “<link rel=StyleSheet type=text/css media=paper href=/paperStyle.css>”, RootPanel.get(“myId”)); I had to use absolute URLs instead of […]

Read more "Adding print feature to a GWT app"

Debug JBoss with Eclipse

I found a need to debug JBoss with Eclipse. A search on google led me to ths page. I had to tweak a bit to get my local instance to work. For example, I had to change the quote character from ” to “. JAVA_OPTS=”-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS” After that, JBOSS was able to load […]

Read more "Debug JBoss with Eclipse"

Misc issues resolved

While trying to setup JMS code, I encountered a few small issues and resolved them. Here are my notes: Where in the world is ChapterExRepository? Here it is. According to the following thread, one way to include log4j xml config file is to include the path to the file in the classpath.

Read more "Misc issues resolved"