November 17, 2008

intellijad-8

Posted in Dev at 11:30 by djn

Long time no posts, so here is a heads up on a very usefull plugin for IntelliJ IDEA 8.0 (also available for earlier versions). It decompiles java code from on the fly and has an option for not storing it on disk. Very useful when working with jar files and not having the correct source attached.

intellijad-8 – Google Code

Advertisements

September 29, 2008

Jboss, JMS and UIL2

Posted in Geeky at 12:02 by djn

At work, I’ve been struggling with a thread leak related to JMS and JBoss.

Thanks to Murrays posting I was able to resolve the issue!

Murray’s Blog » Blog Archive » JBoss thread leaking JMS problem

To translate into JEE 5 speak: Close your MessageProducer, your Session and your Connection after sending the message!

September 10, 2008

iTunes 8 – Hide Genre in browser

Posted in Geeky at 9:53 by djn

I’ve just updated my iTunes to version 8 on both my Vista and Mac. Unfortunately apple has decided to remove the option to hide the genres while browsing.

Luckily I found these pages:

Ocram’s Blog » Blog Archive » iTunes 8 – Hide Genre in browser/iTunes store links on Windows

And:

macosxhints.com – Disable the Genre column in the iTunes 8 Browser

July 28, 2008

Trip over IT: Print JNDI tree

Posted in Geeky at 12:31 by djn

A useful hint for easy debugging of JNDI contexts:

Print JNDI tree

June 10, 2008

The 7 Commandments All Video Games Should Obey

Posted in Gaming at 17:14 by djn

A funny read! My take? The points actually have some merit!

June 3, 2008

Funny! Math-geeky, but funny :-)

Posted in Day-to-Day at 10:34 by djn

click it!

May 26, 2008

Crazy Video

Posted in Geeky at 22:59 by djn

Mario and anime songs gone haywire

May 8, 2008

Vista SP1 on a Thinkpad T61p

Posted in Geeky tagged , at 7:52 by djn

At work, I got a Thinkpad T61p with Vista Ultimate for my computing needs. Unfortunately Service Pack 1 would not appear in Windows Update. No updates were available through Lenovo System Update.

Reading the release notes from Microsoft led me to suspect the fingerprint chips driver was the culprit. A quick visit to Upek (producer of the chip) led me to updated drivers, and presto! after a couple of reboots Service Pack 1 appeared in Windows Update. Nice 🙂

May 2, 2008

A cartoonists ramblings…

Posted in Day-to-Day tagged at 8:22 by djn

But as ramblings goes, this one is quite worth your time:

Link to UserFriendly

April 13, 2008

Automatic start and stop of a JEE container

Posted in Geeky tagged , at 14:56 by djn

At work, I’ve been struggling with automating the start and stop of a JEE container, specifically JBoss v. 4.2.2, for use in our unit-tests. We plan on making automated unit-tests and integration tests of our EJB3 logic via ant. After much trouble, I’ve come up with the following two ant targets, using Cargo:


<taskdef resource=”cargo.tasks” classpathref=”library.cargo.classpath” />
<target name=”jboss-start” depends=”compile”>
<cargo containerId="jboss4x" home="${jboss.home}" action="start" wait="false"
output="${jboss.log}/output.log">
<configuration type="existing" home="${jboss.home}/server/default/">
<property name="cargo.jboss.configuration" value="default" />
<property name="cargo.servlet.port" value="${jboss.port}" />
<property name="cargo.logging" value="${jboss.logging}" />
<deployable file="${myear} type="ear"/>
</configuration>
</cargo>
</target>
<target name="jboss-stop">
<cargo containerId="jboss4x" home="${jboss.home}" action="stop">
<configuration type="existing" home="${jboss.home}/server/default/">
<property name="cargo.jboss.configuration" value="default" />
<property name="cargo.rmi.port" value="1099" />
</configuration>
</cargo>
</target>

Of course, you need to set the needed properties, such as ${jboss.*} to make it work.

Previous page · Next page