First of all thank you and apologize for the late reply, many other projects ...
atostaine wrote: ↑
Tue Jan 08, 2019 4:01 am
Tip# 1: Don't use WAM's. Use VL-WEB.
Did you compile your WAM?
Thanks for the hint, I'm really inexperienced in this area and just worked my way through the tutorials
AbelS wrote: ↑
Tue Jan 08, 2019 12:56 pm
I Agree with Art (if you are just starting to develop for Web) use Web pages instead of WAMs.
However, if you have to maintain existing WAMs, then going through the tutorials is a good idea.
On the bottom of the IDE you will see "LANSA:XHTML". Click on it and you will be presented with this dialog:
Web sanity tests.jpg
Run the first two tests. If the first one passes (you have a working web server) run the second (you can run a WAM webroutine).
If the first test fails, contact Support who will help you troubleshoot your installation. If it passes, run the second one and if the page loads but the page doesn't look right, press F12 (developer tools) on your browser and see what errors are shown.
The first passes but on the second i got: HTTP Error 404 - Not Found
AbelS wrote: ↑
Tue Jan 08, 2019 2:21 pm
Forgot to mention to first confirm Art's suggestion that you have compiled your WAM.
I get the following errors:
<BLU>_____________ Messages issued by FCC and Code Generation Steps _________________
<RED>====== Messages issued for DEFINE command at sequence number +65 ======
<RED>PRC0056/** Field with name STD_INT2 already defined in the data dictionary
<RED>DCM9898/Name STD_INT2 has already been defined to the LANSA Repository as a Field.
<RED>====== Messages issued for DEFINE command at sequence number +66 ======
<RED>PRC0056/** Field with name STD_INT3 already defined in the data dictionary
<RED>DCM9898/Name STD_INT3 has already been defined to the LANSA Repository as a Field.
<RED>========================= General Messages =========================
<GRN>PRC1053/FCC Completed : +0 Warning Messages issued for Component AA_WAM
<RED>PRC1054/FCC Completed : +4 Fatal Messages issued for Component AA_WAM.
<BLU>_____________________________ End of Messages __________________________________
bark wrote: ↑
Thu Jan 10, 2019 12:52 pm
I'd suggest to...
Install or upgrade to V14 SP2 and execute any of the sample apps from the home page in the VL IDE. Or create your own version of the apps based on the sample apps. Checkin and compile and execute against the IBM i.
Or if you are on an older version of LANSA and, for application maintenance reasons, cannot upgrade then just download the free trial from the LANSA web site and play around with with the web samples in that environment.
Thank you for the link and the hint, I will follow the advice.
I have also already installed the latest version V14 SP2 with the latest EPC