From owner-freebsd-java@FreeBSD.ORG Sun Mar 6 00:19:45 2005 Return-Path: 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 9342C16A4CE for ; Sun, 6 Mar 2005 00:19:45 +0000 (GMT) Received: from mail.el.net (mail.el.net [68.165.89.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACBA943D2F for ; Sun, 6 Mar 2005 00:19:40 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 35261 invoked by uid 1008); 6 Mar 2005 00:19:01 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 6 Mar 2005 00:19:01 -0000 Received: from 24.90.34.93 (SquirrelMail authenticated user kalin@el.net); by mail.el.net with HTTP; Sat, 5 Mar 2005 19:19:01 -0500 (EST) Message-ID: <58246.24.90.34.93.1110068341.squirrel@24.90.34.93> Date: Sat, 5 Mar 2005 19:19:01 -0500 (EST) From: "kalin mintchev" To: freebsd-java@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 00:19:45 -0000 hi all.. i sent this to the genereel bsd list but i haven't gotten any relys. maybe here i'll have more luck... i'm trying to run the linux eclipse on a 5.3 release. i have all the java set up. when i tried to run it i got: /usr/local/eclipse/eclipse: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory so i got the rpm for gtk2-2.4.13-2.1.src.rpm and installed using rpm. i didn't get any errors with the rpm and now i have libgtk* under /usr/X6R11/lib it wasn't libgtk-x11-2.0.so.0 but libgtk-x11-2.0.so.400. so i lnked it like: #ln -s /usr/X11R6/lib/libgtk-x11-2.0.so.400 /usr/X11R6/lib/libgtk-x11-2.0.so.0 i also tried linking it under /usr/compat/linux/usr/X11R6/lib. still nothing... where is eclipse looking for those libs? thanks.... -- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- From owner-freebsd-java@FreeBSD.ORG Sun Mar 6 06:06:15 2005 Return-Path: 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 0E48316A4CE for ; Sun, 6 Mar 2005 06:06:15 +0000 (GMT) Received: from drone1.qsi.net.nz (drone1-svc-skyt.qsi.net.nz [202.89.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1598743D49 for ; Sun, 6 Mar 2005 06:06:14 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: (qmail 28743 invoked by uid 0); 6 Mar 2005 06:06:12 -0000 Received: from unknown (HELO chen.org.nz) ([210.54.19.51]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 6 Mar 2005 06:06:12 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 7DFEC5643E; Sun, 6 Mar 2005 16:20:35 +1300 (NZDT) Date: Sun, 6 Mar 2005 16:20:35 +1300 From: Jonathan Chen To: kalin mintchev Message-ID: <20050306032035.GA29305@osiris.chen.org.nz> References: <58246.24.90.34.93.1110068341.squirrel@24.90.34.93> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58246.24.90.34.93.1110068341.squirrel@24.90.34.93> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 06:06:15 -0000 On Sat, Mar 05, 2005 at 07:19:01PM -0500, kalin mintchev wrote: > > hi all.. > > i sent this to the genereel bsd list but i haven't gotten any relys. maybe > here i'll have more luck... > > i'm trying to run the linux eclipse on a 5.3 release. i have all the java > set up. when i tried to run it i got: Not a good move. Linux binaries under FreeBSD are buggy, problematic at best. > /usr/local/eclipse/eclipse: error while loading shared libraries: > libgtk-x11-2.0.so.0: cannot open shared object file: No such file or > directory > > so i got the rpm for gtk2-2.4.13-2.1.src.rpm and installed using rpm. i > didn't get any errors with the rpm and now i have libgtk* under > /usr/X6R11/lib Looks like you trashed your FreeBSD binaries here. Linux binaries are generally installed /usr/compat/linux/* via the ports. You can't install Linux rpm's directly under FreeBSD. > it wasn't libgtk-x11-2.0.so.0 but libgtk-x11-2.0.so.400. so i lnked it like: > > #ln -s /usr/X11R6/lib/libgtk-x11-2.0.so.400 > /usr/X11R6/lib/libgtk-x11-2.0.so.0 > > i also tried linking it under /usr/compat/linux/usr/X11R6/lib. > > still nothing... > > where is eclipse looking for those libs? Here's a thought: Why don't you use the FreeBSD port for eclipse instead? -- Jonathan Chen ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people" From owner-freebsd-java@FreeBSD.ORG Sun Mar 6 09:07:58 2005 Return-Path: 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 DEBDC16A4CE for ; Sun, 6 Mar 2005 09:07:58 +0000 (GMT) Received: from mail.el.net (mail.el.net [68.165.89.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57B2843D46 for ; Sun, 6 Mar 2005 09:07:58 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 58479 invoked by uid 1008); 6 Mar 2005 09:07:23 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 6 Mar 2005 09:07:23 -0000 Received: from 24.90.34.93 (SquirrelMail authenticated user kalin@el.net); by mail.el.net with HTTP; Sun, 6 Mar 2005 04:07:24 -0500 (EST) Message-ID: <62895.24.90.34.93.1110100044.squirrel@24.90.34.93> Date: Sun, 6 Mar 2005 04:07:24 -0500 (EST) From: "kalin mintchev" To: freebsd-java@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal References: In-Reply-To: Subject: Re: eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 09:07:59 -0000 > Looks like you trashed your FreeBSD binaries here. oh well... i'll rebuild the gtk20 port. that will do, right? i haven't got any problems yet using gimp.. > Here's a thought: Why don't you use the FreeBSD port for eclipse instead? right.... i should've looked there first.... thanks.... > -- > Jonathan Chen > ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people" -- -- From owner-freebsd-java@FreeBSD.ORG Sun Mar 6 10:40:37 2005 Return-Path: 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 74B1016A4CE for ; Sun, 6 Mar 2005 10:40:37 +0000 (GMT) Received: from lowrider.smega.com (lowrider.smega.com [82.149.226.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0AEB43D1F for ; Sun, 6 Mar 2005 10:40:36 +0000 (GMT) (envelope-from freebja@wie-ich.de) Received: from p5085938d.dip0.t-ipconnect.de ([80.133.147.141] helo=bubu) by lowrider.smega.com with asmtp (Exim 4.41 (FreeBSD)) id 1D7tBc-000Lu4-RO for freebsd-java@freebsd.org; Sun, 06 Mar 2005 11:40:37 +0100 Message-ID: <004801c52239$1d13e310$16b2a8c0@bubu> From: "Thomas Lange" To: Date: Sun, 6 Mar 2005 11:41:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Runtime.getRuntime().exec(...) -> Java process hangs in STOP state X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 10:40:37 -0000 Hi everyone, has anybody experienced a similar problem? I'm running tomcat with an apache / mod_jk frontend. After running a few days under medium load, a call of Runtime.getRuntime().exec(...) will not return. Also the Java process will hang infinitely in a STOP state (as displayed by top). As a result, mbufs or other resources will fill up until the entire server runs out of resources and hangs (creation of new processes is not possible anymore). I'm using FreeBSD 5.3-RELEASE-p5, jdk1.4, patchset 7. Everything (including the kernel) is compiled with -O2. Checking the output of my programm shows, that all processes created by it terminate correctly (that is, all but the last). In an ealier version (FreeBSD 4.9-RELEASE-p4), jdk1.4, patchset 6 there is a similar problem. Here calling Runtime.getRuntime().exec(...) results in creating a very high CPU load and not returning from the exec() call. My applications calls the exec()-method once every few minutes. Might it even be a threading issue? I've included a snippet from my program as an attachment. Any comments or suggestions are welcome! Regards Thomas public static boolean executeCommand(String exCommand, int exTimeout) { String command = "nice -n 15 "; command = command + exCommand; Process process = null; try { System.out.println("Executing external command " + command); process = Runtime.getRuntime().exec(command); } catch (IOException e) { System.out.println(e.toString()); return false; } InputStream inputStream = process.getInputStream(); BufferedInputStream bufferedInputStream = new BufferedInputStream(inputStream); InputStream errorStream = process.getErrorStream(); BufferedInputStream bufferedErrorStream = new BufferedInputStream(errorStream); boolean ok = false; int timeout = exTimeout; int exitValue = -999; while (!ok) { try { while (bufferedInputStream.available() > 0 || bufferedErrorStream.available() > 0) { while (bufferedInputStream.available() > 0) { System.out.print((char)bufferedInputStream.read()); } while (bufferedErrorStream.available() > 0) { System.out.print((char)bufferedErrorStream.read()); } } } catch (IOException e) { System.out.println("Couldn't read response"); } try { exitValue = process.exitValue(); ok = true; } catch (IllegalThreadStateException e) { try { // still running. Thread.sleep(300); timeout = timeout - 300; if (timeout < 0 && timeout >= -300) { System.out.println("ALERT: Command doesn't terminate:"); System.out.println(command); System.out.println("Shutting down command..."); process.destroy(); } else if (timeout <0) { System.out.println("ALERT: Command STILL doesn't terminate:"); System.out.println(command); Thread.sleep(1000); } } catch (InterruptedException e1) { // doesn't matter } } } if (ok) { // finished running if (exitValue == 0) { System.out.println("Terminated without errors"); } else { System.out.println("Exit code " + exitValue + " while performing command " + command); } } else { process.destroy(); } try { while (bufferedInputStream.available() > 0) { System.out.print((char)bufferedInputStream.read()); } while (bufferedErrorStream.available() > 0) { System.out.print((char)bufferedErrorStream.read()); } } catch (IOException e) { System.out.println("Couldn't read response"); } return exitValue == 0; } From owner-freebsd-java@FreeBSD.ORG Mon Mar 7 11:01:24 2005 Return-Path: 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 D802E16A4E2 for ; Mon, 7 Mar 2005 11:01:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B70E543D2D for ; Mon, 7 Mar 2005 11:01:24 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j27B1Or3037196 for ; Mon, 7 Mar 2005 11:01:24 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j27B1NF7037190 for freebsd-java@freebsd.org; Mon, 7 Mar 2005 11:01:23 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 7 Mar 2005 11:01:23 GMT Message-Id: <200503071101.j27B1NF7037190@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 11:01:25 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/03/04] java/78396 java Java 1.4 fails to compile under FreeBSD 4 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/07/27] ports/69675 java Eclipse slow typing o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/10/20] ports/72902 java Make of /usr/ports/java/jdk14 fails with o [2004/12/06] ports/74760 java javavmwrapper messes up amavisd-new f [2004/12/21] ports/75348 java Tomcat port overwrites server.xml config o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/01/25] java/76658 java font.properties actual font file cannot p o [2005/02/06] java/77162 java Tomcat5 regression with jdk15-p1 o [2005/02/19] java/77725 java [PATCH] Java Management not working with 13 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi 3 problems total. From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 11:10:46 2005 Return-Path: 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 7ACD216A4CE for ; Wed, 9 Mar 2005 11:10:46 +0000 (GMT) Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by mx1.FreeBSD.org (Postfix) with SMTP id EB82F43D48 for ; Wed, 9 Mar 2005 11:10:45 +0000 (GMT) (envelope-from vev@michvhf.com) Received: (qmail 83011 invoked by uid 1002); 6 Mar 2005 19:12:32 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 6 Mar 2005 19:12:32 -0000 Received: (qmail 2372 invoked by uid 1001); 6 Mar 2005 19:10:48 -0000 Date: Sun, 6 Mar 2005 14:10:48 -0500 (EST) From: Vince Vielhaber To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: jdk14 on 4.10 fails to patch X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 11:10:46 -0000 I'm trying to build jdk14 from the ports. I updated my ports tree right before I started. I have all of the necessary files but at the beginning of the build I get: 1 out of 1 hunks ignored--saving rejects to ../../j2se/src/solaris/native/sun/awt/awt_Component.c.rej => Patch patch-awt_Component.c failed to apply cleanly. *** Error code 1 Stop in /usr/ports/java/jdk14. but it did apply. Here's the contents of awt_Component.c.rej: *************** *** 1179,1185 **** } XtVaSetValues(to, XmNtraversalOn, True, NULL); } - } else if (from != NULL) { // disable the tree starting from uncommon part to 'from' if (parents_from[index] == parents_to[index]) { if (index == count_from - 1) { --- 1179,1185 ---- } XtVaSetValues(to, XmNtraversalOn, True, NULL); } + } else if (from != NULL && to != NULL) { // disable the tree starting from uncommon part to 'from' if (parents_from[index] == parents_to[index]) { if (index == count_from - 1) { Now if I remove this portion from the patch, it applies but fails in another place: 2 out of 2 hunks ignored--saving rejects to ../../deploy/make/Makefile.rej => Patch patch-deploy::Makefile failed to apply cleanly. => Patch(es) patch-awt_Component.c patch-common::Defs-bsd.gmk patch-control::common::Defs-bsd.gmk applied cleanly. *** Error code 1 Stop in /usr/ports/java/jdk14. The experimental patchset has the same failure. The version of patch is 2.1 I've dug around in the archives and don't see anyone else having these problems and I can't believe I'm the only one trying to build it so it must be something else. Any ideas what's wrong? Vince. -- http://www.meanstreamradio.com http://www.unknown-artists.com Online radio: It's not file sharing, it's just radio. From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 11:19:51 2005 Return-Path: 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 217F916A4CE for ; Wed, 9 Mar 2005 11:19:51 +0000 (GMT) Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by mx1.FreeBSD.org (Postfix) with SMTP id A083D43D54 for ; Wed, 9 Mar 2005 11:19:50 +0000 (GMT) (envelope-from vev@michvhf.com) Received: (qmail 69948 invoked by uid 1002); 9 Mar 2005 11:21:38 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 9 Mar 2005 11:21:38 -0000 Received: (qmail 95196 invoked by uid 1001); 9 Mar 2005 11:19:50 -0000 Date: Wed, 9 Mar 2005 06:19:50 -0500 (EST) From: Vince Vielhaber To: freebsd-java@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: jdk14 on 4.10 fails to patch X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 11:19:51 -0000 A followup to this since I've got it installed now. The patches in the files directory of the port appear to already be in jdk14.patch. On Sun, 6 Mar 2005, Vince Vielhaber wrote: > > I'm trying to build jdk14 from the ports. I updated my ports tree > right before I started. I have all of the necessary files but at > the beginning of the build I get: > > 1 out of 1 hunks ignored--saving rejects to > ../../j2se/src/solaris/native/sun/awt/awt_Component.c.rej > => Patch patch-awt_Component.c failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/java/jdk14. > > but it did apply. Here's the contents of awt_Component.c.rej: > > *************** > *** 1179,1185 **** > } > XtVaSetValues(to, XmNtraversalOn, True, NULL); > } > - } else if (from != NULL) { > // disable the tree starting from uncommon part to 'from' > if (parents_from[index] == parents_to[index]) { > if (index == count_from - 1) { > --- 1179,1185 ---- > } > XtVaSetValues(to, XmNtraversalOn, True, NULL); > } > + } else if (from != NULL && to != NULL) { > // disable the tree starting from uncommon part to 'from' > if (parents_from[index] == parents_to[index]) { > if (index == count_from - 1) { > > > Now if I remove this portion from the patch, it applies but fails in > another place: > > 2 out of 2 hunks ignored--saving rejects to ../../deploy/make/Makefile.rej > => Patch patch-deploy::Makefile failed to apply cleanly. > => Patch(es) patch-awt_Component.c patch-common::Defs-bsd.gmk > patch-control::common::Defs-bsd.gmk applied cleanly. > *** Error code 1 > > Stop in /usr/ports/java/jdk14. > > The experimental patchset has the same failure. > > The version of patch is 2.1 > > I've dug around in the archives and don't see anyone else having these > problems and I can't believe I'm the only one trying to build it so it > must be something else. Any ideas what's wrong? > > Vince. > -- > http://www.meanstreamradio.com http://www.unknown-artists.com > Online radio: It's not file sharing, it's just radio. > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > Vince. -- Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ http://www.meanstreamradio.com http://www.unknown-artists.com Online radio: It's not file sharing, it's just radio. From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 15:36:59 2005 Return-Path: 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 86C8116A4FC for ; Wed, 9 Mar 2005 15:36:59 +0000 (GMT) Received: from drop.bsdchat.com (drop.bsdchat.com [209.237.225.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFBF943D5D for ; Wed, 9 Mar 2005 15:36:58 +0000 (GMT) (envelope-from clive@tongi.org) Received: from CARTIER (drag.bsdchat.com [209.237.225.37]) by drop.bsdchat.com (8.13.1/8.13.1) with SMTP id j29FalDw052017; Wed, 9 Mar 2005 15:36:50 GMT (envelope-from clive@tongi.org) Received: (nullmailer pid 1749 invoked by uid 1000); Wed, 09 Mar 2005 15:36:39 -0000 Date: Wed, 9 Mar 2005 23:36:39 +0800 From: Clive Lin To: Thomas Lange Message-ID: <20050309153639.GA1591@tongi.org> References: <004801c52239$1d13e310$16b2a8c0@bubu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004801c52239$1d13e310$16b2a8c0@bubu> X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.8i cc: freebsd-java@freebsd.org Subject: Re: Runtime.getRuntime().exec(...) -> Java process hangs in STOP state X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 15:36:59 -0000 On Sun, Mar 06, 2005 at 11:41:30AM +0100, Thomas Lange wrote: > Hi everyone, > > has anybody experienced a similar problem? Yes here, and the symptom is same as described in the title. I did not try to investigate the problem as your did, but just update the FreeBSD box in question to 5.3-stable. It just works fine so far. `uname -av` is FreeBSD trex 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Jan 26 14:29:14 CST 2005 root@wist:/usr/obj/usr/src/sys/I686UP i386 -- Clive Tong-I Lin | http://tongi.org | PGP KeyID: A008C03E From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 15:58:48 2005 Return-Path: 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 B46BA16A4EC for ; Wed, 9 Mar 2005 15:58:48 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D948743D1D for ; Wed, 9 Mar 2005 15:58:47 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j29Fwkmu002220; Wed, 9 Mar 2005 08:58:46 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j29Fwjpq002219; Wed, 9 Mar 2005 08:58:45 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 9 Mar 2005 08:58:45 -0700 From: Greg Lewis To: Vince Vielhaber Message-ID: <20050309155845.GA2166@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: jdk14 on 4.10 fails to patch X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 15:58:48 -0000 On Sun, Mar 06, 2005 at 02:10:48PM -0500, Vince Vielhaber wrote: > I'm trying to build jdk14 from the ports. I updated my ports tree > right before I started. I have all of the necessary files but at > the beginning of the build I get: > > 1 out of 1 hunks ignored--saving rejects to > ../../j2se/src/solaris/native/sun/awt/awt_Component.c.rej > => Patch patch-awt_Component.c failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/java/jdk14. You need to ensure that the patchset you are using matches the port since it appears as though this isn't the case. Certainly this patch no longer exists in the port. I'd suggest updating your ports collection and using the latest patchset. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 16:15:30 2005 Return-Path: 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 38ECB16A4CE for ; Wed, 9 Mar 2005 16:15:30 +0000 (GMT) Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B06B43D41 for ; Wed, 9 Mar 2005 16:15:29 +0000 (GMT) (envelope-from vev@michvhf.com) Received: (qmail 94633 invoked by uid 1002); 9 Mar 2005 16:17:17 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 9 Mar 2005 16:17:17 -0000 Received: (qmail 765 invoked by uid 1001); 9 Mar 2005 16:15:30 -0000 Date: Wed, 9 Mar 2005 11:15:30 -0500 (EST) From: Vince Vielhaber To: Greg Lewis In-Reply-To: <20050309155845.GA2166@misty.eyesbeyond.com> Message-ID: References: <20050309155845.GA2166@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: jdk14 on 4.10 fails to patch X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 16:15:30 -0000 On Wed, 9 Mar 2005, Greg Lewis wrote: > On Sun, Mar 06, 2005 at 02:10:48PM -0500, Vince Vielhaber wrote: > > I'm trying to build jdk14 from the ports. I updated my ports tree > > right before I started. I have all of the necessary files but at > > the beginning of the build I get: > > > > 1 out of 1 hunks ignored--saving rejects to > > ../../j2se/src/solaris/native/sun/awt/awt_Component.c.rej > > => Patch patch-awt_Component.c failed to apply cleanly. > > *** Error code 1 > > > > Stop in /usr/ports/java/jdk14. > > You need to ensure that the patchset you are using matches the port > since it appears as though this isn't the case. Certainly this patch > no longer exists in the port. I'd suggest updating your ports collection > and using the latest patchset. I was using patchset 7 and updated the ports tree with the ports tarball I got Mar 3rd around 6pm localtime. The makefile in the port was dated Feb 18, 2005 20:09. I re-extracted just the jdk14 port to a clean directory and compared the files subdir. I now see what was wrong - I should have done rm -Rf first 'cuze all the old patch files were still there. Vince. -- Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ http://www.meanstreamradio.com http://www.unknown-artists.com Online radio: It's not file sharing, it's just radio. From owner-freebsd-java@FreeBSD.ORG Wed Mar 9 22:57:59 2005 Return-Path: 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 A9D6A16A4CE for ; Wed, 9 Mar 2005 22:57:59 +0000 (GMT) Received: from ronald.echteman.nl (h8441134153.dsl.speedlinq.nl [84.41.134.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 030C143D46 for ; Wed, 9 Mar 2005 22:57:58 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: (qmail 6297 invoked from network); 9 Mar 2005 22:57:55 -0000 Received: from unknown (HELO laptop.thuis.klop.ws) (10.0.1.4) by ronald.echteman.nl with SMTP; 9 Mar 2005 22:57:55 -0000 Received: (qmail 12634 invoked from network); 9 Mar 2005 22:57:53 -0000 Received: from localhost.thuis.klop.ws (HELO smtp.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 9 Mar 2005 22:57:53 -0000 To: "Clive Lin" , "Thomas Lange" References: <004801c52239$1d13e310$16b2a8c0@bubu> <20050309153639.GA1591@tongi.org> Message-ID: Date: Wed, 09 Mar 2005 23:57:48 +0100 From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <20050309153639.GA1591@tongi.org> User-Agent: Opera M2/7.54 (FreeBSD, build 955) cc: freebsd-java@freebsd.org Subject: Re: Runtime.getRuntime().exec(...) -> Java process hangs in STOP state X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 22:57:59 -0000 On Wed, 9 Mar 2005 23:36:39 +0800, Clive Lin wrote: > On Sun, Mar 06, 2005 at 11:41:30AM +0100, Thomas Lange wrote: >> Hi everyone, >> >> has anybody experienced a similar problem? > > Yes here, and the symptom is same as described in the title. > > I did not try to investigate the problem as your did, but just > update the FreeBSD box in question to 5.3-stable. It just works fine > so far. > > `uname -av` is > FreeBSD trex 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Jan 26 14:29:14 CST > 2005 root@wist:/usr/obj/usr/src/sys/I686UP i386 > Maybe this article shines some light on the issue. http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -- Ronald Klop, Amsterdam, The Netherlands From owner-freebsd-java@FreeBSD.ORG Thu Mar 10 01:01:17 2005 Return-Path: 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 5C0F116A4CE for ; Thu, 10 Mar 2005 01:01:17 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF1843D39 for ; Thu, 10 Mar 2005 01:01:16 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from localhost.localdomain (shumai.marcuscom.com [192.168.1.4]) j2A11PAd059660 for ; Wed, 9 Mar 2005 20:01:25 -0500 (EST) (envelope-from marcus@FreeBSD.org) Date: Wed, 9 Mar 2005 20:01:25 -0500 (EST) Message-Id: <200503100101.j2A11PAd059660@creme-brulee.marcuscom.com> From: marcus@FreeBSD.org To: java@FreeBSD.org Subject: PLEASE READ: Upcoming GNOME 2.10 upgrade X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 01:01:17 -0000 On Friday, March 11, GNOME 2.10 will be imported into the FreeBSD ports tree. This upgrade brings with it new versions of Glib 2. This new version includes a shared library version bump that will affect the following ports which you maintain. We would like to bump these ports' PORTREVISIONs to make upgrades easier for our users. If there is a port listed here that you would not like touched, please let us know as soon as possible. Please keep in mind that bumping PORTREVISIONs will be a benefit to our users as it will not require them to do forced portupgrades. Thank you. Marcus on behalf of the FreeBSD GNOME Team LIST OF PORTS: java/eclipse java/eclipse-cdt java/eclipse-checkstyle java/eclipse-emf java/eclipse-examples java/eclipse-gef java/eclipse-gef-examples java/eclipse-langpack java/eclipse-pmd java/eclipse-quantum java/eclipse-uml java/eclipse-vep-examples From owner-freebsd-java@FreeBSD.ORG Thu Mar 10 06:10:45 2005 Return-Path: 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 6654816A4CE for ; Thu, 10 Mar 2005 06:10:45 +0000 (GMT) Received: from lowrider.smega.com (lowrider.smega.com [82.149.226.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97B843D4C for ; Thu, 10 Mar 2005 06:10:44 +0000 (GMT) (envelope-from freebja@wie-ich.de) Received: from p50859e65.dip0.t-ipconnect.de ([80.133.158.101] helo=bubu) by lowrider.smega.com with asmtp (Exim 4.41 (FreeBSD)) id 1D9GsT-0003EA-6G; Thu, 10 Mar 2005 07:10:33 +0100 Message-ID: <004001c52538$0b86d830$16b2a8c0@bubu> From: "Thomas Lange" To: "Clive Lin" References: <004801c52239$1d13e310$16b2a8c0@bubu> <20050309153639.GA1591@tongi.org> Date: Thu, 10 Mar 2005 07:11:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 cc: freebsd-java@freebsd.org Subject: Re: Runtime.getRuntime().exec(...) -> Java process hangs in STOP state (SOLVED) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 06:10:45 -0000 > I did not try to investigate the problem as your did, but just > update the FreeBSD box in question to 5.3-stable. It just works fine > so far. Applying the patch described in http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042407.html helped so far. It changes something in kern_thread.c. Exactly that change is also committed to the 5.3-stable branch. regards Thomas -- Thomas Lange Techunity Software E-Mail: thomas.lange@techunity.de Tel.: +49-241-8874958 Web: http://www.techunity.de