JVM and Tomcat 6 Tuning new Grails application with legacy Java webservice

June 17th, 2010

Recently I ran into issues where a web application running on Tomcat 6.0 was crashing due to load spikes in requests. What I noticed in the diagrams below, was there was no issue with CPU or Memory, but rather issues with GC cycles and high Thread count/spike causing the Tomcat instance to become unresponsive and [...]

  • Share/Bookmark

Read full article | 1 Comment »

Cannot create JDBC driver of class ” for connect URL ‘null’

March 17th, 2010

So I keep getting this error complaining about org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ” for connect URL ‘null’ in a Hibernate DAO JUnit 4 test case I have and this is the full trace:

  • Share/Bookmark

Read full article | No Comments »

Utah Code Camp 2009

September 21st, 2009

I was a keynote speaker at the 2009 Utah Code Camp (http://utcodecamp.com/speakers/) I wanted to post my source code, and Slide Deck below. Source Code (http://baselogic.com/code/ucc2009/webapp.zip) Slide Deck PPT (http://baselogic.com/code/ucc2009/ucc.ppt) I will be converting this slide deck into a blog as soon as I have time to do so. Stay tuned….

  • Share/Bookmark

Read full article | No Comments »

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 [...]

  • Share/Bookmark

Read full article | No Comments »

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> [...]

  • Share/Bookmark

Read full article | No Comments »