From owner-freebsd-java Thu Aug 15 17: 6:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 223D437B400 for ; Thu, 15 Aug 2002 17:06:46 -0700 (PDT) Received: from frankenstein.nwlink.com (pop.nwlink.com [209.20.130.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E77843E6A for ; Thu, 15 Aug 2002 17:06:45 -0700 (PDT) (envelope-from branden@portentinteractive.com) Received: from niss (ip201.portent.sea.interquest.net [66.135.149.201]) by frankenstein.nwlink.com (8.11.3/8.11.3) with ESMTP id g7G06i259627 for ; Thu, 15 Aug 2002 17:06:44 -0700 (PDT) (envelope-from branden@portentinteractive.com) Content-Type: text/plain; charset="us-ascii" From: Branden Root Reply-To: branden@portentinteractive.com Organization: Portent Interactive To: freebsd-java@FreeBSD.ORG Subject: hanging threads with IDEAJ Date: Thu, 15 Aug 2002 17:06:42 -0700 User-Agent: KMail/1.4.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208151706.42905.branden@portentinteractive.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I'm currently using IntelliJ's IDEA (java IDE), one of my favorite IDEs. I have a sample class I wrote with it and I'm running into problems when I execute it. The class simply gets a URL connection to a location and writes the HTML to the console. It runs fine if I manually run java from the command line. However, when I run it inside IDEA, it appears to hang. The IDE doesn't hang, because I can kill the process ( or at least it thinks it killed it but the process still runs). Here's the ps output from the threads that still run, even when I shut down IDEA. branden 6969 0.0 1.8 86504 4624 ?? I 4:50PM 0:00.18 /usr/local/jdk1.3.1/bin/i386/green_threads/java -classpath /usr/local/jdk1.3.1/jre/lib/rt.jar:/usr/home/branden/src branden 6993 0.0 1.8 86504 4648 ?? I 4:51PM 0:00.17 /usr/local/jdk1.3.1/bin/i386/green_threads/java -classpath /usr/local/jdk1.3.1/jre/lib/rt.jar:/usr/home/branden/src branden 7028 0.0 1.8 86504 4664 ?? I 4:53PM 0:00.17 /usr/local/jdk1.3.1/bin/i386/green_threads/java -classpath /usr/local/jdk1.3.1/jre/lib/rt.jar:/usr/home/branden/src branden 7067 0.0 1.9 86504 4996 ?? I 4:55PM 0:00.18 /usr/local/jdk1.3.1/bin/i386/green_threads/java -classpath /usr/local/jdk1.3.1/jre/lib/rt.jar:/usr/home/branden/src branden 7218 0.0 1.9 86504 5000 p1 I 5:04PM 0:00.18 /usr/local/jdk1.3.1/bin/i386/green_threads/java -classpath /usr/local/jdk1.3.1/jre/lib/rt.jar:/usr/home/branden/src I don't understand the underlying issues enough, so I don't know what this "green_threads" is, or why its being used by IDE. Is this a jvm issue or an issue with the IDE? Thanks, -- Branden Root Web Developer Portent Interactive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message