Hi,
I am getting the usual X11 problem when running my Application consisting of JSP's, Servlets and EJB's in Webspshere on Unix.
X11 is running on the server so I can't understand why the image can't be generated.
So firstly can this be done using Websphere?
If so has Websphere been configured incorrectly? If so does anybody know what needs to be done.
Ta very much,
Hosoi
Unix won't display images when X11 is running
Re: Unix won't display images when X11 is running
Hosoi wrote:Hi,
I am getting the usual X11 problem when running my Application consisting of JSP's, Servlets and EJB's in Webspshere on Unix.
X11 is running on the server so I can't understand why the image can't be generated.
So firstly can this be done using Websphere?
If so has Websphere been configured incorrectly? If so does anybody know what needs to be done.
Ta very much,
I have deployed an enterprise application from development people who incorporated jfreechart functionality on WAS 4.05 - HP UX and charts are now working. Can give you more info if you are still interested.
Hosoi
-
- Posts: 2
- Joined: Wed Aug 06, 2003 6:04 am
Post subject: Unix won't display images when X11 is running
Hosoi,
I am facing the similar problem on AIX environment. Can you tell me how did you displayed images?
Actually ia m unable to write image to JPEG in AIX. Any idea why this is happening.
Paul
I am facing the similar problem on AIX environment. Can you tell me how did you displayed images?
Actually ia m unable to write image to JPEG in AIX. Any idea why this is happening.
Paul
try "headless" setting on Java command line
I had a similar problem on a Sun box, the fix was to
use JDK1.4 and call java with the following option :
"-Djava.awt.headless=true"
use JDK1.4 and call java with the following option :
"-Djava.awt.headless=true"
-
- Posts: 22
- Joined: Thu Jan 29, 2004 8:28 pm
AIX / JDK 131 / Websphere 403, and X11 DISPLAY problem

My final working solution for AIX, after exhausting all possible settings/configurations with PureJavaAWT, is XVFB. If you MUST get a solution, check out this link for details:
http://publibn.boulder.ibm.com/doc_link ... Header_363
Best luck!
-
- Posts: 22
- Joined: Thu Jan 29, 2004 8:28 pm
AIX / JDK 131 / Websphere 403, and X11 DISPLAY problem
Seri,
Sorry I didn't answer you sooner.
Our development and deployment have both WebServer and AppServer in the same box. If you have them in separate boxes, my strong feeling is that you must have XVFB installed where your AppServer resides, since this is where your Servlet codes make graphic API calls.
I could be wrong though!
Good luck!
phamdinhnguyen
Sorry I didn't answer you sooner.
Our development and deployment have both WebServer and AppServer in the same box. If you have them in separate boxes, my strong feeling is that you must have XVFB installed where your AppServer resides, since this is where your Servlet codes make graphic API calls.
I could be wrong though!
Good luck!
phamdinhnguyen