From owner-freebsd-java@FreeBSD.ORG Sun May 21 00:20:14 2006 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 805E016A43A for ; Sun, 21 May 2006 00:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC4F643D49 for ; Sun, 21 May 2006 00:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4L0KDcH001189 for ; Sun, 21 May 2006 00:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4L0KD0d001188; Sun, 21 May 2006 00:20:13 GMT (envelope-from gnats) Resent-Date: Sun, 21 May 2006 00:20:13 GMT Resent-Message-Id: <200605210020.k4L0KD0d001188@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tian-Jian Jiang Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C0D916A426 for ; Sun, 21 May 2006 00:18:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B665D43D55 for ; Sun, 21 May 2006 00:18:56 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4L0IuN1062386 for ; Sun, 21 May 2006 00:18:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4L0IuT5062385; Sun, 21 May 2006 00:18:56 GMT (envelope-from nobody) Message-Id: <200605210018.k4L0IuT5062385@www.freebsd.org> Date: Sun, 21 May 2006 00:18:56 GMT From: Tian-Jian Jiang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: java/97539: source size and checksum mismatched 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, 21 May 2006 00:20:15 -0000 >Number: 97539 >Category: java >Synopsis: source size and checksum mismatched >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 21 00:20:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tian-Jian Jiang >Release: 6.0 >Organization: IASL, IIS, SINICA >Environment: FreeBSD search.bala.com.cn 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Thu May 11 04:08:53 CST 2006 root@search.bala.com.cn:/usr/obj/usr/src/sys/GENERIC i386 >Description: java/jakarta-commons-codec: commons-codec-1.3-src.tar.gz size is mismatched. >How-To-Repeat: try to install jakarta-commons-codec >Fix: Change the expected size and checksum. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sun May 21 00:30:24 2006 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 E1EFB16A420 for ; Sun, 21 May 2006 00:30:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FED843D8D for ; Sun, 21 May 2006 00:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4L0UIH0001516 for ; Sun, 21 May 2006 00:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4L0UIIZ001515; Sun, 21 May 2006 00:30:18 GMT (envelope-from gnats) Resent-Date: Sun, 21 May 2006 00:30:18 GMT Resent-Message-Id: <200605210030.k4L0UIIZ001515@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tian-Jian Jiang Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B0816A473 for ; Sun, 21 May 2006 00:26:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE5143D70 for ; Sun, 21 May 2006 00:26:02 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4L0Q2lm063214 for ; Sun, 21 May 2006 00:26:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4L0Q2iW063213; Sun, 21 May 2006 00:26:02 GMT (envelope-from nobody) Message-Id: <200605210026.k4L0Q2iW063213@www.freebsd.org> Date: Sun, 21 May 2006 00:26:02 GMT From: Tian-Jian Jiang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: java/97540: jakarta-commons-pool is out-of-dated and broken, it makes jakarta-commons-dbcp not able to compile. 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, 21 May 2006 00:30:25 -0000 >Number: 97540 >Category: java >Synopsis: jakarta-commons-pool is out-of-dated and broken, it makes jakarta-commons-dbcp not able to compile. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 21 00:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tian-Jian Jiang >Release: 6.0 >Organization: IASL, IIS, SINICA >Environment: FreeBSD FreeBSD 6.0-RELEASE-p7 >Description: jakarta-commons-pool-1.2 is marked as broken: Does not compile. >How-To-Repeat: try to install jakarta-commons-dbcp or jakarta-commons-pool >Fix: jakarta-commons-pool has 1.3 now. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sun May 21 10:13:47 2006 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 5A7DC16A421; Sun, 21 May 2006 10:13:47 +0000 (UTC) (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 0A2FA43D4C; Sun, 21 May 2006 10:13:47 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (hq@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4LADkiF038394; Sun, 21 May 2006 10:13:46 GMT (envelope-from hq@freefall.freebsd.org) Received: (from hq@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4LADkU6038390; Sun, 21 May 2006 10:13:46 GMT (envelope-from hq) Date: Sun, 21 May 2006 10:13:46 GMT From: Herve Quiroz Message-Id: <200605211013.k4LADkU6038390@freefall.freebsd.org> To: hq@FreeBSD.org, freebsd-java@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/97540: jakarta-commons-pool is out-of-dated and broken, it makes jakarta-commons-dbcp not able to compile. 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, 21 May 2006 10:13:47 -0000 Synopsis: jakarta-commons-pool is out-of-dated and broken, it makes jakarta-commons-dbcp not able to compile. Responsible-Changed-From-To: freebsd-java->freebsd-ports-bugs Responsible-Changed-By: hq Responsible-Changed-When: Sun May 21 10:12:34 UTC 2006 Responsible-Changed-Why: Over to ports pool. http://www.freebsd.org/cgi/query-pr.cgi?pr=97540 From owner-freebsd-java@FreeBSD.ORG Sun May 21 10:16:28 2006 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 0D26216A42A; Sun, 21 May 2006 10:16:28 +0000 (UTC) (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 63F0243D5F; Sun, 21 May 2006 10:16:26 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (hq@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4LAGQq1038477; Sun, 21 May 2006 10:16:26 GMT (envelope-from hq@freefall.freebsd.org) Received: (from hq@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4LAGQbM038473; Sun, 21 May 2006 10:16:26 GMT (envelope-from hq) Date: Sun, 21 May 2006 10:16:26 GMT From: Herve Quiroz Message-Id: <200605211016.k4LAGQbM038473@freefall.freebsd.org> To: hq@FreeBSD.org, freebsd-java@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/97539: source size and checksum mismatched 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, 21 May 2006 10:16:31 -0000 Synopsis: source size and checksum mismatched Responsible-Changed-From-To: freebsd-java->freebsd-ports-bugs Responsible-Changed-By: hq Responsible-Changed-When: Sun May 21 10:14:07 UTC 2006 Responsible-Changed-Why: Over to ports pool. Please use the 'ports' category for PRs related to ports bugs (even if the said ports make use of a JDK). The 'java' category shall be used only for PRs related to JVM porting efforts. http://www.freebsd.org/cgi/query-pr.cgi?pr=97539 From owner-freebsd-java@FreeBSD.ORG Sun May 21 17:49:59 2006 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 A43B416A485 for ; Sun, 21 May 2006 17:49:59 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 259D943D49 for ; Sun, 21 May 2006 17:49:57 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from localhost (localhost.morons.org [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id EC20717125 for ; Sun, 21 May 2006 10:50:40 -0700 (PDT) Received: from turing.morons.org ([127.0.0.1]) by localhost (turing.morons.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44442-07 for ; Sun, 21 May 2006 10:50:40 -0700 (PDT) Received: by turing.morons.org (Postfix, from userid 1001) id B0CA417122; Sun, 21 May 2006 10:50:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id AD6601702D for ; Sun, 21 May 2006 10:50:40 -0700 (PDT) Date: Sun, 21 May 2006 10:50:40 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: freebsd-java@freebsd.org Message-ID: <20060521104919.O22513@turing> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at morons.org Subject: Azureus 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, 21 May 2006 17:50:01 -0000 This is just a thought... Have those people who have had trouble getting Azureus to work checked their ipfw settings? It does require allowing incoming connections on a number of ports... (Just wanted to do a sanity check, that's all.) Nick -- "Progress is impossible without change, and those who cannot change their minds cannot change anything." --George Bernard Shaw This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Mon May 22 11:02:53 2006 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 52B5D16A4E1 for ; Mon, 22 May 2006 11:02:53 +0000 (UTC) (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 1665A43D6E for ; Mon, 22 May 2006 11:02:53 +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.4/8.13.4) with ESMTP id k4MB2q8V034912 for ; Mon, 22 May 2006 11:02:52 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4MB2pHD034907 for freebsd-java@freebsd.org; Mon, 22 May 2006 11:02:51 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 22 May 2006 11:02:51 GMT Message-Id: <200605221102.k4MB2pHD034907@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, 22 May 2006 11:02:58 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2003/12/09] ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/09/28] java/72151 java JVM crash on 5.2.1-R f [2004/10/29] ports/73279 java www/firefox + java crash o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/02/17] ports/77656 java java/jdk15 - (AMD64) install problem. o [2006/02/12] ports/93253 java jdk 1.5 port build problem 7 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 [2004/02/14] java/62837 java linux-sun-jdk14 executables hang with COM o [2005/08/10] ports/84742 java make ports/java/jdk14 use dynamic Motif l f [2006/01/03] ports/91244 java Bad instruction on making process of jdk1 o [2006/02/09] ports/93099 java java/jdk14: Modify /etc/manpath.config o [2006/05/18] java/97461 java Diablo JDK does not report Update level i 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon May 22 17:51:19 2006 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 A683A16A4D9 for ; Mon, 22 May 2006 17:51:19 +0000 (UTC) (envelope-from Usha.Bhat@spirentcom.com) Received: from smtp2-cal.SPIRENTCOM.COM (smtp2-cal.spirentcom.com [70.137.112.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5713543D46 for ; Mon, 22 May 2006 17:51:19 +0000 (GMT) (envelope-from Usha.Bhat@spirentcom.com) Received: from smtp-rok.spirentcom.com ([10.32.1.58]) by smtp2-cal.SPIRENTCOM.COM with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 10:51:18 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 22 May 2006 13:51:16 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Working implementation of crypt() in Java? Thread-Index: AcZ9yFLA+M4T9vnyTDKaZtG8s23EwA== From: "Bhat, Usha" To: X-OriginalArrivalTime: 22 May 2006 17:51:18.0988 (UTC) FILETIME=[546B30C0:01C67DC8] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Working implementation of crypt() in Java? 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, 22 May 2006 17:51:20 -0000 Hi, =20 I downloaded FreeBsdcrypt-1.1.jar and cannot open it. Both the Power Archiver and jar utility cannot open it. I would appreciate it if you can let me know how to open this jar file. =20 Thanks Usha From owner-freebsd-java@FreeBSD.ORG Mon May 22 17:55:20 2006 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 B845D16A43C for ; Mon, 22 May 2006 17:55:20 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 491D243D46 for ; Mon, 22 May 2006 17:55:20 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1249067nzn for ; Mon, 22 May 2006 10:55:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cDn6ofeoc0rs+X35Jk/CZizL9cdJzAeIxzJjt8sgSIBqx0zSJFXn2BHHBmedjrRmLk2WUokggoOaQS3L1nu3n8l3ShIHkMncsk2p8hFsQOIUwFhwtBsE4FBU03KQA3i+8F4hhRPO4+WGRA7zapXBfFzsjjTOWmGyDC/78r/rGK0= Received: by 10.65.74.12 with SMTP id b12mr789731qbl; Mon, 22 May 2006 10:55:19 -0700 (PDT) Received: by 10.65.112.18 with HTTP; Mon, 22 May 2006 10:55:19 -0700 (PDT) Message-ID: Date: Tue, 23 May 2006 01:55:19 +0800 From: "Jiawei Ye" To: "Bhat, Usha" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: Cc: freebsd-java@freebsd.org Subject: Re: Working implementation of crypt() in Java? 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, 22 May 2006 17:55:21 -0000 T24gNS8yMy8wNiwgQmhhdCwgVXNoYSA8VXNoYS5CaGF0QHNwaXJlbnRjb20uY29tPiB3cm90ZToK PiBIaSwKPgo+IEkgZG93bmxvYWRlZCBGcmVlQnNkY3J5cHQtMS4xLmphciBhbmQgY2Fubm90IG9w ZW4gaXQuIEJvdGggdGhlIFBvd2VyCj4gQXJjaGl2ZXIgYW5kIGphciB1dGlsaXR5IGNhbm5vdCBv cGVuIGl0LiBJIHdvdWxkIGFwcHJlY2lhdGUgaXQgaWYgeW91Cj4gY2FuIGxldCBtZSBrbm93IGhv dyB0byBvcGVuIHRoaXMgamFyIGZpbGUuCj4KPiBUaGFua3MKPiBVc2hhCklmIHlvdSBuZWVkIHRv IHVzZSBNRDUvU0hBMSBhbmQgZnJpZW5kcywgeW91IGNhbiB1c2UgdGhlbSBmcm9tIEpESyBkaXJl Y3RseS4KCkppYXdlaQotLSAKIldpdGhvdXQgdGhlIHVzZXJsYW5kLCB0aGUga2VybmVsIGlzIHVz ZWxlc3MuIgogICAgICAgICAgICAgICAtLWluc3BpcmVkIGJ5IFRoZSBUYW8gb2YgUHJvZ3JhbW1p bmcK From owner-freebsd-java@FreeBSD.ORG Mon May 22 18:11:16 2006 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 249D616A425 for ; Mon, 22 May 2006 18:11:16 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D27EC43D45 for ; Mon, 22 May 2006 18:11:15 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from localhost (localhost.morons.org [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id E792F17039; Mon, 22 May 2006 11:11:57 -0700 (PDT) Received: from turing.morons.org ([127.0.0.1]) by localhost (turing.morons.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86437-04; Mon, 22 May 2006 11:11:57 -0700 (PDT) Received: by turing.morons.org (Postfix, from userid 1001) id 4F95717037; Mon, 22 May 2006 11:11:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 4D10417036; Mon, 22 May 2006 11:11:57 -0700 (PDT) Date: Mon, 22 May 2006 11:11:57 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: "Bhat, Usha" In-Reply-To: Message-ID: <20060522110537.V22513@turing> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at morons.org Cc: freebsd-java@freebsd.org Subject: Re: Working implementation of crypt() in Java? 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, 22 May 2006 18:11:16 -0000 Hi, I'm the author of that package. I just did a jar xf on the file, and it's fine. I also downloaded it with Firefox on a windows box and opened it with WinZip, and that was also fine. My guess is that your download of it either (a) didn't come from my server or (b) was corrupt or incomplete. I suggest you try downloading it again from http://www.spatula.net/software/FreeBsdCrypt-1.1.jar and then run md5 on it and verify: MD5 (FreeBsdCrypt-1.1.jar) = 1d73dc0f226fb41ee22e62acf3a88933 On Mon, 22 May 2006, Bhat, Usha wrote: > Hi, > > I downloaded FreeBsdcrypt-1.1.jar and cannot open it. Both the Power > Archiver and jar utility cannot open it. I would appreciate it if you > can let me know how to open this jar file. > > Thanks > Usha > _______________________________________________ > 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" > -- "Progress is impossible without change, and those who cannot change their minds cannot change anything." --George Bernard Shaw This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Mon May 22 18:12:27 2006 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 8E28F16A5DE for ; Mon, 22 May 2006 18:12:27 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 161D343D48 for ; Mon, 22 May 2006 18:12:26 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from localhost (localhost.morons.org [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 383E517039; Mon, 22 May 2006 11:13:10 -0700 (PDT) Received: from turing.morons.org ([127.0.0.1]) by localhost (turing.morons.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86437-05; Mon, 22 May 2006 11:13:04 -0700 (PDT) Received: by turing.morons.org (Postfix, from userid 1001) id E429D17037; Mon, 22 May 2006 11:13:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id E381317036; Mon, 22 May 2006 11:13:04 -0700 (PDT) Date: Mon, 22 May 2006 11:13:04 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: Jiawei Ye In-Reply-To: Message-ID: <20060522111203.M22513@turing> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at morons.org Cc: freebsd-java@freebsd.org Subject: Re: Working implementation of crypt() in Java? 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, 22 May 2006 18:12:28 -0000 On Tue, 23 May 2006, Jiawei Ye wrote: > If you need to use MD5/SHA1 and friends, you can use them from JDK directly. That would work if FreeBSD encrypted passwords were just MD5's. They're not. There's actually a rather convoluted algorithm that's based on MD5, but it's not just MD5 by itself. Nick -- "Progress is impossible without change, and those who cannot change their minds cannot change anything." --George Bernard Shaw This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Tue May 23 12:02:40 2006 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 9953B16A457 for ; Tue, 23 May 2006 12:02:40 +0000 (UTC) (envelope-from work@ashleymoran.me.uk) Received: from mercureh.reacthosting.com (reacthosting.com [195.177.245.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id E866A43D48 for ; Tue, 23 May 2006 12:02:39 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from hosta.jigsawfinance.com ([213.106.224.113] helo=alfie.jigsawhq.com) by mercureh.reacthosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FiVav-000JGp-7Q for freebsd-java@freebsd.org; Tue, 23 May 2006 13:02:37 +0100 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Tue, 23 May 2006 13:02:03 +0100 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605231302.03491.work@ashleymoran.me.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercureh.reacthosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - ashleymoran.me.uk X-Source: X-Source-Args: X-Source-Dir: Subject: Connecting to Jetty 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, 23 May 2006 12:02:40 -0000 I know this isn't specifically related to the FreeBSD JDK but the SourceForge server won't let me join jetty-support. I've installed the latest Jetty on FreeBSD 6.1/amd64 using the latest 1.5 JDK. With the default configuration, I can connect to http://localhost:8080/template/, but not http://127.0.0.1:8080/template/ or http://10.0.1.1:8080/template/ (the IP of the server). As you can imagine, I can't connect at all remotely. Here's the (presumably) relevant bit: 8080 P1 20 200 50 30000 2000 0 8443 8443 If I add the following line to (naively) force it to bind to 10.0.1.1: 10.0.1.1 then I get the error below (note I have made an rc script to run jetty through "su jetty -c ...", not that that should affect binding to a port > 1024!) I'm new to Jetty, and I am really eager to make it work but I can't for the life of me think why such a simple thing is failing. Am i missing something really obvious? Thanks Ashley > # /usr/local/etc/rc.d/jetty.sh start > Defaulting JETTY_HOME to /usr/local/share/java/jetty > Starting Jetty: > STARTED Jetty Tue May 23 12:58:00 BST 2006 > Jetty running pid=22624 > May 23, 2006 12:58:00 PM org.mortbay.util.FileResource > INFO: Checking Resource aliases > May 23, 2006 12:58:01 PM org.mortbay.http.HttpServer setStatsOn > INFO: Statistics on = false for org.mortbay.jetty.Server@766e3d60 > May 23, 2006 12:58:01 PM org.mortbay.http.HttpServer doStart > INFO: Version Jetty/5.1.11RC0 > May 23, 2006 12:58:03 PM org.mortbay.util.Container start > INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@3b75078b > May 23, 2006 12:58:03 PM org.mortbay.util.Container start > INFO: Started WebApplicationContext[/template,Template WebApp] > May 23, 2006 12:58:03 PM org.mortbay.jetty.servlet.WebApplicationContext > resolveWebApp INFO: Extract > jar:file:/usr/local/share/java/jetty/webapps/javadoc.war!/ to > /var/tmp/Jetty_10_0_1_1_8080__javadoc/webapp May 23, 2006 12:58:04 PM > org.mortbay.util.Container start > INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@3479e304 > May 23, 2006 12:58:04 PM org.mortbay.util.Container start > INFO: Started WebApplicationContext[/javadoc,/javadoc] > May 23, 2006 12:58:04 PM org.mortbay.util.ThreadedServer start > WARNING: Failed to start: P1@10.0.1.1:8080 > May 23, 2006 12:58:04 PM org.mortbay.jetty.Server main > WARNING: EXCEPTION > org.mortbay.util.MultiException[java.net.BindException: Can't assign > requested address] at > org.mortbay.http.HttpServer.doStart(HttpServer.java:686) at > org.mortbay.util.Container.start(Container.java:72) > at org.mortbay.jetty.Server.main(Server.java:460) > java.net.BindException: Can't assign requested address > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > at java.net.ServerSocket.bind(ServerSocket.java:319) > at java.net.ServerSocket.(ServerSocket.java:185) > at > org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:391) at > org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477) at > org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503) at > org.mortbay.http.SocketListener.start(SocketListener.java:204) at > org.mortbay.http.HttpServer.doStart(HttpServer.java:716) at > org.mortbay.util.Container.start(Container.java:72) > at org.mortbay.jetty.Server.main(Server.java:460) -- "If you do it the stupid way, you will have to do it again" - Gregory Chudnovsky From owner-freebsd-java@FreeBSD.ORG Tue May 23 12:23:24 2006 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 147BB16A42F for ; Tue, 23 May 2006 12:23:24 +0000 (UTC) (envelope-from work@ashleymoran.me.uk) Received: from mercureh.reacthosting.com (reacthosting.com [195.177.245.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2996943D67 for ; Tue, 23 May 2006 12:23:22 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from hosta.jigsawfinance.com ([213.106.224.113] helo=alfie.jigsawhq.com) by mercureh.reacthosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FiVuy-000JcG-I0 for freebsd-java@freebsd.org; Tue, 23 May 2006 13:23:20 +0100 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Tue, 23 May 2006 13:22:46 +0100 User-Agent: KMail/1.9.1 References: <200605231302.03491.work@ashleymoran.me.uk> In-Reply-To: <200605231302.03491.work@ashleymoran.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605231322.46786.work@ashleymoran.me.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercureh.reacthosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - ashleymoran.me.uk X-Source: X-Source-Args: X-Source-Dir: Subject: Re: Connecting to Jetty 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, 23 May 2006 12:23:30 -0000 Just to narrow this down, I've installed it on my 6.1/i386 desktop and it works, and another 6.1/amd64 server and it fails, can't bind to 127.0.0.1. Is this a bug in the JDK on amd64? Ashley -- "If you do it the stupid way, you will have to do it again" - Gregory Chudnovsky From owner-freebsd-java@FreeBSD.ORG Tue May 23 15:08:21 2006 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 215E416A591 for ; Tue, 23 May 2006 15:08:21 +0000 (UTC) (envelope-from work@ashleymoran.me.uk) Received: from mercureh.reacthosting.com (reacthosting.com [195.177.245.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A541243D46 for ; Tue, 23 May 2006 15:08:20 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from hosta.jigsawfinance.com ([213.106.224.113] helo=alfie.jigsawhq.com) by mercureh.reacthosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FiYUd-0000ra-1A for freebsd-java@freebsd.org; Tue, 23 May 2006 16:08:19 +0100 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Tue, 23 May 2006 16:07:45 +0100 User-Agent: KMail/1.9.1 References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> In-Reply-To: <200605231322.46786.work@ashleymoran.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605231607.45933.work@ashleymoran.me.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercureh.reacthosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - ashleymoran.me.uk X-Source: X-Source-Args: X-Source-Dir: Subject: IPV6 (Re: Connecting to Jetty) 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, 23 May 2006 15:08:23 -0000 On Tuesday 23 May 2006 13:22, Ashley Moran wrote: > Just to narrow this down, I've installed it on my 6.1/i386 desktop and it > works, and another 6.1/amd64 server and it fails, can't bind to 127.0.0.1. > Is this a bug in the JDK on amd64? > > Ashley Turns out this was failing because I had compiled IPv6 support. I've passed a Java option now to use the IPv4 stack and it works. I believe this is a known issue? It appears impossible to bind to an (IPv4) address with the IPv6 stack enabled. Ashley -- "If you do it the stupid way, you will have to do it again" - Gregory Chudnovsky From owner-freebsd-java@FreeBSD.ORG Tue May 23 16:38:57 2006 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 1BE0E16AB52 for ; Tue, 23 May 2006 16:38:57 +0000 (UTC) (envelope-from ric@jonnycalcutta.com) Received: from home.jonnycalcutta.com (cpc2-ruth2-0-0-cust133.renf.cable.ntl.com [82.11.56.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 398CE43D48 for ; Tue, 23 May 2006 16:38:43 +0000 (GMT) (envelope-from ric@jonnycalcutta.com) Received: from [10.0.0.5] ([10.0.0.5]) (authenticated bits=0) by home.jonnycalcutta.com (8.13.4/8.13.4) with ESMTP id k4NGbvIG083616 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Tue, 23 May 2006 17:38:02 +0100 (BST) (envelope-from ric@jonnycalcutta.com) Message-ID: <44733A87.8020700@jonnycalcutta.com> Date: Tue, 23 May 2006 17:38:31 +0100 From: Richard Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 CC: freebsd-java@freebsd.org References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> <200605231607.45933.work@ashleymoran.me.uk> In-Reply-To: <200605231607.45933.work@ashleymoran.me.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: IPV6 (Re: Connecting to Jetty) 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, 23 May 2006 16:39:08 -0000 Ashley Moran wrote: > On Tuesday 23 May 2006 13:22, Ashley Moran wrote: >> Just to narrow this down, I've installed it on my 6.1/i386 desktop and it >> works, and another 6.1/amd64 server and it fails, can't bind to 127.0.0.1. >> Is this a bug in the JDK on amd64? >> >> Ashley > > Turns out this was failing because I had compiled IPv6 support. I've passed a > Java option now to use the IPv4 stack and it works. > > I believe this is a known issue? It appears impossible to bind to an (IPv4) > address with the IPv6 stack enabled. Can I ask what variable and exactly how you passed it? I'm having a similar problem with Tomcat and I can't seem to pass the right command to get around the problem. Thanks, Ric From owner-freebsd-java@FreeBSD.ORG Wed May 24 01:04:02 2006 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 E229916A47F for ; Wed, 24 May 2006 01:04:02 +0000 (UTC) (envelope-from jshevland@rowantreesoftware.com.au) Received: from www.rowantreesoftware.com.au (218-214-142-195.people.net.au [218.214.142.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF0943D45 for ; Wed, 24 May 2006 01:04:02 +0000 (GMT) (envelope-from jshevland@rowantreesoftware.com.au) Received: from [127.0.0.1] (unknown [10.10.0.250]) by www.rowantreesoftware.com.au (Postfix) with ESMTP id C47CB11435; Wed, 24 May 2006 12:06:05 +1000 (EST) Message-ID: <4473B0D2.2020202@rowantreesoftware.com.au> Date: Wed, 24 May 2006 11:03:14 +1000 From: Joe Shevland Organization: Rowantree Software Pty. Ltd. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Richard Cooper References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> <200605231607.45933.work@ashleymoran.me.uk> <44733A87.8020700@jonnycalcutta.com> In-Reply-To: <44733A87.8020700@jonnycalcutta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: IPV6 (Re: Connecting to Jetty) 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, 24 May 2006 01:04:03 -0000 Richard Cooper wrote: > Ashley Moran wrote: >> On Tuesday 23 May 2006 13:22, Ashley Moran wrote: >>> Just to narrow this down, I've installed it on my 6.1/i386 desktop >>> and it >>> works, and another 6.1/amd64 server and it fails, can't bind to >>> 127.0.0.1. >>> Is this a bug in the JDK on amd64? >>> >>> Ashley >> >> Turns out this was failing because I had compiled IPv6 support. I've >> passed a Java option now to use the IPv4 stack and it works. >> >> I believe this is a known issue? It appears impossible to bind to an >> (IPv4) address with the IPv6 stack enabled. > > Can I ask what variable and exactly how you passed it? I'm having a > similar problem with Tomcat and I can't seem to pass the right command > to get around the problem. This might be relevant (or rather the link near the top to the Sun bug database): http://mail-archives.apache.org/mod_mbox/tomcat-dev/200511.mbox/%3C4375392B.7000306@cognitiongroup.biz%3E and this JBoss wiki entry says it a bit better wrt releases up to JDK 5: http://wiki.jboss.org/wiki/Wiki.jsp?page=IPv6 So maybe try: java -Djava.net.preferIPv4Stack=true ... Cheers Joe From owner-freebsd-java@FreeBSD.ORG Wed May 24 09:58:02 2006 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 C409716A4C6 for ; Wed, 24 May 2006 09:58:02 +0000 (UTC) (envelope-from ric@jonnycalcutta.com) Received: from home.jonnycalcutta.com (cpc2-ruth2-0-0-cust133.renf.cable.ntl.com [82.11.56.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A56C43D45 for ; Wed, 24 May 2006 09:58:01 +0000 (GMT) (envelope-from ric@jonnycalcutta.com) Received: from [10.0.0.5] ([10.0.0.5]) (authenticated bits=0) by home.jonnycalcutta.com (8.13.4/8.13.4) with ESMTP id k4O9v93O048505 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 24 May 2006 10:57:13 +0100 (BST) (envelope-from ric@jonnycalcutta.com) Message-ID: <44742E1F.4050207@jonnycalcutta.com> Date: Wed, 24 May 2006 10:57:51 +0100 From: Richard Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> <200605231607.45933.work@ashleymoran.me.uk> <44733A87.8020700@jonnycalcutta.com> <4473B0D2.2020202@rowantreesoftware.com.au> In-Reply-To: <4473B0D2.2020202@rowantreesoftware.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: IPV6 Tomcat problems (Was Re: Connecting to Jetty) 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, 24 May 2006 09:58:03 -0000 Joe Shevland wrote: > This might be relevant (or rather the link near the top to the Sun bug > database): > > http://mail-archives.apache.org/mod_mbox/tomcat-dev/200511.mbox/%3C4375392B.7000306@cognitiongroup.biz%3E > > > and this JBoss wiki entry says it a bit better wrt releases up to JDK 5: > > http://wiki.jboss.org/wiki/Wiki.jsp?page=IPv6 > > So maybe try: > > java -Djava.net.preferIPv4Stack=true ... This is where I got to (almost) - but it doesn't seem to make any difference. I have tomcat55_java_opts="-Djava.net.preferIPv4Stack=true" in rc.conf. When that didn't work I tried taking INET6 out of the kernel completely. Then I took all ipv6 references out of the hosts file (I'm getting desperate, you can see). I still consistently get the following in the logs (everything starts fine until this point). SEVERE: StandardServer.await: create[8005]: java.net.BindException: Can't assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at org.apache.catalina.core.StandardServer.await(StandardServer.java:343 at org.apache.catalina.startup.Catalina.await(Catalina.java:600) at org.apache.catalina.startup.Catalina.start(Catalina.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) There are definitely no services running on that port (netstat confirms...) and the error seems consistent with other encountering the ipv6 problems. I'm not sure what I'm doing wrong, but I'm prepared to accept that it's something dumb. Thanks Richard From owner-freebsd-java@FreeBSD.ORG Wed May 24 10:01:17 2006 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 749B916A44E for ; Wed, 24 May 2006 10:01:17 +0000 (UTC) (envelope-from Joe.Holden@operatelecom.com) Received: from mail.operatelecom.com (cpvirtual.operatelecom.com [62.232.41.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E4D43D58 for ; Wed, 24 May 2006 10:01:12 +0000 (GMT) (envelope-from Joe.Holden@operatelecom.com) Received: from [127.0.0.1] ([10.2.1.1]) by mail.operatelecom.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 24 May 2006 10:58:47 +0100 Message-ID: <44742E4D.4000506@operatelecom.com> Date: Wed, 24 May 2006 10:58:37 +0100 From: Joe Holden Organization: Opera Telecom User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: java@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig663DC148ED00B400584A7133" X-OriginalArrivalTime: 24 May 2006 09:58:47.0848 (UTC) FILETIME=[A6A60A80:01C67F18] X-ST-MF-Message-Resent: 24/05/2006 10:58 Cc: Subject: OpenNMS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joe.holden@operatelecom.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 10:01:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig663DC148ED00B400584A7133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all, Has anyone successfully got opennms working on FreeBSD? (I'm currently attempting to set it up on a 6.1-STABLE machine, tomcat 5.5), I have all the needed libs etc installed, however when i do a "sh build.sh all", it tells me postgres can't find libintl.h, which does exist in /usr/local/include/libintl.h. postgresql.compile: [cc] 1 total files to be compiled. [cc] In file included from /usr/local/include/postgresql/server/postgres.h:48, [cc] from /root/opennms-1.2.7-1/source/work/postgresql/iplike.c:42: [cc] /usr/local/include/postgresql/server/c.h:87:21: libintl.h: No such file or directory Is there any freebsd specific flags I should use? Thanks, Joe For Opera Telecom's latest news click here "Opera Telecom =96 Partner of Vodafone, BT, and 02 =96 Offices in Austral= ia, Ireland, Italy, Kenya, Portugal, South Africa, Spain, Tanzania, UK and = USA =96 one-stop shop solution including 3G Video, MMS, SMS, WAP, Web, IVR = available through Opera=92s world-leading Dragon self-service platform." This e-mail is intended for the above named only. It may contain private = and confidential information or material that is privileged. If it has come= to you in error you must take no action based upon it, nor must you copy o= r show it to anyone. Please return the message immediately to postmaster Th= e validity of any pricing information contained herein is 30 days unless ot= herwise stated. E &OE. Standard terms and conditions apply --------------enig663DC148ED00B400584A7133 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRHQuToXEl0mZ993SAQKu5Qf8CxQaOACe2gpMyOC4nxGsEs9Dmnqz8G9c FgARM4BwyvIISyM/DmAFjVvxAoDdoKZSApTz6j9cBKxtalmEDETFcxYbENyqGdqq cLeZSzkAyQlaENBAG1WbEvcKpP4rm7kpUBWb6hhealqE6/Lqx6fra++ij5m67Eol McoMssUDkMilzXEeb7wFcN/w3kqksjvm2GvTGyfqkDmcQ68wiP7Pc9eIdAIRzhft rs9e/1WpxkiC8Mj+MbpLj7WekRba40iLSlvUp3g1cqXWn7FR5a6EO6HaXQXzRsrR CdSGQ+g/KRj7asTb1QSWVjH5NoTvPQQ1rqeXhIFKxvBMtazAR6Cqrw== =hCLy -----END PGP SIGNATURE----- --------------enig663DC148ED00B400584A7133-- From owner-freebsd-java@FreeBSD.ORG Wed May 24 12:33:47 2006 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 7063016A437 for ; Wed, 24 May 2006 12:33:47 +0000 (UTC) (envelope-from Joe.Holden@operatelecom.com) Received: from mail.operatelecom.com (cpvirtual.operatelecom.com [62.232.41.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B56143D88 for ; Wed, 24 May 2006 12:33:26 +0000 (GMT) (envelope-from Joe.Holden@operatelecom.com) Received: from [127.0.0.1] ([10.2.1.1]) by mail.operatelecom.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 24 May 2006 13:31:01 +0100 Message-ID: <447451FC.2020103@operatelecom.com> Date: Wed, 24 May 2006 13:30:52 +0100 From: Joe Holden Organization: Opera Telecom User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Dennis Berger References: <44742E4D.4000506@operatelecom.com> <4474314F.3040309@nipsi.de> In-Reply-To: <4474314F.3040309@nipsi.de> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFF4C062552DDF1C78151D797" X-OriginalArrivalTime: 24 May 2006 12:31:01.0671 (UTC) FILETIME=[EAD4D370:01C67F2D] X-ST-MF-Message-Resent: 24/05/2006 13:31 Cc: java@freebsd.org Subject: Re: OpenNMS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joe.holden@operatelecom.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 12:33:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFF4C062552DDF1C78151D797 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Dennis Berger wrote: > # diff -u /tmp/opennms-1.2.7-1/source/build.xml build.xml > --- /tmp/opennms-1.2.7-1/source/build.xml Tue Feb 21 15:40:05 2006 > +++ build.xml Thu Feb 23 13:26:02 2006 > @@ -53,10 +53,12 @@ > > > - value=3D"/usr/include/pgsql/server"/> > - > - > - > + value=3D"/usr/local/include/postgresql/server"/> > + + value=3D"/usr/local/include"/> > + > + > + > > > > > this will fix it... and you have to use tomcat4 for opennms :-) > > regards, > Dennis Berger > > Joe Holden wrote: > >> Hi all, >> Has anyone successfully got opennms working on FreeBSD? (I'm >> currently attempting to set it up on a 6.1-STABLE machine, tomcat 5.5)= , >> I have all the needed libs etc installed, however when i do a "sh >> build.sh all", it tells me postgres can't find libintl.h, which does >> exist in /usr/local/include/libintl.h. >> >> postgresql.compile: >> [cc] 1 total files to be compiled. >> [cc] In file included from >> /usr/local/include/postgresql/server/postgres.h:48, >> [cc] from >> /root/opennms-1.2.7-1/source/work/postgresql/iplike.c:42: >> [cc] /usr/local/include/postgresql/server/c.h:87:21: libintl.h: >> No such file or directory >> >> Is there any freebsd specific flags I should use? >> >> Thanks, >> Joe >> >> >> >> >> For Opera Telecom's latest news click here "Opera Telecom =96 Partner >> of Vodafone, BT, and 02 =96 Offices in Australia, Ireland, Italy, >> Kenya, Portugal, South Africa, Spain, Tanzania, UK and USA =96 one-sto= p >> shop solution including 3G Video, MMS, SMS, WAP, Web, IVR available >> through Opera=92s world-leading Dragon self-service platform." This >> e-mail is intended for the above named only. It may contain private >> and confidential information or material that is privileged. If it >> has come to you in error you must take no action based upon it, nor >> must you copy or show it to anyone. Please return the message >> immediately to postmaster The validity of any pricing information >> contained herein is 30 days unless otherwise stated. E &OE. Standard >> terms and conditions apply > Thanks very much! Works perfectly now! For Opera Telecom's latest news click here "Opera Telecom =96 Partner of Vodafone, BT, and 02 =96 Offices in Austral= ia, Ireland, Italy, Kenya, Portugal, South Africa, Spain, Tanzania, UK and = USA =96 one-stop shop solution including 3G Video, MMS, SMS, WAP, Web, IVR = available through Opera=92s world-leading Dragon self-service platform." This e-mail is intended for the above named only. It may contain private = and confidential information or material that is privileged. If it has come= to you in error you must take no action based upon it, nor must you copy o= r show it to anyone. Please return the message immediately to postmaster Th= e validity of any pricing information contained herein is 30 days unless ot= herwise stated. E &OE. Standard terms and conditions apply --------------enigFF4C062552DDF1C78151D797 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRHRR/oXEl0mZ993SAQLJzQf7B+HnP3FHCGVP+Q9YmAMzbBegm7KBVJq9 DMshRkA4hKmkEsVHEC8nUNGr2BVadslI40G6JjUWawkBssYUwqHFSR0YAhsSRjpJ SzgXqDqy7RP6PvDLJJy2FIgCDcJs25QSGoxvZqNZL2+75Tfx+lA1idsKPRd4iP6K uxMVouO/VDu9OHZIRZuMRgAT6QLAvjXzwiVH5jjseNNL5SOMfUL2YbyGfEQNXOx5 I+D7UyoYmnvVZiEUlMF8LQuPs58Kx/lqF13i3bhu1mGNKwc5TfJS7ADVJOv74aN9 9307eGO/mi3PNfF6nJnK8nabK4RcQQ41e4y6nGkKd0pR2CiohDz5oQ== =+vNN -----END PGP SIGNATURE----- --------------enigFF4C062552DDF1C78151D797-- From owner-freebsd-java@FreeBSD.ORG Wed May 24 17:17:25 2006 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 4276816A795 for ; Wed, 24 May 2006 17:17:25 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from banan.pingpong.net (banan.pingpong.net [213.136.40.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7764043D4C for ; Wed, 24 May 2006 17:17:23 +0000 (GMT) (envelope-from girgen@FreeBSD.org) Received: from rambutan.pingpong.net (rambutan.pingpong.net [192.168.1.187]) by banan.pingpong.net (8.13.6/8.13.6) with ESMTP id k4OHHMFd071658 for ; Wed, 24 May 2006 19:17:22 +0200 (CEST) (envelope-from girgen@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by rambutan.pingpong.net (8.13.6/8.13.6) with ESMTP id k4OHHMbG039606 for ; Wed, 24 May 2006 19:17:22 +0200 (CEST) (envelope-from girgen@FreeBSD.org) Date: Wed, 24 May 2006 19:17:22 +0200 From: Palle Girgensohn To: freebsd-java@FreeBSD.org Message-ID: X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: jdk15 @ amd64 slower and less stable than jdk15 @ i386 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, 24 May 2006 17:17:25 -0000 Hi, My experience is that jdk15 is slower and less stable on amd64 than on i386. Hence a couple of questions: 1. What timeline can I expect for the effort of getting diablo working on amd64? Is it reasonable to deploy systems on amd64 now and hoping that soon they will work faster and more reliable? 2. Is it possible to update the jdk15 port to use newer Sun code, as discussed by "Arne H. Juul" around May 4 on this list? That discussion died with comments that there was more to do in order to really get it right? Thanks for the wonderful effort you all make in getting Java to FreeBSD :) Palle PS. If you need crash dumps for jdk15 @ amd64, I can supply them, but that's not the point of this email, really. I'd like to know the planned time line. DS From owner-freebsd-java@FreeBSD.ORG Thu May 25 11:31:14 2006 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 139D216A4C6 for ; Thu, 25 May 2006 11:31:14 +0000 (UTC) (envelope-from zoo9000@hotmail.com) Received: from hotmail.com (bay101-f24.bay101.hotmail.com [64.4.56.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBE7943D53 for ; Thu, 25 May 2006 11:31:12 +0000 (GMT) (envelope-from zoo9000@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 25 May 2006 04:31:12 -0700 Message-ID: Received: from 64.4.56.200 by by101fd.bay101.hotmail.msn.com with HTTP; Thu, 25 May 2006 11:31:07 GMT X-Originating-IP: [195.172.219.66] X-Originating-Email: [zoo9000@hotmail.com] X-Sender: zoo9000@hotmail.com From: "Ken Williams" To: freebsd-java@freebsd.org Date: Thu, 25 May 2006 11:31:07 +0000 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_2317_2eeb_5a71" X-OriginalArrivalTime: 25 May 2006 11:31:12.0262 (UTC) FILETIME=[B9CA3A60:01C67FEE] Subject: java/jdk15 install problem. 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, 25 May 2006 11:31:15 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_2317_2eeb_5a71 Content-Type: text/plain; format=flowed Hi Folks, I'm trying to compile jdk15 but it keeps failing at this same point (something to do with motif21) - see the error message below. I've Googled for any similar error messages and a couple appeared in April but no-one seemed to offer any solution. All my relevant packages are up to date (xorg-6.9.0, linux_base-8-8.0_14, linux-sun-jdk-1.4.2.11, open-motif-2.2.3_2, etc). The PC has plenty of memory (1 GB), free disk-space (> 4GB), 'linprocfs' was mounted and the 'linux.ko' module is loaded . Strangely, I've compiled jdk15 on another almost identical PC with no problem - I can't see what is different this time. The error-log file is attached. Any ideas ? Ken [root@host1 /usr/ports]# uname -a FreeBSD host1 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri May 19 19:39:35 BST 2006 root@host1:/usr/obj/usr/src/sys/GENERIC i386 The log-file 'hs_err_pid73529.log' is attached. # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (5448524541442C4F43414C33544F524147450E4350500018), pid=73529, tid=0x805c000 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p3-ken_23_may_2006_14_00 mixed mode) # An error report file with more information is saved as hs_err_pid73529.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # gmake[4]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/sun.awt/motif21/obj/.class.headers.i586] Abort trap (core dumped) gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/motif21' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/motif21' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. ------=_NextPart_000_2317_2eeb_5a71 Content-Type: application/octet-stream; name="hs_err_pid73529.log" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hs_err_pid73529.log" IwojIEFuIHVuZXhwZWN0ZWQgZXJyb3IgaGFzIGJlZW4gZGV0ZWN0ZWQgYnkg SG90U3BvdCBWaXJ0dWFsIE1hY2hpbmU6CiMKIyAgSW50ZXJuYWwgRXJyb3Ig KDU0NDg1MjQ1NDE0NDJDNEY0MzQxNEMzMzU0NEY1MjQxNDc0NTBFNDM1MDUw MDAxOCksIHBpZD03MzUyOSwgdGlkPTB4ODA1YzAwMAojCiMgSmF2YSBWTTog SmF2YSBIb3RTcG90KFRNKSBDbGllbnQgVk0gKDEuNS4wLXAzLWtlbl8yM19t YXlfMjAwNl8xNF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lNEXSAyMDA1MDUxOAoK ------=_NextPart_000_2317_2eeb_5a71-- From owner-freebsd-java@FreeBSD.ORG Thu May 25 14:09:45 2006 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 B7D7B16A46F for ; Thu, 25 May 2006 14:09:45 +0000 (UTC) (envelope-from vadim_nuclight@mail.ru) Received: from mx7.mail.ru (mx7.mail.ru [194.67.23.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC59843D5C for ; Thu, 25 May 2006 14:09:34 +0000 (GMT) (envelope-from vadim_nuclight@mail.ru) Received: from [82.211.136.13] (port=34053 helo=nuclight.avtf.net) by mx7.mail.ru with esmtp id 1FjGWN-000Oaw-00 for freebsd-java@freebsd.org; Thu, 25 May 2006 18:09:04 +0400 To: freebsd-java@freebsd.org Date: Thu, 25 May 2006 21:06:59 +0700 From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.54 (Win32, build 3865) Subject: diablo 1.5 died after 5 day uptime 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, 25 May 2006 14:09:45 -0000 Hello. I have an SMP (HTT) machine with 5.5-PRERELEASE, using official diablo 1.5 jdk binaries from beginning of April. As suggested, I now run java with -XX:+UseMembar cmdline switch, that resolved problem with crashing application after startup. But today after 5 days uptime now-debugged-and-set-to-long-run server process have crashed, with 100M coredump file. What happened? Below are log and gdb backtrace. As some additional info: I have limits in login.conf, 32M for resident size and 256M for virtual mem size; yesterday when I looked at process stats it was about 10M resident and 250M virtual - could be a reason?.. > more hs_err_pid54480.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x0a3fcad9, pid=54480, tid=0x8a28000 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) # Problematic frame: # V [libjvm.so+0x26dad9] # --------------- T H R E A D --------------- Current thread is native thread siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00000000 Registers: EAX=0x00000000, EBX=0x0a612d98, ECX=0x00000000, EDX=0x08a28000 ESP=0xbf42ac54, EBP=0xbf42ac78, ESI=0x00000000, EDI=0x080600c0 EIP=0x0a3fcad9, EFLAGS=0x00010292 Top of Stack: (sp=0xbf42ac54) 0xbf42ac54: 000000fd 0a5e8380 0a5e8380 080600c0 0xbf42ac64: 0a5ccb85 00000001 0a3fca8a 0a612d98 0xbf42ac74: 080600c0 bf42ac88 0a3fcb36 ffffffff 0xbf42ac84: 0a612d98 bf42ad58 0a3fceda 00000800 0xbf42ac94: 080600c0 080600c0 080600c0 080600c0 0xbf42aca4: 080600c0 080600c0 0a179bac 0a608a78 0xbf42acb4: 0a5e26d7 0a608a78 0a608a78 0a5f7ce9 0xbf42acc4: 0a608a78 0a5d8c08 0a608a78 bf42ad20 Instructions: (pc=0x0a3fcad9) 0x0a3fcac9: 50 52 51 e8 3f d0 e9 ff 83 c4 10 89 c6 83 ec 0c 0x0a3fcad9: 8b 06 56 ff 50 14 83 c4 10 85 c0 74 0a c7 86 e8 Stack: [0xbf3eb000,0xbf42b000), sp=0xbf42ac54, free space=255k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x26dad9] V [libjvm.so+0x26db36] V [libjvm.so+0x26deda] V [libjvm.so+0x3841e0] V [libjvm.so+0x384216] V [libjvm.so+0x3f937d] V [libjvm.so+0x3ef88c] V [libjvm.so+0x3f6375] V [libjvm.so+0x3840a9] C [libpthread.so.1+0x8b09] _pthread_create+0x7c1 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x083f0e00 JavaThread "Thread-258253" [_thread_new, id=144867328] 0x083f0400 JavaThread "Thread-258251" [_thread_in_native, id=138726400] 0x08410600 JavaThread "Thread-258250" [_thread_in_native, id=144340480] 0x08310c00 JavaThread "Thread-258249" [_thread_in_native, id=138987520] 0x083c3600 JavaThread "Thread-257158" [_thread_in_native, id=138228736] 0x083c3a00 JavaThread "Thread-256615" [_thread_in_native, id=144158208] 0x08310e00 JavaThread "Thread-256480" [_thread_in_native, id=139173888] 0x08310400 JavaThread "Thread-255767" [_thread_in_native, id=138289152] 0x08310200 JavaThread "Thread-254463" [_thread_in_native, id=140458496] 0x08310000 JavaThread "Thread-253261" [_thread_in_native, id=140185600] 0x081a6c00 JavaThread "Thread-253072" [_thread_in_native, id=138986496] 0x083f0000 JavaThread "Thread-251582" [_thread_in_native, id=138600448] 0x08420400 JavaThread "Thread-251176" [_thread_in_native, id=144339968] 0x083c3400 JavaThread "Thread-249486" [_thread_in_native, id=138415616] 0x083c3200 JavaThread "Thread-249101" [_thread_in_native, id=138723328] 0x08410e00 JavaThread "Thread-247705" [_thread_in_native, id=135250432] 0x08410a00 JavaThread "Thread-246215" [_thread_in_native, id=138543104] 0x08410400 JavaThread "Thread-245829" [_thread_in_native, id=138667520] 0x083e2e00 JavaThread "Thread-245769" [_thread_in_native, id=139823104] 0x080fc400 JavaThread "Thread-244253" [_thread_in_native, id=144342016] 0x083d3a00 JavaThread "Thread-243747" [_thread_in_native, id=144935936] 0x08410200 JavaThread "Thread-242603" [_thread_in_native, id=138164224] 0x083e2600 JavaThread "Thread-242051" [_thread_in_native, id=140848128] 0x083e2a00 JavaThread "Thread-240936" [_thread_in_native, id=139108352] 0x083e2400 JavaThread "Thread-240760" [_thread_in_native, id=138347008] 0x083e2200 JavaThread "Thread-240659" [_thread_in_native, id=138988544] 0x081edc00 JavaThread "Thread-240643" [_thread_in_native, id=143752192] 0x081eda00 JavaThread "Thread-238918" [_thread_in_native, id=138229760] 0x083d3600 JavaThread "Thread-238834" [_thread_in_native, id=140126208] 0x0817ce00 JavaThread "Thread-238811" [_thread_in_native, id=138545152] 0x080fc800 JavaThread "Thread-238463" [_thread_in_native, id=138665984] 0x0817f600 JavaThread "Thread-235727" [_thread_in_native, id=140396544] 0x083d3200 JavaThread "Thread-233606" [_thread_in_native, id=140124160] 0x08310800 JavaThread "Thread-217066" [_thread_in_native, id=144745984] 0x08400400 JavaThread "Thread-215790" [_thread_in_native, id=144801792] 0x08410000 JavaThread "Thread-207532" [_thread_in_native, id=144933376] 0x083d3c00 JavaThread "Thread-205656" [_thread_in_native, id=138291200] 0x0817fe00 JavaThread "Thread-183584" [_thread_in_native, id=138603520] 0x083f0c00 JavaThread "Thread-164930" [_thread_in_native, id=138348032] 0x0805cc00 JavaThread "DestroyJavaVM" [_thread_blocked, id=134594560] 0x081a6600 JavaThread "Thread-3" [_thread_in_native, id=135948288] 0x081a6200 JavaThread "Thread-2" [_thread_blocked, id=135947264] 0x08160e00 JavaThread "Thread-1" [_thread_in_native, id=135946240] 0x08160a00 JavaThread "Thread-0" [_thread_in_native, id=135662592] 0x08143c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135544320] 0x08143800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135543296] 0x08143400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135542272] 0x08143000 JavaThread "Finalizer" daemon [_thread_blocked, id=135541248] 0x08067c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=134643200] Other Threads: 0x08056f00 VMThread [id=134642176] 0x08056a00 WatcherThread [id=135660032] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 426K [0x0f5e0000, 0x0f680000, 0x0fac0000) eden space 512K, 82% used [0x0f5e0000, 0x0f649f60, 0x0f660000) from space 64K, 4% used [0x0f670000, 0x0f670ab8, 0x0f680000) to space 64K, 0% used [0x0f660000, 0x0f660000, 0x0f670000) tenured generation total 1408K, used 357K [0x0fac0000, 0x0fc20000, 0x135e0000) the space 1408K, 25% used [0x0fac0000, 0x0fb19520, 0x0fb19600, 0x0fc20000) compacting perm gen total 8192K, used 1777K [0x135e0000, 0x13de0000, 0x175e0000) the space 8192K, 21% used [0x135e0000, 0x1379c608, 0x1379c800, 0x13de0000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.5.0/bin/java 0x0a07f000 /lib/libz.so.2 0x0a08f000 /usr/lib/libpthread.so.1 0x0a0b3000 /lib/libc.so.5 0x0a18f000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so 0x0a631000 /lib/libm.so.3 0x0a64d000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x0a65e000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so 0x0a66b000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so 0x0a68a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so 0x1774a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so 0x0a052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -XX:+UseMembar java_command: ServSender Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.5.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/ krot/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/ i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386 SHELL=/usr/local/bin/bash Signal Handlers: SIGSEGV: [libjvm.so+0x426350], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x426350], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x386f00], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x386f00], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x386f00], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGUSR1: [libjvm.so+0x386fd0], sa_mask[0]=0x00000000, sa_flags=0x00000040 SIGUSR2: [libjvm.so+0x386f00], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x3857b0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x3857b0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x3857b0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x3857b0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1: Sun May 7 19:09:52 NOVST 2006 vadim@h ostel.avtf.net:/usr/obj/usr/src/sys/HOSTEL i386 rlimit: STACK 8192k, CORE 102400k, NOFILE 256 CPU:total 2 family 15, cmov, cx8, fxsr, mmx, ht Memory: 4k page, physical 171860k vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00) for freebsd-x86, built on Feb 16 2006 13 :17:48 by truk with gcc 3.4.2 [FreeBSD] 20040728 > gdb java.core /usr/local/diablo-jdk1.5.0/bin/java 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"..."/home/krot/ServSender/java.core": not in executable format: File format not recognized "/usr/local/diablo-jdk1.5.0/bin/java" is not a core dump: File format not recognized (gdb) Quit hostel:~# gdb /usr/local/diablo-jdk1.5.0/bin/java ~krot/ServSender/java.core 0/p0 [21:01:12] 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"...(no debugging symbols found)... Core was generated by `java'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libz.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.2 Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpthread.so.1 Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so Reading symbols from /lib/libm.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.3 Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0a0ab373 in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb) bt #0 0x0a0ab373 in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x0a09c171 in sigaction () from /usr/lib/libpthread.so.1 #2 0x0a0961f5 in pthread_kill () from /usr/lib/libpthread.so.1 #3 0x0a095bc4 in raise () from /usr/lib/libpthread.so.1 #4 0x0a168cef in abort () from /lib/libc.so.5 #5 0x0a513512 in os::abort () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #6 0x0a5b4b00 in VMError::report_and_die () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #7 0x0a5174ad in JVM_handle_bsd_signal () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #8 0x0a515f24 in signalHandler () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #9 0x0a09ae37 in sigaction () from /usr/lib/libpthread.so.1 #10 0x0a09acd7 in sigaction () from /usr/lib/libpthread.so.1 #11 0x0a09b898 in sigaction () from /usr/lib/libpthread.so.1 #12 0x0a0a40c0 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #13 0x0a0a3fb4 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #14 0x0a154327 in _ctx_start () from /lib/libc.so.5 #15 0x00000000 in ?? () #16 0xbf42ac10 in ?? () #17 0xbf42a950 in ?? () #18 0x00000000 in ?? () #19 0x0a0a3f50 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #20 0x0a3fcb36 in vm_abort () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #21 0x0a3fceda in vm_exit_out_of_memory () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #22 0x080600c0 in ?? () #23 0x080600c0 in ?? () #24 0x080600c0 in ?? () #25 0x080600c0 in ?? () #26 0x080600c0 in ?? () #27 0x080600c0 in ?? () #28 0x0a179bac in ?? () from /lib/libc.so.5 #29 0x0a608a78 in vtable for defaultStream () ---Type to continue, or q to quit--- from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #30 0x0a5e26d7 in GenCollectedHeap::preload_and_dump(Thread*)::map_entry_array_sig () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #31 0x0a608a78 in vtable for defaultStream () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #32 0x0a608a78 in vtable for defaultStream () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #33 0x0a5f7ce9 in standard_subs () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #34 0x0a608a78 in vtable for defaultStream () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #35 0x0a5d8c08 in pi_4 () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #36 0x0a608a78 in vtable for defaultStream () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #37 0xbf42ad20 in ?? () #38 0x0a5e266c in GenCollectedHeap::preload_and_dump(Thread*)::map_entry_array_sig () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #39 0x0a627390 in gclog_or_tty () from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so #40 0x00000001 in ?? () #41 0x0a0ae7a4 in _thread_state_running () from /usr/lib/libpthread.so.1 #42 0x00000000 in ?? () #43 0x0a0a74b1 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 Previous frame inner to this frame (corrupt stack?) (gdb) -- WBR, Vadim Goncharov From owner-freebsd-java@FreeBSD.ORG Thu May 25 18:18:26 2006 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 2A84A16B3FF for ; Thu, 25 May 2006 18:18:26 +0000 (UTC) (envelope-from vadimnuclight@tpu.ru) Received: from relay1.tpu.ru (relay1.tpu.ru [213.183.112.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8BA943D70 for ; Thu, 25 May 2006 18:18:23 +0000 (GMT) (envelope-from vadimnuclight@tpu.ru) Received: by relay1.tpu.ru (Postfix, from userid 501) id 0500610C8D8; Fri, 26 May 2006 01:18:22 +0700 (NOVST) Received: from mail.main.tpu.ru (mail.main.tpu.ru [10.0.0.3]) by relay1.tpu.ru (Postfix) with ESMTP id DFB4A10C8D2; Fri, 26 May 2006 01:18:21 +0700 (NOVST) Received: from mail.tpu.ru ([213.183.112.105]) by mail.main.tpu.ru with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 01:18:21 +0700 Received: from nuclight.avtf.net ([82.117.64.107]) by mail.tpu.ru over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 01:18:21 +0700 To: kurt@intricatesoftware.com References: <200605251409.13312.lists@intricatesoftware.com> Message-ID: Date: Fri, 26 May 2006 01:16:45 +0700 From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200605251409.13312.lists@intricatesoftware.com> User-Agent: Opera M2/7.54 (Win32, build 3865) X-OriginalArrivalTime: 25 May 2006 18:18:21.0379 (UTC) FILETIME=[9AADA930:01C68027] Cc: "freebsd-java@freebsd.org" Subject: Re: diablo 1.5 died after 5 day uptime 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, 25 May 2006 18:18:46 -0000 26.05.06 @ 01:09 Kurt Miller wrote: >> I have an SMP (HTT) machine with 5.5-PRERELEASE, using official diablo >> 1.5 jdk >> binaries from beginning of April. As suggested, I now run java with >> -XX:+UseMembar cmdline switch, that resolved problem with crashing >> application after startup. >> But today after 5 days uptime now-debugged-and-set-to-long-run server >> process >> have crashed, with 100M coredump file. What happened? Below are log and >> gdb backtrace. >> As some additional info: I have limits in login.conf, 32M for resident >> size >> and 256M for virtual mem size; yesterday when I looked at process stats >> it was about 10M resident and 250M virtual - could be a reason?.. > > Hi, > > It does appear that you've run out of vm. > > >> #21 0x0a3fceda in vm_exit_out_of_memory () >> from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so But so why it dies on signal 11 with scary logs and coredump, instead of descriptive out-of-memory diagnostics and graceful shutdown? Isn't that a bug ? -- WBR, Vadim Goncharov From owner-freebsd-java@FreeBSD.ORG Fri May 26 13:32:21 2006 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 B34C816A421 for ; Fri, 26 May 2006 13:32:21 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mta7.srv.hcvlny.cv.net (mta7.srv.hcvlny.cv.net [167.206.4.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6559743D46 for ; Fri, 26 May 2006 13:32:21 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0IZV0066YK9V5KC0@mta7.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 26 May 2006 09:32:20 -0400 (EDT) Date: Fri, 26 May 2006 09:32:19 -0400 From: Kurt Miller In-reply-to: To: freebsd-java@freebsd.org Message-id: <200605260932.19449.kurt@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Content-transfer-encoding: 7BIT Content-disposition: inline References: <200605251409.13312.lists@intricatesoftware.com> User-Agent: KMail/1.9.1 Subject: Re: diablo 1.5 died after 5 day uptime 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, 26 May 2006 13:32:21 -0000 On Thursday 25 May 2006 2:16 pm, Vadim Goncharov wrote: > 26.05.06 @ 01:09 Kurt Miller wrote: > > >> I have an SMP (HTT) machine with 5.5-PRERELEASE, using official diablo > >> 1.5 jdk > >> binaries from beginning of April. As suggested, I now run java with > >> -XX:+UseMembar cmdline switch, that resolved problem with crashing > >> application after startup. > >> But today after 5 days uptime now-debugged-and-set-to-long-run server > >> process > >> have crashed, with 100M coredump file. What happened? Below are log and > >> gdb backtrace. > >> As some additional info: I have limits in login.conf, 32M for resident > >> size > >> and 256M for virtual mem size; yesterday when I looked at process stats > >> it was about 10M resident and 250M virtual - could be a reason?.. > > > > Hi, > > > > It does appear that you've run out of vm. > > > > > >> #21 0x0a3fceda in vm_exit_out_of_memory () > >> from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so > > But so why it dies on signal 11 with scary logs and coredump, instead of > descriptive out-of-memory diagnostics and graceful shutdown? Isn't that > a bug ? >From what I can gather from the stack trace, the jvm was in the process of a graceful shutdown but there wasn't enough memory for it to pull it off. There is only so much you can do to protect against out-of-memory errors when you need more to report it nicely to the user. -Kurt From owner-freebsd-java@FreeBSD.ORG Fri May 26 15:41:51 2006 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 CAC8C16A531 for ; Fri, 26 May 2006 15:41:51 +0000 (UTC) (envelope-from vadimnuclight@tpu.ru) Received: from relay1.tpu.ru (relay1.tpu.ru [213.183.112.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC4343D53 for ; Fri, 26 May 2006 15:41:06 +0000 (GMT) (envelope-from vadimnuclight@tpu.ru) Received: by relay1.tpu.ru (Postfix, from userid 501) id 760C010C91B; Fri, 26 May 2006 22:41:03 +0700 (NOVST) Received: from mail.main.tpu.ru (mail.main.tpu.ru [10.0.0.3]) by relay1.tpu.ru (Postfix) with ESMTP id 5CEA810C903; Fri, 26 May 2006 22:41:03 +0700 (NOVST) Received: from mail.tpu.ru ([213.183.112.105]) by mail.main.tpu.ru with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 22:41:03 +0700 Received: from nuclight.avtf.net ([82.117.64.107]) by mail.tpu.ru over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 22:41:02 +0700 To: "Kurt Miller" References: <200605251409.13312.lists@intricatesoftware.com> <200605260932.19449.kurt@intricatesoftware.com> Message-ID: Date: Fri, 26 May 2006 22:39:57 +0700 From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200605260932.19449.kurt@intricatesoftware.com> User-Agent: Opera M2/7.54 (Win32, build 3865) X-OriginalArrivalTime: 26 May 2006 15:41:02.0780 (UTC) FILETIME=[CB3F7FC0:01C680DA] Cc: freebsd-java@freebsd.org Subject: Re: diablo 1.5 died after 5 day uptime 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, 26 May 2006 15:41:55 -0000 26.05.06 @ 20:32 Kurt Miller wrote: >> >> I have an SMP (HTT) machine with 5.5-PRERELEASE, using official >> >> diablo 1.5 jdk >> >> binaries from beginning of April. As suggested, I now run java with >> >> -XX:+UseMembar cmdline switch, that resolved problem with crashing >> >> application after startup. >> >> But today after 5 days uptime now-debugged-and-set-to-long-run server >> >> process >> >> have crashed, with 100M coredump file. What happened? Below are log >> and >> >> gdb backtrace. >> >> As some additional info: I have limits in login.conf, 32M for >> resident >> >> size >> >> and 256M for virtual mem size; yesterday when I looked at process >> stats >> >> it was about 10M resident and 250M virtual - could be a reason?.. >> > >> > Hi, >> > >> > It does appear that you've run out of vm. >> > >> > >> >> #21 0x0a3fceda in vm_exit_out_of_memory () >> >> from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so >> >> But so why it dies on signal 11 with scary logs and coredump, instead of >> descriptive out-of-memory diagnostics and graceful shutdown? Isn't that >> a bug ? > >> From what I can gather from the stack trace, the jvm was > in the process of a graceful shutdown but there wasn't enough > memory for it to pull it off. There is only so much you can > do to protect against out-of-memory errors when you need more > to report it nicely to the user. Hmm, OK. Is there any way to tell Java that memory is about to end before killing ? Or may be a way to make GC to free some memory periodically? May be outside from java, undocumeted external signaling to diablo-jdk ? At last, does it respect login.conf limits at all, doing graceful shutdown before / trying to raise to hard limit ? -- WBR, Vadim Goncharov From owner-freebsd-java@FreeBSD.ORG Fri May 26 17:07:33 2006 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 9B76716A82D for ; Fri, 26 May 2006 17:07:33 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15B8D43D66 for ; Fri, 26 May 2006 17:07:30 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0IZV0078WU7VMN10@mta2.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 26 May 2006 13:07:12 -0400 (EDT) Date: Fri, 26 May 2006 13:07:06 -0400 From: Kurt Miller In-reply-to: To: freebsd-java@freebsd.org Message-id: <200605261307.06671.kurt@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Content-transfer-encoding: 7BIT Content-disposition: inline References: <200605260932.19449.kurt@intricatesoftware.com> User-Agent: KMail/1.9.1 Cc: Vadim Goncharov Subject: Re: diablo 1.5 died after 5 day uptime 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, 26 May 2006 17:07:34 -0000 On Friday 26 May 2006 11:39 am, Vadim Goncharov wrote: > 26.05.06 @ 20:32 Kurt Miller wrote: > > >> >> I have an SMP (HTT) machine with 5.5-PRERELEASE, using official >> > >> diablo 1.5 jdk > >> >> binaries from beginning of April. As suggested, I now run java with > >> >> -XX:+UseMembar cmdline switch, that resolved problem with crashing > >> >> application after startup. > >> >> But today after 5 days uptime now-debugged-and-set-to-long-run server > >> >> process > >> >> have crashed, with 100M coredump file. What happened? Below are log > >> and > >> >> gdb backtrace. > >> >> As some additional info: I have limits in login.conf, 32M for > >> resident > >> >> size > >> >> and 256M for virtual mem size; yesterday when I looked at process > >> stats > >> >> it was about 10M resident and 250M virtual - could be a reason?.. > >> > > >> > Hi, > >> > > >> > It does appear that you've run out of vm. > >> > > >> > > >> >> #21 0x0a3fceda in vm_exit_out_of_memory () > >> >> from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so > >> > >> But so why it dies on signal 11 with scary logs and coredump, instead of > >> descriptive out-of-memory diagnostics and graceful shutdown? Isn't that > >> a bug ? > > > >> From what I can gather from the stack trace, the jvm was > > in the process of a graceful shutdown but there wasn't enough > > memory for it to pull it off. There is only so much you can > > do to protect against out-of-memory errors when you need more > > to report it nicely to the user. > > Hmm, OK. Is there any way to tell Java that memory is about to end > before killing ? Or may be a way to make GC to free some memory > periodically? May be outside from java, undocumeted external > signaling to diablo-jdk ? At last, does it respect login.conf limits > at all, doing graceful shutdown before / trying to raise to hard limit ? > If your goal is to limit the amount of memory the jvm uses, I would recommend using the standard command line arguments that control the heap size (-Xmx & -Xms) and leave your limits high. Note that the jvm uses more memory then is controlled by the -Xmx arg. You need to leave some head room for that if your going to be setting your limits lower. -Kurt From owner-freebsd-java@FreeBSD.ORG Fri May 26 17:30:10 2006 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 8487216A47F for ; Fri, 26 May 2006 17:30:10 +0000 (UTC) (envelope-from vadimnuclight@tpu.ru) Received: from relay1.tpu.ru (relay1.tpu.ru [213.183.112.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DD343D5E for ; Fri, 26 May 2006 17:30:08 +0000 (GMT) (envelope-from vadimnuclight@tpu.ru) Received: by relay1.tpu.ru (Postfix, from userid 501) id 549BB10C96E; Sat, 27 May 2006 00:30:07 +0700 (NOVST) Received: from mail.main.tpu.ru (mail.main.tpu.ru [10.0.0.3]) by relay1.tpu.ru (Postfix) with ESMTP id 3B7FA10C96D; Sat, 27 May 2006 00:30:07 +0700 (NOVST) Received: from mail.tpu.ru ([213.183.112.105]) by mail.main.tpu.ru with Microsoft SMTPSVC(6.0.3790.1830); Sat, 27 May 2006 00:30:06 +0700 Received: from nuclight.avtf.net ([82.117.64.107]) by mail.tpu.ru over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Sat, 27 May 2006 00:30:06 +0700 To: "Kurt Miller" , freebsd-java@freebsd.org References: <200605260932.19449.kurt@intricatesoftware.com> <200605261307.06671.kurt@intricatesoftware.com> Message-ID: Date: Sat, 27 May 2006 00:29:01 +0700 From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200605261307.06671.kurt@intricatesoftware.com> User-Agent: Opera M2/7.54 (Win32, build 3865) X-OriginalArrivalTime: 26 May 2006 17:30:06.0498 (UTC) FILETIME=[079BA020:01C680EA] Cc: Subject: Re: diablo 1.5 died after 5 day uptime 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, 26 May 2006 17:30:11 -0000 27.05.06 @ 00:07 Kurt Miller wrote: >> >> From what I can gather from the stack trace, the jvm was >> > in the process of a graceful shutdown but there wasn't enough >> > memory for it to pull it off. There is only so much you can >> > do to protect against out-of-memory errors when you need more >> > to report it nicely to the user. >> >> Hmm, OK. Is there any way to tell Java that memory is about to end >> before killing ? Or may be a way to make GC to free some memory >> periodically? May be outside from java, undocumeted external >> signaling to diablo-jdk ? At last, does it respect login.conf limits >> at all, doing graceful shutdown before / trying to raise to hard limit ? >> > > If your goal is to limit the amount of memory the jvm uses, > I would recommend using the standard command line arguments > that control the heap size (-Xmx & -Xms) and leave your limits How can I check default values of these on my system ? > high. Note that the jvm uses more memory then is controlled > by the -Xmx arg. You need to leave some head room for that if > your going to be setting your limits lower. OK, thanx. Is that overhead big? -- WBR, Vadim Goncharov From owner-freebsd-java@FreeBSD.ORG Sat May 27 23:02:18 2006 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 56C6A16C528 for ; Sat, 27 May 2006 22:38:23 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D58743D46 for ; Sat, 27 May 2006 22:38: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 k4RMcHGP030381 for ; Sun, 28 May 2006 01:38: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.13.3) with ESMTP id k4RMcGKW009137 for ; Sun, 28 May 2006 01:38:17 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <4478D4D8.10402@ebs.gr> Date: Sun, 28 May 2006 01:38:16 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: java Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: diablo update? 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, 27 May 2006 23:02:43 -0000 Is an updated diablo binary in the works (to match the recently released update 7) or has the Foundation's funding run out? Thanks, Panagiotis