RAD: Server Configurations in Rational Developer 6.0: copy, repair…

This article describes some tricks you can do with RAD’s server configurations (mostly for WebSpehere App.Server/Portal Server). 1. Problem: Create a new server config based on an old one.  The view “Servers” only permits to create a new server configuration (R mouse – New – Server). To create it based on an existing configuration (calledContinue reading “RAD: Server Configurations in Rational Developer 6.0: copy, repair…”

DB2: Find out current locks, long transactions etc. [snapshot]

To find out current locks in a DB and other information about its current state, you need to take a “snapshot”: db2 “attach to user using ” db2 “get snapshot for applications on ”  > mydatabase_snapshot.txt Look into the resulting mydatabase_snapshot.txt for “Application ID holding”  (if there is a lock, this will read the IDContinue reading “DB2: Find out current locks, long transactions etc. [snapshot]”

Ant/Maven: Add build date/revision to the generated JAR’s Manifest

I’ll explain how to get build time info and svn revision into the buildedjar/ear in Maven or Ant. 1. Maven If you want to have the build date of a JAR built by Maven in its Manifest file, paste the following lines at the beginning of your maven.xml: <tstamp/> <j:set value=”JarBuildDate var=”maven.jar.manifest.attributes.list” /> <j:set value=”${DSTAMP}”Continue reading “Ant/Maven: Add build date/revision to the generated JAR’s Manifest”