Spring Security issue: Duplicate detected.
July 25th, 2008
So I ran into an issue today that has been detailed at http://forum.springframework.org/showthread.php?p=193052 in the Spring forums that at first glance, looked identical to my issue. But this was in fact not my issue. First off, when I was using acegi, I declared an applicationContext-test.xml that myTestNG would instanciate. I then would import my other [...]
Managing your settings.xml
June 10th, 2008
NOTE: AVOID SPACES IN DIRECTORY NAMES AT ALL COST! It is mandatory that your JDK be installed in a directory that does NOT have spaces. The default installer uses “C:\Program Files\Java\**” and I just put mine in “c:\Java\**” instead. Local Repository Your “c:\Documents and Settings\[userId]\.m2\settings.xml” is the location where you can override various project properties. [...]
Keeping Tomcat binaries locally for integration testing on Linux
June 2nd, 2008
I ran into an issue of server timeouts with embedded Tomcat in my Maven build once I moved to my Linux Build Server. I defined the cargo plugin as that is starting my embedded Tomcat during the build: <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0-alpha-4</version> <configuration> <wait>${cargo.wait}</wait> <container> <containerId>${cargo.container}</containerId> <output>${project.build.directory}/${cargo.container}.log</output> <log> ${project.build.directory}/${cargo.container}-cargo.log </log> <zipUrlInstaller> <url>${cargo.container.url}</url> <installDir>${installDir}</installDir> </zipUrlInstaller> </container> [...]
Deploying webapp to multiple containers
May 8th, 2008
In my efforts to integrate Jetty, tomcat and selenium into my Maven build for continuous integration tests, I have run into some strange issues. It seems that if I run my webapp-2.2.war in my standalone Tomcat 5.5 installation, or in my Maven integrated Jetty, I can refer to my application at my root context of [...]
Testing CXF within embeded Tomcat using Spring
May 1st, 2008
I converted from XFire to CXF which is really XFire 2 I guess. Now I am using Maven, DBUnit, TestNG, H2 and embedded Tomcat for continuous integration testing. Now I wanted to be able to test my webservice contracts as well, and Spring has helped me to accomplish that. In my webservices war, I first [...]






