Article

How to troubleshoot a client connection to AIA with an ABL program.

Information

 
Article Number000063711
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Other: AIA
Question/Problem Description
How to troubleshoot a client connection to AIA with an ABL program.
Steps to Reproduce
Clarifying Information
AIA has been deployed on Tomcat's default port 8080 using the AppServer broker asbroker1.
Error Message
Defect/Enhancement Number
Cause
Resolution
To troubleshoot the AIA connection problem download the attached AIA_tests.zip file. This program returns the host name where the AppServer is running.

1.- Compile (with no database connection) and place the file Apps_prog.p at the same host as the AppServer.

2.- Compile (with no database connection) and place the file Apps_cli.p at the client side. Try first localhost for the AppServer.

3.- Place file 
Apps_cli.pf at the client side.

4.- uncomment just one the connections strings by removing the # character in the first column. Leave just one line uncommented and run using the command: pro -p Apps_cli.p

5.- Try first the following line in the Apps_cli.pf to test the asbroker1 connection:
 
-S 5162 -H localhost -AppService asbroker1 
#-S 5162 -H localhost -AppService asbroker1 -sessionModel Session-Free
#-DirectConnect -H locahost -S 3090 
#-URL http://localhost:8080/aia/Aia?AppService=asbroker1 -sessionModel Session-Free
#-URL http://localhost:8080/aia/Aia?AppService=0
# -sessionModel Session-Free
 
If the Appserver is stateless or session-free mode try:  
 
#-S 5162 -H localhost -AppService asbroker1 
-S 5162 -H localhost -AppService asbroker1 -sessionModel Session-Free
#-DirectConnect -H locahost -S 3090 
#-URL http://localhost:8080/aia/Aia?AppService=asbroker1 -sessionModel Session-Free
#-URL http://localhost:8080/aia/Aia?AppService=0
# -sessionModel Session-Free
 
To try the AIA using the session-free Appserver try:
 
#-S 5162 -H localhost -AppService asbroker1 
#-S 5162 -H localhost -AppService asbroker1 -sessionModel Session-Free
#-DirectConnect -H locahost -S 3090 
-URL http://localhost:8080/aia/Aia?AppService=asbroker1 -sessionModel Session-Free
#-URL http://localhost:8080/aia/Aia?AppService=0
# -sessionModel Session-Free
 
To try the AIA using the with an State-Aware or State RESET Appserver try:

#-S 5162 -H localhost -AppService asbroker1 
#-S 5162 -H localhost -AppService asbroker1 -sessionModel Session-Free
#-DirectConnect -H locahost -S 3090 
-URL http://localhost:8080/aia/Aia?AppService=asbroker1
#-sessionModel Session-Free

#-URL http://localhost:8080/aia/Aia?AppService=0
#-sessionModel Session-Free
 
To try the AIA using the with an State-Aware or State RESET direct connect to the Appserver try:
 
#-S 5162 -H localhost -AppService asbroker1 
#-S 5162 -H localhost -AppService asbroker1 -sessionModel Session-Free
#-DirectConnect -H locahost -S 3090 
#-URL http://localhost:8080/aia/Aia?AppService=asbroker1 
#-sessionModel Session-Free

-URL http://localhost:8080/aia/Aia?AppService=0 
#
-sessionModel Session-Free
 
To try the AIA using a Session-Free direct connect to the Appserver try:
 
#-S 5162 -H localhost -AppService asbroker1 
#-S 5162 -H localhost -AppService asbroker1 -sessionModel Session-Free
#-DirectConnect -H locahost -S 3090 
#-URL http://localhost:8080/aia/Aia?AppService=asbroker1 
#-sessionModel Session-Free

-URL http://localhost:8080/aia/Aia?AppService=0  -sessionModel Session-Free
Workaround
Notes
Last Modified Date11/12/2015 9:24 PM


Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025