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”"
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"
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). Print.it(“<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01//EN’ ‘http://www.w3.org/TR/html4/strict.dtd’>”, “<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"
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"
I came across this tutorial and found it useful! 🙂Read more "History and tab panel in GWT"
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"
Yesterday, I finally SSO enabled a second web application using CAS (specifically CAS Java client) The process was relatively similar to the steps documented in the client page.Read more "SSO enable a web app"
I found a need to retrieve a configuration value in web.xml and found the following post useful.Read more "context-param and init-param in web.xml"
After I was so spoiled by GWT/Eclipse’s streamlined way of deploying a GWT application to the embedded server or Google App Engine, I was annoyed by how little support it has for other application servers. Fortunately, I was able to semi-automatically generate a WAR file for manual deployment on a remote server by following this […]Read more "Create a WAR file for a GWT application"
It’s unfortunate that my initial experience with GWT’s SimplePager wasn’t very positive. The paging behaviour toward end of the list showed the following: For the last page, pager would attempt to request record count at last index + page size. This would cause pager to go index array out of bound. i.e. Let’s say you […]Read more "GWT SimplePager"