Article View: borland.public.jbuilder.java.api
Article #1403A servlet on a Unix machine - DISPLAY problem.
From: Hanan Hermon
Date: Thu, 03 Jan 2002 08:23
Date: Thu, 03 Jan 2002 08:23
15 lines
1562 bytes
1562 bytes
Hi, We are having a problem running a servlet which uses graphical classes on a Unix machine whenever the DISPLAY environment variable is not set to a valid value in the terminal which is running the web-server, even though the servlet is not sending the graphical components to the DISPLAY anyhow (it is sending it back to the browser that triggered it). This is a very unwanted thing, since we need to run the web-server as a service on the Unix, and because of the above problem we cannot (instead, we have to login to the Unix, set the DISPLAY environment variable to a valid value, and only then run the web-server, and make sure the terminal we sent the DISPLAY to do not log-out as long as users are using the servlet). Thanks,
Technical Details
Message-ID:
<3c34150b_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,62cfd8a8b49d5a75,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-01-03 00:32:21 PST From: "Hanan Hermon" <hananh@radcom.co.il> Newsgroups: borland.public.jbuilder.java.api Subject: A servlet on a Unix machine - DISPLAY problem. Date: Thu, 3 Jan 2002 10:23:36 +0200 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 192.116.176.125 Message-ID: <3c34150b_1@dnews> X-Trace: dnews 1010046219 192.116.176.125 (3 Jan 2002 00:23:39 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews