Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8852

ClassNotFoundException in getting connection>>java.lang.ClassNotFoundException: com.sap.portals.jdbc.db2.DB2Driver Found in negative cache

$
0
0

Hi,

 

Migration of EP from Oracle to DB2 has been completed.

 

Now while accessing few links,we are getting below error:

 

****************************************************************************

 

ClassNotFoundException in getting connection>>java.lang.ClassNotFoundException: com.sap.portals.jdbc.db2.DB2Driver Found in negative cache ------------------------- Loader Info ------------------------- ClassLoader name: [local/OnLineTeaRequisition] Parent loader name: [Frame ClassLoader] References:  common:service:http;service:servlet_jsp  service:ejb  common:service:iiop;service:naming;service:p4;service:ts  service:jmsconnector  library:jsse  library:servlet  common:library:IAIKSecurity;library:activation;library:mail;library:tc~sec~ssl  library:ejb20  library:j2eeca  library:jms  library:opensql  common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:file;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore  interface:resourcecontext_api  interface:webservices  interface:cross  interface:ejbserialization  sap.com/tc~wd~dispwda  sap.com/tc~wd~corecomp  service:webdynpro  service:sld  library:com.sap.aii.util.xml  library:com.sap.aii.proxy.framework  library:tc~cmi  library:com.sap.aii.util.misc  library:com.sap.aii.util.rb  library:tc~graphics~igs  library:com.sap.util.monitor.jarm  library:tc~ddic~ddicruntime  library:com.sap.mw.jco  library:com.sap.lcr.api.cimclient  library:sapxmltoolkit  library:tc~ddic~ddicservices Resources:  /usr/sap/EPQ/JC00/j2ee/cluster/server0/apps/local/OnLineTeaRequisition/webdynpro/public/lib/app.jar  /usr/sap/EPQ/JC00/j2ee/cluster/server0/apps/local/OnLineTeaRequisition/webdynpro/public/lib/classes12.jar Loading model: {parent,references,local} ---------------------------------------------------------------

 

Exception in getting details>>java.lang.NullPointerException

 

 

**************************************************************************

 

We have changed the jdbc driver specification and url from code.

 

Basically what has been done is,tables are added from backend and on those tables applications are developed .

 

Prior to migration things were working,post migration when we are trying to access those links from frontend we are getting above error.

 

Please find  attached original  code and changed code:

 

Also please confirm if there is any need to install drivers separately and define driver path in environment variables.

 

Who should be doing such changes,Basis admin or EP guy?


Viewing all articles
Browse latest Browse all 8852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>