31 Jan
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 [...]
Posted in Tools by: polesen
4 Comments
30 Jan
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. [...]
Posted in Programming by: polesen
1 Comment
30 Jan
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 [...]
Posted in Programming by: polesen
2 Comments
29 Jan
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 [...]
Posted in Operating Systems by: polesen
No Comments
28 Jan
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 [...]
Posted in Programming by: polesen
No Comments
24 Jan
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 [...]
Posted in Tools by: polesen
No Comments
24 Jan
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 [...]
Posted in Programming, Testing by: polesen
No Comments
20 Jan
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 [...]
Posted in Tools by: polesen
2 Comments
16 Jan
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 [...]
Posted in Uncategorized by: polesen
2 Comments
10 Jan
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 [...]
Posted in Tools by: polesen
2 Comments