From owner-freebsd-java@FreeBSD.ORG Sun Jan 29 21:25:17 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 2835416A420; Sun, 29 Jan 2006 21:25:17 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF4C43D45; Sun, 29 Jan 2006 21:25:16 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0TLPGm3040534; Sun, 29 Jan 2006 21:25:16 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0TLPFmM040530; Sun, 29 Jan 2006 21:25:15 GMT (envelope-from glewis) Date: Sun, 29 Jan 2006 21:25:15 GMT From: Greg Lewis Message-Id: <200601292125.k0TLPFmM040530@freefall.freebsd.org> To: past@ebs.gr, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/86804: [PATCH] Install a desktop icon for the java/jdk15 Control Panel 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, 29 Jan 2006 21:25:17 -0000 Synopsis: [PATCH] Install a desktop icon for the java/jdk15 Control Panel State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Sun Jan 29 21:25:15 UTC 2006 State-Changed-Why: Committed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=86804 From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 02:13:46 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 1ABEB16A420; Mon, 30 Jan 2006 02:13:46 +0000 (GMT) (envelope-from hashiz@tomba.cskk-sv.co.jp) Received: from tomba.cskk-sv.co.jp (221x245x15x82.ap221.ftth.ucom.ne.jp [221.245.15.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CBB243D46; Mon, 30 Jan 2006 02:13:45 +0000 (GMT) (envelope-from hashiz@tomba.cskk-sv.co.jp) Received: from localhost (localhost.cskk-sv.co.jp [IPv6:::1]) by tomba.cskk-sv.co.jp (8.13.4/8.13.4) with ESMTP id k0U2DZcL063855; Mon, 30 Jan 2006 11:13:35 +0900 (JST) (envelope-from hashiz@tomba.cskk-sv.co.jp) Date: Mon, 30 Jan 2006 11:13:34 +0900 (JST) Message-Id: <20060130.111334.104039562.hashiz@tomba.cskk-sv.co.jp> To: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org, vaclav.kadlcik@i.cz From: HASHI Hiroaki X-Mailer: Mew version 4.2.54 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Jan_30_11_13_34_2006_247)--" Content-Transfer-Encoding: 7bit Cc: Subject: Re: java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse 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, 30 Jan 2006 02:13:46 -0000 ----Next_Part(Mon_Jan_30_11_13_34_2006_247)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello. I made a patch for jdk14. That using system's zlib instead of jdk's zlib-1.1.3 . ----Next_Part(Mon_Jan_30_11_13_34_2006_247)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk14.patch" diff -ruN jdk14.orig/Makefile jdk14/Makefile --- jdk14.orig/Makefile Sat Jan 21 15:06:09 2006 +++ jdk14/Makefile Mon Jan 30 11:03:51 2006 @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel MASTER_SITES= # http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk14.html @@ -241,6 +241,8 @@ ${REINPLACE_CMD} -e "s:-lkse:${PTHREAD_LIBS}:g" \ ${WRKSRC}/$${file}; \ done + @cd ${WRKDIR}/j2se/src/share/native/java/util/zip && \ + ${RM} -rf zlib-1.1.3 pre-build-linuxcheck: .if defined(WITH_LINUX_BOOTSTRAP) diff -ruN jdk14.orig/files/patch-java::zip::FILES_c.gmk jdk14/files/patch-java::zip::FILES_c.gmk --- jdk14.orig/files/patch-java::zip::FILES_c.gmk Thu Jan 1 09:00:00 1970 +++ jdk14/files/patch-java::zip::FILES_c.gmk Mon Jan 30 10:26:37 2006 @@ -0,0 +1,18 @@ +--- ../../../../jdk14.orig/work/j2se/make/java/zip/FILES_c.gmk Thu Sep 11 10:43:01 2003 ++++ ../../j2se/make/java/zip/FILES_c.gmk Mon Jan 30 02:22:58 2006 +@@ -8,15 +8,4 @@ + $(CTARGDIR)Inflater.c \ + $(CTARGDIR)ZipFile.c \ + $(CTARGDIR)ZipEntry.c \ +- $(CTARGDIR)zadler32.c \ +- $(CTARGDIR)zcrc32.c \ +- $(CTARGDIR)deflate.c \ +- $(CTARGDIR)trees.c \ +- $(CTARGDIR)zutil.c \ +- $(CTARGDIR)inflate.c \ +- $(CTARGDIR)infblock.c \ +- $(CTARGDIR)inftrees.c \ +- $(CTARGDIR)infcodes.c \ +- $(CTARGDIR)infutil.c \ +- $(CTARGDIR)inffast.c \ + $(CTARGDIR)zip_util.c diff -ruN jdk14.orig/files/patch-java::zip::Makefile jdk14/files/patch-java::zip::Makefile --- jdk14.orig/files/patch-java::zip::Makefile Thu Jan 1 09:00:00 1970 +++ jdk14/files/patch-java::zip::Makefile Mon Jan 30 10:27:34 2006 @@ -0,0 +1,30 @@ +--- ../../../../jdk14.orig/work/j2se/make/java/zip/Makefile Thu Sep 11 10:43:01 2003 ++++ ../../j2se/make/java/zip/Makefile Mon Jan 30 02:04:45 2006 +@@ -12,8 +12,6 @@ + PRODUCT = sun + include $(BUILDDIR)/common/Defs.gmk + +-ZLIB_VERSION = 1.1.3 +- + # + # Files to compile. + # +@@ -58,12 +56,9 @@ + CPPFLAGS += -UDEBUG + endif + +-CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) +- + # + # Add to ambient vpath so we pick up the library files + # +-vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/zlib-$(ZLIB_VERSION) + + # + # Has been converted to the JNI: generate JNI-style header files +@@ -73,4 +68,4 @@ + # + # Link to JVM library for JVM_Zip* functions + # +-OTHER_LDLIBS = $(JVMLIB) ++OTHER_LDLIBS = $(JVMLIB) -lz ----Next_Part(Mon_Jan_30_11_13_34_2006_247)---- From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 02:20:08 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 7C5B816A420 for ; Mon, 30 Jan 2006 02:20:08 +0000 (GMT) (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 3E7F043D46 for ; Mon, 30 Jan 2006 02:20:08 +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 k0U2K7Qp061359 for ; Mon, 30 Jan 2006 02:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0U2K71t061358; Mon, 30 Jan 2006 02:20:07 GMT (envelope-from gnats) Date: Mon, 30 Jan 2006 02:20:07 GMT Message-Id: <200601300220.k0U2K71t061358@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: HASHI Hiroaki Cc: Subject: Re: java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: HASHI Hiroaki List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 02:20:08 -0000 The following reply was made to PR java/92459; it has been noted by GNATS. From: HASHI Hiroaki To: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org, vaclav.kadlcik@i.cz Cc: Subject: Re: java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse Date: Mon, 30 Jan 2006 11:13:34 +0900 (JST) ----Next_Part(Mon_Jan_30_11_13_34_2006_247)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello. I made a patch for jdk14. That using system's zlib instead of jdk's zlib-1.1.3 . ----Next_Part(Mon_Jan_30_11_13_34_2006_247)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk14.patch" diff -ruN jdk14.orig/Makefile jdk14/Makefile --- jdk14.orig/Makefile Sat Jan 21 15:06:09 2006 +++ jdk14/Makefile Mon Jan 30 11:03:51 2006 @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel MASTER_SITES= # http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk14.html @@ -241,6 +241,8 @@ ${REINPLACE_CMD} -e "s:-lkse:${PTHREAD_LIBS}:g" \ ${WRKSRC}/$${file}; \ done + @cd ${WRKDIR}/j2se/src/share/native/java/util/zip && \ + ${RM} -rf zlib-1.1.3 pre-build-linuxcheck: .if defined(WITH_LINUX_BOOTSTRAP) diff -ruN jdk14.orig/files/patch-java::zip::FILES_c.gmk jdk14/files/patch-java::zip::FILES_c.gmk --- jdk14.orig/files/patch-java::zip::FILES_c.gmk Thu Jan 1 09:00:00 1970 +++ jdk14/files/patch-java::zip::FILES_c.gmk Mon Jan 30 10:26:37 2006 @@ -0,0 +1,18 @@ +--- ../../../../jdk14.orig/work/j2se/make/java/zip/FILES_c.gmk Thu Sep 11 10:43:01 2003 ++++ ../../j2se/make/java/zip/FILES_c.gmk Mon Jan 30 02:22:58 2006 +@@ -8,15 +8,4 @@ + $(CTARGDIR)Inflater.c \ + $(CTARGDIR)ZipFile.c \ + $(CTARGDIR)ZipEntry.c \ +- $(CTARGDIR)zadler32.c \ +- $(CTARGDIR)zcrc32.c \ +- $(CTARGDIR)deflate.c \ +- $(CTARGDIR)trees.c \ +- $(CTARGDIR)zutil.c \ +- $(CTARGDIR)inflate.c \ +- $(CTARGDIR)infblock.c \ +- $(CTARGDIR)inftrees.c \ +- $(CTARGDIR)infcodes.c \ +- $(CTARGDIR)infutil.c \ +- $(CTARGDIR)inffast.c \ + $(CTARGDIR)zip_util.c diff -ruN jdk14.orig/files/patch-java::zip::Makefile jdk14/files/patch-java::zip::Makefile --- jdk14.orig/files/patch-java::zip::Makefile Thu Jan 1 09:00:00 1970 +++ jdk14/files/patch-java::zip::Makefile Mon Jan 30 10:27:34 2006 @@ -0,0 +1,30 @@ +--- ../../../../jdk14.orig/work/j2se/make/java/zip/Makefile Thu Sep 11 10:43:01 2003 ++++ ../../j2se/make/java/zip/Makefile Mon Jan 30 02:04:45 2006 +@@ -12,8 +12,6 @@ + PRODUCT = sun + include $(BUILDDIR)/common/Defs.gmk + +-ZLIB_VERSION = 1.1.3 +- + # + # Files to compile. + # +@@ -58,12 +56,9 @@ + CPPFLAGS += -UDEBUG + endif + +-CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) +- + # + # Add to ambient vpath so we pick up the library files + # +-vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/zlib-$(ZLIB_VERSION) + + # + # Has been converted to the JNI: generate JNI-style header files +@@ -73,4 +68,4 @@ + # + # Link to JVM library for JVM_Zip* functions + # +-OTHER_LDLIBS = $(JVMLIB) ++OTHER_LDLIBS = $(JVMLIB) -lz ----Next_Part(Mon_Jan_30_11_13_34_2006_247)---- From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 09:53:09 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 0229916A420 for ; Mon, 30 Jan 2006 09:53:09 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id C248643D49 for ; Mon, 30 Jan 2006 09:53:06 +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 k0U9r4Sg011909; Mon, 30 Jan 2006 11:53:04 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0U9rvdF022596; Mon, 30 Jan 2006 11:53:58 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43DDE1FF.1030900@ebs.gr> Date: Mon, 30 Jan 2006 11:53:03 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Alex Kiesel References: <1137336063.713.4.camel@boost.home.ahk> <1137338926.713.8.camel@boost.home.ahk> <43D0C183.5050900@ebs.gr> <1138463658.689.3.camel@boost.home.ahk> In-Reply-To: <1138463658.689.3.camel@boost.home.ahk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JBoss 4.0.* does not build (sometimes?) 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, 30 Jan 2006 09:53:09 -0000 Alex Kiesel wrote: > On Fri, 2006-01-20 at 12:54 +0200, Panagiotis Astithas wrote: >> Alex Kiesel wrote: >>> On Sun, 2006-01-15 at 15:41 +0100, Alex Kiesel wrote: >>>> I do suspect, it's got nothing todo with the FreeBSD versions, but more >>>> with something else, I do not see. Both machines only have this single >>>> jdk installed - nothing else. >>> It seems that suspiction was correct. I noticed that one the failing >>> machine, the port axis-1.2.2 was installed while on the other it wasn't. >>> >>> After removal of the port, the compile went through. JBoss seems to ship >>> an own version of Axis which was behind the port's version in the >>> classpath probably. >>> >>> So, I wonder if java/jboss4 should list axis-* as CONFLICTS? >> A better solution would be to patch the build process to not reference >> outside jars. > > I agree. I have tried to develop a patch for this, but yet have not come > to a solution. The source of the problem is that Axis installs its jars > in $JAVA_HOME/jre/lib/ext - thus they're in the default class path, if I > get this right. How can I remove classes from that path? > > Should I file a pr for this, so that at least people hitting the same > issue are able to find a reference about this? This behavior is unusual in the ports tree, AFAIK. Libraries should be installed in $JAVAJARDIR (see bsd.java.mk). I think you should file a PR about this behavior of the axis port. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 10:19: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 8CA2B16A422 for ; Mon, 30 Jan 2006 10:19:45 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6FE343D45 for ; Mon, 30 Jan 2006 10:19:44 +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 k0UAJhSg012004; Mon, 30 Jan 2006 12:19:43 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0UAKan4022958; Mon, 30 Jan 2006 12:20:37 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43DDE83E.4020201@ebs.gr> Date: Mon, 30 Jan 2006 12:19:42 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Jason Harmening References: <200601281456.08794.jason.harmening@gmail.com> In-Reply-To: <200601281456.08794.jason.harmening@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JVM segfault during limewire startup 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, 30 Jan 2006 10:19:45 -0000 Jason Harmening wrote: > Hi, > > I'm seeing an occasional JVM segfault when I try start limewire: > > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0x00000008019fd827, pid=98083, tid=0x51a000 > # > # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-jason_10_dec_2005_18_14 > mixed mode) > # Problematic frame: > # C [libzip.so+0x12827] inflate_fast+0x37 > # > # An error report file with more information is saved > as /tmp/hs_err_pid98083.log > # > # If you would like to submit a bug report, please write > # a letter to freebsd-java@FreeBSD.org mailing list > # > Abort trap > > I don't know if this is relevant, but I only started seeing this after > upgrading to a dual-core Athlon 64 and switching to an SMP kernel--previously > with a single Athlon 64 everything was fine. System is FreeBSD > 6.0-STABLE/amd64. The logfile is attached. Could you try with the latest jdk15 port revision? Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 11:02:36 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 4FB1916A420 for ; Mon, 30 Jan 2006 11:02:36 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1713A43D45 for ; Mon, 30 Jan 2006 11:02:36 +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 k0UB2ZP8019871 for ; Mon, 30 Jan 2006 11:02:35 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0UB2WGk019644 for freebsd-java@freebsd.org; Mon, 30 Jan 2006 11:02:32 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 30 Jan 2006 11:02:32 GMT Message-Id: <200601301102.k0UB2WGk019644@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, 30 Jan 2006 11:02:36 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/05/19] ports/81272 java JDK 1.5 port doesn't build. f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing o [2005/09/29] java/86700 java SIGSEGV in native jdk15 o [2005/12/21] java/90743 java jdk-1.5.0p2_3 compilation failure 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem o [2005/09/02] ports/85626 java java/jdk15 compile error o [2005/10/17] java/87552 java Enable multi-job builds for CPP files in o [2006/01/28] java/92459 java jdk-1.4.2p8_2 crashes in libzip.so when s 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 11:27:04 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 7423416A422 for ; Mon, 30 Jan 2006 11:27:04 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C81943D64 for ; Mon, 30 Jan 2006 11:27:03 +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 k0UBQkSg012248; Mon, 30 Jan 2006 13:26:46 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0UBRZa4023846; Mon, 30 Jan 2006 13:27:40 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43DDF7F1.7080301@ebs.gr> Date: Mon, 30 Jan 2006 13:26:41 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Greg Lewis Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Java Subject: cacerts for jdk15 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, 30 Jan 2006 11:27:04 -0000 After the recent updates to jdk15 I don't have to keep my local patches any more, except for one last thing: we still don't install a cacerts file as we do for jdk14. Would it be possible to take care of it as well? Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 12:05: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 687D716A420 for ; Tue, 31 Jan 2006 12:05:21 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from wumpus.mythic-beasts.com (wumpus.mythic-beasts.com [212.69.37.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0046B43D46 for ; Tue, 31 Jan 2006 12:05:20 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from sphinx.mythic-beasts.com ([212.69.37.6]) by wumpus.mythic-beasts.com with esmtp (Exim 4.44) id 1F3uG7-0008QG-NI for freebsd-java@freebsd.org; Tue, 31 Jan 2006 12:05:19 +0000 Received: from xelah (helo=localhost) by sphinx.mythic-beasts.com with local-esmtp (Exim 4.51) id 1F3uFX-0007go-Gg; Tue, 31 Jan 2006 12:04:43 +0000 Date: Tue, 31 Jan 2006 12:04:43 +0000 (GMT) From: Alex Hayward X-X-Sender: xelah@sphinx.mythic-beasts.com To: Andrew Reilly In-Reply-To: <20060131004141.GA24055@duncan.reilly.home> Message-ID: References: <20060120032857.GA37316@gurney.reilly.home> <20060131004141.GA24055@duncan.reilly.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Alex Hayward Cc: Alex Hayward , freebsd-java@freebsd.org Subject: Re: Compiling jdk15 on amd64: how long? 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, 31 Jan 2006 12:05:21 -0000 On Tue, 31 Jan 2006, Andrew Reilly wrote: > On Fri, Jan 20, 2006 at 07:48:34PM +0000, Alex Hayward wrote: > > On Fri, 20 Jan 2006, Andrew Reilly wrote: > > > > > Hi all, > > > > > > Any idea how long this is supposed to take? I'm patched and all, > > > and the linux javac seems to be working ok, but I have two javac > > > processes (one per core) at the top of my "top" list that have now > > > consumed about 170 minutes. > > > > > > cvsupped ports tree yesterday, fetched bsd patch 2 today. > > > > > > Uname -a: > > > FreeBSD new.reilly.home 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Jan 18 23:44:47 UTC 2006 root@new.reilly.home:/usr/obj/usr/src/sys/SMP amd64 > > > > > > Hmm. Maybe I should bring the base system forward to 6.0-STABLE > > > before trying this? > > > > > > Maybe I should start with jdk14? > > > > > > Any help or suggestions, or even confirmation that this has been > > > done before would be greatly appreciated. > > > > The last time I compiled it on amd64 I had to disable SMP to make it > > finish. > > I'm new to the SMP thing: what's the easiest way to do that? Do > I have to re-boot to a GENERIC kernel, or can I tweak a sysctl > knob to turn one CPU off at whim? > > Thanks for the advice. Put kern.smp.disabled=0 in /boot/loader.conf. sysctl -w kern.smp.active=0 also works but seems to make the machine crash after a while. From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 13:52:07 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 5975C16A420 for ; Tue, 31 Jan 2006 13:52:07 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F25F43D49 for ; Tue, 31 Jan 2006 13:52:06 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 31 Jan 2006 13:52:04 -0000 Received: from p54A7D22B.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.210.43] by mail.gmx.net (mp017) with SMTP; 31 Jan 2006 14:52:04 +0100 X-Authenticated: #5465401 Message-ID: <43DF6DF3.7000800@gmx.de> Date: Tue, 31 Jan 2006 15:02:27 +0100 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5 (X11/20060128) MIME-Version: 1.0 To: freebsd-java@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig58E0EF379BED5DA7C265A627" X-Y-GMX-Trusted: 0 Subject: java patch compilation fails 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, 31 Jan 2006 13:52:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig58E0EF379BED5DA7C265A627 Content-Type: multipart/mixed; boundary="------------020509070403000703090605" This is a multi-part message in MIME format. --------------020509070403000703090605 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I accidently sent this mail to the stable mailinglist before. I applied the first patch from the folder /usr/ports/java afterwards I ran "make patch" from /usr/ports/java/jdk14. Then I went back to /usr/ports/java and applied the other patches. Compilation fails with: -I../../../src/share/native/java/util/zip/zlib-1. 1.3 ../../../src/share/native/java/util/zip/ZipEntry.c 2> /dev/null | \ /usr/bin/sed -e 's!ZipEntry\.o!/mnt/vault/ports/java/jdk14/work/control/buil d/bsd-i586/tmp/sun/java.util.zip/zip/obj/&!g' > /mnt/vault/ports/java/jdk14/work /control/build/bsd-i586/tmp/sun/java.util.zip/zip/obj/ZipEntry.d gmake[4]: *** No rule to make target `zadler32.c', needed by `/mnt/vault/ports/j ava/jdk14/work/control/build/bsd-i586/tmp/sun/java.util.zip/zip/obj/zadle= r32.o'. Stop. gmake[4]: Leaving directory `/mnt/vault/ports/java/jdk14/work/j2se/make/java/zip ' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/mnt/vault/ports/java/jdk14/work/j2se/make/java/zip ' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/mnt/vault/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/mnt/vault/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /mnt/vault/ports/java/jdk14. --------------020509070403000703090605 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuNC4yIChG cmVlQlNEKQoKaUQ4REJRRkQzMm81Zk1ESWI0MS8rUzBSQXJvV0FKNCtCWU9jNnRFWVJVbnVQ SDFSd1ZFby83U0VhUUNmWHJaQwpMNVRnMENrejZLMWZKYm1QdERVdFhmYz0KPUFMa0cKLS0t LS1FTkQgUEdQIFNJR05BVFVSRS0tLS0tCgo= --------------020509070403000703090605-- --------------enig58E0EF379BED5DA7C265A627 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.2 (FreeBSD) iD8DBQFD323zfMDIb41/+S0RAletAJ4+Ak+d+R9nwsFaex1jx747EO81KwCghf7M EYUGk1zKM711zfatbkonsSA= =H5L/ -----END PGP SIGNATURE----- --------------enig58E0EF379BED5DA7C265A627-- From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 14:20:06 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 DD67916A422 for ; Tue, 31 Jan 2006 14:20:06 +0000 (GMT) (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 7758743D68 for ; Tue, 31 Jan 2006 14:20:03 +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 k0VEK3Wp057446 for ; Tue, 31 Jan 2006 14:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0VEK3Of057439; Tue, 31 Jan 2006 14:20:03 GMT (envelope-from gnats) Resent-Date: Tue, 31 Jan 2006 14:20:03 GMT Resent-Message-Id: <200601311420.k0VEK3Of057439@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, "Pawel Pekala" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3465B16A420; Tue, 31 Jan 2006 14:19:24 +0000 (GMT) (envelope-from c0rn@o2.pl) Received: from kogut.o2.pl (kogut.o2.pl [212.126.20.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D062D43D45; Tue, 31 Jan 2006 14:19:23 +0000 (GMT) (envelope-from c0rn@o2.pl) Received: from blaviken.slowicza.org (abnw31.neoplus.adsl.tpnet.pl [83.8.12.31]) by kogut.o2.pl (o2.pl Mailer 2.0.1) with ESMTP id 1CC82D0341; Tue, 31 Jan 2006 15:19:19 +0100 (CET) Message-Id: <1138717180.24619@blaviken.slowicza.org> Date: Tue, 31 Jan 2006 15:19:40 +0100 From: "Pawel Pekala" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.7 Cc: phantom@FreeBSD.org Subject: java/92618: java/jdk14 dumps core 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, 31 Jan 2006 14:20:07 -0000 >Number: 92618 >Category: java >Synopsis: java/jdk14 dumps core >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 31 14:20:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Pawel Pekala >Release: FreeBSD 5.4-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE-p10 #1: Wed Jan 25 18:36:04 CET 2006 root@blaviken.slowicza.org:/usr/src/sys/i386/compile/CORN >Description: [corn:~]> eclipse An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x286F4F6C Function=inflate_fast+0x28 Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so >How-To-Repeat: run java/azureus or java/eclipse, the same happends >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 16:30:50 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 DDDF716A420; Tue, 31 Jan 2006 16:30:50 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9949443D4C; Tue, 31 Jan 2006 16:30:50 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0VGUoNM068151; Tue, 31 Jan 2006 16:30:50 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0VGUomW068147; Tue, 31 Jan 2006 16:30:50 GMT (envelope-from glewis) Date: Tue, 31 Jan 2006 16:30:50 GMT From: Greg Lewis Message-Id: <200601311630.k0VGUomW068147@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Cc: Subject: Re: java/87552: Enable multi-job builds for CPP files in JDK15 build 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, 31 Jan 2006 16:30:51 -0000 Synopsis: Enable multi-job builds for CPP files in JDK15 build Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Tue Jan 31 16:30:50 UTC 2006 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=87552 From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 16:31:26 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 13A6516A424; Tue, 31 Jan 2006 16:31:26 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A8943D45; Tue, 31 Jan 2006 16:31:25 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0VGVP9A068308; Tue, 31 Jan 2006 16:31:25 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0VGVPov068304; Tue, 31 Jan 2006 16:31:25 GMT (envelope-from glewis) Date: Tue, 31 Jan 2006 16:31:25 GMT From: Greg Lewis Message-Id: <200601311631.k0VGVPov068304@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Cc: Subject: Re: java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse 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, 31 Jan 2006 16:31:26 -0000 Synopsis: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Tue Jan 31 16:31:25 UTC 2006 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=92459 From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 16:33:22 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 21FD416A432; Tue, 31 Jan 2006 16:33:22 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF4A843D46; Tue, 31 Jan 2006 16:33:21 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0VGXLoO068778; Tue, 31 Jan 2006 16:33:21 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0VGXLQx068774; Tue, 31 Jan 2006 16:33:21 GMT (envelope-from glewis) Date: Tue, 31 Jan 2006 16:33:21 GMT From: Greg Lewis Message-Id: <200601311633.k0VGXLQx068774@freefall.freebsd.org> To: c0rn@o2.pl, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/92618: java/jdk14 dumps core 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, 31 Jan 2006 16:33:22 -0000 Synopsis: java/jdk14 dumps core State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Tue Jan 31 16:32:35 UTC 2006 State-Changed-Why: This is a dupe of 92459. http://www.freebsd.org/cgi/query-pr.cgi?pr=92618 From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 09:21:50 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 022F416A420 for ; Wed, 1 Feb 2006 09:21:50 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B50643D55 for ; Wed, 1 Feb 2006 09:21:46 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: (qmail 91422 invoked by uid 0); 1 Feb 2006 09:21:45 -0000 Received: from r5k4.chello.upc.cz (HELO ?86.49.10.4?) (86.49.10.4) by smtp.dkm.cz with SMTP; 1 Feb 2006 09:21:45 -0000 Message-ID: <43E07DA9.2020006@pobox.sk> Date: Wed, 01 Feb 2006 10:21:45 +0100 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051205 X-Accept-Language: sk, cs, en-gb, en-us, en MIME-Version: 1.0 To: Micah References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> In-Reply-To: <43D3DD95.4040308@ywave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: Java Virtual Machine 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, 01 Feb 2006 09:21:50 -0000 Micah wrote: > martinko wrote: > >> Micah wrote: >> >>> Porpoise Power wrote: >>> >>>> Which Java VM is the best for freebsd 5.4, running gnome2, and >>>> firefox? >>>> >>>> James Best >>> >>> >>> >>> Both the native jdk14 and jdk15 provide good Java VMs. jdk15 is >>> newer and might be unstable (hasn't been for me). jdk14 is more >>> tested and is the "default" java for FreeBSD on i386. >>> >>> HTH, >>> Micah >> >> >> can you have both versions installed ? >> and how do you choose which one of them to use (for instance in >> mozilla) ? >> >> m. > > > Yes, you can have both installed at the same time. > /usr/ports/java/javavmwrapper makes switching JVMs easy using > environment variables, however it doesn't seem to support switching > browser plugins. For that you'd probably have to switch the symlink > in /usr/X11R6/lib/browser_plugins and restart the browser. > > HTH, > Micah > > > > > > hello, i've just tried it and realised it had already been installed as a jdk* dependency. :) however, according to the man page, running the following should select the most native and up-to-date version of java: $ java -version java version "1.4.2-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p8-root_21_jan_2006_21_32) Java HotSpot(TM) Client VM (build 1.4.2-p8-root_21_jan_2006_21_32, mixed mode) however, i've got newer version installed too: $ cat /usr/local/etc/javavms /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 /usr/local/linux-sun-jdk1.4.2/bin/java # Linux-Sun-JDK1.4.2.10 how come 1.5.0 wasn't selected in the example above please ?? cheers, martin From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 09:56:28 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 0DAA116A420; Wed, 1 Feb 2006 09:56:28 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD8A43D49; Wed, 1 Feb 2006 09:56:25 +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 k119uNSg020591; Wed, 1 Feb 2006 11:56:23 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k119vBWr061454; Wed, 1 Feb 2006 11:57:12 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43E085C1.70206@ebs.gr> Date: Wed, 01 Feb 2006 11:56:17 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: martinko References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> In-Reply-To: <43E07DA9.2020006@pobox.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Micah , freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: Java Virtual Machine 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, 01 Feb 2006 09:56:28 -0000 martinko wrote: > Micah wrote: > >> martinko wrote: >> >>> Micah wrote: >>> >>>> Porpoise Power wrote: >>>> >>>>> Which Java VM is the best for freebsd 5.4, running gnome2, and >>>>> firefox? >>>>> >>>>> James Best >>>> >>>> >>>> >>>> Both the native jdk14 and jdk15 provide good Java VMs. jdk15 is >>>> newer and might be unstable (hasn't been for me). jdk14 is more >>>> tested and is the "default" java for FreeBSD on i386. >>>> >>>> HTH, >>>> Micah >>> >>> >>> can you have both versions installed ? >>> and how do you choose which one of them to use (for instance in >>> mozilla) ? >>> >>> m. >> >> >> Yes, you can have both installed at the same time. >> /usr/ports/java/javavmwrapper makes switching JVMs easy using >> environment variables, however it doesn't seem to support switching >> browser plugins. For that you'd probably have to switch the symlink >> in /usr/X11R6/lib/browser_plugins and restart the browser. >> >> HTH, >> Micah >> >> >> >> >> >> > > hello, > > i've just tried it and realised it had already been installed as a jdk* > dependency. :) > > however, according to the man page, running the following should select > the most native and up-to-date version of java: > > $ java -version > java version "1.4.2-p8" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.2-p8-root_21_jan_2006_21_32) > Java HotSpot(TM) Client VM (build 1.4.2-p8-root_21_jan_2006_21_32, mixed > mode) > > however, i've got newer version installed too: > > $ cat /usr/local/etc/javavms > /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 > /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 > /usr/local/linux-sun-jdk1.4.2/bin/java # Linux-Sun-JDK1.4.2.10 > > how come 1.5.0 wasn't selected in the example above please ?? Because it is not supposed to be as well-tested as the 1.4 version. Of course as the man page says, you can set various combinations of environment variables to influence the choice, which is what most of us do. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 13:54:08 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 8D3BA16A423 for ; Wed, 1 Feb 2006 13:54:08 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: from omta01ps.mx.bigpond.com (omta01ps.mx.bigpond.com [144.140.82.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6002343D46 for ; Wed, 1 Feb 2006 13:54:06 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: from areilly.bpc-users.org ([141.168.4.160]) by omta01ps.mx.bigpond.com with ESMTP id <20060201135405.XNWD19070.omta01ps.mx.bigpond.com@areilly.bpc-users.org> for ; Wed, 1 Feb 2006 13:54:05 +0000 Received: (qmail 14317 invoked from network); 1 Feb 2006 13:53:59 -0000 Received: from duncan.reilly.home (10.0.0.6) by localhost with SMTP; 1 Feb 2006 13:53:59 -0000 Date: Thu, 2 Feb 2006 00:53:55 +1100 From: Andrew Reilly To: Alex Hayward Message-Id: <20060202005355.ce4c5d59.andrew@areilly.bpc-users.org> In-Reply-To: References: <20060120032857.GA37316@gurney.reilly.home> <20060131004141.GA24055@duncan.reilly.home> X-Mailer: Sylpheed version 2.2.0beta6 (GTK+ 2.8.11; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: andrew-freebsd@areilly.bpc-users.org, xelah-freebsd@xelah.com, freebsd-java@freebsd.org Subject: Re: Compiling jdk15 on amd64: how long? 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, 01 Feb 2006 13:54:08 -0000 On Tue, 31 Jan 2006 12:04:43 +0000 (GMT) Alex Hayward wrote: > Put kern.smp.disabled=0 in /boot/loader.conf. sysctl -w kern.smp.active=0 > also works but seems to make the machine crash after a while. Thanks for that. Single-processor was the charm: I now have jdk15 running happily. I guess that means that there are still some threading/locking issues to be sorted out? -- Andrew From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 16:55:49 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 4A6E916A420; Wed, 1 Feb 2006 16:55:49 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA5043D46; Wed, 1 Feb 2006 16:55:48 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-22-247.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.247]) by smtp02.mrf.mail.rcn.net with ESMTP; 01 Feb 2006 11:55:47 -0500 X-IronPort-AV: i="4.01,245,1136178000"; d="scan'208"; a="201405287:sNHT37474192" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17376.59189.67188.65770@jerusalem.litteratus.org> Date: Wed, 1 Feb 2006 11:52:05 -0500 To: freebsd-questions@freebsd.org, freebsd-java@freebsd.org In-Reply-To: <43E07DA9.2020006@pobox.sk> References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> X-Mailer: VM 7.17 under 21.5 (beta24) "dandelion" XEmacs Lucid Cc: Subject: Re: Java Virtual Machine 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, 01 Feb 2006 16:55:49 -0000 martinko writes: > $ cat /usr/local/etc/javavms Will someone please confirm that once these > /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 > /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 are installed one no longer needs this > /usr/local/linux-sun-jdk1.4.2/bin/java # Linux-Sun-JDK1.4.2.10 ? Robert Huff From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 17:01: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 1C49316A420; Wed, 1 Feb 2006 17:01:53 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE1143D49; Wed, 1 Feb 2006 17:01:51 +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 k11H1oSg021882; Wed, 1 Feb 2006 19:01:50 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k11H2iD0067155; Wed, 1 Feb 2006 19:02:44 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43E0E97D.8040409@ebs.gr> Date: Wed, 01 Feb 2006 19:01:49 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Robert Huff References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> <17376.59189.67188.65770@jerusalem.litteratus.org> In-Reply-To: <17376.59189.67188.65770@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: Java Virtual Machine 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, 01 Feb 2006 17:01:53 -0000 Robert Huff wrote: > martinko writes: > >> $ cat /usr/local/etc/javavms > > Will someone please confirm that once these > >> /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 >> /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 > > are installed one no longer needs this > >> /usr/local/linux-sun-jdk1.4.2/bin/java # Linux-Sun-JDK1.4.2.10 > > ? I don't have it any more. A pkg_delete of the linux jdk removed it. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 17:10:06 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 2406D16A420 for ; Wed, 1 Feb 2006 17:10:06 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8392A43D45 for ; Wed, 1 Feb 2006 17:10:05 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 2594 invoked from network); 1 Feb 2006 17:10:02 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Feb 2006 17:10:02 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 293B928421; Wed, 1 Feb 2006 12:10:01 -0500 (EST) Sender: lowell@be-well.ilk.org To: Robert Huff References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> <17376.59189.67188.65770@jerusalem.litteratus.org> From: Lowell Gilbert Date: 01 Feb 2006 12:10:01 -0500 In-Reply-To: <17376.59189.67188.65770@jerusalem.litteratus.org> Message-ID: <44y80vhuom.fsf@be-well.ilk.org> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: Java Virtual Machine 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, 01 Feb 2006 17:10:06 -0000 Robert Huff writes: > martinko writes: > > > $ cat /usr/local/etc/javavms > > Will someone please confirm that once these > > > /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 > > /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 > > are installed one no longer needs this > > > /usr/local/linux-sun-jdk1.4.2/bin/java # Linux-Sun-JDK1.4.2.10 > > ? Yes. In fact, it's no longer needed once they are built, not just installed. From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 20:20:55 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 F342516A420 for ; Wed, 1 Feb 2006 20:20:54 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E1643D5F for ; Wed, 1 Feb 2006 20:18:13 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so159571wxc for ; Wed, 01 Feb 2006 12:17:48 -0800 (PST) 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=T6nR3YqFrgOpBV98ajGpQUDX5SN/zaTj2vmy4Jx+LNNxeneFunnoH2JImyE30qNx5fs7iZA4Z37zuYq1P5LA+8lNLbIvK89bOKEuoCRiq5dNZDMjIBknxopnRlf65UjdbURV3rWZJUhrNBD+pHundO3eflAJnChp42fhq5YoE+s= Received: by 10.70.102.6 with SMTP id z6mr10565924wxb; Wed, 01 Feb 2006 12:17:48 -0800 (PST) Received: by 10.70.67.17 with HTTP; Wed, 1 Feb 2006 12:17:48 -0800 (PST) Message-ID: Date: Wed, 1 Feb 2006 14:17:48 -0600 From: Nikolas Britton To: Lowell Gilbert In-Reply-To: <44y80vhuom.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> <17376.59189.67188.65770@jerusalem.litteratus.org> <44y80vhuom.fsf@be-well.ilk.org> Cc: Robert Huff , freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: Java Virtual Machine 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, 01 Feb 2006 20:20:55 -0000 On 01 Feb 2006 12:10:01 -0500, Lowell Gilbert wrote: > Robert Huff writes: > > > martinko writes: > > > > > $ cat /usr/local/etc/javavms > > > > Will someone please confirm that once these > > > > > /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 > > > /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 > > > > are installed one no longer needs this > > > > > /usr/local/linux-sun-jdk1.4.2/bin/java # Linux-Sun-JDK1.4.2.10 > > > > ? > > Yes. > > In fact, it's no longer needed once they are built, not just > installed. So what your saying is that once you have a native jdk built and installed (say 1.4.2) you can compile the native jdk15 port with the native jdk14 port and not need the linux jdk14 port? From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 20:23: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 EF71D16A420; Wed, 1 Feb 2006 20:23:57 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 737E643D68; Wed, 1 Feb 2006 20:23:57 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-22-247.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.247]) by smtp02.mrf.mail.rcn.net with ESMTP; 01 Feb 2006 15:23:56 -0500 X-IronPort-AV: i="4.01,245,1136178000"; d="scan'208"; a="201490357:sNHT191739190" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17377.6136.820451.66798@jerusalem.litteratus.org> Date: Wed, 1 Feb 2006 15:20:08 -0500 To: freebsd-questions@freebsd.org, freebsd-java@freebsd.org In-Reply-To: References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> <17376.59189.67188.65770@jerusalem.litteratus.org> <44y80vhuom.fsf@be-well.ilk.org> X-Mailer: VM 7.17 under 21.5 (beta24) "dandelion" XEmacs Lucid Cc: Subject: Re: Java Virtual Machine 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, 01 Feb 2006 20:23:58 -0000 Nikolas Britton writes: > So what your saying is that once you have a native jdk built and > installed (say 1.4.2) you can compile the native jdk15 port with > the native jdk14 port and not need the linux jdk14 port? Yes. Robert Huff From owner-freebsd-java@FreeBSD.ORG Wed Feb 1 23:32:52 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 2DAD116A420 for ; Wed, 1 Feb 2006 23:32:52 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A71843D96 for ; Wed, 1 Feb 2006 23:32:25 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so183954wxc for ; Wed, 01 Feb 2006 15:32:25 -0800 (PST) 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=a5Kj+sqetH4f6ZAO+lKn02b6ZL6IPo+xIUgK1mT0wsRaM8/jAbkvSM3H6NUoGtspDJ52oWfd2SLQIHLkHzcPiyisue7C7BZpI5aevgXqoDf54jkgHI0GpT7kryfqJ2zmyEMbVO6G6APOUvSBBfbRxqS7JAQRelXUNFwrJQBjAQA= Received: by 10.70.60.11 with SMTP id i11mr143514wxa; Wed, 01 Feb 2006 15:32:25 -0800 (PST) Received: by 10.70.67.17 with HTTP; Wed, 1 Feb 2006 15:32:25 -0800 (PST) Message-ID: Date: Wed, 1 Feb 2006 17:32:25 -0600 From: Nikolas Britton To: Robert Huff In-Reply-To: <17377.6136.820451.66798@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> <43E07DA9.2020006@pobox.sk> <17376.59189.67188.65770@jerusalem.litteratus.org> <44y80vhuom.fsf@be-well.ilk.org> <17377.6136.820451.66798@jerusalem.litteratus.org> Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: Java Virtual Machine 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, 01 Feb 2006 23:32:52 -0000 On 2/1/06, Robert Huff wrote: > > Nikolas Britton writes: > > > So what your saying is that once you have a native jdk built and > > installed (say 1.4.2) you can compile the native jdk15 port with > > the native jdk14 port and not need the linux jdk14 port? > > Yes. > > Ok, Cool. So Is it automatic? Lets say the jdk15 port was updated to the yet to be released patchset 3, will portupgrade know what to do? From owner-freebsd-java@FreeBSD.ORG Fri Feb 3 14:11: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 05DC516A420; Fri, 3 Feb 2006 14:11:17 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0656943D8A; Fri, 3 Feb 2006 14:11:09 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k13EAsbF009793; Sat, 4 Feb 2006 01:10:54 +1100 Received: from [61.8.39.99] (ppp2763.dyn.pacific.net.au [61.8.39.99]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k13EAmWP019024; Sat, 4 Feb 2006 01:10:49 +1100 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9ABDB680-33F2-4890-B95D-D4739A327404@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Sat, 4 Feb 2006 01:10:56 +1100 To: java@FreeBSD.org X-Mailer: Apple Mail (2.746.2) Cc: Kang Liu , hq@FreeBSD.org Subject: tomcat ports cleanup 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, 03 Feb 2006 14:11:17 -0000 Hello folks. In response to PRs 38018, 38020, 83434, 74344, and 75143 and a bunch of suggestions from Herve and #tomcat on FreeNode (thanks jasonb), here's a patch to simplify and improve the tomcat55 port. I have similar patches in the pipeline for tomcat41 and tomcat5 which also backport Herve's rc script to those ports. For maintainer and general review, here's the patch: http://people.freebsd.org/~lawrance/patch-jakarta-tomcat55 The changes: - Rename from jakarta-tomcat to tomcat, since tomcat is no longer a subproject of jakarta. The jakarta-tomcat55 port will be moved to www/tomcat55. - Bump PORTREVISION because new files are installed. - Remove "USE_RC_SUBR=yes" in favour of "USE_RC_SUBR=tomcat55.sh". which will automatically do substitutions in, and install, the rc script. - Remove the build and installation of "tomcat55ctl" (daemonctl). The rc script is a much better mechanism and is far more flexible configuration-wise than daemonctl. The change means that an ordinary user cannot run the startup script simply by adding them into the "www" group, as was the case with daemonctl. If you need this functionality, consider using a general-purpose tool such as sudo. - Remove some unused STARTUP_* variables from the makefile that are no longer used. - Remove the AUTO_START variable. Auto start functionality has been removed. - Remove the STOP_TIMEOUT variable. STOP_TIMEOUT previously defined the maximum time daemonctl would wait before killing the tomcat java process. Equivalent functionality is now available from the rc.conf variable "tomcat55_stop_timeout". - Remove a long list of substitutions from the post-patch target and add them to SUB_LIST. Where SUB_FILES is insufficient, REPLACE_FILES is still used. The post-patch target which reads REPLACE_FILES now applies SUB_LIST. - Rename files/pkg-[de]install to files/pkg-[de]install.in. Remove them from REPLACE_FILES and add them to SUB_FILES. - pkg-deinstall.in now includes the %%PID_FILE%% substitution instead of hardcoding it. Substitutions are now assigned to variables at the beginning of the script. - pkg-install.in substitutions are now assigned to variables at the beginning of the script. - The existing rc.d script in files/tomcat.sh.in has been renamed to files/tomcat55.sh.in. USE_RC_SUBR doesn't allow us to share the rc script between ports; so each port will get its own copy with the correct name. - The rc script now includes the tomcat55_stop_timeout parameter, allowing us to specify how long the rc script should wait for shutdown before killing the JVM. The default is 10 seconds. - Some slight brokenness regarding the rc script start and stop commands has been fixed. The rc script now writes a PID file and correctly waits for shutdown. - The ownership of installed files has changed. All files are installed with default uid/gid (root:wheel) except for the conf/, logs/, temp/ and work/ directories. All of these directories must be writable by tomcat and so are installed with ${TOMCAT_USER}:$ {TOMCAT_GROUP}. Anyone who wants to make this more fine-grained, if feasible, should send patches ;-) The resulting port is a bit more straightforward now. It's reasonable to expect there may be some problems; so I ask that you please test and give feedback if possible. I'm all ears. Really. It's hard to type using earlobes for fingers, but I'll try. Cheers Sam From owner-freebsd-java@FreeBSD.ORG Fri Feb 3 23:43:34 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 802A216A420 for ; Fri, 3 Feb 2006 23:43:34 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2950043D45 for ; Fri, 3 Feb 2006 23:43:34 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id AB9E3F26B5 for ; Fri, 3 Feb 2006 15:43:33 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 73245-02 for ; Fri, 3 Feb 2006 15:43:32 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id C17E4F21E7 for ; Fri, 3 Feb 2006 15:43:32 -0800 (PST) From: Sean McNeil To: java@freebsd.org Content-Type: text/plain Date: Fri, 03 Feb 2006 15:43:32 -0800 Message-Id: <1139010212.56353.7.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: Subject: java crash on amd64 when switching to java perspective in eclipse 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, 03 Feb 2006 23:43:34 -0000 Got the following: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x00000008055aa9df, pid=56131, tid=0x133d000 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-root_02_feb_2006_13_05 mixed mode) # Problematic frame: # J org.eclipse.jdt.internal.compiler.parser.Scanner.jumpOverMethodBody()V # # An error report file with more information is saved as hs_err_pid56131.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list (gdb) info threads 22 Thread 0x515000 (runnable) 0x00000008008f645c in poll () at poll.S:2 21 Thread 0x612400 (LWP 100311) 0x000000080076585c in kse_release () at kse_release.S:2 20 Thread 0x612800 (sleeping) _thr_sched_switch_unlocked ( curthread=0x612800) at pthread_md.h:226 19 Thread 0x660000 (sleeping) _thr_sched_switch_unlocked ( curthread=0x660000) at pthread_md.h:226 18 Thread 0x660c00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x660c00) at pthread_md.h:226 17 Thread 0x67cc00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x67cc00) at pthread_md.h:226 16 Thread 0x684c00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x684c00) at pthread_md.h:226 15 Thread 0x68bc00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x68bc00) at pthread_md.h:226 14 Thread 0x690c00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x690c00) at pthread_md.h:226 13 Thread 0x697c00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x697c00) at pthread_md.h:226 12 Thread 0x69dc00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x69dc00) at pthread_md.h:226 11 Thread 0x747800 (sleeping) _thr_sched_switch_unlocked ( curthread=0x747800) at pthread_md.h:226 ---Type to continue, or q to quit--- 10 Thread 0x800800 (sleeping) _thr_sched_switch_unlocked ( curthread=0x800800) at pthread_md.h:226 9 Thread 0x1018c00 (sleeping) _thr_sched_switch_unlocked ( curthread=0x1018c00) at pthread_md.h:226 8 Thread 0x1019800 (sleeping) _thr_sched_switch_unlocked ( curthread=0x1019800) at pthread_md.h:226 7 Thread 0x114f400 (sleeping) _thr_sched_switch_unlocked ( curthread=0x114f400) at pthread_md.h:226 6 Thread 0x12c5400 (sleeping) _thr_sched_switch_unlocked ( curthread=0x12c5400) at pthread_md.h:226 5 Thread 0x6cb800 (LWP 100352) 0x000000080535f604 in ?? () 4 Thread 0xa88000 (sleeping) _thr_sched_switch_unlocked (curthread=0xa88000) at pthread_md.h:226 3 Thread 0x18bd400 (sleeping) _thr_sched_switch_unlocked ( curthread=0x18bd400) at pthread_md.h:226 * 2 Thread 0x133d000 (LWP 100322) 0x000000080076589c in kse_thr_interrupt () at kse_thr_interrupt.S:2 1 Thread 0x1ce6800 (sleeping) _thr_sched_switch_unlocked ( curthread=0x1ce6800) at pthread_md.h:226 Current language: auto; currently asm [Switching to thread 2 (Thread 0x133d000 (LWP 100322))]#0 0x000000080076589c in kse_thr_interrupt () at kse_thr_interrupt.S:2 2 RSYSCALL(kse_thr_interrupt) (gdb) bt #0 0x000000080076589c in kse_thr_interrupt () at kse_thr_interrupt.S:2 #1 0x0000000800753613 in _thr_sig_add (pthread=0x133d000, sig=6, info=0x0) at /usr/src/lib/libpthread/thread/thr_sig.c:974 #2 0x0000000800755132 in _thr_sig_send (pthread=0x133d000, sig=6) at /usr/src/lib/libpthread/thread/thr_sig.c:1106 #3 0x000000080074ee36 in _pthread_kill (pthread=0x133d000, sig=6) at /usr/src/lib/libpthread/thread/thr_kill.c:60 #4 0x000000080074e6b3 in _raise (sig=6) at /usr/src/lib/libpthread/thread/thr_raise.c:46 #5 0x0000000800933fcd in abort () at /usr/src/lib/libc/stdlib/abort.c:69 #6 0x0000000801118709 in os::abort () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so #7 0x00000008011ffa34 in VMError::report_and_die () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so #8 0x00000008011ffcc1 in crash_handler () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so #9 0x0000000800754c3f in _thr_sig_rundown (curthread=0x133d000, ucp=0x7fffff0a60b0) at /usr/src/lib/libpthread/thread/thr_sig.c:498 #10 0x000000080075cf69 in thr_resume_check (curthread=0x133d000, ucp=0x4) at /usr/src/lib/libpthread/thread/thr_kern.c:1132 #11 0x000000080075cfcb in thr_resume_wrapper (sig=0, siginfo=0x4, ucp=0x7fffff0a60b0) at /usr/src/lib/libpthread/thread/thr_kern.c:1117 #12 0x00000008008b2707 in sigctx_wrapper (ucp=0x85f7a4060, func=0x5, ---Type to continue, or q to quit--- args=0x17e) at /usr/src/lib/libc/amd64/gen/signalcontext.c:99 #13 0x0000000801112f11 in OopMapStream::OopMapStream () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so #14 0x00007fffff0a6070 in ?? () #15 0x0000000000000000 in ?? () #16 0x00007fffff0a6060 in ?? () #17 0x00007fffff0a60b0 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0xfffffffffffefaff in ?? () #29 0xffffffffffffffff in ?? () #30 0x0000000000000000 in ?? () #31 0x00007fffff0a6750 in ?? () #32 0x000000080121e956 in v_false () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so ---Type to continue, or q to quit--- #33 0x0000000000000001 in ?? () #34 0x0000000000000001 in ?? () #35 0x0000000000000000 in ?? () #36 0x00007fffff0a6448 in ?? () #37 0x0000000000000000 in ?? () #38 0x00007fffff0a6750 in ?? () #39 0x00007fffff0a64c0 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000246 in ?? () #42 0x0000000000000010 in ?? () #43 0x0000000000000000 in ?? () #44 0x00007fffff0a67b0 in ?? () #45 0x00007fffff0a68a0 in ?? () #46 0x0000000000000d00 in ?? () #47 0x0000000000000000 in ?? () #48 0xffffff001c2745d0 in ?? () #49 0xffffffff80242e12 in ?? () #50 0x00000008011163ac in os::is_first_C_frame () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so Previous frame inner to this frame (corrupt stack?) [Switching to thread 5 (Thread 0x6cb800 (LWP 100352))]#0 0x000000080535f604 in ?? () (gdb) bt #0 0x000000080535f604 in ?? () #1 0xefd5960900000000 in ?? () #2 0x0000000befd59609 in ?? () #3 0x000000084659c440 in ?? () #4 0x0000000000844c00 in ?? () #5 0x000000084659cc20 in ?? () #6 0x000000084ea2a3f8 in ?? () #7 0x0000000856f36618 in ?? () #8 0x0000000000000007 in ?? () #9 0x000000000000000a in ?? () #10 0x000000080116af05 in OptoRuntime::arrayof_oop_copy () from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so Previous frame inner to this frame (corrupt stack?)