Wednesday, June 8, 2011

Problem Configuring ODC Commit profile for ODC For KFI.zip in Solution Accelerator!!!

Hi Everyone

I was working on a project and faced a very strange issue while configuring Commit Profile in ODC as part of  Financial Image Processing Solution Accelerator 11.1.1.4 for EBS.

My servers were running on a different machine(server) and ODC was on a different machine(client).

I was able to import definition for KFI but was not able to configure commit driver(Commit Profile)
The error looked like this:






Failed to automatically connect to I/PM systems and retrieve data.Please correct the login settings and reconnect
Error:Failed to login.Exception:java.lang.LinkageError:JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI(from jar:file:/C:/Program%20Files/OracleDocument%20Capture/OracleIPM11g/lib/oracle.webservices.standalone.client.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API.Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader(See:http://download.oracle.com/javase/1.5.0/docs/guide/standards/)



After doing lot of research, i concluded that the error was due to the difference in java versions.
There are two methods to overcome this

1)java.endorsed.directory mechanism:

  In order to resolve this issue, download jaxb-api-2.1.jar and put it under jre\lib directory where your Java Jdk is installed for e.g. C:\Program Files\Java\jdk1.6.0\jre\lib\endorsed(create new if doesn't exist)

Create a java.endorsed.dir system variable and assign value equal to path of endorsed directory.
Try this time and this should work, if it doesn't try 2nd step


2)Install the Update patch

If there is a version in JDK version(in client and server machine) even the patch version, then download and install the patch which can make both the version as same

For e.g. if Server is using Sun JDK 1.6_25 and the client machine on which ODC is running uses Sun JDK 1.6.0,
then download and install jxpiinstall.exe

Try this time and it should work!!!
Keep working hard and you will make it!!

1 comment: