[jboss-user] [Installation, Configuration & DEPLOYMENT] - compiling module connector

sharkfin do-not-reply at jboss.com
Mon Mar 31 06:11:29 EDT 2008


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


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140066#4140066

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140066



More information about the jboss-user mailing list