java.lang.AbstractMethodError exception with the Oracle JDBC Driver
 Technote (troubleshooting)
 
Problem(Abstract)
Common causes and resolutions for the java.lang.AbstractMethodError exception.
 
Cause
The java.lang.AbstractMethodError is usually caused by a misconfiguration or incompatibility of the JDBC™ Driver.
 
Resolving the problem

Some common problems that cause the java.lang.AbstractMethodError to occur when using Oracle JDBC Driver:
  1. The classes111.zip driver file is used when configuring the JDBC Provider using the Oracle JDBC Driver.

    WebSphere® Application Server v5.0 releases support JDK™ 1.3.1, which requires the classes12.zip (for JDK 1.2.x and 1.3.x). The classes111.zip driver file is for JDK 1.1.

  2. There is more than one occurrence of the classes12.zip file in the WebSphere Application Server classpath.

Make sure the Enterprise Application (EAR) does not include any JDBC Driver JAR or ZIP files.

When configuring the JDBC Driver, the JDBC Driver jar files can be located anywhere on the file system. It is not a requirement to put them in the Install_Root /lib. If they are copied to install_Root /lib, make sure that the JAR files from that directory are used in the configuration.

Click Test Connection on the Administrative Console to perform a successful test for the data source. The java.lang.AbstractMethodError occurs only on the execution of any method of the connection object, where the connection object is successfully obtained; for example, Connection.executeQuery().
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java 2 Connectivity (J2C)
Operating system(s): Windows
Software version: 5.0.2.7
Software edition:
Reference #: 1137049
IBM Group: Software Group
Modified date: Sep 2, 2004