EGL Development User Group

  • 1.  Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Mon March 15, 2021 10:32 AM
    Hi
    Can you provide me with the list of needed jars to run a EGLSDK deploy of a CICS web service

    According to the online manual this is documented   
    java -cp "eglbatchgen.jar; %SDPSharedPath%/plugins/org.apache.xerces_2.9.0.v201101211617.jar" 

    But for RBD 9.6 this will give a class not found exception.

    java.lang.NoClassDefFoundError: org.apache.woden.ErrorHandler

    Please provide the full list. If I add woden-core-1.0M10.jar I just get another execption.

    Thanks

    ------------------------------
    Lars Kaare Andersen
    ------------------------------


  • 2.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service
    Best Answer

    InnerCircle
    Posted Tue March 16, 2021 09:32 AM
    Hi Lars

    You just need eglbatchgen.jar and org.apache.xerces_2.9.0.v201101211617.jar.  You can try one of the following (I verified on Windows):

    1) add eglbatchgen and org.apache.xerces to the Windows CLASSPATH environment variable
    OR
    2) use the IBM Java that ships with RBD. That does not require you to specify org.apache.xerces.

    Regards
    Tom Baranski

    ------------------------------
    Tom Baranski
    ------------------------------



  • 3.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Tue March 16, 2021 10:06 AM
    Hi Tom

    Did you executed your test as a CICS WS deploy?

    ------------------------------
    Lars Kaare Andersen
    ------------------------------



  • 4.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Tue March 16, 2021 12:27 PM
    Hi  Lars,
    We will try to recreate the problem and see what is going on.
    Couple of questions:
     1. Did this work prior to version 9.6?
     2. Does this work if you do not use EGLSDK, but the IDE?
    Thanks


    ------------------------------
    Dev Banerjee
    ------------------------------



  • 5.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Tue March 16, 2021 01:37 PM
    Hi Lars,
    Looking further, you are getting java.lang.NoClassDefFoundError, which is different from class not found.
    Are you getting a full stack trace? Can you attach it?
    Thanks

    ------------------------------
    Dev Banerjee
    ------------------------------



  • 6.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Wed March 17, 2021 04:09 AM
    Hi Dev

    Here is the result by using the JDK included in a RBD 9.6 installation:
     
    java version "1.8.0_211"
    Java(TM) SE Runtime Environment (build 8.0.5.35 - pwa6480sr5fp35-20190418_01(SR5 FP35))
    IBM J9 VM (build 2.9, JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20190417_414854 (JIT enabled, AOT enabled)
    OpenJ9 - 777635f
    OMR - 16b77d7
    IBM - 72459d3)
    JCL - 20190409_01 based on Oracle jdk8u211-b25


    IWN.VAL.9999.e - 0/0 - Stack Trace: java.lang.NoClassDefFoundError: org.apache.woden.ErrorHandler
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.defineClassImpl(Native Method)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:391)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.defineClass(ClassLoader.java:360)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.defineClass(URLClassLoader.java:730)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.access$400(URLClassLoader.java:96)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1187)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.security.AccessController.doPrivileged(AccessController.java:739)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.findClass(URLClassLoader.java:605)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:937)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:343)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.ws2ls.ws2ls.doAssistantSpecificProcessing(ws2ls.java:244)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.common.GenericSetup.commonExecute(GenericSetup.java:231)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.ws2ls.ws2ls.run(ws2ls.java:208)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.common.CICSAssistant.callWSAssistant(CICSAssistant.java:724)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.common.CICSAssistant.DFHWS2LS(CICSAssistant.java:138)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.analyzers.language.webservice.WebServiceWrapperAnalyzer.<init>(WebServiceWrapperAnalyzer.java:273)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.analyzers.factories.DeploymentDescriptorFactory.generateArtifacts(DeploymentDescriptorFactory.java:104)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.analyzers.factories.DeploymentDescriptorFactory.<init>(DeploymentDescriptorFactory.java:53)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.COBOLProcessor.visit(COBOLProcessor.java:237)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.core.ir.internal.impl.DeploymentDescriptorImpl.accept(DeploymentDescriptorImpl.java:39)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.invokeGenerators(EGLG.java:1128)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.invokeGenerators(EGLG.java:827)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.generate(EGLG.java:731)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.generatePart(EGLG.java:463)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.generate(EGLG.java:293)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.internal.sdk.SDKDeployCommand.generateDD(SDKDeployCommand.java:209)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.internal.sdk.SDKDeployCommand.process(SDKDeployCommand.java:148)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.util.EGLSDK.process(EGLSDK.java:163)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at EGLSDK.main(EGLSDK.java:34)
    IWN.VAL.9999.e - 0/0 - Stack Trace: Caused by: java.lang.ClassNotFoundException: org.apache.woden.ErrorHandler
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:937)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:343)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
    IWN.VAL.9999.e - 0/0 - Stack Trace: ... 32 more


    And the same result using the latest java update from the RBD support page RBD_9.6_IBM_JDK8_SR6_FP15:

    java version "1.8.0_261"
    Java(TM) SE Runtime Environment (build 8.0.6.15 - pwa6480sr6fp15-20200724_01(SR6 FP15))
    IBM J9 VM (build 2.9, JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20200724_452227 (JIT enabled, AOT enabled)
    OpenJ9 - 4ce4b9d
    OMR - 08b0594
    IBM - 70917a2)
    JCL - 20200720_01 based on Oracle jdk8u261-b13

    IWN.VAL.9999.e - 0/0 - Stack Trace: java.lang.NoClassDefFoundError: org.apache.woden.ErrorHandler
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.defineClassImpl(Native Method)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:398)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.defineClass(ClassLoader.java:359)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.defineClass(URLClassLoader.java:730)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.access$400(URLClassLoader.java:96)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1187)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.security.AccessController.doPrivileged(AccessController.java:770)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.findClass(URLClassLoader.java:605)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:944)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:889)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:872)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.ws2ls.ws2ls.doAssistantSpecificProcessing(ws2ls.java:244)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.common.GenericSetup.commonExecute(GenericSetup.java:231)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.ws2ls.ws2ls.run(ws2ls.java:208)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.common.CICSAssistant.callWSAssistant(CICSAssistant.java:724)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.cics.wsdl.common.CICSAssistant.DFHWS2LS(CICSAssistant.java:138)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.analyzers.language.webservice.WebServiceWrapperAnalyzer.<init>(WebServiceWrapperAnalyzer.java:273)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.analyzers.factories.DeploymentDescriptorFactory.generateArtifacts(DeploymentDescriptorFactory.java:104)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.analyzers.factories.DeploymentDescriptorFactory.<init>(DeploymentDescriptorFactory.java:53)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.generation.cobol.COBOLProcessor.visit(COBOLProcessor.java:237)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.core.ir.internal.impl.DeploymentDescriptorImpl.accept(DeploymentDescriptorImpl.java:39)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.invokeGenerators(EGLG.java:1128)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.invokeGenerators(EGLG.java:827)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.generate(EGLG.java:731)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.generatePart(EGLG.java:463)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.sdk.generate.EGLG.generate(EGLG.java:293)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.internal.sdk.SDKDeployCommand.generateDD(SDKDeployCommand.java:209)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.edt.internal.sdk.SDKDeployCommand.process(SDKDeployCommand.java:148)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at com.ibm.etools.egl.util.EGLSDK.process(EGLSDK.java:163)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at EGLSDK.main(EGLSDK.java:34)
    IWN.VAL.9999.e - 0/0 - Stack Trace: Caused by: java.lang.ClassNotFoundException: org.apache.woden.ErrorHandler
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:944)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:889)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
    IWN.VAL.9999.e - 0/0 - Stack Trace: at java.lang.ClassLoader.loadClass(ClassLoader.java:872)
    IWN.VAL.9999.e - 0/0 - Stack Trace: ... 32 more


    ------------------------------
    Lars Kaare Andersen
    ------------------------------



  • 7.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Wed March 17, 2021 12:47 PM
    Hi Lars,
    Sorry, the developer has confirmed that this is due to a bug introduced in 9.6  build process. We are working on a fix.
    Can you please open a PMR?
    Thanks

    ------------------------------
    Dev Banerjee
    ------------------------------



  • 8.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Wed March 17, 2021 04:20 AM
    Just for your information. I'm using this version og RBD to execute the EGLSDK :

    com.ibm.etools.egl.batchgeneration_7.200.1.v20190823_1016

    This is the one you get from a RBD 9.6 installation. If this the right one to use or is there a later version that I should use?


    ------------------------------
    Lars Kaare Andersen
    ------------------------------



  • 9.  RE: Classpath needed to run RBD 9.6 EGLSDK deploy of a CICS service

    InnerCircle
    Posted Tue March 30, 2021 08:44 AM
    We  have provided a testfix to resolve this problem. This fix will be included in the next fixpack.
    APAR is PH35623.

    ------------------------------
    Dev Banerjee
    ------------------------------