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
Expand all | Collapse all

Moving old EGL RUI WAS6.1 app to WAS 8.0

  • 1.  Moving old EGL RUI WAS6.1 app to WAS 8.0

    Posted Sun November 11, 2018 08:11 PM

    Hi, I have a customer who moved to a new 7.3 IBM i but he has problems running his old  RUI app on the new server. Here is the background

    We built an EGL RUI app with RBD 7.5 and it was running on WAS 6.1. We haven't touched this app for 6 years it just worked.

    Now having the new IBM i server:

    The customer moved the installation files from the 6.1 server to the 8.0 and the app doesn't run. Actually the EGL services that call RPG programs seem to work but the RUI stuff  does not work.

    He called me for help:

    I  migrated the EGL app to RDB 8.5 and then RDB 9.5, but no difference.

    I can see in the browser debugger the following fatal error  Refused to set unsafe header "Content-Length" and this line of code is causing it: xhr.setRequestHeader("Content-Length",_b6.length);   

    Do you guys have an idea how to generate the RUI app so it will run without problems. 

     Any ideas would be welcome

    Claus 

     

    clausweiss


  • 2.  Re: Moving old EGL RUI WAS6.1 app to WAS 8.0

    Posted Mon November 19, 2018 02:39 PM

    Ok, I finally got it figured out so far. 

    Most likely the target runtime was the problem and the migration steps in between as well.

    I migrated the project again into  the RBD 8.5 and 9.5 workbenches. So the main difference in the migration path was, that I had the intended target runtime WAS 8 already setup in the workbenches.

    That seemed to make a difference, the only manual change I had to apply, was in the RUI project and fix the target runtime.

    I still have a problem with the  Gridlayout  widget in the 4.3.2 EGL runtime, it doesn't get refreshed correctly when it gets re-displayed. 

    I'll discuss this in a different append later on.. 

    Claus

    clausweiss