🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #4940

Re: Problem with AWT...

#4940
From: John P. McGrath
Date: Thu, 02 Dec 1999 00:00
37 lines
2138 bytes
On Wed, 01 Dec 1999 17:29:44 +0100, tluyben wrote:

> "John P. McGrath" wrote:
> 
> > You could also hunt down the threads and do a thread.stop()
> > on them.
> 
> I did, it is not working. These are native threads and they
> cannot be stopped (if you can, please tell me how ;-)

Hmmmm... I guess not.  I tried it with no luck either.  The AWT-Event 
thread died gracefully, but the AWT-Windows thread refused to budge.

> > I am curious -- Why are you using a Toolkit from a servlet?
> 
> I need to load gif and jpg images and createImage with arrays. 
> I need Toolkit for this. I have an example on the web where
> they created a counter with a servlet.
> This thing also never ends; I mailed them, and they never noticed.
> Except that NT got slower and slower until they had to restart.
> They thought this was a Win problem (I thought so until we moved
> to Linux and Solaris). Under Unix the servletrunner keeps going,
> gobbling up more resources while running. It never crashes, but
> it makes the system unusable by taking 20 mb mem with every 4
> threads spawned, so in the end the system is unusable.
> 
> If you know a way out of using Toolkit then this would be cool!

Have you checked into third party libraries?  There are some out there 
that handle a variety of graphics formats, and I would think they would 
work without using a Toolkit.  [ I find the idea of using a Toolkit from 
the server side is a little disquieting. ]

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.12afdcdffee177bd9896de@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <383C62D0.4D2CEAB8@a-net.nl> <MPG.12abe73cd24597eb9896ce@forums.borland.com> <38425F8A.B5F8A2B6@a-net.nl> <MPG.12ae84e56cc197f99896db@forums.borland.com> <38454CF8.2A61206C@a-net.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107590,f75020f1ffc57019
X-Google-Attributes: gid107590,public
From: John P. McGrath <mcgrath@enter.net>
Subject: Re: Problem with AWT...
Date: 1999/12/02
Message-ID: <MPG.12afdcdffee177bd9896de@forums.borland.com>
X-Deja-AN: 555663638
References: <383C62D0.4D2CEAB8@a-net.nl> <MPG.12abe73cd24597eb9896ce@forums.borland.com> <38425F8A.B5F8A2B6@a-net.nl> <MPG.12ae84e56cc197f99896db@forums.borland.com> <38454CF8.2A61206C@a-net.nl>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.linux