Posts Tagged ‘Java’

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

History and tab panel in GWT

Posted: August 4, 2011 in howto, Technology
Tags: , , ,

I came across this tutorial and found it useful!

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.

SSO enable a web app

Posted: June 29, 2011 in Technology
Tags: , , ,

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.

I found a need to retrieve a configuration value in web.xml and found the following post useful.

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

GWT SimplePager

Posted: June 9, 2011 in howto, Technology
Tags: , , , ,

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

GWT dev mode remote access

Posted: June 1, 2011 in howto
Tags: , , ,

I needed to access the GWT build-in server for Eclipse from another machine. A search on-line led me to this tutorial. It worked!

ebuild

Posted: April 13, 2011 in Life in general
Tags: , ,

While looking for an ant build script generator, I came across ebuild and found it interesting. With this, I no longer really need to maintain a “generated” ant build script.

Subclipse on Fedora

Posted: March 24, 2011 in howto, Technology
Tags: , , ,

Update 20110926: In Fedora 15, you can just install subversion-javahl-1.6.17-1.fc15 from Add/Remove Software tool, much easier than the method described earlier. When trying to run Subclipse, I got the following error: Failed to load JavaHL Library. To get JavaHL loaded for Subclipse on Fedora, I had to first register on Collabnet before attempt to install [...]