Date: Thu, 15 Aug 2002 17:06:42 -0700 From: Branden Root <branden@portentinteractive.com> To: freebsd-java@FreeBSD.ORG Subject: hanging threads with IDEAJ Message-ID: <200208151706.42905.branden@portentinteractive.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208151706.42905.branden>