4.2 aXes Services HTTP Server. How to use it?

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
jaimosky
Posts: 40
Joined: 30 May 2017, 16:48

4.2 aXes Services HTTP Server. How to use it?

Post 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
Last edited by jaimosky on 24 Aug 2021, 21:04, edited 1 time in total.
jaimosky
Posts: 40
Joined: 30 May 2017, 16:48

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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
bark
Posts: 13
Joined: 08 Sep 2017, 13:55

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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
jaimosky
Posts: 40
Joined: 30 May 2017, 16:48

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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?
bark
Posts: 13
Joined: 08 Sep 2017, 13:55

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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
jaimosky
Posts: 40
Joined: 30 May 2017, 16:48

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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)?
Fairdinkum
Posts: 128
Joined: 24 Jul 2017, 17:02

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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
jaimosky
Posts: 40
Joined: 30 May 2017, 16:48

Re: 4.2 aXes Services HTTP Server. How to use it?

Post 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
Fairdinkum
Posts: 128
Joined: 24 Jul 2017, 17:02

Re: 4.2 aXes Services HTTP Server. How to use it?

Post by Fairdinkum »

Hi Jaime,
That makes sense. Thanks for the explanation!

Regards,
Hide
Post Reply