3 Replies Latest reply on Apr 1, 2008 11:32 AM by peterj

    compiling module connector

    sharkfin

      Hi all,

      I was hoping that some one here can give me some pointers a compilation issue. I downloaded jboss-4.2.2.GA-src, unzipped and cd'ed into the build folder. Then I ran ./build.sh and all seems ok until it reaches to the connector module. Then it throws a bunch of compile error messages, shown bellow. Am not really a java guy so I have no clue as to why this is happing. could be a compatibility issue with jdk? I have j2sdk-1_4_2_17, and trying this on a suse 10. any help would be appreciated..

      bye,





      ============= build output=============
      [javac] Compiling 150 source files to /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/output/classes
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/CachedPreparedStatement.java:49: org.jboss.resource.adapter.jdbc.CachedPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
      public class CachedPreparedStatement implements PreparedStatement
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/CachedCallableStatement.java:47: org.jboss.resource.adapter.jdbc.CachedCallableStatement is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
      public class CachedCallableStatement extends CachedPreparedStatement
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/CachedCallableStatement.java:228: warning: [deprecation] getBigDecimal(int,int) in java.sql.CallableStatement has been deprecated
      public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/CachedCallableStatement.java:230: warning: [deprecation] getBigDecimal(int,int) in java.sql.CallableStatement has been deprecated
      return cs.getBigDecimal(parameterIndex, scale);
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedStatement.java:43: org.jboss.resource.adapter.jdbc.WrappedStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
      public class WrappedStatement implements Statement, StatementAccess,
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedPreparedStatement.java:50: org.jboss.resource.adapter.jdbc.WrappedPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
      public class WrappedPreparedStatement extends WrappedStatement implements PreparedStatement
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedCallableStatement.java:47: org.jboss.resource.adapter.jdbc.WrappedCallableStatement is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
      public class WrappedCallableStatement extends WrappedPreparedStatement implements CallableStatement
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedConnection.java:47: org.jboss.resource.adapter.jdbc.WrappedConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
      public class WrappedConnection implements Connection
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedResultSet.java:50: org.jboss.resource.adapter.jdbc.WrappedResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
      public class WrappedResultSet implements ResultSet
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/WrapperDataSource.java:47: org.jboss.resource.adapter.jdbc.WrapperDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
      public class WrapperDataSource implements Referenceable, DataSource, Serializable
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/remote/SerializableParameterMetaData.java:32: org.jboss.resource.adapter.jdbc.remote.SerializableParameterMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
      public class SerializableParameterMetaData implements ParameterMetaData, Serializable
      ^
      /home/mustafa/downloads/jboss-4.2.2.GA-src/connector/src/main/org/jboss/resource/adapter/jdbc/remote/SerializableResultSetMetaData.java:33: org.jboss.resource.adapter.jdbc.remote.SerializableResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
      public class SerializableResultSetMetaData
      ^
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      10 errors
      2 warnings