From owner-freebsd-java@FreeBSD.ORG Sun Jul 24 08:25:55 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 3FE7716A41F for ; Sun, 24 Jul 2005 08:25:55 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 490EB43D46 for ; Sun, 24 Jul 2005 08:25:49 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 1589 invoked from network); 24 Jul 2005 08:36:16 -0000 Received: from unknown (HELO bobcpp.co.id) (203.130.206.210) by ns.bobcpp.co.id with SMTP; 24 Jul 2005 08:36:16 -0000 Received: from 10.249.7.57 (SquirrelMail authenticated user madrus) by webmail.bobcpp.co.id with HTTP; Sun, 24 Jul 2005 15:20:28 +0700 (JAVT) Message-ID: <4275.10.249.7.57.1122193228.squirrel@webmail.bobcpp.co.id> Date: Sun, 24 Jul 2005 15:20:28 +0700 (JAVT) From: To: In-Reply-To: References: X-Mailer: SquirrelMail (version 1.2.0 [rc2]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 08:25:55 -0000 Dear miliser, I still get problem when installing java port on FreeBSD. The Error message like this: ------------------ /usr/local/jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or directory In file included from src/org/freebsd/io/comm/libSerial.c:32: /usr/local/jdk1.4.2/include/jni.h:45: error: syntax error before "jsize" ------------------ when i try to use jni.h in linux directory then the installation is OK but when running the serial programe appear same error as i told you before. where can i find jni.h for FreeBSD ??? thanks. ~madrus~ > ________________ Original message ________________ > Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 > Author: "Jonathan Chen" > Date: 21st July 2005 6:11:29 > > On Thu, Jul 21, 2005 at 11:26:22AM +0700, madrus@bobcpp.co.id wrote: >> Sorry, i am newbie in Java FreeBSD, >> I don't understand how to install JDK 1.4 on FreeBSD 5.4, > > Basically: > > # cd /usr/ports/java/jdk14 > # make install > > It will stop a couple of times with things that you need to do. Read > the instructions and follow them. If you have a problem, then ask us > providing *EXACT* details and screen output. > > Cheers. > -- > Jonathan Chen > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Sun Jul 24 11:31:52 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9745A16A41F for ; Sun, 24 Jul 2005 11:31:52 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33F0243D4C for ; Sun, 24 Jul 2005 11:31:52 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id A0CB956435; Sun, 24 Jul 2005 23:31:50 +1200 (NZST) Date: Sun, 24 Jul 2005 23:31:50 +1200 From: Jonathan Chen To: madrus@bobcpp.co.id Message-ID: <20050724113150.GA42544@osiris.chen.org.nz> References: <4275.10.249.7.57.1122193228.squirrel@webmail.bobcpp.co.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4275.10.249.7.57.1122193228.squirrel@webmail.bobcpp.co.id> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 11:31:52 -0000 [ Please don't top-post] On Sun, Jul 24, 2005 at 03:20:28PM +0700, madrus@bobcpp.co.id wrote: > Dear miliser, > I still get problem when installing java port on FreeBSD. > The Error message like this: > ------------------ > /usr/local/jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or > directory > In file included from src/org/freebsd/io/comm/libSerial.c:32: > /usr/local/jdk1.4.2/include/jni.h:45: error: syntax error before "jsize" > ------------------ > > when i try to use jni.h in linux directory then the installation > is OK but when running the serial programe appear same error as > i told you before. > > where can i find jni.h for FreeBSD ??? jni.h comes with the java/jdk14 . You have *NOT* given us enough information about what you are doing. Have you installed java/jdk14? What did you do? Please provide us with all the details of: 1. what you're trying to achieve. 2. what you did to achieve this. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- When you don't know what you are doing, do it neatly. From owner-freebsd-java@FreeBSD.ORG Sun Jul 24 13:50:19 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9A51816A447 for ; Sun, 24 Jul 2005 13:50:19 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7545943D45 for ; Sun, 24 Jul 2005 13:50:17 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6ODnrKU058903; Sun, 24 Jul 2005 16:49:53 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6ODnhPb068893; Sun, 24 Jul 2005 16:49:47 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.338 [267.9.4]); Sun, 24 Jul 2005 16:49:40 +0300 Message-ID: <42E39C74.5010800@ebs.gr> Date: Sun, 24 Jul 2005 16:49:40 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jonathan Chen References: <4275.10.249.7.57.1122193228.squirrel@webmail.bobcpp.co.id> <20050724113150.GA42544@osiris.chen.org.nz> In-Reply-To: <20050724113150.GA42544@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: madrus@bobcpp.co.id, freebsd-java@freebsd.org Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 13:50:19 -0000 Jonathan Chen wrote: > [ Please don't top-post] > On Sun, Jul 24, 2005 at 03:20:28PM +0700, madrus@bobcpp.co.id wrote: > >>Dear miliser, >>I still get problem when installing java port on FreeBSD. >>The Error message like this: >>------------------ >>/usr/local/jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or >>directory >>In file included from src/org/freebsd/io/comm/libSerial.c:32: >>/usr/local/jdk1.4.2/include/jni.h:45: error: syntax error before "jsize" >>------------------ >> >>when i try to use jni.h in linux directory then the installation >>is OK but when running the serial programe appear same error as >>i told you before. >> >>where can i find jni.h for FreeBSD ??? > > > jni.h comes with the java/jdk14 . You have *NOT* given us enough > information about what you are doing. Have you installed java/jdk14? > What did you do? Please provide us with all the details of: > > 1. what you're trying to achieve. > 2. what you did to achieve this. > > Cheers. I would guess that this error is coming from compiling libSerial.c with insufficient arguments, i.e. with "-I/usr/local/jdk1.4.2/include" but without "-I/usr/local/jdk1.4.2/include/freebsd". Of course one cannot be sure without more detailed information. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Jul 25 00:20:17 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 1C5AA16A41F for ; Mon, 25 Jul 2005 00:20:17 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id CA79543D49 for ; Mon, 25 Jul 2005 00:20:10 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 18278 invoked from network); 25 Jul 2005 00:30:38 -0000 Received: from unknown (HELO bobcpp.co.id) (203.130.206.210) by ns.bobcpp.co.id with SMTP; 25 Jul 2005 00:30:38 -0000 Received: from 10.249.7.57 (SquirrelMail authenticated user madrus) by webmail.bobcpp.co.id with HTTP; Mon, 25 Jul 2005 07:14:48 +0700 (JAVT) Message-ID: <4240.10.249.7.57.1122250488.squirrel@webmail.bobcpp.co.id> Date: Mon, 25 Jul 2005 07:14:48 +0700 (JAVT) From: To: In-Reply-To: <20050724113150.GA42544@osiris.chen.org.nz> References: <20050724113150.GA42544@osiris.chen.org.nz> X-Mailer: SquirrelMail (version 1.2.0 [rc2]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 00:20:17 -0000 Thanks Jonathan, You're right, i am wrong source, right now, i have been trying install the right source as you told me before. Thanks again. ~madrus~ > [ Please don't top-post] > On Sun, Jul 24, 2005 at 03:20:28PM +0700, madrus@bobcpp.co.id wrote: >> Dear miliser, >> I still get problem when installing java port on FreeBSD. >> The Error message like this: >> ------------------ >> /usr/local/jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or >> directory >> In file included from src/org/freebsd/io/comm/libSerial.c:32: >> /usr/local/jdk1.4.2/include/jni.h:45: error: syntax error before >> "jsize" ------------------ >> >> when i try to use jni.h in linux directory then the installation is OK >> but when running the serial programe appear same error as >> i told you before. >> >> where can i find jni.h for FreeBSD ??? > > jni.h comes with the java/jdk14 . You have *NOT* given us enough > information about what you are doing. Have you installed java/jdk14? > What did you do? Please provide us with all the details of: > > 1. what you're trying to achieve. > 2. what you did to achieve this. > > Cheers. > -- > Jonathan Chen > ---------------------------------------------------------------------- > When you don't know what you are doing, do it neatly. From owner-freebsd-java@FreeBSD.ORG Mon Jul 25 09:56:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 1213916A41F for ; Mon, 25 Jul 2005 09:56:42 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 40DB543D45 for ; Mon, 25 Jul 2005 09:56:31 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 71006 invoked from network); 25 Jul 2005 10:06:57 -0000 Received: from unknown (HELO bobcpp.co.id) (203.130.206.210) by ns.bobcpp.co.id with SMTP; 25 Jul 2005 10:06:57 -0000 Received: from 10.249.7.57 (SquirrelMail authenticated user madrus) by webmail.bobcpp.co.id with HTTP; Mon, 25 Jul 2005 16:51:05 +0700 (JAVT) Message-ID: <3782.10.249.7.57.1122285065.squirrel@webmail.bobcpp.co.id> Date: Mon, 25 Jul 2005 16:51:05 +0700 (JAVT) From: To: In-Reply-To: <4240.10.249.7.57.1122250488.squirrel@webmail.bobcpp.co.id> References: <4240.10.249.7.57.1122250488.squirrel@webmail.bobcpp.co.id> X-Mailer: SquirrelMail (version 1.2.0 [rc2]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 09:56:42 -0000 Thanks all, It's work now. ~madrus~ > Thanks Jonathan, > You're right, i am wrong source, right now, i have been trying > install the right source as you told me before. > Thanks again. > > ~madrus~ > > > >> [ Please don't top-post] >> On Sun, Jul 24, 2005 at 03:20:28PM +0700, madrus@bobcpp.co.id wrote: >>> Dear miliser, >>> I still get problem when installing java port on FreeBSD. >>> The Error message like this: >>> ------------------ >>> /usr/local/jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or >>> directory >>> In file included from src/org/freebsd/io/comm/libSerial.c:32: >>> /usr/local/jdk1.4.2/include/jni.h:45: error: syntax error before >>> "jsize" ------------------ >>> >>> when i try to use jni.h in linux directory then the installation is >>> OK but when running the serial programe appear same error as >>> i told you before. >>> >>> where can i find jni.h for FreeBSD ??? >> >> jni.h comes with the java/jdk14 . You have *NOT* given us enough >> information about what you are doing. Have you installed java/jdk14? >> What did you do? Please provide us with all the details of: >> >> 1. what you're trying to achieve. >> 2. what you did to achieve this. >> >> Cheers. >> -- >> Jonathan Chen >> ---------------------------------------------------------------------- >> When you don't know what you are doing, do it neatly. > > > > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Mon Jul 25 11:02:14 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9CA7E16A420 for ; Mon, 25 Jul 2005 11:02:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B73943D4C for ; Mon, 25 Jul 2005 11:02:14 +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 j6PB2E4v018430 for ; Mon, 25 Jul 2005 11:02:14 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6PB2Dbd018424 for freebsd-java@freebsd.org; Mon, 25 Jul 2005 11:02:13 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 25 Jul 2005 11:02:13 GMT Message-Id: <200507251102.j6PB2Dbd018424@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 11:02:14 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [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/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 o [2005/05/17] java/81176 java Java Webstart does not work f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing f [2005/07/14] ports/83434 java tomcat ports give the wrong ownership to 11 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 f [2003/11/21] ports/59571 java improvements of www/jakarta-tomcat4[1] Ma o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jul 25 13:39:29 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 32E5216A41F for ; Mon, 25 Jul 2005 13:39:29 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id C525343D4C for ; Mon, 25 Jul 2005 13:39:28 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1Dx3Ar-0005yQ-N1; Mon, 25 Jul 2005 14:39:27 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1Dx3Aq-000387-Rw; Mon, 25 Jul 2005 14:39:17 +0100 Date: Mon, 25 Jul 2005 14:39:16 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Andreas Kohn In-Reply-To: <1122069468.2062.15.camel@klamath.syndrom23.de> Message-ID: References: <1122069468.2062.15.camel@klamath.syndrom23.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Cc: freebsd-java@freebsd.org Subject: Solved - Re: Eclipse 3.1, subclipse, javaSVN, kserel and 70% system use. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 13:39:29 -0000 On Fri, 22 Jul 2005, Andreas Kohn wrote: > Hi, > > On Fri, 2005-07-22 at 13:58 +0100, Jan Grant wrote: > > (This appears to be a problem with both native 1.4.2 and 1.5.0 jdks on > > my -stable: an approximately GENERIC > > FreeBSD 5.4-STABLE #0: Thu Jun 16 13:59:43 BST 2005) > > > > I use subversion for version control here, so I installed the latest > > subclipe (subclipe.tigris.org) and the tmate.org javaSVN libraries. > > > > [subclipse really slow] > > > > I can get a thread dump if anyone is interested but I'd like to actually > > get some confirmation that others are seeing this issue too. > > > > I did see the same after installing subclipse again into 3.1. Apparently > as my machine is a lot slower than yours (athlon 1200), I actually never > saw the operation complete. Eclipse-devel just hung early, just after it > painted itself for the first time. > > I didn't have much time then to figure out how to solve the problem. > Now, I reinstalled eclipse-devel (to test the latest patch), and also > reinstalled subclipse (after I saw your message). > I usually use subclipse with the JavaHL bindings[1]. Thanks to Mark Phippard, with whose advice I was able to sort this out. It appears that there's a bug in the currently released version of subclipse that causes it to run incredibly slowly for many operations. A version built against the head of the subclipse tree works fine - although I had to build javahl* in order to get it working, as javaSVN has not yet been updated for this version of subclipse. jan * A little makefile hackery required, as I've got apache2 installed, and the port/configure picks that up as opposed to the devel/apr port. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 9287088 or 3317661 http://ioctl.org/jan/ Strive to live every day as though it was last Wednesday. From owner-freebsd-java@FreeBSD.ORG Mon Jul 25 21:02:57 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF1BF16A420; Mon, 25 Jul 2005 21:02:57 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB7443D45; Mon, 25 Jul 2005 21:02:57 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (hq@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6PL2vQV059085; Mon, 25 Jul 2005 21:02:57 GMT (envelope-from hq@freefall.freebsd.org) Received: (from hq@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6PL2uTa059081; Mon, 25 Jul 2005 21:02:56 GMT (envelope-from hq) Date: Mon, 25 Jul 2005 21:02:56 GMT From: Herve Quiroz Message-Id: <200507252102.j6PL2uTa059081@freefall.freebsd.org> To: ve@hardcore.lt, hq@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/59571: improvements of www/jakarta-tomcat4[1] Makefile and control program X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 21:02:57 -0000 Synopsis: improvements of www/jakarta-tomcat4[1] Makefile and control program State-Changed-From-To: feedback->closed State-Changed-By: hq State-Changed-When: Mon Jul 25 21:02:14 GMT 2005 State-Changed-Why: No feedback from original submitter. Let's bury this PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=59571 From owner-freebsd-java@FreeBSD.ORG Mon Jul 25 21:21:45 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 0A3EB16A41F for ; Mon, 25 Jul 2005 21:21:45 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 617B543D45 for ; Mon, 25 Jul 2005 21:21:41 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j6PLLeQU038850; Mon, 25 Jul 2005 23:21:40 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j6PLLcIf038849; Mon, 25 Jul 2005 23:21:38 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 25 Jul 2005 23:21:38 +0200 From: Herve Quiroz To: Achilleus Mantzios Message-ID: <20050725212138.GA13849@arabica.esil.univ-mrs.fr> Mail-Followup-To: Achilleus Mantzios , Conrad Burger , freebsd-java@freebsd.org References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> 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: Conrad Burger , freebsd-java@freebsd.org Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 21:21:45 -0000 Hi Achilleus, On Wed, Jul 20, 2005 at 05:31:48PM +0300, Achilleus Mantzios wrote: > I have probably missed something, but > why can't tomcat be started as a shellscript > as jboss does? Well, actually jboss is launched using an executable which is also a C program... But actually I tend to agree with you on the shell script front. There may have been some historical reason to the tomcatctl.c program but I believe the most clean approach is probably the one from PR 38018 [1]. I have been trying to get the commons-daemon stuff working but there are still issues (e.g. it takes forever to shutdown the service) to overcome and I don't see what jsvc does actually provide more than what catalina.sh + rcNG already do. I am starting to think that jsvc is good when your system don't provide features such as the ones that are provided by rcNG (PID file, run as user, start/stop...) Please, all people motivated by this issue have a look at PR 33018 [1] and tell me if there is something wrong with a plain rcNG shell script. Whether there is indeed some mandatory feature that can only be provided by some C program or not, we need to know it so we can already close some PRs and find a solution, at last. FYI, a ports CVS freeze is coming (6.0 release) in a few days now... Herve [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/38018 From owner-freebsd-java@FreeBSD.ORG Tue Jul 26 07:33:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 D383D16A41F for ; Tue, 26 Jul 2005 07:33:47 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B77D943D46 for ; Tue, 26 Jul 2005 07:33:45 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6Q7XbKU065730; Tue, 26 Jul 2005 10:33:37 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6Q7XZ2R099877; Tue, 26 Jul 2005 10:33:35 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.338 [267.9.4]); Tue, 26 Jul 2005 10:33:35 +0300 Message-ID: <42E5E74F.3080700@ebs.gr> Date: Tue, 26 Jul 2005 10:33:35 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Herve Quiroz References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> <20050725212138.GA13849@arabica.esil.univ-mrs.fr> In-Reply-To: <20050725212138.GA13849@arabica.esil.univ-mrs.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Conrad Burger , freebsd-java@freebsd.org Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 07:33:47 -0000 Herve Quiroz wrote: > Hi Achilleus, > > On Wed, Jul 20, 2005 at 05:31:48PM +0300, Achilleus Mantzios wrote: > >>I have probably missed something, but >>why can't tomcat be started as a shellscript >>as jboss does? > > > Well, actually jboss is launched using an executable which is also a C > program... > > But actually I tend to agree with you on the shell script front. There > may have been some historical reason to the tomcatctl.c program but I > believe the most clean approach is probably the one from PR 38018 [1]. > > I have been trying to get the commons-daemon stuff working but there are > still issues (e.g. it takes forever to shutdown the service) to overcome > and I don't see what jsvc does actually provide more than what > catalina.sh + rcNG already do. I am starting to think that jsvc is good > when your system don't provide features such as the ones that are > provided by rcNG (PID file, run as user, start/stop...) > > Please, all people motivated by this issue have a look at PR 33018 [1] > and tell me if there is something wrong with a plain rcNG shell script. > Whether there is indeed some mandatory feature that can only be provided by > some C program or not, we need to know it so we can already close some > PRs and find a solution, at last. > > FYI, a ports CVS freeze is coming (6.0 release) in a few days now... > > Herve IMHO, the approach in PR 38018 is a reasonable and future-proof one. I agree with everything you say above. IIRC the only thing a C program buys us is the ability to bind directly on privileged ports (e.g. 80, 443). I have had a hard time persuading other people that this is better than having the stock launcher script, though. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Tue Jul 26 19:25:14 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2BE5416A41F for ; Tue, 26 Jul 2005 19:25:14 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E3943D46 for ; Tue, 26 Jul 2005 19:25:13 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id EBC8E56435; Wed, 27 Jul 2005 07:25:11 +1200 (NZST) Date: Wed, 27 Jul 2005 07:25:11 +1200 From: Jonathan Chen To: freebsd-java@freebsd.org Message-ID: <20050726192511.GD56293@osiris.chen.org.nz> References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> <20050725212138.GA13849@arabica.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050725212138.GA13849@arabica.esil.univ-mrs.fr> User-Agent: Mutt/1.4.2.1i Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 19:25:14 -0000 On Mon, Jul 25, 2005 at 11:21:38PM +0200, Herve Quiroz wrote: > Please, all people motivated by this issue have a look at PR 33018 [1] > and tell me if there is something wrong with a plain rcNG shell script. > Whether there is indeed some mandatory feature that can only be provided by > some C program or not, we need to know it so we can already close some > PRs and find a solution, at last. The major reason why Ernst introduced the daemonctl program was so that tomcat/jboss wouldn't be running as root. Having it run as root introduces the possibility of a root-hack via tomcat/jboss. If you can make it easily run under the `www' pseudo user that would be cool. The secondary purpose of the daemonctl program was convenience related: you don't have to be root to start the service, just a member of `www'. Dunno if you can easily replicate this with a shell script though. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Power corrupts, Absolute Power is pretty neat From owner-freebsd-java@FreeBSD.ORG Wed Jul 27 05:55:09 2005 Return-Path: X-Original-To: java@freebsd.org 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 3EE3E16A41F for ; Wed, 27 Jul 2005 05:55:09 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id D31CB43D53 for ; Wed, 27 Jul 2005 05:55:08 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: (qmail 32015 invoked from network); 27 Jul 2005 05:55:08 -0000 Received: from aldan.algebra.com (HELO blue.virtual-estates.net) ([216.254.65.224]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 27 Jul 2005 05:55:07 -0000 Received: from blue.virtual-estates.net (blue [127.0.0.1]) by blue.virtual-estates.net (8.13.3/8.13.3) with ESMTP id j6R5t6vl043538; Wed, 27 Jul 2005 01:55:06 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by blue.virtual-estates.net (8.13.3/8.13.3/Submit) id j6R5t5O3043537; Wed, 27 Jul 2005 01:55:05 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) X-Authentication-Warning: blue.virtual-estates.net: mi set sender to mi+kde@aldan.algebra.com using -f From: Mikhail Teterin To: phantom@phantom.cris.net Date: Wed, 27 Jul 2005 01:55:05 -0400 User-Agent: KMail/1.8.1 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: java@freebsd.org Subject: Adding KOI8-U to java/jdk15 (others?) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 05:55:09 -0000 Alexey! Did you have a chance to review the changes I proposed to add KOI8-U support to jdk ports (starting with jdk15)? The port-freeze is quickly approaching and I'd prefer to see 6.0 ship with Ukrainian (and Bielorussian) support properly in at least one of our Java offerings, even if that is our most experimental one. Thanks for your time! -mi From owner-freebsd-java@FreeBSD.ORG Wed Jul 27 08:20:58 2005 Return-Path: X-Original-To: java@freebsd.org 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 8585916A41F; Wed, 27 Jul 2005 08:20:58 +0000 (GMT) (envelope-from huang@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id A973B43D45; Wed, 27 Jul 2005 08:20:57 +0000 (GMT) (envelope-from huang@gddsn.org.cn) Received: from [192.168.4.81] (unknown [210.72.96.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id DF95B38CB59; Wed, 27 Jul 2005 16:20:54 +0800 (CST) Message-ID: <42E743E7.5070000@gddsn.org.cn> Date: Wed, 27 Jul 2005 16:20:55 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: java@freebsd.org, ports@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: freetype2-2.1.10 broken JDK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 08:20:58 -0000 hi, I am using JDK1.5.0 + chinese locale(zh_CN.UTF-8) under CURRENT, I use truetype font in fontconfig.properties. freetype2-2.1.10 broke JDK1.5.0 now revert to freetype2-2.1.9 solve this problem. It also broken JDK1.4.2 %setenv USER=hwh MAIL=/var/mail/hwh HOME=/home/hwh LOGNAME=hwh BLOCKSIZE=K PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hwh/bin DISPLAY=:0.0 SHELL=/bin/csh FTP_PASSIVE_MODE=YES HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 PWD=/usr/local/jdk1.5.0/jre/lib GROUP=wheel HOST=tp.gddsn.org.cn EDITOR=vi PAGER=more CVSROOT=:pserver:hwh@gw:/home/CVS LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8 GLOBUS_LOCATION=/home/hwh/globus XMODIFIERS=@im=fcitx GTK_RC_FILES=/usr/X11R6/etc/gtk/gtkrc:/home/hwh/.gtkrc-1.2-gnome2 SESSION_MANAGER=local/tp.gddsn.org.cn:/tmp/.ICE-unix/40876 GNOME_KEYRING_SOCKET=/var/tmp/keyring-MrzstL/socket GNOME_DESKTOP_SESSION_ID=Default TERM=xterm COLORTERM=gnome-terminal WINDOWID=27263197 SHLVL=1 %cat fontconfig.properties # @(#)FreeBSD.fontconfig.6.0.properties 1.4 03/11/14 # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # # Version version=1 # Component Font Mappings #allfonts.chinese-gb2312=-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 #allfonts.chinese-gb2312.motif=-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0 allfonts.chinese-gb2312=-misc-ar pl new sung-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 allfonts.chinese-gb2312.motif=-misc-ar pl new sung-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 allfonts.chinese-gb18030-0=-misc-ar pl new sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-0 allfonts.chinese-gb18030-0.motif=-misc-ar pl new sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-0 allfonts.chinese-gb18030-1=-misc-ar pl new sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1 allfonts.chinese-gb18030-1.motif=-misc-ar pl new sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1 allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1 serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1 serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1 serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1 sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 # Search Sequences sequence.allfonts=latin-1-lt sequence.allfonts.GB2312=latin-1,chinese-gb2312 sequence.allfonts.UTF-8=latin-1,chinese-gb18030-1,chinese-gb18030-0,chinese-gb2312 sequence.allfonts.GBK=latin-1,chinese-gb2312 # the fallback sequence omits the following character subsets: # - japanese-x0208: same files as japanese-x0201 sequence.fallback=lucida,chinese-big5,chinese-gb18030,\ japanese-x0201,korean # Exclusion Ranges # Font File Names #filename.-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0=/usr/X11R6/lib/X11/fonts/TrueType/simsun.ttc # AWT X11 font paths awtfontpath.latin-1=/usr/X11R6/lib/X11/fonts/Type1 awtfontpath.latin-1-lt=/usr/X11R6/lib/X11/fonts/Type1 awtfontpath.chinese-gb2312=/usr/X11R6/lib/X11/fonts/TrueType awtfontpath.chinese-gb18030-0=/usr/X11R6/lib/X11/fonts/TrueType awtfontpath.chinese-gb18030-1=/usr/X11R6/lib/X11/fonts/TrueType tp# gdb -core /Xorg.core /usr/X11R6/bin/Xorg GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `Xorg'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libz.so.3...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/X11R6/lib/libXau.so.0...done. Loaded symbols for /usr/X11R6/lib/libXau.so.0 Reading symbols from /usr/X11R6/lib/libXdmcp.so.0...done. Loaded symbols for /usr/X11R6/lib/libXdmcp.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/X11R6/lib/modules/fonts/libfreetype.so...done. Loaded symbols for /usr/X11R6/lib/modules/fonts/libfreetype.so Reading symbols from /usr/local/lib/libfreetype.so.9...done. Loaded symbols for /usr/local/lib/libfreetype.so.9 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2831844b in kill () from /lib/libc.so.6 (gdb) bt #0 0x2831844b in kill () from /lib/libc.so.6 #1 0x283183e8 in raise () from /lib/libc.so.6 #2 0x283170fc in abort () from /lib/libc.so.6 #3 0x0806d8c3 in ddxGiveUp () at xf86Init.c:1228 #4 0x0806d9b6 in AbortDDX () at xf86Init.c:1283 #5 0x08106288 in AbortServer () at log.c:395 #6 0x0810659a in FatalError (f=0x81f435c "Caught signal %d. Server aborting\n") at log.c:541 #7 0x080898be in xf86SigHandler (signo=11) at xf86Events.c:1298 #8 0xbfbfff94 in ?? () #9 0x0000000b in ?? () #10 0x0000000c in ?? () #11 0xbfbfd040 in ?? () #12 0x00000000 in ?? () #13 0x08089830 in xf86InterceptSignals () at xf86Events.c:1270 #14 0x2834d8d8 in FreeTypeRasteriseGlyph (idx=0, flags=1, tgp=0x8f66700, instance=0x8f69400, hasMetrics=0) at ftfuncs.c:1034 #15 0x2834cb56 in FreeTypeInstanceGetGlyph (idx=0, flags=1, g=0xbfbfd62c, instance=0x8f69400) at ftfuncs.c:643 #16 0x28354018 in FreeTypeLoadXFont (fileName=0xbfbfdcc0 "/usr/X11R6/lib/X11/fonts/TrueType/fn=0:vl=y:simsun.ttc", vals=0xbfbfdc40, xf=0x8ea4a00, info=0x8ea4a04, bmfmt=0xbfbfd7b0, entry=0x8c50bb4) at ftfuncs.c:3362 #17 0x28354a25 in FreeTypeOpenScalable (fpe=0x8c83940, ppFont=0xbfbfe964, flags=0, entry=0x8c50bb4, fileName=0xbfbfdcc0 "/usr/X11R6/lib/X11/fonts/TrueType/fn=0:vl=y:simsun.ttc", vals=0xbfbfdc40, format=512, fmask=31, non_cachable_font=0x0) at ftfuncs.c:3743 #18 0x0811410b in FontFileOpenFont (client=0x8f65c00, fpe=0x8c83940, flags=0, name=0x8eacac0 "-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1o8859-1\b\200\uffff\227\b\200\uffff\233\b\uffff\uffff\233\b\uffff\uffff\233\b\uffff\236\uffff\b`8\uffff\b\uffff8\uffff\b@9\uffff\b`\213\uffff\b-75-75-p-0-iso8859-3", namelen=56, format=512, fmask=31, id=8388618, pFont=0xbfbfe964, aliasName=0xbfbfe950, non_cachable_font=0x0) at fontfile.c:433 #19 0x080f7f09 in doOpenFont (client=0x8f65c00, c=0x8eaca80) at dixfonts.c:294 #20 0x080f83cc in OpenFont (client=0x8f65c00, fid=8388618, flags=0, lenfname=56, pfontname=0x8e9f00c "-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1\230\001\003") at dixfonts.c:469 #21 0x080ced41 in ProcOpenFont (client=0x8f65c00) at dispatch.c:1312 #22 0x080cd158 in Dispatch () at dispatch.c:455 #23 0x080e35dc in main (argc=3, argv=0xbfbfeea8, envp=0xbfbfeeb8) at main.c:442 (gdb) From owner-freebsd-java@FreeBSD.ORG Wed Jul 27 08:58:41 2005 Return-Path: X-Original-To: java@freebsd.org 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 5759616A41F; Wed, 27 Jul 2005 08:58:41 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6AC43D45; Wed, 27 Jul 2005 08:58:38 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6R8wYKU070171; Wed, 27 Jul 2005 11:58:34 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6R8wSUe020219; Wed, 27 Jul 2005 11:58:33 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.338 [267.9.5]); Wed, 27 Jul 2005 11:58:27 +0300 Message-ID: <42E74CB3.1030101@ebs.gr> Date: Wed, 27 Jul 2005 11:58:27 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huang wen hui References: <42E743E7.5070000@gddsn.org.cn> In-Reply-To: <42E743E7.5070000@gddsn.org.cn> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, java@freebsd.org Subject: Re: freetype2-2.1.10 broken JDK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 08:58:41 -0000 Huang wen hui wrote: > hi, > I am using JDK1.5.0 + chinese locale(zh_CN.UTF-8) under CURRENT, I use > truetype font in fontconfig.properties. > freetype2-2.1.10 broke JDK1.5.0 now revert to freetype2-2.1.9 solve this > problem. It also broken JDK1.4.2 > > %setenv > USER=hwh > MAIL=/var/mail/hwh > HOME=/home/hwh > LOGNAME=hwh > BLOCKSIZE=K > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hwh/bin > DISPLAY=:0.0 > SHELL=/bin/csh > FTP_PASSIVE_MODE=YES > HOSTTYPE=FreeBSD > VENDOR=intel > OSTYPE=FreeBSD > MACHTYPE=i386 > PWD=/usr/local/jdk1.5.0/jre/lib > GROUP=wheel > HOST=tp.gddsn.org.cn > EDITOR=vi > PAGER=more > CVSROOT=:pserver:hwh@gw:/home/CVS > LC_ALL=zh_CN.UTF-8 > LANG=zh_CN.UTF-8 > GLOBUS_LOCATION=/home/hwh/globus > XMODIFIERS=@im=fcitx > GTK_RC_FILES=/usr/X11R6/etc/gtk/gtkrc:/home/hwh/.gtkrc-1.2-gnome2 > SESSION_MANAGER=local/tp.gddsn.org.cn:/tmp/.ICE-unix/40876 > GNOME_KEYRING_SOCKET=/var/tmp/keyring-MrzstL/socket > GNOME_DESKTOP_SESSION_ID=Default > TERM=xterm > COLORTERM=gnome-terminal > WINDOWID=27263197 > SHLVL=1 > > %cat fontconfig.properties > # @(#)FreeBSD.fontconfig.6.0.properties 1.4 03/11/14 > # > # Copyright 2003 Sun Microsystems, Inc. All rights reserved. > # > > # Version > > version=1 > > # Component Font Mappings > > #allfonts.chinese-gb2312=-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 > #allfonts.chinese-gb2312.motif=-isas-song > ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0 > allfonts.chinese-gb2312=-misc-ar pl new > sung-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 > allfonts.chinese-gb2312.motif=-misc-ar pl new > sung-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 > allfonts.chinese-gb18030-0=-misc-ar pl new > sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-0 > allfonts.chinese-gb18030-0.motif=-misc-ar pl new > sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-0 > allfonts.chinese-gb18030-1=-misc-ar pl new > sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1 > allfonts.chinese-gb18030-1.motif=-misc-ar pl new > sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1 > allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 > > > serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1 > serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1 > serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1 > serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1 > > sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 > sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 > sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 > sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 > > monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 > monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 > monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 > monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 > > dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 > dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 > dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 > dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 > > dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 > dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 > dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 > dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 > > # Search Sequences > > sequence.allfonts=latin-1-lt > > sequence.allfonts.GB2312=latin-1,chinese-gb2312 > sequence.allfonts.UTF-8=latin-1,chinese-gb18030-1,chinese-gb18030-0,chinese-gb2312 > sequence.allfonts.GBK=latin-1,chinese-gb2312 > > # the fallback sequence omits the following character subsets: > # - japanese-x0208: same files as japanese-x0201 > sequence.fallback=lucida,chinese-big5,chinese-gb18030,\ > japanese-x0201,korean > > # Exclusion Ranges > > # Font File Names > > #filename.-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0=/usr/X11R6/lib/X11/fonts/TrueType/simsun.ttc > > # AWT X11 font paths > awtfontpath.latin-1=/usr/X11R6/lib/X11/fonts/Type1 > awtfontpath.latin-1-lt=/usr/X11R6/lib/X11/fonts/Type1 > awtfontpath.chinese-gb2312=/usr/X11R6/lib/X11/fonts/TrueType > awtfontpath.chinese-gb18030-0=/usr/X11R6/lib/X11/fonts/TrueType > awtfontpath.chinese-gb18030-1=/usr/X11R6/lib/X11/fonts/TrueType > > > tp# gdb -core /Xorg.core /usr/X11R6/bin/Xorg > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd"... > Core was generated by `Xorg'. > Program terminated with signal 6, Aborted. > Reading symbols from /lib/libz.so.3...done. > Loaded symbols for /lib/libz.so.3 > Reading symbols from /lib/libm.so.4...done. > Loaded symbols for /lib/libm.so.4 > Reading symbols from /usr/X11R6/lib/libXau.so.0...done. > Loaded symbols for /usr/X11R6/lib/libXau.so.0 > Reading symbols from /usr/X11R6/lib/libXdmcp.so.0...done. > Loaded symbols for /usr/X11R6/lib/libXdmcp.so.0 > Reading symbols from /lib/libc.so.6...done. > Loaded symbols for /lib/libc.so.6 > Reading symbols from /usr/X11R6/lib/modules/fonts/libfreetype.so...done. > Loaded symbols for /usr/X11R6/lib/modules/fonts/libfreetype.so > Reading symbols from /usr/local/lib/libfreetype.so.9...done. > Loaded symbols for /usr/local/lib/libfreetype.so.9 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x2831844b in kill () from /lib/libc.so.6 > (gdb) bt > #0 0x2831844b in kill () from /lib/libc.so.6 > #1 0x283183e8 in raise () from /lib/libc.so.6 > #2 0x283170fc in abort () from /lib/libc.so.6 > #3 0x0806d8c3 in ddxGiveUp () at xf86Init.c:1228 > #4 0x0806d9b6 in AbortDDX () at xf86Init.c:1283 > #5 0x08106288 in AbortServer () at log.c:395 > #6 0x0810659a in FatalError (f=0x81f435c "Caught signal %d. Server > aborting\n") at log.c:541 > #7 0x080898be in xf86SigHandler (signo=11) at xf86Events.c:1298 > #8 0xbfbfff94 in ?? () > #9 0x0000000b in ?? () > #10 0x0000000c in ?? () > #11 0xbfbfd040 in ?? () > #12 0x00000000 in ?? () > #13 0x08089830 in xf86InterceptSignals () at xf86Events.c:1270 > #14 0x2834d8d8 in FreeTypeRasteriseGlyph (idx=0, flags=1, tgp=0x8f66700, > instance=0x8f69400, hasMetrics=0) at ftfuncs.c:1034 > #15 0x2834cb56 in FreeTypeInstanceGetGlyph (idx=0, flags=1, > g=0xbfbfd62c, instance=0x8f69400) at ftfuncs.c:643 > #16 0x28354018 in FreeTypeLoadXFont (fileName=0xbfbfdcc0 > "/usr/X11R6/lib/X11/fonts/TrueType/fn=0:vl=y:simsun.ttc", > vals=0xbfbfdc40, xf=0x8ea4a00, > info=0x8ea4a04, bmfmt=0xbfbfd7b0, entry=0x8c50bb4) at ftfuncs.c:3362 > #17 0x28354a25 in FreeTypeOpenScalable (fpe=0x8c83940, > ppFont=0xbfbfe964, flags=0, entry=0x8c50bb4, > fileName=0xbfbfdcc0 > "/usr/X11R6/lib/X11/fonts/TrueType/fn=0:vl=y:simsun.ttc", > vals=0xbfbfdc40, format=512, fmask=31, non_cachable_font=0x0) > at ftfuncs.c:3743 > #18 0x0811410b in FontFileOpenFont (client=0x8f65c00, fpe=0x8c83940, > flags=0, > name=0x8eacac0 > "-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1o8859-1\b\200\uffff\227\b\200\uffff\233\b\uffff\uffff\233\b\uffff\uffff\233\b\uffff\236\uffff\b`8\uffff\b\uffff8\uffff\b@9\uffff\b`\213\uffff\b-75-75-p-0-iso8859-3", > namelen=56, format=512, fmask=31, id=8388618, pFont=0xbfbfe964, > aliasName=0xbfbfe950, non_cachable_font=0x0) at fontfile.c:433 > #19 0x080f7f09 in doOpenFont (client=0x8f65c00, c=0x8eaca80) at > dixfonts.c:294 > #20 0x080f83cc in OpenFont (client=0x8f65c00, fid=8388618, flags=0, > lenfname=56, > pfontname=0x8e9f00c > "-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1\230\001\003") > at dixfonts.c:469 > #21 0x080ced41 in ProcOpenFont (client=0x8f65c00) at dispatch.c:1312 > #22 0x080cd158 in Dispatch () at dispatch.c:455 > #23 0x080e35dc in main (argc=3, argv=0xbfbfeea8, envp=0xbfbfeeb8) at > main.c:442 > (gdb) Just curious, but why you say that the jdk is broken? As far as I can see you have a core file from X and the stack trace shows no mention of java native libraries. It appears that maybe freetype2-2.1.10 broke Xorg, but not java. Am I missing something? Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Wed Jul 27 09:55:15 2005 Return-Path: X-Original-To: java@freebsd.org 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 079D216A41F; Wed, 27 Jul 2005 09:55:15 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id C119D43D46; Wed, 27 Jul 2005 09:55:13 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.4.81] (unknown [210.72.96.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 65DDE38CB4D; Wed, 27 Jul 2005 17:55:09 +0800 (CST) Message-ID: <42E759FE.3020406@gddsn.org.cn> Date: Wed, 27 Jul 2005 17:55:10 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: Panagiotis Astithas References: <42E743E7.5070000@gddsn.org.cn> <42E74CB3.1030101@ebs.gr> In-Reply-To: <42E74CB3.1030101@ebs.gr> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: ports@freebsd.org, java@freebsd.org, Huang wen hui Subject: Re: freetype2-2.1.10 broken JDK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 09:55:15 -0000 Panagiotis Astithas Π΄΅ΐ: >Huang wen hui wrote: > > >>hi, >>I am using JDK1.5.0 + chinese locale(zh_CN.UTF-8) under CURRENT, I use >>truetype font in fontconfig.properties. >>freetype2-2.1.10 broke JDK1.5.0 now revert to freetype2-2.1.9 solve this >>problem. It also broken JDK1.4.2 >> >>%setenv >>USER=hwh >>MAIL=/var/mail/hwh >>HOME=/home/hwh >>LOGNAME=hwh >>BLOCKSIZE=K >>PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hwh/bin >>DISPLAY=:0.0 >>SHELL=/bin/csh >>FTP_PASSIVE_MODE=YES >>HOSTTYPE=FreeBSD >>VENDOR=intel >>OSTYPE=FreeBSD >>MACHTYPE=i386 >>PWD=/usr/local/jdk1.5.0/jre/lib >>GROUP=wheel >>HOST=tp.gddsn.org.cn >>EDITOR=vi >>PAGER=more >>CVSROOT=:pserver:hwh@gw:/home/CVS >>LC_ALL=zh_CN.UTF-8 >>LANG=zh_CN.UTF-8 >>GLOBUS_LOCATION=/home/hwh/globus >>XMODIFIERS=@im=fcitx >>GTK_RC_FILES=/usr/X11R6/etc/gtk/gtkrc:/home/hwh/.gtkrc-1.2-gnome2 >>SESSION_MANAGER=local/tp.gddsn.org.cn:/tmp/.ICE-unix/40876 >>GNOME_KEYRING_SOCKET=/var/tmp/keyring-MrzstL/socket >>GNOME_DESKTOP_SESSION_ID=Default >>TERM=xterm >>COLORTERM=gnome-terminal >>WINDOWID=27263197 >>SHLVL=1 >> >>%cat fontconfig.properties >># @(#)FreeBSD.fontconfig.6.0.properties 1.4 03/11/14 >># >># Copyright 2003 Sun Microsystems, Inc. All rights reserved. >># >> >># Version >> >>version=1 >> >># Component Font Mappings >> >>#allfonts.chinese-gb2312=-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 >>#allfonts.chinese-gb2312.motif=-isas-song >>ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0 >>allfonts.chinese-gb2312=-misc-ar pl new >>sung-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 >>allfonts.chinese-gb2312.motif=-misc-ar pl new >>sung-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 >>allfonts.chinese-gb18030-0=-misc-ar pl new >>sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-0 >>allfonts.chinese-gb18030-0.motif=-misc-ar pl new >>sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-0 >>allfonts.chinese-gb18030-1=-misc-ar pl new >>sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1 >>allfonts.chinese-gb18030-1.motif=-misc-ar pl new >>sung-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1 >>allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 >> >> >>serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1 >>serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1 >>serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1 >>serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1 >> >>sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 >>sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 >>sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 >>sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 >> >>monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 >>monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 >>monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 >>monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 >> >>dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1 >>dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1 >>dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1 >>dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1 >> >>dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1 >>dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1 >>dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1 >>dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1 >> >># Search Sequences >> >>sequence.allfonts=latin-1-lt >> >>sequence.allfonts.GB2312=latin-1,chinese-gb2312 >>sequence.allfonts.UTF-8=latin-1,chinese-gb18030-1,chinese-gb18030-0,chinese-gb2312 >>sequence.allfonts.GBK=latin-1,chinese-gb2312 >> >># the fallback sequence omits the following character subsets: >># - japanese-x0208: same files as japanese-x0201 >>sequence.fallback=lucida,chinese-big5,chinese-gb18030,\ >>japanese-x0201,korean >> >># Exclusion Ranges >> >># Font File Names >> >>#filename.-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0=/usr/X11R6/lib/X11/fonts/TrueType/simsun.ttc >> >># AWT X11 font paths >>awtfontpath.latin-1=/usr/X11R6/lib/X11/fonts/Type1 >>awtfontpath.latin-1-lt=/usr/X11R6/lib/X11/fonts/Type1 >>awtfontpath.chinese-gb2312=/usr/X11R6/lib/X11/fonts/TrueType >>awtfontpath.chinese-gb18030-0=/usr/X11R6/lib/X11/fonts/TrueType >>awtfontpath.chinese-gb18030-1=/usr/X11R6/lib/X11/fonts/TrueType >> >> >>tp# gdb -core /Xorg.core /usr/X11R6/bin/Xorg >>GNU gdb 6.1.1 [FreeBSD] >>Copyright 2004 Free Software Foundation, Inc. >>GDB is free software, covered by the GNU General Public License, and you are >>welcome to change it and/or distribute copies of it under certain >>conditions. >>Type "show copying" to see the conditions. >>There is absolutely no warranty for GDB. Type "show warranty" for details. >>This GDB was configured as "i386-marcel-freebsd"... >>Core was generated by `Xorg'. >>Program terminated with signal 6, Aborted. >>Reading symbols from /lib/libz.so.3...done. >>Loaded symbols for /lib/libz.so.3 >>Reading symbols from /lib/libm.so.4...done. >>Loaded symbols for /lib/libm.so.4 >>Reading symbols from /usr/X11R6/lib/libXau.so.0...done. >>Loaded symbols for /usr/X11R6/lib/libXau.so.0 >>Reading symbols from /usr/X11R6/lib/libXdmcp.so.0...done. >>Loaded symbols for /usr/X11R6/lib/libXdmcp.so.0 >>Reading symbols from /lib/libc.so.6...done. >>Loaded symbols for /lib/libc.so.6 >>Reading symbols from /usr/X11R6/lib/modules/fonts/libfreetype.so...done. >>Loaded symbols for /usr/X11R6/lib/modules/fonts/libfreetype.so >>Reading symbols from /usr/local/lib/libfreetype.so.9...done. >>Loaded symbols for /usr/local/lib/libfreetype.so.9 >>Reading symbols from /libexec/ld-elf.so.1...done. >>Loaded symbols for /libexec/ld-elf.so.1 >>#0 0x2831844b in kill () from /lib/libc.so.6 >>(gdb) bt >>#0 0x2831844b in kill () from /lib/libc.so.6 >>#1 0x283183e8 in raise () from /lib/libc.so.6 >>#2 0x283170fc in abort () from /lib/libc.so.6 >>#3 0x0806d8c3 in ddxGiveUp () at xf86Init.c:1228 >>#4 0x0806d9b6 in AbortDDX () at xf86Init.c:1283 >>#5 0x08106288 in AbortServer () at log.c:395 >>#6 0x0810659a in FatalError (f=0x81f435c "Caught signal %d. Server >>aborting\n") at log.c:541 >>#7 0x080898be in xf86SigHandler (signo=11) at xf86Events.c:1298 >>#8 0xbfbfff94 in ?? () >>#9 0x0000000b in ?? () >>#10 0x0000000c in ?? () >>#11 0xbfbfd040 in ?? () >>#12 0x00000000 in ?? () >>#13 0x08089830 in xf86InterceptSignals () at xf86Events.c:1270 >>#14 0x2834d8d8 in FreeTypeRasteriseGlyph (idx=0, flags=1, tgp=0x8f66700, >>instance=0x8f69400, hasMetrics=0) at ftfuncs.c:1034 >>#15 0x2834cb56 in FreeTypeInstanceGetGlyph (idx=0, flags=1, >>g=0xbfbfd62c, instance=0x8f69400) at ftfuncs.c:643 >>#16 0x28354018 in FreeTypeLoadXFont (fileName=0xbfbfdcc0 >>"/usr/X11R6/lib/X11/fonts/TrueType/fn=0:vl=y:simsun.ttc", >>vals=0xbfbfdc40, xf=0x8ea4a00, >>info=0x8ea4a04, bmfmt=0xbfbfd7b0, entry=0x8c50bb4) at ftfuncs.c:3362 >>#17 0x28354a25 in FreeTypeOpenScalable (fpe=0x8c83940, >>ppFont=0xbfbfe964, flags=0, entry=0x8c50bb4, >>fileName=0xbfbfdcc0 >>"/usr/X11R6/lib/X11/fonts/TrueType/fn=0:vl=y:simsun.ttc", >>vals=0xbfbfdc40, format=512, fmask=31, non_cachable_font=0x0) >>at ftfuncs.c:3743 >>#18 0x0811410b in FontFileOpenFont (client=0x8f65c00, fpe=0x8c83940, >>flags=0, >>name=0x8eacac0 >>"-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1o8859-1\b\200\uffff\227\b\200\uffff\233\b\uffff\uffff\233\b\uffff\uffff\233\b\uffff\236\uffff\b`8\uffff\b\uffff8\uffff\b@9\uffff\b`\213\uffff\b-75-75-p-0-iso8859-3", >>namelen=56, format=512, fmask=31, id=8388618, pFont=0xbfbfe964, >>aliasName=0xbfbfe950, non_cachable_font=0x0) at fontfile.c:433 >>#19 0x080f7f09 in doOpenFont (client=0x8f65c00, c=0x8eaca80) at >>dixfonts.c:294 >>#20 0x080f83cc in OpenFont (client=0x8f65c00, fid=8388618, flags=0, >>lenfname=56, >>pfontname=0x8e9f00c >>"-misc-simsun-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1\230\001\003") >>at dixfonts.c:469 >>#21 0x080ced41 in ProcOpenFont (client=0x8f65c00) at dispatch.c:1312 >>#22 0x080cd158 in Dispatch () at dispatch.c:455 >>#23 0x080e35dc in main (argc=3, argv=0xbfbfeea8, envp=0xbfbfeeb8) at >>main.c:442 >>(gdb) >> >> > >Just curious, but why you say that the jdk is broken? As far as I can >see you have a core file from X and the stack trace shows no mention of >java native libraries. It appears that maybe freetype2-2.1.10 broke >Xorg, but not java. Am I missing something? > > yes, freetype2-2.1.10 broke Xorg,but only java demo let Xorg crash. >Cheers, > >Panagiotis >_______________________________________________ >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" > > From owner-freebsd-java@FreeBSD.ORG Wed Jul 27 10:28:35 2005 Return-Path: X-Original-To: java@freebsd.org 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 136D016A41F; Wed, 27 Jul 2005 10:28:35 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E1D043D45; Wed, 27 Jul 2005 10:28:33 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:MB7iUG3J+qzi75JDQyUQqd4p78TqdaChsRNVHW56g/FQXI/5szlH83BFxbEwRUE5@kasuga.mahoroba.org [IPv6:3ffe:501:185b:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.3/8.13.3) with ESMTP/inet6 id j6RASEja013163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jul 2005 19:28:18 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 27 Jul 2005 19:28:06 +0900 Message-ID: From: Hajimu UMEMOTO To: Huang wen hui In-Reply-To: <42E759FE.3020406@gddsn.org.cn> References: <42E743E7.5070000@gddsn.org.cn> <42E74CB3.1030101@ebs.gr> <42E759FE.3020406@gddsn.org.cn> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.0) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.0-BETA1 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Wed, 27 Jul 2005 19:28:18 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on ameno.mahoroba.org Cc: ports@freebsd.org, java@freebsd.org, Huang wen hui , Panagiotis Astithas Subject: Re: freetype2-2.1.10 broken JDK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 10:28:35 -0000 Hi, >>>>> On Wed, 27 Jul 2005 17:55:10 +0800 >>>>> Huang wen hui said: >>I am using JDK1.5.0 + chinese locale(zh_CN.UTF-8) under CURRENT, I use >>truetype font in fontconfig.properties. >>freetype2-2.1.10 broke JDK1.5.0 now revert to freetype2-2.1.9 solve this >>problem. It also broken JDK1.4.2 >Just curious, but why you say that the jdk is broken? As far as I can >see you have a core file from X and the stack trace shows no mention of >java native libraries. It appears that maybe freetype2-2.1.10 broke >Xorg, but not java. Am I missing something? > > hwh> yes, freetype2-2.1.10 broke Xorg,but only java demo let Xorg crash. I met this problem, too. When I click a text in OpenOffice 1.1, Xorg server is crashed. Invoking Emacs 22.0.50 crashes Xorg server as well. So, I'm using freetype 2.1.9 for workaround. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-java@FreeBSD.ORG Wed Jul 27 16:15:23 2005 Return-Path: X-Original-To: java@freebsd.org 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 BEDE216A41F; Wed, 27 Jul 2005 16:15:23 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9EB43D49; Wed, 27 Jul 2005 16:15:23 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.3/8.13.3) with ESMTP id j6RGFWOk021772; Wed, 27 Jul 2005 12:15:32 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Hajimu UMEMOTO In-Reply-To: References: <42E743E7.5070000@gddsn.org.cn> <42E74CB3.1030101@ebs.gr> <42E759FE.3020406@gddsn.org.cn> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-l0r9er8ck1buwRJumWo0" Organization: MarcusCom, Inc. Date: Wed, 27 Jul 2005 12:14:59 -0400 Message-Id: <1122480899.95935.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: ports@freebsd.org, java@freebsd.org, Huang wen hui , Panagiotis Astithas , Huang wen hui Subject: Re: freetype2-2.1.10 broken JDK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 16:15:23 -0000 --=-l0r9er8ck1buwRJumWo0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2005-07-27 at 19:28 +0900, Hajimu UMEMOTO wrote: > Hi, >=20 > >>>>> On Wed, 27 Jul 2005 17:55:10 +0800 > >>>>> Huang wen hui said: >=20 > >>I am using JDK1.5.0 + chinese locale(zh_CN.UTF-8) under CURRENT, I use > >>truetype font in fontconfig.properties. > >>freetype2-2.1.10 broke JDK1.5.0 now revert to freetype2-2.1.9 solve thi= s > >>problem. It also broken JDK1.4.2 >=20 > >Just curious, but why you say that the jdk is broken? As far as I can > >see you have a core file from X and the stack trace shows no mention of > >java native libraries. It appears that maybe freetype2-2.1.10 broke > >Xorg, but not java. Am I missing something? > > =20 > > > hwh> yes, freetype2-2.1.10 broke Xorg,but only java demo let Xorg crash. >=20 > I met this problem, too. When I click a text in OpenOffice 1.1, Xorg > server is crashed. Invoking Emacs 22.0.50 crashes Xorg server as > well. So, I'm using freetype 2.1.9 for workaround. See the x11@ archives. This is a known issue with FT 2.1.10. We're waiting for a response from wither xorg or the FT guys on how to properly fix it. Note: XF86 is also affected. People using multi-byte fonts seem to be more likely to hit this crash than others. Joe >=20 > Sincerely, >=20 > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-l0r9er8ck1buwRJumWo0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC57MDb2iPiv4Uz4cRAsuJAJ4mb3PgxDuHlX4bJJItwS7CASTWagCfW7i1 n2paAjGz/CeT4QIMhMG0R74= =IbO1 -----END PGP SIGNATURE----- --=-l0r9er8ck1buwRJumWo0-- From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 12:00:39 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9098C16A41F for ; Thu, 28 Jul 2005 12:00:39 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id A190443D48 for ; Thu, 28 Jul 2005 12:00:33 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 5992 invoked from network); 28 Jul 2005 12:11:12 -0000 Received: from unknown (HELO bobcpp.co.id) (203.130.206.210) by ns.bobcpp.co.id with SMTP; 28 Jul 2005 12:11:12 -0000 Received: from 202.158.118.242 (SquirrelMail authenticated user madrus) by webmail.bobcpp.co.id with HTTP; Thu, 28 Jul 2005 18:55:08 +0700 (JAVT) Message-ID: <1611.202.158.118.242.1122551708.squirrel@webmail.bobcpp.co.id> Date: Thu, 28 Jul 2005 18:55:08 +0700 (JAVT) From: To: In-Reply-To: <3782.10.249.7.57.1122285065.squirrel@webmail.bobcpp.co.id> References: <3782.10.249.7.57.1122285065.squirrel@webmail.bobcpp.co.id> X-Mailer: SquirrelMail (version 1.2.0 [rc2]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Problem when installing Java using FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 12:00:39 -0000 Hi all, I have installing new server with FreeBSD 5.4, but when try to execute this: # cd /usr/ports/java/jdk14 # make install after about 3 hour then appear errors like this: ------------------------------------------------ gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/zip' gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/zip' gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' *** Error code 2 Stop in /usr/ports/java/jdk14 ------------------------------------------------ what's wrong ?? i don't know how to solve this problem. thanks ~madrus~ > Thanks all, > It's work now. > > ~madrus~ > >> Thanks Jonathan, >> You're right, i am wrong source, right now, i have been trying >> install the right source as you told me before. >> Thanks again. >> >> ~madrus~ From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 12:17:24 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2A49D16A41F for ; Thu, 28 Jul 2005 12:17:24 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36BBC43D49 for ; Thu, 28 Jul 2005 12:17:22 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j6SC6Fmj004862; Thu, 28 Jul 2005 15:06:15 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j6SC6FLO004858; Thu, 28 Jul 2005 15:06:15 +0300 Date: Thu, 28 Jul 2005 15:06:15 +0300 (EEST) From: Achilleus Mantzios To: madrus@bobcpp.co.id In-Reply-To: <1611.202.158.118.242.1122551708.squirrel@webmail.bobcpp.co.id> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: Problem when installing Java using FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 12:17:24 -0000 O madrus@bobcpp.co.id έγραψε στις Jul 28, 2005 : > Hi all, > I have installing new server with FreeBSD 5.4, but when try to execute > this: > # cd /usr/ports/java/jdk14 > # make install > > after about 3 hour then appear errors like this: > ------------------------------------------------ > gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/zip' > gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/zip' > gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' > gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' > *** Error code 2 > Stop in /usr/ports/java/jdk14 > ------------------------------------------------ > what's wrong ?? i don't know how to solve this problem. > thanks This reminds of memory failure/cpu overheat, or in general hardware problem. > > ~madrus~ > > > Thanks all, > > It's work now. > > > > ~madrus~ > > > >> Thanks Jonathan, > >> You're right, i am wrong source, right now, i have been trying > >> install the right source as you told me before. > >> Thanks again. > >> > >> ~madrus~ > > > > _______________________________________________ > 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" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 13:47:41 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9D73616A41F for ; Thu, 28 Jul 2005 13:47:41 +0000 (GMT) (envelope-from inonit@inonit.com) Received: from xrelay04.mail2web.com (xrelay04.mail2web.com [168.144.1.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 220AB43D53 for ; Thu, 28 Jul 2005 13:47:41 +0000 (GMT) (envelope-from inonit@inonit.com) Received: from [168.144.251.144] (helo=M2W039.mail2web.com) by xrelay04.mail2web.com with smtp (Exim 4.50) id 1Dy8jZ-0001g5-7R; Thu, 28 Jul 2005 09:47:40 -0400 Message-ID: <380-220057428134737203@M2W039.mail2web.com> X-Priority: 3 X-Originating-IP: 192.88.212.56 X-URL: http://mail2web.com/ From: "inonit@inonit.com" To: freebsd-java@freebsd.org Date: Thu, 28 Jul 2005 09:47:37 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Basic FreeBSD Java/Tomcat questions X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: inonit@inonit.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 13:47:41 -0000 Hello, all=2E I'm an old hand with Java but relatively inexperienced with= FreeBSD, and I've never run Java there until the last few days=2E I had a= few things I was wondering about=2E I can't find these things in the archives, and don't know where else to look=2E Some of my questions might= betray my lack of FreeBSD knowledge =2E=2E=2E My preferences: 1=2E Avoid customization to the extent possible -- I don't really want to= spend much energy being an admin -- even if my configuration is not optimally flexible, or whatever=2E This means I'd prefer to use packages from 5=2E4-RELEASE as opposed to ports, etc=2E 2=2E Not to have to build full JDK (with web start, plugins, etc=2E) -- building minimal took days as it was=2E 3=2E Simplest system possible, fewest installs possible, ease of administration/use=2E Here's what I've done so far: 1=2E Installed FreeBSD 5=2E4-RELEASE (minimal distribution set only) 2=2E Built jdk-minimal-1=2E4=2E2p7 from source on test machine=2E Seemed= to go fine=2E Created package using pkg=5Fcreate -b =2E=2E=2E 3=2E Installed jdk-minimal-1=2E4=2E2p7 as package=2E java -version works= ; haven't tried much else, except =2E=2E=2E 4=2E jakarta-tomcat-5=2E0=2E30 as package WITHOUT its dependencies (i=2Ee= =2E, pkg=5Fadd -r from my own server, which does not have the fonts stuff on it= )=2E=20 Besides emitting the predicatable complaints about missing dependencies, the pkg=5Fadd command emits a warning saying the jdk package is required a= nd I have jdk-minimal=2E 5=2E Tomcat post-install cp conf/server-minimal=2Exml=2Esample to conf/server=2Exml cp conf/web=2Exml=2Esample to conf/web=2Exml chown www conf/*=2Exml /usr/local/etc/rc=2Ed/020* start What happens: It works, so far as I can tell=2E This means that I've gone to the home page, not tested extensively=2E The 'balancer' webapp doesn't initialize correctly (fails with NoClassDefFoundError on org=2Eapache=2Ecommons=2Edigester=2EDigester) but I'm not too worried abou= t that since I don't know exactly what it's for and I haven't read any docs yet=2E= Questions: 1=2E Why does Tomcat depend on all the font stuff=3F Can I safely run wi= thout it=3F 2=2E Same question with the jdk vs=2E jdk-minimal issue=2E 3=2E What are the limitations of tomcat50ctl=3F I've seen some messages = in the archives saying I'll need to change my /usr/local/etc/rc=2Ed script if= I want to do things like command-line arguments to Tomcat, etc=2E Comments: I'm really pleased (as I've worked through these issues) about how smart=20= the packaging system is (e=2Eg=2E, not deleting files if they've been chan= ged)=2E Not sure to what extent credit is due FreeBSD developers and to what exten= t credit is due to people on this list, but take whatever you're entitled to= =2E :) Special praise for the jdk14 port -- for such a complex build, I'm shocked= how well it worked for me, particularly since I know very little about mak= e=2E Cheers, -- David=2E -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 15:36:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 896D316A41F for ; Thu, 28 Jul 2005 15:36:47 +0000 (GMT) (envelope-from chris@nbrewer.com) Received: from mail.nbrewer.com (sparge.nbrewer.com [208.42.68.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BAC643D46 for ; Thu, 28 Jul 2005 15:36:47 +0000 (GMT) (envelope-from chris@nbrewer.com) Received: by mail.nbrewer.com (Postfix, from userid 1001) id C59D44B7178; Thu, 28 Jul 2005 10:41:01 -0500 (CDT) Resent-From: chris@northernbrewer.com Resent-Date: Thu, 28 Jul 2005 10:41:01 -0500 Resent-Message-ID: <20050728154101.GA6830@northernbrewer.com> Resent-To: freebsd-java@freebsd.org Date: Thu, 28 Jul 2005 09:16:22 -0500 From: Christopher Farley To: freebsd-java@freebsd.org Message-ID: <20050728141622.GA17226@northernbrewer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Northern Brewer, St. Paul, MN User-Agent: Mutt/1.5.6i Subject: JVM crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 15:36:47 -0000 I'm running jdk-1.4.2p6_3. One of my programs is causing the JVM to crash with the following error: Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 32760 bytes for ChunkPool::allocate. Out of swap space? A search of google brings up loads of problems related to Tomcat, but this program has nothing to do with Tomcat. To my knowledge, none of the libraries I am using use JNI code at all. First, is there anything programming error that could cause this crash? I need to know if I should be scrutinizing my code for memory leaks, etc. I have run the program through a memory profiler, but not the production system... Everything looks okay. Second, would it be worth installing the latest jvm patchset to see if this fixes the problem? Finally, if one of my libraries is causing this to happen, how would I go about determining the cause? One final, probably irrelevant detail -- the jvm will usually crash within the first couple of hours of being launched. If it survives more than a few hours, it seems to go on forever with no problems. I haven't seen any other pattern in the crashes! Thanks for any help you can provide! -- Christopher Farley www.northernbrewer.com From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 17:02:03 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 67FB816A41F for ; Thu, 28 Jul 2005 17:02:03 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B82743D53 for ; Thu, 28 Jul 2005 17:01:57 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 12722 invoked from network); 28 Jul 2005 17:12:34 -0000 Received: from unknown (HELO bobcpp.co.id) (203.130.206.210) by ns.bobcpp.co.id with SMTP; 28 Jul 2005 17:12:34 -0000 Received: from 203.130.225.64 (proxying for 10.0.0.30) (SquirrelMail authenticated user madrus) by webmail.bobcpp.co.id with HTTP; Thu, 28 Jul 2005 23:56:30 +0700 (JAVT) Message-ID: <11059.203.130.225.64.1122569790.squirrel@webmail.bobcpp.co.id> Date: Thu, 28 Jul 2005 23:56:30 +0700 (JAVT) From: To: In-Reply-To: References: X-Mailer: SquirrelMail (version 1.2.0 [rc2]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: madrus@bobcpp.co.id, freebsd-java@freebsd.org Subject: Re: Problem when installing Java using FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 17:02:03 -0000 Thanks, You're rigth, if i use AMD Processor then the errors appear, But i try to use Intel Processor the problem has gone. Best Regards, ~madrus~ > O madrus@bobcpp.co.id έγραψε στις Jul 28, 2005 : > >> Hi all, >> I have installing new server with FreeBSD 5.4, but when try to execute >> this: >> # cd /usr/ports/java/jdk14 >> # make install >> >> after about 3 hour then appear errors like this: >> ------------------------------------------------ >> gmake[4]: Leaving directory >> `/usr/ports/java/jdk14/work/j2se/make/java/zip' gmake[3]: Leaving >> directory `/usr/ports/java/jdk14/work/j2se/make/java/zip' gmake[2]: >> Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' >> gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' *** >> Error code 2 >> Stop in /usr/ports/java/jdk14 >> ------------------------------------------------ >> what's wrong ?? i don't know how to solve this problem. >> thanks > > This reminds of memory failure/cpu overheat, or in general > hardware problem. > >> >> ~madrus~ >> >> > Thanks all, >> > It's work now. >> > >> > ~madrus~ >> > >> >> Thanks Jonathan, >> >> You're right, i am wrong source, right now, i have been trying >> >> install the right source as you told me before. >> >> Thanks again. >> >> >> >> ~madrus~ >> >> >> >> _______________________________________________ >> 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" >> > > -- > -Achilleus > > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 20:07:10 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 F2C4B16A41F for ; Thu, 28 Jul 2005 20:07:09 +0000 (GMT) (envelope-from nate@yogotech.com) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 461B943D46 for ; Thu, 28 Jul 2005 20:07:07 +0000 (GMT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.13.3/8.13.3) with ESMTP id j6SK76vs033957; Thu, 28 Jul 2005 14:07:06 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.13.3/8.13.3) id j6SK75QC077340; Thu, 28 Jul 2005 14:07:05 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17129.15081.670574.582298@emerger.yogotech.com> Date: Thu, 28 Jul 2005 14:07:05 -0600 To: Christopher Farley In-Reply-To: <20050728141622.GA17226@northernbrewer.com> References: <20050728141622.GA17226@northernbrewer.com> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid Cc: freebsd-java@freebsd.org Subject: Re: JVM crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nate Williams List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 20:07:10 -0000 > I'm running jdk-1.4.2p6_3. > > One of my programs is causing the JVM to crash with the following error: > > Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: > requested 32760 bytes for ChunkPool::allocate. Out of swap space? Try increasing your heap size using -Xms -Xmx. It's possible that the defaults are not large enough for your application. > A search of google brings up loads of problems related to Tomcat, but > this program has nothing to do with Tomcat. To my knowledge, none of the > libraries I am using use JNI code at all. If your application uses/needs alot of memory, then the default may not be large enough, so while most people experience the problem using Tomcat (simply because they have *lots* of small applications), you may be experiencing the same problem due to using one 'large' application. (Where small and large are descriptions of memory use). > First, is there anything programming error that could cause this crash? There could be. If you are using UI components (Swing, etc..), then they must be properly disposed of. Also, certain OS specific objects may also need to be properly closed (files, sockets, etc..) In addition, certain algorithms are better than others for memory use. Most algorithms make a tradeoff for speed (CPU) vs. memory, and depending on your environment, you may need to choose an algorithm that runs a bit slower but uses less memory. However, aside from objects listed above, Java is pretty good about clearing up unused memory, and even pretty good about compacting memory when necessary. > I need to know if I should be scrutinizing my code for memory leaks, > etc. I have run the program through a memory profiler, but not the > production system... Everything looks okay. Sounds like you've done your homework. In this case, I'm guessing that the defaults simply aren't large enough for your production application, which simply needs more memory than is provided by default. The only other cause would be an OS issue where your process memory limits are being hit, causing Java to be killed when it attempts to allocate more memory than the OS is allowing. For the latter, check your login limits. I believe the handbook has entries on these. Check for entries that discuss login.conf and friends. > Finally, if one of my libraries is causing this to happen, how would I > go about determining the cause? The memory profiler should be able to detect where in your application this occurs. > One final, probably irrelevant detail -- the jvm will usually crash > within the first couple of hours of being launched. If it survives more > than a few hours, it seems to go on forever with no problems. I haven't > seen any other pattern in the crashes! Again, this could happen because once your application gets to a certain point, the workload (and memory usage) doesn't change significantly, so there is no additional memory being requested, hence the program doesn't die when it asks for more memory. Nate From owner-freebsd-java@FreeBSD.ORG Thu Jul 28 21:37:05 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 A0BAD16A41F; Thu, 28 Jul 2005 21:37:05 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id A373543D46; Thu, 28 Jul 2005 21:37:04 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6SLb2KU076342; Fri, 29 Jul 2005 00:37:03 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6SLb1iD059738; Fri, 29 Jul 2005 00:37:02 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42E94F94.7050302@ebs.gr> Date: Fri, 29 Jul 2005 00:35:16 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: nork@freebsd.org Subject: Eclipse 3.1 update submitted X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 21:37:05 -0000 I have submitted the updated eclipse-devel port to 3.1 as PR ports/84252. There are a few more cleanups since the previous snapshot, as well as the inclusion of libcore_3_1_0.so, a native library that deals with more efficient I/O. You might have noticed warning messages in the log with the last snapshot, like this: Could not load library: libcore_3_1_0.so. This library provides platform-specific optimizations for certain file system operations. This library is not present on all platforms, so this may not be an error. The resources plug-in will safely fall back to using java.io.File functionality. Well, it won't fall back any more. Furthermore, I have compared the native libraries included in the Linux version and apart from libupdate.so we are on par with them. As for libupdate.so, I believe it is just stub methods for now (see update.c and update.h files), so I decided to drop it. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Jul 29 13:28:53 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 8EBAB16A41F for ; Fri, 29 Jul 2005 13:28:53 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6E243D48 for ; Fri, 29 Jul 2005 13:28:50 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j6TDSn7B008894 for ; Fri, 29 Jul 2005 15:28:49 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j6TDSmin008885 for freebsd-java@freebsd.org; Fri, 29 Jul 2005 15:28:48 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Fri, 29 Jul 2005 15:28:48 +0200 From: Herve Quiroz To: freebsd-java@freebsd.org Message-ID: <20050729132848.GA96141@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@freebsd.org References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> <20050725212138.GA13849@arabica.esil.univ-mrs.fr> <20050726192511.GD56293@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050726192511.GD56293@osiris.chen.org.nz> User-Agent: Mutt/1.4.2.1i Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 13:28:53 -0000 Hi Jonathan, On Wed, Jul 27, 2005 at 07:25:11AM +1200, Jonathan Chen wrote: > On Mon, Jul 25, 2005 at 11:21:38PM +0200, Herve Quiroz wrote: > The major reason why Ernst introduced the daemonctl program was so that > tomcat/jboss wouldn't be running as root. Having it run as root > introduces the possibility of a root-hack via tomcat/jboss. If you can > make it easily run under the `www' pseudo user that would be cool. > > The secondary purpose of the daemonctl program was convenience > related: you don't have to be root to start the service, just a > member of `www'. Dunno if you can easily replicate this with a shell > script though. Actually, the logic which allows to run the service as user 'www' is implemented in the rc script, not in daemonctl. Moreover, as reported in PR 83434 [1], there are already permission issues with Tomcat ports. The executables should indeed belong to root:wheel whereas data files and dirs should belong to www:www and be 664/775. Hence, any user from the 'www' group would be able to run Tomcat but not to modify Tomcat core itself (as it is now). After a deeper look at daemonctl.c, it appears that the most logic in it is about PID storing/retrieving, arguments validating, and other features that rcNG just happens do provide to any service daemon. So IMHO, the only real problem we have with the rcNG/catalina.sh approach lies in what Panagiotis just mentioned, that is the ability to open port 80 for instance. Anyway, if we actually ensure that Tomcat is run as 'www' and not as 'root', even daemonctl will not be able to use port 80. This leaves us with the following choice: should we enforce strong security (i.e. PR 83434) and use ${name}_user from rcNG or should we allow the daemon to open port 80 (running the daemon as superuser)? I definitively believe we should go for security first. User can just set tomcat55_user=root when then need to. Either way, I don't see any more reason to use daemonctl.c, unless I missed (or misunderstood) some point here. The ports freeze is due to 1st of August, which leaves us with no much time to implement the chosen approach. IMHO, such change right before a release is no good anyway. OTOH, I think we should settle this issue once and for all so that I may commit the changes right when the freeze is over. Herve [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/83434 From owner-freebsd-java@FreeBSD.ORG Fri Jul 29 22:42:41 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2324A16A41F for ; Fri, 29 Jul 2005 22:42:41 +0000 (GMT) (envelope-from ddurham@vailsys.com) Received: from dfrobd01.vailsys.com (chrobd01.vailsys.com [63.210.102.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4B1443D45 for ; Fri, 29 Jul 2005 22:42:40 +0000 (GMT) (envelope-from ddurham@vailsys.com) Received: from dfsfbd06.vail (dfsfbd06.vail [192.168.129.190]) by dfrobd01.vailsys.com (Postfix) with ESMTP id 5A8ABFF2E for ; Fri, 29 Jul 2005 17:42:40 -0500 (CDT) Received: from [192.168.129.86] (dfwddurham.vail [192.168.129.86]) by dfsfbd06.vail (Postfix) with ESMTP id 35C4B528C for ; Fri, 29 Jul 2005 17:42:40 -0500 (CDT) Message-ID: <42EAB0E6.2050304@vailsys.com> Date: Fri, 29 Jul 2005 17:42:46 -0500 From: David Durham User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: jdk1.5.0p1 crash when compiling JBoss X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 22:42:41 -0000 Emil wrote: > When I run Idea 4.5 (./idea.sh) I get these two errors: > > 1. Error Copying File: Cannot copy /usr/local/idea-2250/lib/resources.jar to > /home/me/.IntellijIdea/system/jars/resources.jar.1d63cafc. > Function not implemented. > > 2. Error Copying File: Cannot copy > /usr/local/idea-2250/plugins/weblogicIntegration.jar > to /home/me/.IntellijIdea/system/jars/weblogicIntegration.jar.10915cad > Function not implemented. > > Also when I try to create the first project, there is something strange: > > I cannot find the jdk home directory?? I am using the GUI window provided > by Intellij in Preferences--> JDK and Global Libraries. > I guess it should be /usr/local/linux-sun-jdk1.4.2/ but in the "Select JDK > home directory" window it doesn't show /usr/local > directory at all? So I don't know how to specify the jdk home dir. I have > attached > a snapshot of the the problematic window for easier reference. > > Any help will be appreciated. > > Best regards, > Emil Emil, I had this problem with linux-sun-jdk1.4.2 but I upgraded to jdk1.5.0 and the problem went away. HTH, Dave From owner-freebsd-java@FreeBSD.ORG Fri Jul 29 23:44:55 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 165F216A41F; Fri, 29 Jul 2005 23:44:55 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F2C443D49; Fri, 29 Jul 2005 23:44:54 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with SMTP id j6TNikwv001419; Sat, 30 Jul 2005 08:44:47 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sat, 30 Jul 2005 08:44:46 +0900 (JST) Message-Id: <200507292344.j6TNikwv001419@sakura.ninth-nine.com> From: Norikatsu Shigemura To: Panagiotis Astithas In-Reply-To: <42E94F94.7050302@ebs.gr> References: <42E94F94.7050302@ebs.gr> X-Mailer: Sylpheed version 2.0.0rc (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.121]); Sat, 30 Jul 2005 08:44:47 +0900 (JST) Cc: nork@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: Eclipse 3.1 update submitted X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 23:44:55 -0000 On Fri, 29 Jul 2005 00:35:16 +0300 Panagiotis Astithas wrote: > I have submitted the updated eclipse-devel port to 3.1 as PR > ports/84252. There are a few more cleanups since the previous snapshot, Thank you. I'll handle ports/84252. I think that your patch should be applied to devel/eclipse. Would you please make a patch for devel/eclipse? And I'll commit that devel/eclipse-devel is IGNOREd. devel/eclipse-devel should be updated to 3.2+. From owner-freebsd-java@FreeBSD.ORG Sat Jul 30 01:04:19 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89D2E16A420; Sat, 30 Jul 2005 01:04:19 +0000 (GMT) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4724D43D48; Sat, 30 Jul 2005 01:04:19 +0000 (GMT) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (kris@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6U14JSj095219; Sat, 30 Jul 2005 01:04:19 GMT (envelope-from kris@freefall.freebsd.org) Received: (from kris@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6U14Iti095215; Sat, 30 Jul 2005 01:04:18 GMT (envelope-from kris) Date: Sat, 30 Jul 2005 01:04:18 GMT From: Kris Kennaway Message-Id: <200507300104.j6U14Iti095215@freefall.freebsd.org> To: fox@vader.aacc.cc.md.us, kris@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/68972: unpack crashes during make install of linux-sun-jdk-1.4.2.05 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 01:04:19 -0000 Synopsis: unpack crashes during make install of linux-sun-jdk-1.4.2.05 State-Changed-From-To: feedback->closed State-Changed-By: kris State-Changed-When: Sat Jul 30 01:04:11 GMT 2005 State-Changed-Why: Feedback timeout http://www.freebsd.org/cgi/query-pr.cgi?pr=68972 From owner-freebsd-java@FreeBSD.ORG Sat Jul 30 09:38:04 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 A52A516A420 for ; Sat, 30 Jul 2005 09:38:04 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B38343D48 for ; Sat, 30 Jul 2005 09:38:04 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1Dynn6-0002vu-FQ; Sat, 30 Jul 2005 10:38:03 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1Dynn1-0001J0-IX; Sat, 30 Jul 2005 10:37:55 +0100 Date: Sat, 30 Jul 2005 10:37:55 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Herve Quiroz In-Reply-To: <20050729132848.GA96141@arabica.esil.univ-mrs.fr> Message-ID: References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> <20050725212138.GA13849@arabica.esil.univ-mrs.fr> <20050726192511.GD56293@osiris.chen.org.nz> <20050729132848.GA96141@arabica.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Cc: freebsd-java@freebsd.org Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 09:38:04 -0000 On Fri, 29 Jul 2005, Herve Quiroz wrote: > This leaves us with the following choice: should we enforce strong > security (i.e. PR 83434) and use ${name}_user from rcNG or should we > allow the daemon to open port 80 (running the daemon as superuser)? I > definitively believe we should go for security first. User can just set > tomcat55_user=root when then need to. As the submitter of that PR, let me say that I certainly agree with the "security first" approach, and don't atually think it'll hugely impact general tomcat use. Certainly my production tomcats sit on high ports and get requests via AJP; there are also alternative cheap and effective ways of getting traffic from port 80 to a high tomcat port (balance, pf rdr) and for development on a workstation you generally don't need to be running on "production" ports anyway. > Either way, I don't see any more reason to use daemonctl.c, unless I > missed (or misunderstood) some point here. > > The ports freeze is due to 1st of August, which leaves us with no much > time to implement the chosen approach. IMHO, such change right before a > release is no good anyway. OTOH, I think we should settle this issue > once and for all so that I may commit the changes right when the freeze > is over. In a similar vein, we could also do with making sure that the "www" users (or whatever tomcat is running as) doesn't wind up owning the PID file if at all possible, unless any signals to the process are also sent as that user. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 9287088 or 3317661 http://ioctl.org/jan/ Strive to live every day as though it was last Wednesday. From owner-freebsd-java@FreeBSD.ORG Sat Jul 30 20:32:25 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 32ADB16A41F for ; Sat, 30 Jul 2005 20:32:25 +0000 (GMT) (envelope-from Robert.Faulds@voxify.com) Received: from Deliverance.voxify.com (65-123-2-7.dia.cust.qwest.net [65.123.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1AE843D48 for ; Sat, 30 Jul 2005 20:32:24 +0000 (GMT) (envelope-from Robert.Faulds@voxify.com) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sat, 30 Jul 2005 13:32:24 -0700 Message-ID: <331CA3AB8A236A488C92DEC289C7D04DD95D80@Deliverance.voxify.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JVM crashes Thread-Index: AcWTijAQGkK9N/H3QhSGeYVyEARTPgAJnTUgAGVFsiA= From: "Robert Faulds" To: Subject: RE: JVM crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 20:32:25 -0000 I had some very similar crashes that turned out to be too small default permanent generation size. Starting tomcat with a fixed heap and bumping up the permsize solved them for me. Bumping the heap alone was not enough. -server -XX:+UseParNewGC -XX:PermSize=3D128m -XX:MaxPermSize=3D128M = -Xms700M -Xmx700M These tools have proven invaluable in diagnosing OOM's. http://java.sun.com/performance/jvmstat/ and for the JDK 5.0 phobic http://java.sun.com/performance/jvmstat/faq.html#11 -----Original Message----- From: owner-freebsd-java@freebsd.org [mailto:owner-freebsd-java@freebsd.org] On Behalf Of Christopher Farley Sent: Thursday, July 28, 2005 7:16 AM To: freebsd-java@freebsd.org Subject: JVM crashes I'm running jdk-1.4.2p6_3.=20 One of my programs is causing the JVM to crash with the following error: Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 32760 bytes for ChunkPool::allocate. Out of swap space? A search of google brings up loads of problems related to Tomcat, but this program has nothing to do with Tomcat. To my knowledge, none of the libraries I am using use JNI code at all.=20 First, is there anything programming error that could cause this crash? I need to know if I should be scrutinizing my code for memory leaks, etc. I have run the program through a memory profiler, but not the production system... Everything looks okay. Second, would it be worth installing the latest jvm patchset to see if this fixes the problem?=20 Finally, if one of my libraries is causing this to happen, how would I go about determining the cause? One final, probably irrelevant detail -- the jvm will usually crash within the first couple of hours of being launched. If it survives more than a few hours, it seems to go on forever with no problems. I haven't seen any other pattern in the crashes! Thanks for any help you can provide! --=20 Christopher Farley www.northernbrewer.com _______________________________________________ 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" From owner-freebsd-java@FreeBSD.ORG Sat Jul 30 21:43:23 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 22D2216A41F; Sat, 30 Jul 2005 21:43:23 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F4CD43D45; Sat, 30 Jul 2005 21:43:20 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6ULhHKU084152; Sun, 31 Jul 2005 00:43:17 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6ULhFNF004291; Sun, 31 Jul 2005 00:43:15 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42EBF403.1040902@ebs.gr> Date: Sun, 31 Jul 2005 00:41:23 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Norikatsu Shigemura References: <42E94F94.7050302@ebs.gr> <200507292344.j6TNikwv001419@sakura.ninth-nine.com> In-Reply-To: <200507292344.j6TNikwv001419@sakura.ninth-nine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@FreeBSD.org Subject: Re: Eclipse 3.1 update submitted X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 21:43:23 -0000 Norikatsu Shigemura wrote: > On Fri, 29 Jul 2005 00:35:16 +0300 > Panagiotis Astithas wrote: > >>I have submitted the updated eclipse-devel port to 3.1 as PR >>ports/84252. There are a few more cleanups since the previous snapshot, > > > Thank you. I'll handle ports/84252. > I think that your patch should be applied to devel/eclipse. > Would you please make a patch for devel/eclipse? > And I'll commit that devel/eclipse-devel is IGNOREd. > devel/eclipse-devel should be updated to 3.2+. I submitted a followup to the PR with a (slightly tested) patch against java/eclipse. Since I am leaving on vacation in a few hours, I won't be able to tweak it any more, so feel free to do as you please with it. Regards, Panagiotis