Category Archives: Java

Java tips and tricks

Migrating Data to DB2 9.7 LUW

Problem You reached the limit or your unhappy with the performance or features of your database server, and you want to move to DB2. The transition can be simple with respect to your code, as it may be just a … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in AIX, Cloud Computing, DB2, Data Warehouse, Hosting Support, Java, Linux, Mac OS X | Tagged , , , , | View Comments

IBM Security Tools

IBM has a comprehensive approach to encourage security by design. A free Red Book is available for developers: The IBM Redbook for Security in Development The home page for IBM’s main security testing tool is IBM Rational AppScan Share and … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in AIX, Cloud Computing, Cognos 8, DB2, Data Warehouse, Java, Linux, Services | Tagged , , | View Comments

Qpid, an AMQP implementation

Joshua Kramer has an article in LJ about Qpid and AMQP. One of the most compelling aspects of Qpid is its cross plaform and cross language capability. Finally there is a message broker that is easy to use and has … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in Java | Tagged , , | View Comments

Install Open MQ 4.4 on Mac OS X 10.6 (Snow Leopard)

Intro Snow Leopard comes with a native 64 bit Java 1.6 environment. The Open MQ binaries are made for the JDK 1.5 in 32 bit. This article shows how to make Open MQ work on OS X 1.6 by compiling … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in Java | Tagged | View Comments

How to create an MD5 password in java or Tomcat

To create an MD5 password at the prompt, assuming you have tomcat installed in /usr/local/tomcat, type $ export TOMCAT=”/usr/local/tomcat” $ java -cp “$TOMCAT/server/lib/catalina.jar:/usr/share/java/jmxri.jar:$TOMCAT/bin/commons-logging-api.jar” \ org.apache.catalina.realm.RealmBase -a md5 [secret] by replacing “[secret]” with the password. Some systems have a working digest.sh … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in Java | Tagged , , | View Comments

Problems starting Java

If running a legacy java app on a newer RH or RHEL system, youget: Error occurred during initialization of VM Unable to load native library: …/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference This … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in Java | Tagged , , | View Comments

How to load/reload/unload apps while Tomcat is running

To manage web applications with Tomcat, you can use the Tomcat manager application that comes with Tomcat. These simple steps show how it is done: Make sure that there is a user with manager role set up in the …/tomcat4/conf/tomcat-users.xml file. The … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in Java | Tagged | View Comments

Creating a PostgreSQL datasource with ColdFusion MX

To set up a PostgreSQL datasource for ColdFusion (CFMX), follow these steps: Open CFMX administrator Click on “Data Sources” In the “add new datasource” write in a name and select “other” before clicking “add” Fill our the fields as follows: … Continue reading

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • PDF
  • Ping.fm
  • RSS
  • Slashdot
  • Twitter
Posted in Java | Tagged , , | View Comments