Archive for January, 2008
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 [...]
January 31, 2008
Tags: Java, maven Posted in: Tools
4 Comments
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. [...]
January 30, 2008
Tags: cxf, Java, logging Posted in: Programming
One Comment
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 [...]
January 30, 2008
Tags: cxf, Java, log4j, logging Posted in: Programming
5 Comments
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 [...]
January 29, 2008
Tags: linux Posted in: Operating Systems
No Comments
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 [...]
January 28, 2008
Tags: driver, Java, jdbc, oracle Posted in: Programming
No Comments
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 [...]
January 24, 2008
Tags: Java, log4j, maven Posted in: Tools
No Comments
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 [...]
January 24, 2008
Tags: acegi, Java, junit, security Posted in: Programming, Testing
No Comments
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 [...]
January 20, 2008
Tags: strongspace Posted in: Tools
2 Comments
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 [...]
January 16, 2008
Tags: bea, mysql, oracle, sun, weblogic Posted in: Uncategorized
2 Comments
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 [...]
January 10, 2008
Tags: IDEA Posted in: Tools
2 Comments
