Web Server does not start properly, java.lang.NoClassDefFoundError: com.ca.waae.dbaccess.custom.OracleExtensions (initialization failure)

book

Article ID: 227308

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Web Server does not start properly, the $AUTOUSER/out/waae_webservices.log contains this error:

2021/10/27 14:21:03 | [EL Severe]: ejb: 2021-10-27 14:21:03.925--ServerSession(-1656627380)--java.lang.NoClassDefFoundError: com.ca.waae.dbaccess.custom.OracleExtensions (initialization failure)

2021-10-27 14:22:50,058 [AEConnMgr Monitor] ERROR com.ca.waae.dbaccess.dao.AEConnection - createEntityManager [EventServer_1] -> IllegalStateException encountered. java.lang.NoClassDefFoundError: com.ca.waae.dbaccess.custom.OracleExtensions (initialization failure)...Throwing AEConnFatalException.

 

Cause

cd $AUTOUSER/webserver/webapps/AEWS/WEB-INF/classes/lib  folder also has a proper AECore.jar,  but somehow tomcat/java does not seem to initialize the libraries properly

Environment

Release : 12

Component :

Resolution

1) stop AEWS

2) rm -rf $AUTOUSER/webserver/webapps  

3) copy $AUTOUSER/webserver/webapps  folder from a good working AEWS server to the bad one

4) restart AEWS