class not found exception in custom component
We are invoking a custom component in webcenter content. The corresponding jar file is already placed in /$domain_home/lib & /$domain_home/ucm/cs/custom/NewCustomButton/lib. Still we are getting class not found exception. The same configuration works in one instance while it fails in another.
Any pointers are appreciated.
Attaching the logs:
helperservice: exception in INDEXERSTATE.INITIALIZE_SUB loadSharedTable oracle/xdo/XDOException java.lang.NoClassDefFoundError: oracle/xdo/XDOException. java.lang.ClassNotFoundException: oracle.xdo.XDOException.
An error has occurred. The stack trace below shows more information. !helperservice: exception in INDEXERSTATE.INITIALIZE_SUB loadSharedTable oracle/xdo/XDOException!syJavaExceptionWrapper,java.lang.NoClassDefFoundError: oracle/xdo/XDOException!syJavaExceptionWrapper,java.lang.ClassNotFoundException: oracle.xdo.XDOException java.lang.NoClassDefFoundError: oracle/xdo/XDOException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2436) at java.lang.Class.getMethod0(Class.java:2679) at java.lang.Class.getMethod(Class.java:1605) at intradoc.common.IdcMethodHolder.init(IdcMethodHolder.java:39) at intradoc.common.ClassHelperUtils.getMethodHolder(ClassHelperUtils.java:453) at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:318) at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79) at intradoc.server.Service.doCodeEx(Service.java:603) at intradoc.server.Service.doCode(Service.java:575) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643) at intradoc.server.Service.doAction(Service.java:547) at helper_g.HelperService.doAction(HelperService.java:593) at helper_g.HelperService.doActions(HelperService.java:218) at helper_g.HelperUtils.executeService(HelperUtils.java:1167) at helper_g.HelperUtils.executeService(HelperUtils.java:1017) at helper_g.HelperUtils.executeService(HelperUtils.java:1013) at FoldersgInstallFilter.doFilter(FoldersgInstallFilter.java:248) at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114) at intradoc.shared.PluginFilters.filter(PluginFilters.java:68) at intradoc.server.IdcExtendedLoader.executeFilter(IdcExtendedLoader.java:462) at intradoc.server.IdcExtendedLoader.extraAfterServicesLoadInit(IdcExtendedLoader.java:447) at intradoc.server.IdcSystemLoader.loadServiceData(IdcSystemLoader.java:1088) at intradoc.apps.shared.StandAloneApp.finishLoad(StandAloneApp.java:364) at intradoc.apps.shared.StandAloneApp.initSystem(StandAloneApp.java:281) at intradoc.apps.shared.StandAloneApp.init(StandAloneApp.java:112) at intradoc.apps.shared.AppLauncher.init(AppLauncher.java:234) at IdcAnalyze.main(IdcAnalyze.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at intradoc.loader.IdcClassLoader.invokeMain(IdcClassLoader.java:352) at intradoc.loader.IdcClassLoader.startMain(IdcClassLoader.java:170) at intradoc.loader.IdcClassLoader.main(IdcClassLoader.java:140) Caused by: java.lang.ClassNotFoundException: oracle.xdo.XDOException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at