This is a pretty common problem that I get involved in a little bit. Troubleshooting "You are not authorized to run this application." in AIS... What application / form / version?
Hey, JDE engineers - can you have some sort of logging option to show the application that cannot be run, please. I understand that it might be a security risk [perhaps somehow], if you are showing the applications that people cannot run. It is SO difficult to work out what people cannot run, especially when there are hidden forms and exits or logic controlled popups...
Good enhancement idea?
Back to how you can sort this out. Remember, the situation is AIS if giving you the error about authorized [sic], all you need to do is enable logging for the user in AIS. I'm sure you know how to do this, here is a screen shot in case:
In server manager under the AIS instance, goto logging and then hit the button for create new user specific log configuration.
Enter the JDE username, cAsE does not matter
Because I love logging, I choose this option and then apply
You do that by going back out to the AIS server main page and choose synchronize configuration. This is going to copy the jdelog.properties into the correct location on the AIS server so that you start logging!
Then look up 6 lines for the section in aqua. This is DEBUG and shows you the application that was attempted to be run! Awesome, fix your security and go again! Also nice to see that this is a R FormServiceAction - Read... U is for update, see here https://docs.oracle.com/cd/E24705_01/doc.91/e56635/config_ais_calls.htm#EOTMD308
You can also see the data being passed into form and the control ID's being requested. All very handy when dealing with column security too.
[DEBUG ] BLOXSOMA - [AIS] JAS INPUT PARAMETERS: FormServiceDemo=false&LoadBaseFormOnly=false&eventCount=0&OID=P17732_W17732D&FormServiceAction=R&Role=*ALL&ReturnControlIDs=1%5B28%2C31%2C33%2C145%5D&MaxPageSize=100&FormDSData=%7C135758%7C&RENDER_MAFLET=AIS&Environment=JPP920&FormDSTmpl=%7C1%7C&FindOnEntry=TRUE&OutputType=
15 Feb 2022 10:26:21,055 [Line -1] [DEBUG ] BLOXSOMA - [AIS] JAS URL: http://Server:9007/jde/FormServiceRequest
15 Feb 2022 10:26:21,056 [Line -1] [DEBUG ] BLOXSOMA - [AIS] Request Header Cookies JSESSIONID=T0D6xVrOGJgHpraAoZo8k-tK0mDy0kKOJYH-e4myi7_CEmXxWL1Z!1615883497;
15 Feb 2022 10:26:21,126 [Line -1] [DEBUG ] BLOXSOMA - [AIS] Response connection headers {null=[HTTP/1.1 503 Service Unavailable], Content-Length=[176], Date=[Tue, 15 Feb 2022 00:26:21 GMT], Content-Type=[application/json; charset=UTF-8]}
15 Feb 2022 10:26:21,126 [Line -1] [DEBUG ] BLOXSOMA - [AIS] NOT Gzip Encoding Read with InputStreamReader connection.getContentEncoding()null connection.getContentLength() 176
15 Feb 2022 10:26:21,126 [Line -1] [DEBUG ] BLOXSOMA - [AIS] E1ResUtils inputStreamToString END output {"errors":[{"TITLE":"You are not authorized to run this application.","DESC":"INFORMATION"},{"TITLE":"You are not authorized to run this application.","DESC":"INFORMATION"}]}
No comments:
Post a Comment