Author |
Message |
roblew
 since June 2006
Group memberships: Premium Members
Joined: 27 Mar 2006
Posts: 123
Location: San Ramon
Points: 1588
|
|
DataStage® Release: 11x |
Job Type: Parallel |
OS: Unix |
Additional info: 11.5.0.1 on RedHat Linux |
We're on Info Server 11.5.0.1 on RedHat Linux.
We have a simple job writing to the unstructured data stage (excel file as output). If we use the defaults in the unstructured stage, only specifying the output file (path and file name) the job completes successfully without errors or warnings. However, if we specify "adjust column width" to "yes", then the job fails with the following odd error:
Code: |
Unstructured_Data_4,0: Java runtime exception occurred: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. (sun.awt.X11GraphicsEnvironment::initDisplay, file X11GraphicsEnvironment.java, line -2) |
Why would the job even be trying to open an X11 window in the first place? Any ideas?
The
IBM online documentation
doesn't mention any details beyond the basics.
I see
this technote
about WAS needing to set the DISPLAY variable, but I don't understand why this would be necessary for running a DataStage job in the first place.
|
|
|
|
 |
anamika
Participant
Joined: 27 Feb 2016
Posts: 14
Location: Ottawa
Points: 193
|
|
|
|
|
|
For some reason, a jar is being executed which is attempting to connect to a X server. You can diagnose this in a couple of ways - check to see if the DISPLAY environment variable is set in the shell that launches Datastage Director or Designer.
Try running the job from the command line to see if the same error is reproduced - likely not.
A more involved scenario - when your job starts, check to see if a related java VM is launched and if possible try to find out the script that launches java and try to re-launch the same jar with -Djava.awt.headless=true
Cheers
|
_________________ ETL, DW, BI Consultant |
|
|
 |
abbhi
Participant
Joined: 08 May 2014
Posts: 32
Points: 379
|
|
|
|
|
|
Just going through the forum and found this which says exactly the same error as mine. But its un-resolved.
Do anybody have something to add to it ?
|
|
|
|
 |
chulett
 since January 2006
Group memberships: Premium Members, Inner Circle, Server to Parallel Transition Group
Joined: 12 Nov 2002
Posts: 42479
Location: Denver, CO
Points: 218511
|
|
|
|
|
|
Smells like a bug to me, have you involved your official support provider?
|
_________________ -craig
I know I don't say this enough, but I like when you talk to me. It's much better than when nobody talks to me. Or when people that I don't like will not stop talking to me.
|
|
|
 |
Lamont Lockwood

Group memberships: Premium Members
Joined: 11 Jan 2002
Posts: 3
Points: 25
|
|
|
|
|
|
Check your job log environment to see if DISPLAY is set. I received the same error, but it went away when I added "unset DISPLAY" to dsenv.
Lamont
|
|
|
|
 |
UCDI

Group memberships: Premium Members
Joined: 21 Mar 2016
Posts: 302
Points: 2987
|
|
|
|
|
|
We had similar problems with java issues and errors like this until we patched. this was for 11.5. Once patched, the problems just went away. Make sure you are up to date?
We are also on redhat etc.
|
|
|
|
 |
|