Banner Capture Jobs fail with error "Modifier 'public' not allowed here"

Document ID : KB000117882
Last Modified Date : 14/12/2018
Show Technical Document Details
Issue:
  Banner Capture Jobs on Applications Manager version 9.2.2 and Banner version 3.6.1 Aborts with below or similar error message which is seen in the the gurjobs.log file:

++ /u01/app/appworx/banner_agent/capture/jobcapture.shl gjrrpts C '[DHAMMON]' NOTVALIDPASSWD 7423 DATABASE LANDSCAPE gjrrpts0 gjrrpts1 gjrrpts2 gjrrpts3 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: 
/u01/app/appworx/banner_agent/capture/jobcapture.groovy: 179: Modifier 'public' not allowed here. 
@ line 179, column 1. 
public String PATTERN = "%x: %d{DATE} [{%c}] %m%n" 

 
Resolution:
Upgrade Banner Agent to version 4.0.0 No Web