After Applications Manager and RA Banner Agent upgrade, Banner Agent fails to start due to "Unable to load language: groovy" error
search cancel

After Applications Manager and RA Banner Agent upgrade, Banner Agent fails to start due to "Unable to load language: groovy" error

book

Article ID: 209539

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After upgrading Applications Manager to version 9.3.x and RA Banner to version 4.x, the Banner Agent fails to start. The below error is seen in the Agent's log:

ErrorMsg: AwE-9999 Internal error
Details: null
org.apache.bsf.BSFException: unable to load language: groovy
 at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:718)
 at org.apache.bsf.BSFManager.eval(BSFManager.java:435)
 at com.appworx.automic.ra.extensibility.container.C.A(CITContainer.java:545)
 at com.appworx.automic.ra.extensibility.container.C.<init>(CITContainer.java:234)
 at com.appworx.agent.extensibleagent.A.Ì(GenericExtensibleAgent.java:395)
 at com.appworx.agent.AgentService.B(AgentService.java:1110)
 at com.appworx.agent.AgentService.A(AgentService.java:1040)
 at com.appworx.agent.AgentService.<init>(AgentService.java:445)
 at com.appworx.agent.AgentService.main(AgentService.java:1013)

Environment

Release : 9.3

Component : APPLICATIONS MANAGER

Cause

Multiple versions of the same jar files exist in the $AW_HOME/web/classes directory. Below is an example listing of the classes directory containing multiple versions of the same jar file in red:

-rw-r--r--. 1 appworx appworx   55147 Sep 20  2005 activation.jar
-rw-r--r--. 1 appworx appworx 5181734 Mar 20  2020 AppWorx.jar
-rw-r--r--. 1 appworx appworx   51837 Mar 20  2020 AppWorxLang.jar
-rw-r--r--. 1 appworx appworx    8607 Dec  8  2003 AttachLayout.jar
-rw-r--r--. 1 appworx appworx    6480 Mar 20  2020 AwPSE.jar
-rw-r--r--. 1 appworx appworx    3169 Mar 20  2020 AxUnzip.jar
-rw-r--r--. 1 appworx appworx  113369 Apr 24  2008 bsf-2.4.0.jar
drwxr-xr-x. 3 appworx appworx    4096 Jul 10  2018 com
-rw-r--r--. 1 appworx appworx   41123 Apr 14  2009 commons-cli-1.2.jar
-rw-r--r--. 1 appworx appworx   60686 Dec 22  2017 commons-logging-1.1.1.jar
-rw-r--r--. 1 appworx appworx   52915 Sep 24  2012 commons-logging-1.1.jar
-rw-r--r--. 1 appworx appworx   91184 Feb  3  2009 commons-net-ftp-2.0.jar
-rw-r--r--. 1 appworx appworx  189284 Oct  6  2005 concurrent-1.3.4.jar
-rw-r--r--. 1 appworx appworx 1562354 Oct  7 23:32 fontbox-2.0.21.jar
-rw-r--r--. 1 appworx appworx 1483772 Jan  2  2018 fontbox-2.0.8.jar
-rw-r--r--. 1 appworx appworx 7199857 Apr 22  2020 groovy-all-2.4.16.jar
-rw-r--r--. 1 appworx appworx 7015434 Jan  3  2018 groovy-all-2.4.7.jar
drwxr-xr-x. 5 appworx appworx    4096 Feb 25 15:24 inner_jarfiles
-rw-r--r--. 1 appworx appworx  171014 Mar 20  2020 install.jar
-rw-r--r--. 1 appworx appworx 1100217 Jan  5  2009 iText-2.1.4.jar
-rw-r--r--. 1 appworx appworx  608084 Nov 24 18:38 javax.mail-1.5.6.jar
-rw-r--r--. 1 appworx appworx  545362 Dec  6  2013 javax.mail.jar
-rw-r--r--. 1 appworx appworx  127509 Nov  9  2018 javax.ws.rs-api-2.1.jar
-rw-r--r--. 1 appworx appworx  126914 Jan  7  2009 jcalendar-1.3.2.jar
-rw-r--r--. 1 appworx appworx   99541 Dec  8  2003 jcommon-0.8.0.jar
-rw-r--r--. 1 appworx appworx 1140395 Nov  9  2018 jersey-common-2.27.jar
-rw-r--r--. 1 appworx appworx  471217 Dec  8  2003 jfreechart-0.9.8.jar
-rw-r--r--. 1 appworx appworx   25998 Sep 30  2005 jms-1.1.jar
-rw-r--r--. 1 appworx appworx   98496 Sep 30  2005 jndi-1.2.1.jar
-rw-r--r--. 1 appworx appworx    7036 Dec  8  2003 jnlp.jar
-rw-r--r--. 1 appworx appworx  177987 Oct  9  2008 jsch-0.1.39.jar
-rw-r--r--. 1 appworx appworx  514360 Mar  3  2005 jsse.jar
-rw-r--r--. 1 appworx appworx   17619 Oct  6  2005 jta-1.0.1.jar
-rw-r--r--. 1 appworx appworx  301946 Mar 24  2014 jtds-1.2.8.jar
-rw-r--r--. 1 appworx appworx    2521 Dec  8  2003 local_policy.jar
-rw-r--r--. 1 appworx appworx  352668 Oct  6  2005 log4j-1.2.8.jar
-rw-r--r--. 1 appworx appworx 4161744 Mar 31  2020 ojdbc8.jar
-rw-r--r--. 1 appworx appworx  723339 Sep 30  2005 openjms-0.7.7-alpha-1.jar
-rw-r--r--. 1 appworx appworx   23307 Sep 30  2005 openjms-common-0.7.7-alpha-1.jar
-rw-r--r--. 1 appworx appworx  176359 Sep 30  2005 openjms-net-0.7.7-alpha-1.jar
-rw-r--r--. 1 appworx appworx  154218 Sep 30  2005 openjms-tools-0.7.7-alpha-1.jar
-rw-r--r--. 1 appworx appworx 2718635 Oct  7 23:32 pdfbox-2.0.21.jar
-rw-r--r--. 1 appworx appworx 2485070 Jan  2  2018 pdfbox-2.0.8.jar
-rw-r--r--. 1 appworx appworx   81280 Oct  7 23:32 pdfbox-tools-2.0.21.jar
-rw-r--r--. 1 appworx appworx 3728517 Feb 24  2014 saxon8.jar
-rw-r--r--. 1 appworx appworx   33110 Feb 28  2011 spice-jndikit-1.1.jar
-rw-r--r--. 1 appworx appworx  127640 Dec  8  2003 sunjce_provider.jar
-rw-r--r--. 1 appworx appworx 1430933 Feb 18  2014 uc4.jar
-rw-r--r--. 1 appworx appworx  531490 Aug 14  2019 uc4-ra.jar

Resolution

Remove/Delete the older version of the jar file and restart the AgentService process.