Wednesday, December 5, 2007

Joining Wicket IRC chat using Pidgin

From Pidgin's Buddy List, choose Accounts -> Manage and then click the Add button.


This will open a NickServ tab in your conversation window.

In this window type the following commands:

/msg NickServ REGISTER <your-password>

/msg NickServ set hide email on

/msg NickServ set email <your-email-address>

/join ##wicket

Ta-da. Now you are in Wicket chat with the gurus. :-)

You can find out more here.

Monday, December 3, 2007

GWT doesn't work with 64-bit JVM

For the Getting Started samples to work on 64-bit Linux, you must install the 32-bit JVM and perform the following:

export JAVA_HOME=~/opt/java
export PATH=$JAVA_HOME/bin:$PATH
export LD_LIBRARY_PATH=~/opt/gwt-linux-1.4.60/mozilla-1.7.12

You can find out more about the problem here.

Tuesday, November 20, 2007

Java Web Start Installation on CentOS

The vanilla install of Java Web Start from the Sun site does not work on CentOS:

The tail command in the install.sh file is not compatible with CentOS. Changed the command from:

tail +399 $0 > $outname

to:

tail -q --line=+399 $0 > $outname

You can read about it here.

Wednesday, September 5, 2007

Hibernate logging

There are two different configurations for Hibernate logging.

In order to log the SQL statements in a readable fashion, place the following parameters in the hibernate.cfg.xml file:

<property name="hibernate.show_sql">true</property>
<property name="hibernate.format_sql">true</property>

In order to log the JDBC paramaters, place the following entry in the log4j.xml file:

<category name="org.hibernate.type">
<priority value="DEBUG"/>
</category>