JDBC Connection activity fails with "JDBC plugin evaluation error".

JDBC Connection activity fails with "JDBC plugin evaluation error".

book

Article ID: KB0093822

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
BW applications fail in deployment mode on JDBC Connection activity with "JDBC plugin evaluation error".
Symptoms:

The following error is seen in log: 

= = = = =

"JDBC plugin evaluation error: java.awt.HeadlessException: 

No X11 DISPLAY variable was set, but this program performed an operation which requires it."

= = = = =


Cause:

This error would be seen when the database driver cannot logon to the database successfully and then tries to open a GUI. If the server does not have the DISPLAY variable set, the driver will not be able to connect to an X11 server to show the GUI and would throw the error.



Issue/Introduction

JDBC Connection activity fails with "JDBC plugin evaluation error".

Resolution

Add the following property to the .tra file of your deployed application.

java.property.java.awt.headless=true