YAJL



JSON on the AS/400 (iSeries)



This is my attempt documenting my progress (or lack there of) with an article I read on the web: https://www.common.org/ibm/rpg-and-yajl/


I installed HTTP Server (Powered By Apache) and now SOAP UI to test the REST APIs.
The first challenge I had was: 
  1. C2M1601 – Signal SIGABRT raised (abnormal termination).
  2. Receiving response: HTTP/1.1 500 Internal Server Error
I then turned on the error logs in IBM Navigator for i.

Using the CL command EDTF STMF('/WWW') I then saw this error:

QIBM_CGI_LIBRARY_LIST QIBM_CGI_LIBRARY_LIST=â YAJLRESTâ IS NOT CORRECT FOR CGI /QSYS.LIB/YAJLREST.LIB/WEBTEST01RR.PGM: /qsys.lib/YAJLREST.lib/WEBTEST01R.pgm

The solution was to go in on the green screen command line and working with the HTTP config file and replacing the " on the library list (I did the HTTP Server config using Navigator and this replaces all the " with blanks on the config file. QIBM_CGI_LIBRARY_LIST was issuing IS NOT CORRECT FOR. Then went into the green screen and typed over the “ encapsulating the library list.)


No comments:

Post a Comment