Forum Post: RE: Java Open Client 11.2

  • Thread starter Thread starter Nagaraju Manchala
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top