SAP Knowledge Base Article - Preview

2746980 - java.lang.NoSuchMethodError / SAP DBTech JDBC: Cannot connect to jdbc

Symptom

Java of the Solman 7.1 does not start any more.

Error visible in jvm_bootstrap:

//////////////////////
Exception occurred:
java.lang.NoSuchMethodError: java.util.regex.Pattern.quote(Ljava/lang/String;)Ljava/lang/String;
at com.sap.dbtech.jdbc.DriverSapDB.getJVMVersion(DriverSapDB.java:130)
at com.sap.dbtech.jdbc.DriverSapDB.<clinit>(DriverSapDB.java:90)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:147)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:134)
//////////////////////

Error visible in System log:

//////////////////////
System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory#######Thread[main,5,main]##0#0#Error#1#com.sap.sql.jdbc.NativeCon nectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection {3}: code={0,number,integer}, state="{1}", message="{2}".#5#-813#HY000#SAP DBTech JDBC: Cannot connect to jdbc:sapdb://solman/<sid> [Cannot connect to host localhost:7200 [Connection refused],
//////////////////////


Read more...

Environment

 Oracle Database

Keywords

JDBC, NoSuchMethodError, DriverSapDB, java, lang, getJVMVersion, Oracle , KBA , BC-DB-ORA , Oracle , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.