12 Replies Latest reply on Jul 29, 2016 2:52 PM by 3191277

    java concurrent program started failing with std error java.lang.NoClassDefFoundError after upgrade from 12.1.3 to 12.2.5


      Hi Experts,


      We are upgrading our instance from 12.1.3 to 12.2.5 , Now during the process we have some custom java concurrent programs which started failing with below error :



      java.lang.NoClassDefFoundError: oracle/adf/mds/repos/DatabaseContext

      at oracle.apps.fnd.cp.request.Run.main(Run.java:126)

      Caused by: java.lang.ClassNotFoundException: oracle.adf.mds.repos.DatabaseContext

      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

      ... 1 more




      Now this file $JAVA_TOP/oracle/adf/mds/repos/DatabaseContext was present in 12.1.3 , However in 12.2.5 we dont have such directory under $JAVA_TOP/oracle.


      This seems to be some architecture change from 12.1 to 12.2..


      Any suggestions are welcome.