Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

java.lang.ClassNotFoundException: com.sap.portals.jdbc.oracle.OracleDriver

any help why we get this error

java.lang.ClassNotFoundException: com.sap.portals.jdbc.oracle.OracleDriver

From EP using "System Administration" have created SYSTEM object with below details

Connection URL - jdbc:sap:oracle://xxxxxxxx:1521;SID=xxxxx

Driver Class Name - com.sap.portals.jdbc.oracle.OracleDriver

when test the connection getting "Connection successful" message.

In my JSP have below code to access this system

JDBCConnectionDriver conn = new JDBCConnectionDriver("com.sap.portals.jdbc.oracle.OracleDriver",Constants.DBCONNECTION_ORCL,Constants.DBUSERNAME_ORCL, Constants.DBPASSWORD_ORCL);

myConnection = conn.connect();

when run my JSP from logs getting above error? any advises on where I am doing wrong?

Thanks in advance!

Former Member
Not what you were looking for? View more on this topic or Ask a question