Page 1 of 1
4.2 aXes Services HTTP Server. How to use it?
Posted: 24 Aug 2021, 18:24
by jaimosky
Hi,
with the new Versio 4.2 there is a new feature
aXes Services HTTP Server.
Axes has been enhanced to use a new and improved HTTP web server. Axes web server is the server component of aXes which transforms the IBM i screens in data the client can understand.
This new server component is a complete rewrite and features many security and performance enhancements.
When installing aXes 4.2.0 the new HTTP server will be installed side by side with the existing AXESW3. Customers can decide to use either server, however it is strongly recommend to use the aXes Services HTTP server by default. aXes Service HTTP server only support TS2 (not aXes TS).
I would like to use it, but I cannot find anywhere the way how can I do it.
Jaime
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 24 Aug 2021, 19:55
by jaimosky
OK, I have installed again the new 4.2.0.001 (from the URL
https://www.axeslive.com/downloads/downloadaxes.htm) and after finishing and having a look to the Library AXESJSM, here there is just an *OUTQ, and according to the instructions should be minimun a *SBS AXESJMS.
Is it possible that in the file there is no this new feature?
Jaime
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 25 Aug 2021, 08:38
by bark
Hi Jaime
IF you take the defaults during the aXes 4.2.0 install, axes-JSM (using the HTTP server) should be installed and used by default as described here
https://axesdocs.lansa.com.au/index.php ... tion-guide
Did you follow the instructions in this section?
Step 8: Start the subsystem
To use the new HTTP Services web server (Recommended)
<AXES_JSM_LIBRARY> is the aXes Services library. It is automatically generated during install where JSM is appended at the end of the <AXES_LIBRARY> you have chosen in step 5.1 or 5.2. Default is AXESJSM
Start aXes services with the command STRSBS <AXES_JSM_LIBRARY>/<AXES_JSM_LIBRARY>
Typically: STRSBS AXESJSM/AXESJSM
In WRKACTJOB, you should see the a subsystem like this started (depending on what you called the axes_jsm_library)
Subsystem/Job User Type CPU % Function Status
AXES420JSM QSYS SBS .0 DEQW
JSMAPI01 AXES BCH .0 PGM-JSMVTM DEQW
JSMGET01 AXES BCH .0 PGM-JSMVTM DEQW
JSMGET01 AXES BCH .0 PGM-JSMVTM DEQW
JSMJOB01 AXES BCH .0 CMD-RUNJSM TIMW
JSMJOB01 AXES BCI .0 JVM-com.lansa. SELW
If you're still having issues, you should look for joblogs and contact local support.
Hope that helps.
Bark
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 26 Aug 2021, 01:01
by jaimosky
OK, thanks a lot.
As I followed all the steps to install it and did not work, I contacted the support staff and they told me the problem is known, apparently there is a problem with not 0037 machines and they gave me correct instructions to install the JSM Stuff.
Now, I would like to use SSL with the HTTP JSM Server, but I cannot figure out how to do it.
Any ideas?
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 26 Aug 2021, 10:20
by bark
hi Jaime,
Good to hear.
Regarding SSL, there was a discussion on this forum about this setup and some very helpful instructions provided by hide from Fairdinkum
viewtopic.php?f=9&t=177&p=405&hilit=ssl#p405
cheers
Bark
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 26 Aug 2021, 19:46
by jaimosky
That is what I was looking for. It did the work!
Thanks a lot!
Now both http and https work. Do you know if is possible to switch off the http (just allow https)?
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 01 Sep 2021, 18:10
by Fairdinkum
Sorry for cutting in.
If my understanding is correct, AXESJSM allows secure (HTTPS)/non-secure (HTTP) port execlusively. Are you saying both aXesW3 and aXesJSM are running simultaneously?
Regards,
Hide
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 01 Sep 2021, 18:58
by jaimosky
Hi Hide,
I think I did a mistake.
Axes W3 is running in port 80 and Axes JSM is running in port 443, I tried now plain HTTP against port 443 and is not working, so I suppose just should be supported HTTPS in Axes JSM.
Sorry for the confusion.
Jaime
Re: 4.2 aXes Services HTTP Server. How to use it?
Posted: 02 Sep 2021, 09:48
by Fairdinkum
Hi Jaime,
That makes sense. Thanks for the explanation!
Regards,
Hide