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 [...]
Posts Tagged ‘Java’
Debug JBoss with Eclipse
Posted: November 30, 2011 in Eclipse, howto, IDE, TechnologyTags: debugging, Eclipse, howto, Java, JBoss
History and tab panel in GWT
Posted: August 4, 2011 in howto, TechnologyTags: GWT, howto, Java, Tutorial
I came across this tutorial and found it useful!
Misc issues resolved
Posted: July 8, 2011 in howto, Life in general, TechnologyTags: Java, JBoss, log4j JMS
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.
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.
context-param and init-param in web.xml
Posted: June 29, 2011 in howto, Java, TechnologyTags: configuration, j2ee, Java
I found a need to retrieve a configuration value in web.xml and found the following post useful.
Create a WAR file for a GWT application
Posted: June 9, 2011 in howto, TechnologyTags: Eclipse, GWT, howto, Java, Netbeans
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 [...]
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 [...]
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!
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, TechnologyTags: Eclipse, Java, javahl, Subversion
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 [...]
