N
Nagaraju Manchala
Guest
With help from my collegue Devesh, I am able to resolve the below issue in my integrated environment. "Could not initialize class org.apache.tuscany.sdo.api.SDOUtil " For this, I have changed code as, try { ClassLoader cl = Thread.currentThread().getContextClassLoader(); if (cl == null) { ClassLoader currentClassesLoader = getClass().getClassLoader(); Thread.currentThread().setContextClassLoader(currentClassesLoader); } newDG= new ProDataGraph(pStmtDA.mDataGraphMetaData); } catch (Throwable t) { jdam.trace(m_tmHandle, UL_TM_ERRORS, "exec_oe_proc() failed. Throwable :" + t.getMessage() + "\n"); jdam.dam_addError(0, pStmtDA.dam_hstmt, DAM_IP_ERROR, 0, t.getMessage() ); throw new Exception(t.getMessage()); } The problem resolved after setting the currentThread's class loader.
Continue reading...
Continue reading...