Web Server (AEWS) unable to connect to database
search cancel

Web Server (AEWS) unable to connect to database

book

Article ID: 427665

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Getting the following error when attempting to start the WebServices processes:

INFO   | jvm 1    | 2026/01/26 13:27:24 | [EL Severe]: 2026-01-26 13:27:24.359--ServerSession(159825303)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 4.0.7.v202506240759-923a428d4722d199eff24e730890e156ce7ea9de): org.eclipse.persistence.exceptions.DatabaseException
INFO   | jvm 1    | 2026/01/26 13:27:24 | Internal Exception: java.sql.SQLException: ORA-12154: Cannot connect to database. Could not find alias xxxxxxxxxx in /xxxx/xxxxxx/xxxxxxx/xxxxxx/xxxxxxx/xxxxxxx/xxxxx/tnsnames.ora.
INFO   | jvm 1    | 2026/01/26 13:27:24 | https://docs.oracle.com/error-help/db/ora-12154/
INFO   | jvm 1    | 2026/01/26 13:27:24 | Error Code: 12154

Environment

AutoSys 12.x and 24.x

Resolution

The tnsnames.ora file and the directories leading up to it need to have read/execute permissions by the unix user under which the autosys web server process is supposed to be running