Skip to content

Go Live - Post Deployment and Started Application, While trying to submit Batch job, getting as Groovy script unknown/unable to execute.

0

No registered script for the name :[TRANBKP] c.n.b.g.r.job.support.GroovyJobExecutor : Unable to execute the groovy script "TRANBKP". c.n.b.g.r.job.support.GroovyJobExecutor : Unable to execute the groovy script "TRANBKP". java.lang.RuntimeException: Unknown groovy script "TRANBKP".

c.n.b.g.rt.provider.ScriptRegistry : No registered script for the name :[POSTTRAN] c.n.b.g.r.job.support.GroovyJobExecutor : Unable to execute the groovy script "POSTTRAN". java.lang.RuntimeException: Unknown groovy script "POSTTRAN".

asked a year ago212 views

1 Answer
1

The errors you're encountering with the TRANBKP and POSTTRAN batch jobs are likely related to configuration issues in your Blu Age modernized application. These errors typically occur when the application cannot find or execute the Groovy scripts for these jobs. Here are some steps you can take to troubleshoot and resolve the issue:

  1. Verify script locations: Ensure that the Groovy scripts for TRANBKP and POSTTRAN are present in the correct directory, usually under WEB-INF/classes/scripts/ in your deployed application.

  2. Check script naming: Make sure the script files are named correctly, matching the job names (TRANBKP.groovy and POSTTRAN.groovy).

  3. Review application configuration: Check your application.yml or application.properties file to ensure that the script locations are properly configured.

  4. Examine database connections: Verify that your database connections are set up correctly. Sometimes, script execution failures can be caused by underlying database connectivity issues.

  5. Inspect log files: Look for any additional error messages or warnings in the application logs that might provide more context about the script execution failure.

  6. Review script content: If the scripts are present, examine their content for any syntax errors or issues that might prevent them from being loaded or executed.

  7. Check file permissions: Ensure that the application has the necessary permissions to read and execute the script files.

  8. Verify deployment process: Make sure that all required files, including the Groovy scripts, are being properly included in your deployment package.

If these steps don't resolve the issue, you may need to review your application's overall configuration and deployment process to ensure all components are properly set up for the Go Live environment.
Sources
Blu Age L3: Go-Live / Error messages in logs when carddemo app is started in M2. | AWS re:Post
Error when executing the POSTTRAN job in CardDemo Blu Age modernized application | AWS re:Post

answered a year ago

EXPERT

reviewed a year 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.