ClassNotFoundException in IVR 8 server when loading custom java classes

Version 1
    This document was generated from CDN thread

    Created by: OOCL ISD on 29-04-2010 07:34:54 AM
    Dear Sir/Madam,
       We are trying to call Java classes in IVR script in IVR 8. However, it throws ClassNotFoundException shown in the IVR log as attached. Also,We did try to reactive the IVR script in the CRS editor to investigate the root case but it seems that the script cannot be loaded when I dial the number. Would you help on this ? Thanks in advance.
    IVR Log message:
    976: Apr 26 23:40:34.884 GMT-800 %MIVR-SS_CM-7-UNK:ContactMgr.removeRmCmContact(16034/1)
    5977: Apr 26 23:40:34.884 GMT-800 %MIVR-SS_CM-7-UNK: IEF Contact ID: [16034/1] 16793250 ContactEventsGenerator: Posting the ContactDisconnectedEvent contact type IAQ, session 9000000006, session seq num 0, rejReason 4, abortReason com.cisco.script.ScriptPreprocessException: com.oocl.ivr.util.config.ConfigManager; nested exception is:
    java.lang.ClassNotFoundException: com.oocl.ivr.util.config.ConfigManager; nested exception is:
    com.cisco.wfapi.WFPreprocessException: com.oocl.ivr.util.config.ConfigManager; nested exception is:
    java.lang.ClassNotFoundException: com.oocl.ivr.util.config.ConfigManager
    5978: Apr 26 23:40:34.884 GMT-800 %MIVR-SS_CM-7-UNKrocessing msg: class com.cisco.wf.subsystems.rmcm.msgs.DequeueContactReqMsg
     
    Would you please advise the solution to resolve the above question? Thanks in advance.
    Yours faithfully,
    David

    Subject: RE: ClassNotFoundException in IVR 8 server when loading custom java classes
    Replied by: Nino Martinez on 16-11-2011 04:05:31 AM
    Do you have the servlet spec jar in your classpath somewhere? I also tried adding the generated axl library to classpath, at some point I got it working (but it never went thru qa) but decided to switched to a more light weight approach "hardcoding" soap requests instead.