On 17-Apr-2009, at 14:12, Caldarale, Charles R wrote:

From: Andre-John Mas [mailto:aj...@sympatico.ca]
Subject: Building Tomcat 5.5.27 & tomcat-native

I am trying to build 5.5.27, but it is asking for tomcat-native
1.1.12, though I see that only 1.1.16 is available. This being the
case, a couple of questions:
  - is this a suitable replacement?

Yes.

  - where do I specify to use this version instead?

apache-tomcat-5.5.26-src/build/build.properties.default

- Chuck

I have now sorted the tomcat-native issue, but running into another issue, of methods that should be over-ridden, but aren't (see a sample at the end of this e-mail).

I am using JDK 1.6 as my VM, should I be using JDK 1.4 or JDK 1.5 for my builds?

André-John


[javac] /home/ajmas/share/java/tomcat-deps/src/java/org/apache/ tomcat/dbcp/dbcp/BasicDataSource.java:44: org.apache.tomcat.dbcp.dbcp.BasicDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
    [javac] public class BasicDataSource implements DataSource {
    [javac]        ^
[javac] /home/ajmas/share/java/tomcat-deps/src/java/org/apache/ tomcat/dbcp/dbcp/DelegatingStatement.java:46: org.apache.tomcat.dbcp.dbcp.DelegatingStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement [javac] public class DelegatingStatement extends AbandonedTrace implements Statement {
    [javac]        ^
[javac] /home/ajmas/share/java/tomcat-deps/src/java/org/apache/ tomcat/dbcp/dbcp/DelegatingStatement.java:131: isClosed() in org.apache.tomcat.dbcp.dbcp.DelegatingStatement cannot implement isClosed() in java.sql.Statement; attempting to assign weaker access privileges; was public
    [javac]     protected boolean isClosed() {
    [javac]                       ^
[javac] /home/ajmas/share/java/tomcat-deps/src/java/org/apache/ tomcat/dbcp/dbcp/DelegatingPreparedStatement.java:50: org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement [javac] public class DelegatingPreparedStatement extends DelegatingStatement
    [javac]        ^
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to