The Tomcat 6.0.14 does not compile when using javac 1.6.0_01. When JDK 1.5.0_12 is installed and used for compiling, binaries can be produced. This is on Solaris_11 (Opensolaris) x86.
Created attachment 20670 [details] Compile log This is the output of 'ant > /tmp/compile.log'
This is a 'feature' of using commons-DBCP. The issue is being tracked at https://issues.apache.org/jira/browse/DBCP-191 Essentially, the problem is caused by the JDBC API in the JDK not being backwards compatible. The workaround we are using for now is to build with 1.5 I am marking this as invalid since the fix needs to be in the DBCP source.