Tuesday, December 7, 2010

Excluding xerces/xercesImpl from your CXF project

I'm not sure how much time I spent trying to figure out why my new service was not working, if I followed the same steps I usually follow on all my past CXF apps;
The only difference was to include a new dependency which has more business logic.

Then comparing my last CXF project lib folder with my new one, I found xercesImpl*.jar was additional to my current project.
I just removed from my POM (added as exclusion from my new dependency) and Listo! my CXF Web Service is working as expected :D

Thursday, December 2, 2010

Quest Toad on Oracle 11g not supported

Are you already on Oracle Database 11g?

Nevertheless, this post is to warn all developers out there using Quest TOAD for Oracle.
The current release of TOAD is 9.1, this version is not supported with Oracle 11g (client). But even more important, the version that comes out half of November, TOAD 9.5 (see screenshot below which is a beta), isn't working with the Oracle 11g client neither!
And looking around I found this message coming from Quest: Unfortunately, it was confirmed by our team's technical lead that Toad version 9.5 only support Oracle server 11g and not Oracle client 11g. My only suggestion for you is to install another client on your machine that is 10gR2 version or lower."

It's hard to believe that you need to install an Oracle Server just to get your development environment (TOAD) running ;-) Nevertheless, a workaround is to install Oracle 10g client, which I don't want to do as I'm connecting to 11g databases.
Or go for SQL Developer, a free alternative of Oracle.

A screenshot of the error "OCI version 11.1.0.1.0 is not supported"

Mendigos Oracle y TOAD!!!
I'm using both SQL Developer and TOAD as I think both have strengths and points to improve.
This post isn't to favor for SQL Developer, it's just to warn you.