I began to get the error "AbstractMethodError: prepareStatement" when I 
switched to jboss 4.0.4 (from 4.0.3.sp1).
I then replaced the jar jboss-common-jdbc-wrapper.jar from the old jboss 
version, and things started to work again.

What has changed in these classes (org.jboss.resource.adapter.jdbc.*)? What can 
I do to work around this issue?
I'm using spring's SqlQuery/JdbcTemplates.

A stack trace:
---
javax.resource.spi.ResourceAdapterInternalException: Unexpected error
        at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:29
3)
        at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:273)
        at 
org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:553)
        at 
org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:191)
        at 
org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.createPreparedStatement(Prepare
dStatementCreatorFactory.java:224)
        at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:471)
        at 
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:529)
        at 
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:554)
        at 
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:595)
        at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:117)
        at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:146)

..
..
r code [0]; Error; - nested throwable: (java.lang.AbstractMethodError); nested 
exception is org.jboss.util.NestedSQLException: Error;
 - nested throwable: (java.lang.AbstractMethodError)
14:04:28,909 ERROR [STDERR] org.jboss.util.NestedSQLException: Error; - nested 
throwable: (java.lang.AbstractMethodError)



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962276
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to