Wednesday, 10th March 2010.

Posted on Monday, 24th August 2009 by Balazs

Intro
One of the great features of DB2 is that it can be extended with custom code using SQL, C/C++, Java and COBOL. One of the great new features added to DB2 in 9.7 is the ability to run native Oracle PL/SQL code, that capability opens up a world of possibilities, and at the same [...]

Share and Enjoy:
  • Print
  • LinkedIn
  • Facebook
  • FriendFeed
  • Twitter
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • Slashdot
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • RSS
  • Ping.fm
  • email
  • PDF

Tags: , , , ,
Posted in DB2 | Comments (Comments)

Posted on Sunday, 31st May 2009 by Balazs

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 script that does the same thing.

Share and Enjoy:

Share and Enjoy:
  • Print
  • LinkedIn
  • Facebook
  • FriendFeed
  • Twitter
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • Slashdot
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • RSS
  • Ping.fm
  • email
  • PDF

Tags: , ,
Posted in Java | Comments (Comments)

Posted on Sunday, 31st May 2009 by Balazs

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 is a symptom of an older JDKs that is buggy. Jakub Jelinek of RedHat suggests the following:
gcc -O2 -shared -o [...]

Share and Enjoy:
  • Print
  • LinkedIn
  • Facebook
  • FriendFeed
  • Twitter
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • Slashdot
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • RSS
  • Ping.fm
  • email
  • PDF

Tags: , ,
Posted in Java | Comments (Comments)