EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Debugg WebTransactions with Tomcat 8.0 and RBD 9.5

    Posted Mon December 21, 2015 02:14 AM

    Hi,

    Is debugging web transactions with RBD 9.5 (java 1.8) supported on Tomcat 8.0?

    The error I'm getting is:

    Could not find the EGL source file for the web transaction named petrol.WB210A.
    EGL0150E An error occurred calling the B210 program. Error: com.ibm.javart.FatalException: EGL0509E Cannot connect to the default database. The name of the default database was not specified.
    EGL0002I The error occurred in B210 processing the B210-SCSID function.

    --

    On Tomcat 7.0.12 the same application is debugging with no problem (of course changed to java 1.7)

     

    Regards,

    BK

    bkomac


  • 2.  Re: Debugg WebTransactions with Tomcat 8.0 and RBD 9.5

    Posted Mon December 21, 2015 09:57 AM

    It should be supported. .

    It sounds like you may be missing the Properties that are needed to do the connection.

     

    In your debug build descriptor, make sure you have:

    a.)  genProperties = GLOBAL

    b.)  sqlDB set with a database connection.

     

    Two troubleshooting hints:

    -  Set the debugger to stop when the first rununit begins (under EGL->Debug preferences).   Then when the debug perspective starts, you can look at the debug build descriptor options in the variables view.  See what is specified when you expand it.

    - Look in one of the Java Source folders (either src or EGL/JavaSource) and see if you have a file named rununit.properties.  If so, uncommend and set vgj.trace.type to -1 and vgj.trace.device.option to 0.  This will do a trace to the console and it will write out what properties are set for the database connections (if any).

    Mark

    - When the debugger starts

    markevans


  • 3.  Re: Debugg WebTransactions with Tomcat 8.0 and RBD 9.5



  • 4.  Re: Debugg WebTransactions with Tomcat 8.0 and RBD 9.5

    Posted Tue December 22, 2015 01:58 AM

    Hi,

    I can't access this web page.

    bkomac


  • 5.  Re: Debugg WebTransactions with Tomcat 8.0 and RBD 9.5

    Posted Tue December 22, 2015 08:38 PM

    find context.xml file  in you tomcat and adding <Loader delegate="true"/> between <Context> and </Context> tags

    context.xml can be copied from tomcat to you server config , so if you have already created a tomcat server you need to modify the context.xml file in server config in RBD.

     

    TedZhou