Tech Per

Archive for January, 2008

31 Jan

5 Good Things Maven Brought To The Table

Maven is getting a good deal of backlash these times, latest from Tapestry God Howard and from Graeme Rocher the Grails God, but I have also not been holding back myself. We get so frustrated sometimes, when tools doesn’t feel right, while at the same time, we cannot do better ourselves! I thought I wanted [...]

30 Jan

Viewing Inbound and Outbound Messages in CXF

When using CXF either as a client or to serve services, you can quickly get the wish to view the raw inbound and outbound messages sent and received. Turns out, it is rather easy to enable this. There are various ways to enable this, ranging from a pure programmatic approach, to various forms of configuration. [...]

30 Jan

Configuring CXF Logging To Go Through Log4J

Apparently, CXF has chosen the JSE logging API as their API against logging. But you can make CXF log through Log4J quite easily. In the org.apache.cxf.common.logging package of the CXF apidocs, I found the Log4JLogger class, which is a specialization of the JSE logging api java.util.logging.Logger class, delegating logging to a Log4J implementation.
Configuring Log4J in [...]

29 Jan

Strigi is Eating My Resources

Some time ago, I noticed strigi in the application menu on my kubuntu box at work and I thaught: “Hey what is that, I need to try it”, and went ahead enabling the strigi daemon.
Today I found myself wondering why a simple maven build of mine was taking so long time. I launched top and [...]

28 Jan

Oracle ReadTimeout - A Really Useful Oracle Driver Property

For some time now, I have been bugged by a firewall somewhere along the path between my development machine and our Oracle database. The firewall seems to close the open database connections after some time of inactivity. It was particularly irritating, as my favourite SQL plugin in IDEA locked up IDEA totally, needing a kill [...]

24 Jan

Log4J Configuration Not Loading Properly With maven-surefire-plugin

Today, I had a strange problem with maven, the maven surefire plugin and log4j.xml configuration not really getting into the action. No matter what I did, I could not get log4j logging statements lower than WARN level to show on stdout. But only when the tests ran from maven surefire! If I executed them directly [...]

24 Jan

Faking a Valid Acegi SecurityContext in a UnitTest

When using acegi security in your code, you will often have a setup, where the authentication information is put on a ThreadLocal somewhere inside SecurityContextHolder and then used later on in the application code. Actually, acegi operates with strategies for how to store the security information, but more often than not, it is on a [...]

20 Jan

StrongSpace Service Meltdown

Previously, I asked all you guys on what online storage service to buy, for a system that I developed. You all brought good advice to the table, and I ended up with StrongSpace by Joyent. (my fault). Well, it seems the name of the service should be WeakSpace. It sure as hell does not seem [...]

16 Jan

The Big Acquisition Day

Hmm, it seems today was the day of big acquisitions.
Oracle Buys BEA
I can see the benefit in this one, at least for Oracle. They are getting a seriously good Java application server (WebLogic), something they have been missing always. It isn’t that Oracle has not tried. I seem to recollect that they once built one [...]

10 Jan

Using IDEA Quicklists Instead Of Keybindings to Everything

I just did a new installation on a completely new box, and had to configure IDEA from bottom up. On of the things I needed, was to add some keybindings for some features I use all the time. But in the process, I saw something new (to me)–quicklists. In Settings, General chose Keymap. You will [...]

© 2008 Tech Per | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo