Error, "No X11 DISPLAY variable was set, but this program performed an operation which requires it", while executing JDBC activity in deployed application
Issue:
X11 Display error for JDBC activity in deployed application.
Complete Error:
JDBC plugin evaluation error: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it."
Resolution: Password reset for the DB connection
Details:
The password for the DB connection is about to expire. If you test the connection from designer it works fine but while running it gives a pop up saying the password is about to expire and asks if you wanna change it. On running the code from designer on local you can choose to act accordingly when the pop up appears and proceed with the process.
But on deployed application, the code does not know how to behave on this pop up since there is no display option setup or configured to handle this.
Resetting the password for the DB connection and updating in the application resolves this issue.
*********************************************************************
Comments
Post a Comment