Menu

#30 java.lang.InternalError: Can't connect to X11 window server

open
5
2014-10-24
2009-09-01
No

Dear All,

I am using the small code in the JSP as below :-
Barcode barcode = BarcodeFactory.createCode128B("1111111111111111111111111");
File f = new File("test.jpeg");
BarcodeImageHandler.saveJPEG(barcode, f);

We are using Weblogic JDK 1.4 inSun Solaris 10. Every time i run i get the following error

java.lang.InternalError: Can't connect to X11 window server using 'KFEDEV:0.0' as the value of the DISPLAY variable.

I have already set the DISPLAY variable as below in the .profile of the user startingt the weblogic.
DISPLAY=KFEDEV:0.0
export DISPLAY
I tried putting the localhost as well as IP, but it doesnt work.

Kindly please help.

Discussion


Log in to post a comment.