Off-Topic: Terminating hidden threads.

2003-07-30 Thread kim
I have the following code in my main method: public static void main(String[] args) { Image inImage = new ImageIcon(C:\\logo.gif).getImage(); System.out.println(inImage.getWidth()=+inImage.getWidth(null)); System.out.println(inImage.getHeight()=+inImage.getHeight(null)); } I

Creating Threads

2003-01-06 Thread Anindya
hi all, i am searching for an answer .. there are 2 ways of creating threads .. 1. extending Thread class 2. implementing Runnable but , it is always better to implement runnable .. i know 1 good reason for that .. ie. u have an option to extend another class if u implement Runnable interface

JSP and Threads

2002-05-03 Thread Martin Uddin
Hi All i'd like to write application where I need to share one Thread between multiple .jsp pages eg. I'll create thread where i would check some file status once in 20sec and svae status to private string variable and i'd have a public .checkStatus() method which will return this status

Re: JSP and Threads

2002-05-03 Thread Kenneth Becker
PROTECTED] To: [EMAIL PROTECTED] Subject: RE: JSP and Threads Date: Fri, 3 May 2002 14:44:10 +0200 Hi All i'd like to write application where I need to share one Thread between multiple .jsp pages eg. I'll create thread where i would check some file status once in 20sec and svae status to private

Re: JSP and Threads

2002-05-03 Thread Wilson E. Lozano R.
Hi everybody... I installed J2sdk 1.3.0 on SUSE 7.3 for sparc. I compiled a class and.. perfect... but when i try to compile a class that instance the first class then it can't does it. the error is that it can't find the firs class. thanks in advanced! bye ---

Tool for monitoring the number of threads from the JVM

2002-03-13 Thread Shahata, Ashraf
Hi all, does anyone know of a way or a tool that I can use to monitor the threads from the JVM in my application. Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto

gracefully stopping idle/suspended/ threads that are still alive?

2002-03-01 Thread Lai, Kenny
hey all, i was wondering what the best way to stop a thread was.. the jdk docs say that the stop() method is depreciated, but it doesnt clearly make out a (safe) alternative.. does anyone have any idea on this matter? say for instance.. list[i] is a Thread object.. list[i].stop(); -- want to

Re: gracefully stopping idle/suspended/ threads that are still al ive?

2002-03-01 Thread Bommakanti, Vamsee
http://java.sun.com/products/jdk/1.2/docs/guide/misc/threadPrimitiveDeprecat ion.html -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 2:17 PM To: [EMAIL PROTECTED] Subject: gracefully stopping idle/suspended/ threads that are still alive? hey

Re: gracefully stopping idle/suspended/ threads thatare still alive?

2002-03-01 Thread Christopher K. St. John
Lai, Kenny wrote: i was wondering what the best way to stop a thread was.. the jdk docs say that the stop() method is depreciated, but it doesnt clearly make out a (safe) alternative.. does anyone have any idea on this matter? Java provides no alternative. The thread you want to stop has

HELP: chroot and native threads

2002-01-07 Thread Dave Deniman
Apologies if this isn't the best forum, but I've come up empty. We run Tomcat in a chroot environment but cannot use native threads. Everything works great in a non-chroot environment but irratic problems occur in chroot unless we use green threads. Anyone have a clue? pointers

WTC EXPERIENCE AND TERRORIST THREADS

2001-09-15 Thread Narasimha Vijaya
Status Distribution September 14, 2001 19:17:06 The message regarding WTC EXPERIENCE AND TERRORIST THREADS sent on September 14, 2001 19:17:06 was sent by StaStatus Recipien TypeT Native Name [EMAIL

Many Processes JSP from JDK Native Threads ?

2001-06-04 Thread Jon Shoberg
I got a RH 7.1 box with the latest apache and Tomcat 3.2.2 running this morning. However, after lunch the server was seemingly dead as it would serve no pages... I know I don't have any config files attached, but ... Are there any 'commonly' misconfigured paramaters that

Model Two Threads of Execution Question

2000-07-11 Thread Scott Evans
Is it reasonable to assume that the thread of execution that represents a request ceases execution after the request has been fulfilled? I ask because I'd like to know if in my controller servlet I can maintain a list of currently executing requests. I imagined getting the current thread my

Re: Model Two Threads of Execution Question

2000-07-11 Thread Craig R. McClanahan
of your servlet, it looks like the thread ceases execution. What actually happens, though, is dependent on the internals of your servlet container. For example, Tomcat recycles request processing threads so that it doesn't have to create new ones every time. For the same reason, the request

Controlling Threads in Servlets/JSP

2000-02-07 Thread Radhakrishnan, Sanjay (c)
I am writing a servlet/JSP which spawns three java threads and has to wait for the 3 threads to finish processing before sending the results got from the threads to the client browser. Here a gist of what i do --- doGet method

Re: Controlling Threads in Servlets/JSP

2000-02-07 Thread Paul Holser
-Original Message- From: Radhakrishnan, Sanjay (c) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 07, 2000 1:50 PM To: [EMAIL PROTECTED] Subject: Controlling Threads in Servlets/JSP I am writing a servlet/JSP which spawns three java threads and has to wait for the 3 threads

use of threads in jsp pages

2000-01-10 Thread Pablo J.
Hello everybody in the group. I have the following problem. I have made a jsp, This jsp page has a function call whose execution time breaks the time out of the browser that i use. In that case the page is never loaded. I think i have two solution branches: 1. Configure time out of the

Re: Again on Threads

1999-06-25 Thread Anonymous
of threads for every istance of a Servlet in memory? Example: I have 4 Servlets istantiated - does this mean that the maximum number of threads is 20? 2) Which is the maximum number of servlets that could be simultaneously istantiated in memory? Is this dependent from the Web Server or the Application

Threads

1999-06-23 Thread Anonymous
Hi, does anybody know, how many threads the free version of Jrun is able to support concurrently? Thanks in advance. Elena begin:vcard n:Palanca;Elena tel;work:Dipartimento di Informatica di Pisa x-mozilla-html:FALSE adr:;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Dott. Elena

Re: Threads

1999-06-23 Thread John Zukowski
5 Thanks for your message at 03:55 PM 6/23/99 +, Elena Palanca: Hi, does anybody know, how many threads the free version of Jrun is able to support concurrently? Thanks in advance. Elena John ZukowskiFocus on Java Guide / http://java.about.com Author Java AWT Reference / Mastering