Skip to content

[get] Error opening connection java.io.FileNotFoundException: http://localhost:8080/gapwalk-application/script/TRANBKP

0

Currently encountering the below issue in L3 Workshop Automation.

[echo] Run batch job: [TRANBKP] [echo] ------------------------------------------------------------------------------------------------------------------------------------------------ [get] Getting: http://localhost:8080/gapwalk-application/script/TRANBKP [get] To: D:\PhotonUser\Workshop\workspace\carddemo-automation\TRANBKP.log [get] Error opening connection java.io.FileNotFoundException: http://localhost:8080/gapwalk-application/script/TRANBKP [get] Error opening connection java.io.FileNotFoundException: http://localhost:8080/gapwalk-application/script/TRANBKP [get] Error opening connection java.io.FileNotFoundException: http://localhost:8080/gapwalk-application/script/TRANBKP [get] Can't get http://localhost:8080/gapwalk-application/script/TRANBKP to D:\PhotonUser\Workshop\workspace\carddemo-automation\TRANBKP.log

BUILD FAILED D:\PhotonUser\Workshop\workspace\carddemo-automation\execute.xml:25: The following error occurred while executing this line: D:\PhotonUser\Workshop\workspace\carddemo-automation\execute.xml:27: The following error occurred while executing this line: D:\PhotonUser\Workshop\workspace\carddemo-automation\execute.xml:52: The following error occurred while executing this line: D:\PhotonUser\Workshop\workspace\carddemo-automation\tests-cases\01-batches\execute.xml:5: The following error occurred while executing this line: D:\PhotonUser\Workshop\workspace\carddemo-automation\utils\batch.xml:8: Can't get http://localhost:8080/gapwalk-application/script/TRANBKP to D:\PhotonUser\Workshop\workspace\carddemo-automation\TRANBKP.log

Total time: 19 seconds

asked 2 months ago61 views
2 Answers
0

The error you're encountering in the L3 Workshop Automation is related to connectivity issues with the Blu Age Runtime server. The automation process is trying to access the TRANBKP batch job via HTTP at http://localhost:8080/gapwalk-application/script/TRANBKP but is unable to connect, resulting in a FileNotFoundException.

Here are some steps to troubleshoot and resolve this issue:

  1. First, verify that your Tomcat server is running properly. The error suggests that either the server is not running or the application is not deployed correctly.

  2. Check that the gapwalk-application is properly deployed in your Tomcat server. You should be able to access the application through your browser at http://localhost:8080/gapwalk-application/.

  3. Ensure that the TRANBKP batch job is properly configured and available in your application. This might involve checking your batch job definitions and configurations.

  4. If you've made any changes to the application configuration files, such as application-main.yml or application-utility-pgm.yml, verify that these changes haven't affected the batch job execution.

  5. If you're using a different port for your Tomcat server, update the automation scripts to use the correct port instead of the default 8080.

  6. Check for any encoding-related issues in your batch scripts, as these can sometimes cause problems with batch execution in the Blu Age environment.

If the issue persists after these checks, you might need to review the specific configuration for the L3 Workshop automation environment or consult with AWS Blu Age support for more targeted assistance.
Sources
Blu Age L3 Workshop Automation Execute Batch TRANBKP STEP05R REPROC IDCAMS issue | AWS re:Post
Unloading issue during automation process in L3 Workshop | AWS re:Post

answered 2 months ago
0

The automation script is failing to connect to the Blu Age Runtime server when attempting to execute the TRANBKP batch job. The system cannot reach the endpoint http://localhost:8080/gapwalk-application/script/TRANBKP, resulting in a FileNotFoundException error.

Here are some steps to troubleshoot and resolve this issue:

1: Verify Tomcat Server Status

Confirm that your Tomcat server is running and functioning correctly. The error indicates a potential issue with either the server not being active or the application deployment being incomplete.

2: Confirm Port 8080 Availability

Check if any service is actively listening on port 8080:

For Windows:

netstat -an | findstr 8080

For Linux:

lsof -i :8080

3: Validate Application Deployment

Ensure the gapwalk-application is correctly deployed on your Tomcat server. Test accessibility by navigating to:

http://localhost:8080/gapwalk-application/ The application homepage should load successfully in your browser.

4: Verify Batch Job Registration

Access the batch scripts directory through your browser:

http://localhost:8080/gapwalk-application/scripts Confirm that TRANBKP appears in the list of available batch jobs.

5: Review Configuration Files

If you've recently modified application configuration files (such as application-main.yml or application-utility-pgm.yml), verify that these changes haven't disrupted the batch job execution functionality.

6: Validate Port Configuration

If your Tomcat server is configured to use a port other than the default 8080, update the automation scripts accordingly to reflect the correct port number.

7: Check for Encoding Issues

Inspect your batch scripts for any character encoding problems, as these can occasionally interfere with proper batch execution within the Blu Age environment.

Next Steps

If the issue remains unresolved after completing all troubleshooting steps above, consider:

  • Reviewing the L3 Workshop automation environment configuration documentation
  • Reaching out to AWS Blu Age support for specialized assistance
AWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.