AWT and x server on UNIX

By: Sivasubramanian - t_shivam
AWT and x server on UNIX
2003-03-20 16:39
Hi
I'm running a sample test program using jasper api on unix server, where i generate a pdf report onto the file system.
The program runs fine on windows but give the foll. error on UNIX
"Can't connect to X11 window server using '10.14.14.180:0' as the value of the DISPLAY variable."

I know thati have to run an x server to make the awt components(i think these look for some fonts) work ..

My questions are :1. why does Japser use awt component to display font
2. Based on your experience, is this the way itext and other products/tools(JReport, Actuate..) work?

Your answers would be appreciated and very helpful for me.
PLease send me ur answers to t_shivam@yahoo.com
Thx
ShivA





By: juan david vergara perez - jvergara
RE: AWT and x server on UNIX
2003-03-21 11:02
hi, on unix, the jasperreports needs Xvfb service running.
This solve your problem.

Bye




By: juan david vergara perez - jvergara
RE: AWT and x server on UNIX
2003-03-21 11:07
mmmm
the Xvbf service start ud in this way:

/usr/local/XVFB/start &



like teodor, i hope this helps.




By: juan david vergara perez - jvergara
RE: AWT and x server on UNIX
2003-03-21 11:08
mmmm
the Xvbf service start up in this way:

/usr/local/XVFB/start &



like teodor, i hope this helps.
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback