From owner-freebsd-java Sun Mar 23 2: 8:53 2003 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 9B8A637B401 for ; Sun, 23 Mar 2003 02:08:51 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5538943F75 for ; Sun, 23 Mar 2003 02:08:49 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18x2P7-000Fhh-00; Sun, 23 Mar 2003 12:08:37 +0200 Date: Sun, 23 Mar 2003 12:08:37 +0200 From: Sheldon Hearn To: Tom Samplonius Cc: Westbay Family , freebsd-java@FreeBSD.ORG Subject: Re: keytool and Tomcat https under 1.4.1 Message-ID: <20030323100837.GI740@starjuice.net> Mail-Followup-To: Tom Samplonius , Westbay Family , freebsd-java@FreeBSD.ORG References: <516F9055-5BFE-11D7-A432-000A9575BE46@seaple.icc.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On (2003/03/22 13:43), Tom Samplonius wrote: > Disable the port's silly startup script in /usr/local/etc/rc.d, and use > Tomcat's own startup script startup.sh in the bin directory. See the > Tomcat install docs. As clarified in follow-up from the original poster, this wasn't the cause of the problem. :-) > In many cases, "ports" of Java applications is needless. The binary is > cross-platform already. And wrapping the app in a undocumented > propietary startup script isn't helping anyone. Most people are going to > better off downloading the Tomcat binary from http://jakarta.apache.org > than using the FreeBSD port. Just untar it, and run startup.sh. While it's true that many ports of Java applications don't need to do anything more than unpack a tarball into the correct location, ports are still useful because they a) make it very easy to locate and install software, e.g. cd /usr/ports/devel/jakarta-ant && make install clean b) cause packages to be built by the packaging system, for possible inclusion on FreeBSD release media. I believe that the second of these two will become critical to the success of FreeBSD as an enterprise server platform. I've been touting absence of Oracle and Java support as the two biggest threats to FreeBSD for a while now, even without a solid understanding of the Java platforms. :-) Basically, we need to get to the stage where FreeBSD release kits constitute (amongst other things) two things: a) a "cheap'n'easy" J2EE application server, and b) a "cheap'n'easy" Java development environment. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 23 6:53:49 2003 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 AEDE237B401 for ; Sun, 23 Mar 2003 06:53:47 -0800 (PST) Received: from cs20.catv.ne.jp (cs20.catv.ne.jp [202.232.171.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 847AB43F85 for ; Sun, 23 Mar 2003 06:53:46 -0800 (PST) (envelope-from yamasa@ec.catv.ne.jp) Received: from localhost by cs20.catv.ne.jp (8.9.1/3.7W) id XAA00049; Sun, 23 Mar 2003 23:53:43 +0900 (JST) Date: Sun, 23 Mar 2003 23:53:43 +0900 (JST) Message-Id: <20030323.235343.74757311.yamasa@ec.catv.ne.jp> To: freebsd-java@FreeBSD.org Subject: FileChannel#transferTo() is broken. From: OISHI Masakuni X-Mailer: Mew version 3.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Mar_23_23:53:43_2003_697)--" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----Next_Part(Sun_Mar_23_23:53:43_2003_697)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi. I found that FileCannel#transferTo() method in JDK1.4.1 patchset 3 is broken. sample code: public static void main(String[] args) throws Exception { FileChannel src = new FileInputStream("foo").getChannel(); SocketChannel dst = SocketChannel.open(new InetSocketAddress( "192.168.0.1", 3000)); src.transferTo(0, src.size(), dst); } solution: Apply the attached patch. -- OISHI Masakuni ----Next_Part(Sun_Mar_23_23:53:43_2003_697)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-FileChannelImpl.java" --- ../../j2se/src/share/classes/sun/nio/ch/FileChannelImpl.java.orig Fri Sep 6 16:23:07 2002 +++ ../../j2se/src/share/classes/sun/nio/ch/FileChannelImpl.java Fri Mar 21 23:29:47 2003 @@ -377,10 +377,8 @@ return IOStatus.UNSUPPORTED; FileDescriptor targetFD = null; - if (target instanceof FileChannelImpl) - targetFD = ((FileChannelImpl)target).fd; - else if (target instanceof SelChImpl) - targetFD = ((SelChImpl)target).getFD(); + if (target instanceof SocketChannelImpl) + targetFD = ((SocketChannelImpl)target).getFD(); if (targetFD == null) return IOStatus.UNSUPPORTED; ----Next_Part(Sun_Mar_23_23:53:43_2003_697)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-FileChannelImpl.c" --- ../../j2se/src/solaris/native/sun/nio/ch/FileChannelImpl.c.orig Sat Mar 15 14:15:15 2003 +++ ../../j2se/src/solaris/native/sun/nio/ch/FileChannelImpl.c Sat Mar 22 00:33:28 2003 @@ -190,15 +190,18 @@ } return n; #elif defined(__FreeBSD__) - /* - * XXXBSD: make sure that we're returning what java class may understand - */ off_t offset = (off_t)position; - int n = sendfile(dstFD, srcFD, offset, (size_t)count, NULL, NULL, 0); - if (n < 0) { + size_t nbytes = (size_t)count; + off_t sbytes; + int n; + if (nbytes == 0) { + return 0; + } + n = sendfile(srcFD, dstFD, offset, nbytes, NULL, &sbytes, 0); + if ((n < 0) && (errno != EAGAIN)) { JNU_ThrowIOExceptionWithLastError(env, "Transfer failed"); } - return n; + return sbytes; #else return IOS_UNSUPPORTED; #endif ----Next_Part(Sun_Mar_23_23:53:43_2003_697)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 23 17:52:54 2003 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 6F95337B401 for ; Sun, 23 Mar 2003 17:52:53 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8B743F93 for ; Sun, 23 Mar 2003 17:52:52 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 0D23049F03; Mon, 24 Mar 2003 10:52:51 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id DDA4447711; Mon, 24 Mar 2003 10:52:50 +0900 (JST) Received: from localhost [192.168.17.108] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id A634A29008A; Mon, 24 Mar 2003 10:58:12 +0900 Date: Mon, 24 Mar 2003 10:52:49 +0900 (JST) Message-Id: <20030324.105249.07645787.haro@kgt.co.jp> To: knichel@cairodurham.org Cc: freebsd-java@FreeBSD.ORG Subject: Re: Trouble installing jdk 1.3.1 From: Munehiro Matsuda In-Reply-To: <20030321140159.T28303-100000@zeus> References: <20030321140159.T28303-100000@zeus> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: Mike Knichel Date: Fri, 21 Mar 2003 14:03:41 -0500 (EST) ::I am trying to install jdk1.3.1 on Freebsd 4.7 and am having no luck. I ::downloaded the patchset 8 and the source file from sun and when I try a ::make install, I get a bunch of messages similar to this one... ::then i get a message asking me ... ::File to patch: :: ::I do not know what file it is asking for? I'm not sure I follow you correctly, but... How does your ports/java/jdk13/files directory look like? It should only contain following files: patch-InetAddressImpl.c patch-common::Defs-bsd.gmk patch-platform_i486 patch-threads_bsd.c patch-threads_md.c If you see anything more/missing, you'll need to re-sync ports directory. Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 1:33:10 2003 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 B042437B401 for ; Mon, 24 Mar 2003 01:33:07 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9CB343FD7 for ; Mon, 24 Mar 2003 01:33:06 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2O9WuHt061990; Mon, 24 Mar 2003 10:32:56 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2O9Wtqk061989; Mon, 24 Mar 2003 10:32:55 +0100 (CET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Brent Verner , Greg Lewis Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Date: Mon, 24 Mar 2003 10:32:54 +0100 User-Agent: KMail/1.5 Cc: freebsd-java@FreeBSD.ORG References: <20030207163217.GA99329@rcfile.org> <20030208055654.A20219@misty.eyesbeyond.com> <20030208002946.GA4681@rcfile.org> In-Reply-To: <20030208002946.GA4681@rcfile.org> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303241032.54982.ernst.dehaan@nl.wanadoo.com> X-Spam-Status: No, hits=-26.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Brent, How's your daemonctl.c patch coming along? I'm really interested in this. Now that the initial FreeBSD 4.8-RELEASE tag is done, we can consider committing patches like these. Ernst On Saturday 08 February 2003 01:29, Brent Verner wrote: > [2003-02-08 05:56] Greg Lewis said: > | On Fri, Feb 07, 2003 at 11:32:17AM -0500, Brent Verner wrote: > | > The attached patch modified the daemonctl.c program to use JAVA_HOME > | > if set in the environment. > | > > | > @@ -71,7 +75,16 @@ > | > > | > /* Declare variables, like all other good ANSI C programs do :) */ > | > char *argument; > | > - > | > + > | > + /* use JAVA_HOME environemt variable if set */ > | > + char* _java_home = getenv("JAVA_HOME"); > | > + if( _java_home != NULL && strcmp("",_java_home) != 0 ){ > | > + /* TODO: verify that java_prog would exist before overriding > | > the default */ + strncpy(java_home,_java_home,PATH_MAX-1); > | > + snprintf(java_prog,PATH_MAX-1,"%s/%%JAVA_CMD%%",_java_home); > | > + using_java_home_env = 1; > | > + } > | > + > | > | Just some minor feedback. > | > | I don't think this change is safe. If _java_home is too long to fit > | then java_home won't get null terminated. I suggest trying strlcpy > | instead. You might want to think about using strlcat instead of > | snprintf too, and adding some checking for overflow (and appropriate > | error handling if it occurs). > > Here's a better version (thanks for the pointer to strlcat). If > JAVA_HOME is set (and not empty) in the environment, try to use it > to find a usable JAVA_HOME/bin/java executable. Use this executable > if found, otherwise the default compile-time executable will be used. > In any case, if JAVA_HOME was checked, an 'info' message is printed, > alerting the user of the attempted command override. > > cheers. > b To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 2:31:46 2003 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 BD52737B401; Mon, 24 Mar 2003 02:31:44 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3ACB43F85; Mon, 24 Mar 2003 02:31:43 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2OAVhHt065693; Mon, 24 Mar 2003 11:31:43 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2OAVh3G065692; Mon, 24 Mar 2003 11:31:43 +0100 (CET) Date: Mon, 24 Mar 2003 11:31:43 +0100 (CET) Message-Id: <200303241031.h2OAVh3G065692@zaphod.euronet.nl> To: FreeBSD-gnats-submit@freebsd.org Subject: Tomcat 4.1.24 stable From: Ernst de Haan Reply-To: Ernst de Haan Cc: java@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: X-Spam-Status: No, hits=-13.1 required=5.0 tests=AWL version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Ernst de Haan >Organization: FreeBSD Project >Confidential: no >Synopsis: Tomcat 4.1.24 stable >Severity: non-critical >Priority: medium >Category: ports >Class: change-request >Release: FreeBSD 4.8-RC i386 >Environment: System: FreeBSD zaphod.euronet.nl 4.8-RC FreeBSD 4.8-RC #13: Thu Mar 20 10:14:46 CET 2003 root@zaphod.euronet.nl:/usr/obj/usr/src/sys/ZAPHOD i386 >Description: Tomcat 4.1.24 stable has been released. The www/jakarta-tomcat41 port should be updated. >How-To-Repeat: >Fix: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 2:32:35 2003 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 CC75C37B401; Mon, 24 Mar 2003 02:32:33 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id D44CF43FAF; Mon, 24 Mar 2003 02:32:32 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2OAWWHt065789; Mon, 24 Mar 2003 11:32:32 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2OAWWVR065788; Mon, 24 Mar 2003 11:32:32 +0100 (CET) Date: Mon, 24 Mar 2003 11:32:32 +0100 (CET) Message-Id: <200303241032.h2OAWWVR065788@zaphod.euronet.nl> To: FreeBSD-gnats-submit@freebsd.org Subject: Orion 2.0 stable From: Ernst de Haan Reply-To: Ernst de Haan Cc: java@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: X-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Ernst de Haan >Organization: FreeBSD Project >Confidential: no >Synopsis: Orion 2.0 stable >Severity: non-critical >Priority: medium >Category: ports >Class: change-request >Release: FreeBSD 4.8-RC i386 >Environment: System: FreeBSD zaphod.euronet.nl 4.8-RC FreeBSD 4.8-RC #13: Thu Mar 20 10:14:46 CET 2003 root@zaphod.euronet.nl:/usr/obj/usr/src/sys/ZAPHOD i386 >Description: Orion 2.0 has been released. The ports www/orion and www/orion-devel should be updated. >How-To-Repeat: >Fix: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 5: 2: 9 2003 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 3C8D637B401; Mon, 24 Mar 2003 05:02:07 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E5B943F75; Mon, 24 Mar 2003 05:02:05 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.8/8.12.8) with ESMTP id h2OD23GS007082; Mon, 24 Mar 2003 15:02:03 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: Ernst de Haan Subject: Re: Tomcat 4.1.24 stable Date: Mon, 24 Mar 2003 15:02:02 +0200 User-Agent: KMail/1.5 Cc: java@FreeBSD.ORG References: <200303241031.h2OAVh3G065692@zaphod.euronet.nl> In-Reply-To: <200303241031.h2OAVh3G065692@zaphod.euronet.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303241502.02822.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) X-Spam-Status: No, hits=-26.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Monday 24 March 2003 12:31, Ernst de Haan wrote: > Tomcat 4.1.24 stable has been released. The www/jakarta-tomcat41 port > should be updated. I wonder why jakarta-tomcat4 cannot always reference to current stable tomcat branch (ie. current 4.1.x). The older branches could be available by jakarta-tomcat3 and jakarta-tomcat40 ports ? Postgresql seems to use something like this, ie. postgresql7 is 7.3.x and posgresql72 is 7.2.x. This way one wouldn't have to use different port when tracking latest stable version. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 5: 3:54 2003 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 BC24537B401 for ; Mon, 24 Mar 2003 05:03:52 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BF5F43F75 for ; Mon, 24 Mar 2003 05:03:51 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.8/8.12.8) with ESMTP id h2OD3dGS007248; Mon, 24 Mar 2003 15:03:40 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: Ernst de Haan , Brent Verner , Greg Lewis Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Date: Mon, 24 Mar 2003 15:03:39 +0200 User-Agent: KMail/1.5 Cc: freebsd-java@FreeBSD.ORG References: <20030207163217.GA99329@rcfile.org> <20030208002946.GA4681@rcfile.org> <200303241032.54982.ernst.dehaan@nl.wanadoo.com> In-Reply-To: <200303241032.54982.ernst.dehaan@nl.wanadoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303241503.39697.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Monday 24 March 2003 11:32, Ernst de Haan wrote: > Brent, > > How's your daemonctl.c patch coming along? I'm really interested in this. > Now that the initial FreeBSD 4.8-RELEASE tag is done, we can consider > committing patches like these. In addition to JAVA_HOME there should be a way to issue java arguments like -Xmx512m. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 6:26:46 2003 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 8B43F37B401 for ; Mon, 24 Mar 2003 06:26:42 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6782243F93 for ; Mon, 24 Mar 2003 06:26:41 -0800 (PST) (envelope-from brent@mutt.rcfile.org) X-Received-From: brent@mutt.rcfile.org X-Delivered-To: freebsd-java@FreeBSD.ORG X-Originating-IP: [66.57.229.60] Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.8/8.12.8) with ESMTP id h2OEQSVC008985; Mon, 24 Mar 2003 09:26:29 -0500 X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.8/8.12.7) with ESMTP id h2OEQWa3036743; Mon, 24 Mar 2003 09:26:32 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.8/8.12.8/Submit) id h2OEQWJA036742; Mon, 24 Mar 2003 09:26:32 -0500 (EST) Date: Mon, 24 Mar 2003 09:26:32 -0500 From: Brent Verner To: Ernst de Haan Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Message-ID: <20030324142632.GA36430@rcfile.org> References: <20030207163217.GA99329@rcfile.org> <20030208055654.A20219@misty.eyesbeyond.com> <20030208002946.GA4681@rcfile.org> <200303241032.54982.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303241032.54982.ernst.dehaan@nl.wanadoo.com> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.8-RC #6: Thu Mar 20 02:22:17 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-14.5 required=5.0 tests=IN_REP_TO,RCVD_IN_RFCI,REFERENCES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [2003-03-24 10:32] Ernst de Haan said: | Brent, | | How's your daemonctl.c patch coming along? I'm really interested in this. | Now that the initial FreeBSD 4.8-RELEASE tag is done, we can consider | committing patches like these. This has turned into a little more than a patch at this point... :-) http://docs.freebsd.org/cgi/getmsg.cgi?fetch=146473+0+archive/2003/freebsd-java/20030323.freebsd-java I've competed the setuid/setgid, setenv, chdir and (non-forking) execv bits. I still have logs, forked execv, and pidfile handling to complete, and hope to find time by mid-week to wrap those up. If anyone wants to help the cause, the code is in cvs... sh$ cvs -d :pserver:anoncvs@rcfile.org:/var/cvs login [empty password, just press key] sh$ cvs -d :pserver:anoncvs@rcfile.org:/var/cvs co daemonctl This should probably be a separate port, and just have each dependent package install its xml config into /usr/local/etc/daemonct.d/ and create its symlink to the daemonctl binary. cheers. b | Ernst | | | On Saturday 08 February 2003 01:29, Brent Verner wrote: | > [2003-02-08 05:56] Greg Lewis said: | > | On Fri, Feb 07, 2003 at 11:32:17AM -0500, Brent Verner wrote: | > | > The attached patch modified the daemonctl.c program to use JAVA_HOME | > | > if set in the environment. | > | > | > | > @@ -71,7 +75,16 @@ | > | > | > | > /* Declare variables, like all other good ANSI C programs do :) */ | > | > char *argument; | > | > - | > | > + | > | > + /* use JAVA_HOME environemt variable if set */ | > | > + char* _java_home = getenv("JAVA_HOME"); | > | > + if( _java_home != NULL && strcmp("",_java_home) != 0 ){ | > | > + /* TODO: verify that java_prog would exist before overriding | > | > the default */ + strncpy(java_home,_java_home,PATH_MAX-1); | > | > + snprintf(java_prog,PATH_MAX-1,"%s/%%JAVA_CMD%%",_java_home); | > | > + using_java_home_env = 1; | > | > + } | > | > + | > | | > | Just some minor feedback. | > | | > | I don't think this change is safe. If _java_home is too long to fit | > | then java_home won't get null terminated. I suggest trying strlcpy | > | instead. You might want to think about using strlcat instead of | > | snprintf too, and adding some checking for overflow (and appropriate | > | error handling if it occurs). | > | > Here's a better version (thanks for the pointer to strlcat). If | > JAVA_HOME is set (and not empty) in the environment, try to use it | > to find a usable JAVA_HOME/bin/java executable. Use this executable | > if found, otherwise the default compile-time executable will be used. | > In any case, if JAVA_HOME was checked, an 'info' message is printed, | > alerting the user of the attempted command override. | > | > cheers. | > b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 11: 1:43 2003 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 E39F837B401 for ; Mon, 24 Mar 2003 11:01:40 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C8643FAF for ; Mon, 24 Mar 2003 11:01:39 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2OJ1dNS070582 for ; Mon, 24 Mar 2003 11:01:39 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2OJ1dlp070564 for java@freebsd.org; Mon, 24 Mar 2003 11:01:39 -0800 (PST) Date: Mon, 24 Mar 2003 11:01:39 -0800 (PST) Message-Id: <200303241901.h2OJ1dlp070564@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you X-Spam-Status: No, hits=0.3 required=5.0 tests=ADDR_FREE,AWL,X_AUTH_WARNING version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2002/10/05] java/43724 java linux_base-7.1 + linux-sun-jdk-1.3.1.04 d 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43925 java New port: net/beepcore-java (supersedes p 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 15:25:34 2003 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 2AE2137B401 for ; Mon, 24 Mar 2003 15:25:32 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8850743F3F for ; Mon, 24 Mar 2003 15:25:30 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.6/8.12.6) with ESMTP id h2ONPCJQ017210 for ; Tue, 25 Mar 2003 00:25:13 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.12.6/8.12.6/Submit) with ESMTP id h2ONPCrZ017207 for ; Tue, 25 Mar 2003 00:25:12 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Tue, 25 Mar 2003 00:25:11 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: freebsd-java@freebsd.org Subject: A FreeBSD JDK wrapper Message-ID: <20030325001524.M17181@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-238469888-1048548311=:17181" X-Spam-Status: No, hits=-1.5 required=5.0 tests=X_AUTH_WARNING version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-238469888-1048548311=:17181 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I made my own JDK wrapper and thought it could be of interest to someone. Basically it's just a collection of shell scripts. When then are installed somewhere that is part of the PATH variable, user may launch standard JDK commands (java, javac, javah, appletviewer, rmid...) and switch JDK just by changing the JAVA_HOME variable. The script tries to run the command from the $JAVA_HOME/bin directory. If no JAVA_HOME variable is set, the script will try and find one installed JDK. This way, the $JAVA_HOME/bin directory does not have be in the PATH. Not something complex but it worked for me so far... I thought I could share. Untar, and run make for help regarding installation. Regards, Herve --0-238469888-1048548311=:17181 Content-Type: APPLICATION/x-tar-gz; name="jdk_wrapper-1.00.tgz" Content-Transfer-Encoding: BASE64 Content-ID: <20030325002511.L17181@puget.esil.univ-mrs.fr> Content-Description: jdk_wrapper-1.00.tgz Content-Disposition: attachment; filename="jdk_wrapper-1.00.tgz" H4sIAKr6fj4AA+1WXW/aMBTlFf+KC0Pb+kBIIMBUlal0ULXrWDs6tZOqqgvY NIbEyZxA6ab+9zkJoXwrSKx9mI/Uppxz7rWde31pHw/uHrjhuoTnNUVVC6nd Q1V1tVoui6eqVcta8AwQP6O/q5VStaxWhSOlasVipZSC8j/YyxKGnm9wgBQf bfY9mIRYL7Ghl0V/sf4zxK7WUDV1U/01vajF9ddKuuA1vayWU6DuagOb8J/X /00GCh3KCp6J0OfG2WXtXWHo8YLldA0r6AVNKSkaLHL6PGdRNhznvSHLr1c7 ltEdYOdhk2eaoZQgw0oP7djJMxSV4oY9LKhrOU358A6hT+etVv1ro/azY3iE GTaBnPoToZ7DoXHaBsogF7xehB2Upj24gWzuc/2qfndy3mpmoQbZLNyitG8S htKRIY+FR8SGQqykp0G1QBNMj6LgBzuMIBQGZqLQmfS3KAonXdOBKQ/UA+b4 YMDIsCgG1/BNyAjXmPqgIZF0mm88my/sl9zkwAvJv5si6YhwjzoMnB4ICcS5 ATskWswbuq7DfSEIY9exbYPh5SWzwcu6btcvLprtu6tm++j8UhwjM3lNqw5T e97fRIorEu80zE7GpLvhLLlD9NoX8oWxNP9bxoD0qEV2uEYw/yu6vm7+l4Qa zX+9UtGrQtdK1WJVzv+XAFLEhctgUXJG8PuLdvP49Mceip6151GHFMIw7SH0 /aTZqp8J9Yu4cn8urhtPhdyfmHlCyCSWu4/Sh+EVzB5zQo4uG+EIuI66DEZB m2WnlhPCRwS+DSl3fsOBGXxSfoWfDolHLWXI6Chvc0/p8Y9x1DT48pH5xngf wBZdCzeTbR+4XJxn/PEWbjC5pUxU2LKeV3zfIHunEelNB9TkDkDQ+l44rnNR tmBCZMVYigL2QRw65J/C0TFzfVC6i+dVePsWLAZ5D2ZsIH5bxB9R8pA8hmKr n9TbNxKnFVaP3rPk++gbI2Mbb3cbM3a2spvbmN3EZtxJanV4Byf1cpsmPpzw bpOXk3vq+fwxaYgf/HfiiXuGECZxW6M0txdae75Pl+SoJZfosPtWsXGjrdCC nlpJd9fwYaesVMw1vLuKD0q9xEZVXaKjAq6i17ify7KkzlRgThBVsAeYcsi7 8xELvtmpszCQYH4guXOVXz+6XvtbSEJCQkJCQkJCQkJCQkJCQkJCQkJCQkJi l/gLnKn44wAoAAA= --0-238469888-1048548311=:17181-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 16:14:32 2003 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 366C937B401 for ; Mon, 24 Mar 2003 16:14:30 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CCA143F85 for ; Mon, 24 Mar 2003 16:14:29 -0800 (PST) (envelope-from aah@acm.org) Received: (qmail 16689 invoked from network); 25 Mar 2003 00:14:38 -0000 Received: from unknown (HELO acm.org) (aah@[216.27.178.67]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Mar 2003 00:14:38 -0000 Message-ID: <3E7F9F64.7020602@acm.org> Date: Mon, 24 Mar 2003 16:14:28 -0800 From: Andrew Houghton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030309 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Compiler messages w/ JDK1.4.1-p3 on CURRENT? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.8 required=5.0 tests=USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This may have been discussed before, but a quick check doesn't show anything. I'm getting intriguing, but sadly incomplete, compiler messages when using javac on CURRENT. The JDK was built a few weeks ago. For instance, I know this warning refers to deprecated methods: compiler message file broken: key=compiler.note.note arguments=null, null, null, null, null, null, nullcompiler message file broken: key=compiler.note.deprecated.plural arguments=null, null, null, null, null, null, null compiler message file broken: key=compiler.note.note arguments=null, null, null, null, null, null, nullcompiler message file broken: key=compiler.note.deprecated.recompile arguments=null, null, null, null, null, null, null But I'd much rather get the text of the message. Is this something expected, or something I did wrong? Thanks, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 23:30:18 2003 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 4E7B337B420 for ; Mon, 24 Mar 2003 23:29:58 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28618441BE for ; Mon, 24 Mar 2003 23:27:07 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2P7R6Ht075184; Tue, 25 Mar 2003 08:27:06 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2P7R6I7075183; Tue, 25 Mar 2003 08:27:06 +0100 (CET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Herve Quiroz , freebsd-java@freebsd.org Subject: Re: A FreeBSD JDK wrapper Date: Tue, 25 Mar 2003 08:27:05 +0100 User-Agent: KMail/1.5 References: <20030325001524.M17181@puget.esil.univ-mrs.fr> In-Reply-To: <20030325001524.M17181@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303250827.05855.ernst.dehaan@nl.wanadoo.com> X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, Sounds interesting indeed. Perhaps you could create a port for this? Then I will look into getting it in the ports tree. Make sure the freebsd-java collective (;>) tests it and has no objections. Ernst On Tuesday 25 March 2003 00:25, Herve Quiroz wrote: > Hi, > > > I made my own JDK wrapper and thought it could be of interest to someone. > > Basically it's just a collection of shell scripts. When then are > installed somewhere that is part of the PATH variable, user may launch > standard JDK commands (java, javac, javah, appletviewer, rmid...) and > switch JDK just by changing the JAVA_HOME variable. > > The script tries to run the command from the $JAVA_HOME/bin directory. If > no JAVA_HOME variable is set, the script will try and find one installed > JDK. > > This way, the $JAVA_HOME/bin directory does not have be in the PATH. > > Not something complex but it worked for me so far... I thought I could > share. > > Untar, and run make for help regarding installation. > > Regards, > > > Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 23:30:38 2003 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 9636837B414 for ; Mon, 24 Mar 2003 23:29:59 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4F9F44102 for ; Mon, 24 Mar 2003 23:09:26 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.8/8.12.8) with ESMTP id h2P79OGS080799; Tue, 25 Mar 2003 09:09:24 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: Brent Verner , Ernst de Haan Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Date: Tue, 25 Mar 2003 09:09:23 +0200 User-Agent: KMail/1.5 Cc: freebsd-java@FreeBSD.ORG References: <20030207163217.GA99329@rcfile.org> <200303241032.54982.ernst.dehaan@nl.wanadoo.com> <20030324142632.GA36430@rcfile.org> In-Reply-To: <20030324142632.GA36430@rcfile.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303250909.23762.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Monday 24 March 2003 16:26, Brent Verner wrote: > This has turned into a little more than a patch at this point... :-) Well this looks really good. Now I can now drop my own hacked non-XML version :-) > This should probably be a separate port, and just have each > dependent package install its xml config into > /usr/local/etc/daemonct.d/ and create its symlink to the > daemonctl binary. > Sounds good. I tried the program. It seems to work mostly ok, but I noticed two minor problems: - when the program is invoked without path (ie. just say "tomcat41ctl") it dumps core. This happens on line saying: progname = (rindex(argv[0],'/') + 1); - when pilot makes an error and types illegal argument (for example "tomcat41ctl blaah") the program dumps core. Actually, there is something more, when starting tomcat with tomcat41ctl start, it doesn't start as daemon. Or is this not implemented yet ? Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 23:35:19 2003 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 D98DE37B401 for ; Mon, 24 Mar 2003 23:35:13 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D204443F85 for ; Mon, 24 Mar 2003 23:35:12 -0800 (PST) (envelope-from brent@mutt.rcfile.org) X-Received-From: brent@mutt.rcfile.org X-Delivered-To: freebsd-java@FreeBSD.ORG X-Originating-IP: [66.57.229.60] Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.8/8.12.8) with ESMTP id h2P7Z2VC008250; Tue, 25 Mar 2003 02:35:04 -0500 X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.8/8.12.7) with ESMTP id h2P7ZIa3049740; Tue, 25 Mar 2003 02:35:18 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.8/8.12.8/Submit) id h2P7ZIo6049739; Tue, 25 Mar 2003 02:35:18 -0500 (EST) Date: Tue, 25 Mar 2003 02:35:18 -0500 From: Brent Verner To: Ari Suutari Cc: Ernst de Haan , freebsd-java@FreeBSD.ORG Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Message-ID: <20030325073518.GB49578@rcfile.org> References: <20030207163217.GA99329@rcfile.org> <200303241032.54982.ernst.dehaan@nl.wanadoo.com> <20030324142632.GA36430@rcfile.org> <200303250909.23762.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303250909.23762.ari.suutari@syncrontech.com> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.8-RC #6: Thu Mar 20 02:22:17 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-14.5 required=5.0 tests=AWL,IN_REP_TO,RCVD_IN_RFCI,REFERENCES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [2003-03-25 09:09] Ari Suutari said: | Hi, Hiya. | On Monday 24 March 2003 16:26, Brent Verner wrote: | > This has turned into a little more than a patch at this point... :-) | | Well this looks really good. Now I can now drop | my own hacked non-XML version :-) Thank you. You didn't look at the foul code did you :-P | > This should probably be a separate port, and just have each | > dependent package install its xml config into | > /usr/local/etc/daemonct.d/ and create its symlink to the | > daemonctl binary. | > | Sounds good. | | I tried the program. It seems to work mostly ok, but | I noticed two minor problems: There are _many_ more undone bits :-) The TODO file contains a (short) list of things I'm hoping I can make some time Wednesday evening to address. | - when the program is invoked without path | (ie. just say "tomcat41ctl") it dumps core. | This happens on line saying: | | progname = (rindex(argv[0],'/') + 1); | | - when pilot makes an error and types illegal | argument (for example "tomcat41ctl blaah") the | program dumps core. yes, the stuff is really at a proof-of-concept stage to get some discussion going. | Actually, there is something more, when starting | tomcat with tomcat41ctl start, it doesn't start as daemon. | Or is this not implemented yet ? Yes, until the fork() bits are written, the daemonctl program can't fully "manage" the process by pid. I'm currently using the "start" argument to the catalina.sh script. I only left the "run -security" arguments in the example tomcat41ctl.xml to show the eventual goal. /usr/local/jakarta-tomcat4.1/bin/catalina.sh start Thanks much for checking this stuff out. I hope that we can get this stuff into the ports tree, to make FreeBSD an even better platform for java services. cheers. b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 24 23:48:39 2003 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 B0E5E37B401 for ; Mon, 24 Mar 2003 23:48:38 -0800 (PST) Received: from mail.framfab.com (mail.framfab.com [217.73.2.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 046BF43F93 for ; Mon, 24 Mar 2003 23:48:38 -0800 (PST) (envelope-from fredrick.nilsson@framfab.se) Received: from sestoex01.framfab.se (sestoex01.framfab.se [157.125.1.96]) by mail.framfab.com (Postfix) with ESMTP id 1DA861F2CE for ; Tue, 25 Mar 2003 08:48:37 +0100 (CET) Received: by sestoex01.framfab.se with Internet Mail Service (5.5.2656.59) id ; Tue, 25 Mar 2003 08:48:37 +0100 Message-ID: From: Fredrick Nilsson To: "'freebsd-java@freebsd.org'" Subject: jdk14 and tomcat41 Date: Tue, 25 Mar 2003 08:48:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi! if i want to install tomcat41 and i want it to use another jdk than 1.2+ (that is specified in Makefile) do i just use this: #cd /usr/ports/www/jakarta-tomcat41/ && make install clean USE_JAVA=1.4+ would that be correct? .f To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 6:20:16 2003 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 47F0437B401 for ; Tue, 25 Mar 2003 06:20:12 -0800 (PST) Received: from web40501.mail.yahoo.com (web40501.mail.yahoo.com [66.218.78.118]) by mx1.FreeBSD.org (Postfix) with SMTP id 2A2D343FAF for ; Tue, 25 Mar 2003 06:20:11 -0800 (PST) (envelope-from radhika_narendran@yahoo.com) Message-ID: <20030325142011.61694.qmail@web40501.mail.yahoo.com> Received: from [64.154.75.230] by web40501.mail.yahoo.com via HTTP; Tue, 25 Mar 2003 06:20:11 PST Date: Tue, 25 Mar 2003 06:20:11 -0800 (PST) From: Radhika S Subject: jakarta-tomcat 4.1.18 and freebsd 5.0 problems To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I recently installed jakarta-tomcat-4.1.18.tar.gz from /usr/ports/www/jakarta-tomcat-4.1.18. The install was fine. I have set all my environmental variabels such as CATALINA_HOME and JAVA_HOME (i have installed jdk1.1.3). The problem is that everytime time i start the server with bin/startup.sh, I notice the cpu and memory for the java process start rising up and in about 2 minutes, the process aborts adn i have a core file, java.core in my $CATALINA_HOME/bin directory. What am i doing wrong. I do not have another server running on port 8080. I am running freebsd 5.0. Any help will be appreciated. Also could you cc me to this email address. Thanks, radhika ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 6:36:13 2003 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 BB4AD37B404 for ; Tue, 25 Mar 2003 06:36:11 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 218C443F75 for ; Tue, 25 Mar 2003 06:36:10 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18xpX5-0000Kf-00 for freebsd-java@FreeBSD.org; Tue, 25 Mar 2003 16:36:07 +0200 Date: Tue, 25 Mar 2003 16:36:07 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Subject: Hibernate and Apache DB OJB ports coming... Message-ID: <20030325143607.GA723@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-16.3 required=5.0 tests=AWL,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi folks, I'm working on (and will soon commit) ports for Hibernate and Apache DB OJB. Speak up if you're almost done with your own, so as to avoid lost work effort. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 7: 9:39 2003 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 09D6B37B401; Tue, 25 Mar 2003 07:09:34 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04E4743FEC; Tue, 25 Mar 2003 07:09:25 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2PF9Pvm099977; Tue, 25 Mar 2003 07:09:25 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2PF9PbI099976; Tue, 25 Mar 2003 07:09:25 -0800 (PST) Date: Tue, 25 Mar 2003 07:09:25 -0800 From: Shannon -jj Behrens To: daichi Cc: freebsd-java@freebsd.org Subject: Re: Signal 11: Function=_XmStrings+0x1B3D Message-ID: <20030325150925.GA99617@alicia.nttmcl.com> References: <20030318183116.GA47017@alicia.nttmcl.com> <20030319134019.1620eff8.daichi@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030319134019.1620eff8.daichi@freebsd.org> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thank you very much for your advice. Unfortunately, the directions below did not work. Notice, I'm using linux-sun-jdk1.4.1, not jdk1.4.1. You probably knew that. I modified the directions accordingly, but they still did not work. Also note that this is a stock 4.8RC2 system that I just built from scratch. I look forward to any additional advice you can offer. Thanks, -jj On Wed, Mar 19, 2003 at 01:40:19PM +0900, daichi wrote: > Uhmm, this looks like the same error reported by Sugimura-san and > Matsuda-san before. > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=353921+0+archive/2003/freebsd-java/20030316.freebsd-java > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=358974+0+archive/2003/freebsd-java/20030316.freebsd-java > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=429432+0+archive/2003/freebsd-java/20030316.freebsd-java > > Please try unset XMODIFIERS env variable and set MALLOC_OPTIONS env value to > 'aj'. > > % unset XMODIFIERS > % setenv MALLOC_OPTIONS aj > % setenv JAVA_HOME /usr/local/jdk1.4.1/ > % setenv PATH $JAVA_HOME/bin:$PATH > % cd /usr/local/jdk1.4.1/demo/jfc/SwingSet2/ > % java -jar SwingSet2.jar > > > Hi, > > > > I'm getting the following error, and it does not seem to be affected by > > memory usage, so I doubt that it's bad memory. I know that this port isn't > > that stable, but it's worked well for me in the past, and I absolutely need > > 1.4 :-/ > > > > Thanks, > > -jj > > > > Yes, dear? uname -a > > FreeBSD udp.nttmcl.com 4.8-RC2 FreeBSD 4.8-RC2 #0: Sun Mar 16 02:09:14 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 > > Yes, dear? Yes, dear? ls /var/db/pkg/linux* > > linux-sun-jdk-1.4.1_2 linux_base-6.1_4 > > Yes, dear? javavm -jar SwingSet2.jar > > > > An unexpected exception has been detected in native code outside the VM. > > Unexpected Signal : 11 occurred at PC=0x348BFC4A > > Function=_XmStrings+0x1B3D > > Library=/usr/local/linux-sun-jdk1.4.1/jre/lib/i386/libawt.so > > > > Current Java thread: > > at sun.awt.motif.MToolkit.loadSystemColors(Native Method) > > at java.awt.SystemColor.updateSystemColors(SystemColor.java:417) > > at java.awt.SystemColor.(SystemColor.java:409) > > at sun.awt.motif.MComponentPeer.pSetBackground(Native Method) > > at sun.awt.motif.MPanelPeer.setBackground(MPanelPeer.java:69) > > at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:179) > > at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:225) > > at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:93) > > at sun.awt.motif.MFramePeer.(MFramePeer.java:58) > > at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197) > > at java.awt.Frame.addNotify(Frame.java:469) > > - locked <0x2c722300> (a java.awt.Component$AWTTreeLock) > > at java.awt.Window.pack(Window.java:426) > > at SwingSet2.createSplashScreen(SwingSet2.java:662) > > at SwingSet2.(SwingSet2.java:205) > > at SwingSet2.main(SwingSet2.java:237) > > > > Dynamic libraries: > > Can not get information for pid = 949 > > > > Local Time = Tue Mar 18 10:20:41 2003 > > Elapsed Time = 5 > > # > > # The exception above was detected in native code outside the VM > > # > > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > > # > > # An error report file has been saved as /tmp/hs_err_pid949.log. > > # Please refer to the file for further information. > > # > > Abort trap -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 7:12:30 2003 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 7CD1E37B401; Tue, 25 Mar 2003 07:12:28 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1741C43F3F; Tue, 25 Mar 2003 07:12:27 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18xq6B-0000XK-00; Tue, 25 Mar 2003 17:12:23 +0200 Date: Tue, 25 Mar 2003 17:12:23 +0200 From: Sheldon Hearn To: Ernst de Haan Cc: FreeBSD-gnats-submit@freebsd.org, java@freebsd.org Subject: Re: ports/50241: Tomcat 4.1.24 stable Message-ID: <20030325151223.GB723@starjuice.net> Mail-Followup-To: Ernst de Haan , FreeBSD-gnats-submit@freebsd.org, java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-17.5 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On (2003/03/24 11:31), Ernst de Haan wrote: > >Description: > Tomcat 4.1.24 stable has been released. The www/jakarta-tomcat41 port should > be updated. This PR remains unassigned. Did you mean to take it for yourself? If not, I'll pick it up for you. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 7:59:25 2003 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 71D8837B404; Tue, 25 Mar 2003 07:59:23 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD8743F3F; Tue, 25 Mar 2003 07:59:22 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2PFxMHt078972; Tue, 25 Mar 2003 16:59:22 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2PFxKVf078971; Tue, 25 Mar 2003 16:59:20 +0100 (CET) From: Ernst de Haan To: Sheldon Hearn Subject: Re: ports/50241: Tomcat 4.1.24 stable Date: Tue, 25 Mar 2003 16:59:20 +0100 User-Agent: KMail/1.5 Cc: FreeBSD-gnats-submit@freebsd.org, java@freebsd.org References: <20030325151223.GB723@starjuice.net> In-Reply-To: <20030325151223.GB723@starjuice.net> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303251659.20670.znerd@FreeBSD.org> X-Spam-Status: No, hits=-17.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 25 March 2003 16:12, Sheldon Hearn wrote: > On (2003/03/24 11:31), Ernst de Haan wrote: > > >Description: > > > > Tomcat 4.1.24 stable has been released. The www/jakarta-tomcat41 port > > should be updated. > > This PR remains unassigned. Did you mean to take it for yourself? If > not, I'll pick it up for you. Yeah I wanted to assign it to myself. I use the PR database as external memory :) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 8:57:32 2003 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 EDF3D37B401 for ; Tue, 25 Mar 2003 08:57:27 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31AAE43F85 for ; Tue, 25 Mar 2003 08:57:27 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18xrjq-0005OG-04 for freebsd-java@freebsd.org; Tue, 25 Mar 2003 09:57:26 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18xrjn-0005LP-04; Tue, 25 Mar 2003 09:57:24 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h2PGvAh38632; Wed, 26 Mar 2003 03:27:10 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Mar 2003 03:27:08 +1030 From: Greg Lewis To: Ari Suutari Cc: Brent Verner , Ernst de Haan , freebsd-java@FreeBSD.ORG Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Message-ID: <20030326032708.A38505@misty.eyesbeyond.com> References: <20030207163217.GA99329@rcfile.org> <200303241032.54982.ernst.dehaan@nl.wanadoo.com> <20030324142632.GA36430@rcfile.org> <200303250909.23762.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200303250909.23762.ari.suutari@syncrontech.com>; from ari.suutari@syncrontech.com on Tue, Mar 25, 2003 at 09:09:23AM +0200 X-Spam-Status: No, hits=-32.2 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, RCVD_IN_RFCI,REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT, X_AUTH_WARNING autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 25, 2003 at 09:09:23AM +0200, Ari Suutari wrote: > > This should probably be a separate port, and just have each > > dependent package install its xml config into > > /usr/local/etc/daemonct.d/ and create its symlink to the > > daemonctl binary. > > > Sounds good. > > I tried the program. It seems to work mostly ok, but > I noticed two minor problems: > > - when the program is invoked without path > (ie. just say "tomcat41ctl") it dumps core. > This happens on line saying: > > progname = (rindex(argv[0],'/') + 1); getprogname(3) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 11:37:52 2003 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 F1F0637B401 for ; Tue, 25 Mar 2003 11:37:49 -0800 (PST) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [193.162.153.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F49743FA3 for ; Tue, 25 Mar 2003 11:37:49 -0800 (PST) (envelope-from inbox@seet.dk) Received: from seet.dk (seet.dk [80.62.87.52]) by pfepb.post.tele.dk (Postfix) with ESMTP id 176F95EE28C for ; Tue, 25 Mar 2003 20:37:48 +0100 (CET) Message-ID: <3E80B003.4070403@seet.dk> Date: Tue, 25 Mar 2003 20:37:39 +0100 From: =?ISO-8859-1?Q?S=F8ren_Vrist?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030216 X-Accept-Language: da, en, en-us MIME-Version: 1.0 To: Freebsd-java@freebsd.org Subject: jdk14 no go on freebsd release 5.0p3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-5.8 required=5.0 tests=USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org root@laptop [/usr/ports/java/jdk14] # make LIBC_R TEST FAILED: libc_r update required *** Error code 1 Stop in /usr/ports/java/jdk14. Any idea? or am i just screwed cause of releng5.0, would it help with=20 -current instead? Kind regards S=F8ren Vrist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 12:52:36 2003 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 D2AF137B401 for ; Tue, 25 Mar 2003 12:52:33 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0E8743FAF for ; Tue, 25 Mar 2003 12:52:32 -0800 (PST) (envelope-from brent@mutt.rcfile.org) X-Received-From: brent@mutt.rcfile.org X-Delivered-To: freebsd-java@FreeBSD.ORG X-Originating-IP: [66.57.229.60] Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.8/8.12.8) with ESMTP id h2PKqBVC029347; Tue, 25 Mar 2003 15:52:14 -0500 X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.8/8.12.7) with ESMTP id h2PKqKa3054517; Tue, 25 Mar 2003 15:52:20 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.8/8.12.8/Submit) id h2PKqARG054515; Tue, 25 Mar 2003 15:52:10 -0500 (EST) Date: Tue, 25 Mar 2003 15:52:10 -0500 From: Brent Verner To: Greg Lewis Cc: Ari Suutari , Ernst de Haan , freebsd-java@FreeBSD.ORG Subject: Re: [patch] daemonctl.c modified to use JAVA_HOME environment variable Message-ID: <20030325205210.GA54355@rcfile.org> References: <20030207163217.GA99329@rcfile.org> <200303241032.54982.ernst.dehaan@nl.wanadoo.com> <20030324142632.GA36430@rcfile.org> <200303250909.23762.ari.suutari@syncrontech.com> <20030326032708.A38505@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030326032708.A38505@misty.eyesbeyond.com> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.8-RC #6: Thu Mar 20 02:22:17 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-14.5 required=5.0 tests=AWL,IN_REP_TO,RCVD_IN_RFCI,REFERENCES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [2003-03-26 03:27] Greg Lewis said: | On Tue, Mar 25, 2003 at 09:09:23AM +0200, Ari Suutari wrote: | > > This should probably be a separate port, and just have each | > > dependent package install its xml config into | > > /usr/local/etc/daemonct.d/ and create its symlink to the | > > daemonctl binary. | > progname = (rindex(argv[0],'/') + 1); | | getprogname(3) After noticing that glibc doesn't have this utility, I ended up using basename(3). I also added a little more error handling, and changed strncat to strlcat (after adding a compatibility macro for glibc systems...). thanks. brent -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 15:32:34 2003 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 3575237B40D for ; Tue, 25 Mar 2003 15:32:21 -0800 (PST) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [193.162.153.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB584402B for ; Tue, 25 Mar 2003 15:24:06 -0800 (PST) (envelope-from inbox@seet.dk) Received: from seet.dk (seet.dk [80.62.87.52]) by pfepb.post.tele.dk (Postfix) with ESMTP id 22E3B5EE0F4 for ; Wed, 26 Mar 2003 00:24:05 +0100 (CET) Message-ID: <3E80E50B.4000304@seet.dk> Date: Wed, 26 Mar 2003 00:23:56 +0100 From: =?ISO-8859-1?Q?S=F8ren_Vrist?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030216 X-Accept-Language: da, en, en-us MIME-Version: 1.0 To: Freebsd-java@freebsd.org Subject: [solved] Re: jdk14 no go on freebsd release 5.0p3 References: <3E80B003.4070403@seet.dk> In-Reply-To: <3E80B003.4070403@seet.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-18.9 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org S=F8ren Vrist wrote: > Any idea? or am i just screwed cause of releng5.0, would it help with=20 > -current instead? Thanks for all the answers: i should just have rtfm at bit more :) needed the libc_r patch from the eyesbeyond patchset Kind Regards S=F8ren Vrist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 25 16:32:47 2003 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 3F42137B404 for ; Tue, 25 Mar 2003 16:32:43 -0800 (PST) Received: from uhpux01.beacon-it.co.jp (bconns1.beacon-it.co.jp [61.120.53.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB4B43FA3 for ; Tue, 25 Mar 2003 16:32:39 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: from seaple.icc.ne.jp (uhvsrv.beacon-it.co.jp [172.22.106.252]) by uhpux01.beacon-it.co.jp (8.9.3/8.9.3) with ESMTP id JAA30269; Wed, 26 Mar 2003 09:46:34 +0900 Date: Wed, 26 Mar 2003 09:32:35 +0900 Subject: Re: jakarta-tomcat 4.1.18 and freebsd 5.0 problems Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: freebsd-java@FreeBSD.ORG To: Radhika S From: Westbay Family In-Reply-To: <20030325142011.61694.qmail@web40501.mail.yahoo.com> Message-Id: <70AD003C-5F22-11D7-A686-000A9575BE46@seaple.icc.ne.jp> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) X-Spam-Status: No, hits=-11.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,USER_AGENT_APPLEMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2003.3.25, at 11:20 PM, Radhika S-san wrote: > bin/startup.sh, I notice the cpu and memory for the java > process start rising up and in about 2 minutes, the process > aborts adn i have a core file, java.core in my > $CATALINA_HOME/bin directory. > > What am i doing wrong. I do not have another server running > on port 8080. These are the two things that I find are the cause of core dumps: 1. Check $CATALINA_HOME/logs for a hint. File access problems are a common failure point. 2. Check $CATALINA_HOME/conf/server.xml to see if you have the https connector enabled without having SSL properly setup. For #1, the port will install everything with the www:www user/group. That means that if you're trying to start as your logged in user, you generally won't have write permission in the logs (or any other) directory. That will cause Tomcat to crash. If this is the case, chmod -R g+w $CATALINA_HOME and be sure that your user is a member of the www group. For #2, follow the SSL enabling instructions explained in the tomcat-documentation (or something similar) context. If it's on your local computer, you can browse the documentation directly. If it's on a remote machine, lynx or w3m (both in ports) will allow you to view the documentation without having to startup Tomcat. Hope this helps. --- Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www1.seaple.icc.ne.jp/westbay Commentary: http://www.japanesebaseball.com/forum/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 03:57:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A71637B404 for ; Wed, 26 Mar 2003 03:57:59 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2049543F85 for ; Wed, 26 Mar 2003 03:57:57 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18y9XQ-0004ZY-00 for freebsd-java@FreeBSD.org; Wed, 26 Mar 2003 13:57:48 +0200 Date: Wed, 26 Mar 2003 13:57:48 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Message-ID: <20030326115748.GH9268@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn X-Spam-Status: No, hits=-6.4 required=5.0 tests=USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Java package distribution conventions X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 11:58:02 -0000 Hi folks, I see that it's something of a convention for open source Java package distributions to include all dependency JAR files. I can kinda see how this makes sense in terms of ease of deployment, but it's wasteful. I already have 27 copies of 15 flavours of ant.jar on my box! Do we already have a policy on handling this? There seem to be two current approaches. Some ports install into $PREFIX/share/java/classes, while others just install into $PREFIX/$DISTNAME. Approaches I can think of: 1) Ideal ======== The ideal solution is to have Java ports that only install the target package's JARs, and properly establish dependencies. This is how I'd like to do my ports. Obviously, that takes a LOT of work, and others may not be willing. 2) Status Quo ============= Perhaps the current system (port maintainers get to choose one of the two current approaches for each port) is good enough? If so, I'd at least like USE_JAVA to imply PREFIX=${JAVA_PREFIX} where the default would be JAVA_PREFIX?=${LOCALBASE} for backward compatibility or JAVA_PREFIX?=${LOCALBASE}/java for tidiness. Opinions? Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 08:50:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C0B337B404 for ; Wed, 26 Mar 2003 08:50:55 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A454243FAF for ; Wed, 26 Mar 2003 08:50:54 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2QGosvm022794 for ; Wed, 26 Mar 2003 08:50:54 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2QGosDH022793 for freebsd-java@freebsd.org; Wed, 26 Mar 2003 08:50:54 -0800 (PST) Date: Wed, 26 Mar 2003 08:50:54 -0800 From: Shannon -jj Behrens To: freebsd-java@freebsd.org Message-ID: <20030326165054.GA22072@alicia.nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-6.4 required=5.0 tests=USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: jar dependencies X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 16:50:56 -0000 I apologize that this email isn't a direct response to the earlier email about jar dependencies. I have a habit of deleting things too quickly ;) The problem is that the author of the previous email has 27 copies and 15 flavors of Ant on his system, but none of us really has time to convince the whole Java world to be more cooperative about dependencies. Naturally, the RIGHT THING would be to have each jar dependency placed in its own port, and each Java port would depend on a set of jar ports. Versioning would be a pain (imagine 15 flavors of the Ant port), but things would sit nicely with hier, and it would feel like FreeBSD. At the risk of being flamed to death, I propose the following novel approach. Everything Java should be installed in /usr/java. Each Java port should simply be wholly copied to /usr/java/$port_name. Then, for each dependency jar found in /usr/java/$port_name (via find), the following logic would take place: if that jar is already present in /usr/java/lib, hardlink to that file in /usr/java/lib. Otherwise, move that jar to /usr/java/lib and then hardlink to that file. When removing a Java port, simply delete the /usr/java/$port_name directory. Optionally, clean up the /usr/java/lib directory by deleting any files who have a refcount of 1 (i.e. jar files that are used by any Java port). I've noticed that the jar files don't seem to have any version information. Hence, the above procedure will need to be complicated to take this into mind. I.e., when copying the jar to /usr/java/lib, copy it to /usr/java/lib/$jar_name-$arbitrary_version. When trying to find if a given jar file is already present in /usr/java/lib, compare that jar file (using diff) to each jar file in /usr/java/lib/$jar_name-*. Naturally, all of the above maintenance of /usr/java/lib could be wrapped up in a simple program (probably just a shell script) that would be invoked by the port. I realize that this is quite a break from the standard way FreeBSD does things. In fact, I'd be surprised if anyone took me seriously. However, I would like to point out that since Java is practically an OS unto itself, it's not totally unreasonable that it must be treated in a special manner. Best Regards, -jj -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there. From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 09:17:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7318337B404 for ; Wed, 26 Mar 2003 09:17:07 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE4FA43FBD for ; Wed, 26 Mar 2003 09:17:05 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18yEWM-000547-00; Wed, 26 Mar 2003 19:17:02 +0200 Date: Wed, 26 Mar 2003 19:17:02 +0200 From: Sheldon Hearn To: Shannon -jj Behrens Message-ID: <20030326171702.GK9268@starjuice.net> Mail-Followup-To: Shannon -jj Behrens , freebsd-java@freebsd.org References: <20030326165054.GA22072@alicia.nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030326165054.GA22072@alicia.nttmcl.com> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn X-Spam-Status: No, hits=-19.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-java@freebsd.org Subject: Re: jar dependencies X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 17:17:08 -0000 On (2003/03/26 08:50), Shannon -jj Behrens wrote: > Everything Java should be installed in /usr/java. Each Java port > should simply be wholly copied to /usr/java/$port_name. This idea has promise. If you'd looked at the "Status Quo" option in my original post, you'll see I proposed a light modification to the status quo, involving the use of a Java-specific PREFIX, defaulting to /usr/local/java. So we're basically in agreement there. > Then, for each dependency jar found in /usr/java/$port_name > (via find), the following logic would take place: if that jar > is already present in /usr/java/lib, hardlink to that file in > /usr/java/lib. Otherwise, move that jar to /usr/java/lib and then > hardlink to that file. When removing a Java port, simply delete > the /usr/java/$port_name directory. Optionally, clean up the > /usr/java/lib directory by deleting any files who have a refcount of 1 > (i.e. jar files that are used by any Java port). Your hardlink trick is also close to what I did for a demonstration box I set up recently for our developers, except that I used symlinks, which can cross filesystems. I didn't suggest this, because I felt it was too radical to gain support. Although you lose the refcount trick with symlinks, you should be including the symlinks in the package list anyway. > I realize that this is quite a break from the standard way FreeBSD > does things. In fact, I'd be surprised if anyone took me seriously. > However, I would like to point out that since Java is practically an > OS unto itself, it's not totally unreasonable that it must be treated > in a special manner. Exactly. A square peg doesn't fit into a round hole of identical surface area. I think, however, that this is more an issue of whether there's enough community support to justify the additional work for committers. What you're suggesting with links is a LOT of work. Even what I was suggesting (stripping down the installation of JARs to just those specific to each package and then beefing up the ports tree's dependencies) is a lot of work. Looking at the state of the ports tree for Java stuff, the following possible causes come to mind: 1) JDK-1.4.1 support took a long time to materialize on FreeBSD. During the wait, the community shrank as folks went for Linux. 2) The community doesn't bother with the ports tree for Java stuff, because it's too easy to just unpack a distfile into /usr/local. 3) The community doesn't submit ports because the packaging issue we're discussing right now makes it difficult to come up with ports that you can feel proud of. Personally, I'd like to do as much as I can in the ports tree to make 5.1-RELEASE a serious Java platform contender. I want to do this so that the release goes out with all the cool stuff on the CDROMs / DVDs as packages. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 12:32:51 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23D0837B404 for ; Wed, 26 Mar 2003 12:32:51 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A44F43F75 for ; Wed, 26 Mar 2003 12:32:50 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2QKWhvm035768 for ; Wed, 26 Mar 2003 12:32:48 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2QKWhtA035767 for freebsd-java@freebsd.org; Wed, 26 Mar 2003 12:32:43 -0800 (PST) Date: Wed, 26 Mar 2003 12:32:43 -0800 From: Shannon -jj Behrens To: freebsd-java@freebsd.org Message-ID: <20030326203243.GA35314@alicia.nttmcl.com> References: <20030326165054.GA22072@alicia.nttmcl.com> <20030326171702.GK9268@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030326171702.GK9268@starjuice.net> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-19.7 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: jar dependencies X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 20:32:52 -0000 On Wed, Mar 26, 2003 at 07:17:02PM +0200, Sheldon Hearn wrote: > On (2003/03/26 08:50), Shannon -jj Behrens wrote: > > > Everything Java should be installed in /usr/java. Each Java port > > should simply be wholly copied to /usr/java/$port_name. > > This idea has promise. If you'd looked at the "Status Quo" option in my > original post, you'll see I proposed a light modification to the status quo, > involving the use of a Java-specific PREFIX, defaulting to /usr/local/java. > > So we're basically in agreement there. Yes, I did notice that. We do agree. > > Then, for each dependency jar found in /usr/java/$port_name > > (via find), the following logic would take place: if that jar > > is already present in /usr/java/lib, hardlink to that file in > > /usr/java/lib. Otherwise, move that jar to /usr/java/lib and then > > hardlink to that file. When removing a Java port, simply delete > > the /usr/java/$port_name directory. Optionally, clean up the > > /usr/java/lib directory by deleting any files who have a refcount of 1 > > (i.e. jar files that are used by any Java port). > > Your hardlink trick is also close to what I did for a demonstration box > I set up recently for our developers, except that I used symlinks, which > can cross filesystems. I didn't suggest this, because I felt it was too > radical to gain support. > > Although you lose the refcount trick with symlinks, you should be > including the symlinks in the package list anyway. I'm hoping that you understand that the refcount trick is there so that there is no need to make ports for every dependency. It was my way of having things just work semi-automatically. > > I realize that this is quite a break from the standard way FreeBSD > > does things. In fact, I'd be surprised if anyone took me seriously. > > However, I would like to point out that since Java is practically an > > OS unto itself, it's not totally unreasonable that it must be treated > > in a special manner. > > Exactly. A square peg doesn't fit into a round hole of identical > surface area. > > I think, however, that this is more an issue of whether there's enough > community support to justify the additional work for committers. > What you're suggesting with links is a LOT of work. Even what I It's true that it requires some work to get started. Someone, perhaps myself, would have to write the script to manage the /usr/java/lib directory. However, once the script is written, porting things would be trivial. I.e., each port would basically have to do: copy package to /usr/java/$package_name use ant or whatever else the package normally uses to build run script to copy jar files to /usr/java/lib perhaps install a binary to /usr/local/bin? automatically generate the package list > was suggesting (stripping down the installation of JARs to just > those specific to each package and then beefing up the ports tree's > dependencies) is a lot of work. I agree. Although this is the arguably RIGHT THING to do, I don't think there's enough manpower to make it happen. Furthermore, it would make Java in FreeBSD different than Java in other OS's which seems to violate the reason for using Java. > Looking at the state of the ports tree for Java stuff, the following > possible causes come to mind: > > 1) JDK-1.4.1 support took a long time to materialize on FreeBSD. During > the wait, the community shrank as folks went for Linux. To be fair, I don't think Linux has an answer to this particular question either. I've always done things very manually in Linux. > 2) The community doesn't bother with the ports tree for Java stuff, because > it's too easy to just unpack a distfile into /usr/local. > > 3) The community doesn't submit ports because the packaging issue we're > discussing right now makes it difficult to come up with ports that > you can feel proud of. This is why I think it's essential to make creating the ports trivial. Unpacking stuff to /usr/local is trivial, but it's wasteful. My idea is really just an optimization for disk space, and nothing more. > Personally, I'd like to do as much as I can in the ports tree to make > 5.1-RELEASE a serious Java platform contender. I want to do this so > that the release goes out with all the cool stuff on the CDROMs / DVDs > as packages. Surely, that would be desireable. Personally, I'm doing this because I want FreeBSD to be a serious Jython platform contender :) Best Regards, -jj From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 13:44:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8A1C37B404 for ; Wed, 26 Mar 2003 13:44:48 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1165043F75 for ; Wed, 26 Mar 2003 13:44:47 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h2QLikJQ074931; Wed, 26 Mar 2003 22:44:47 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h2QLij8C074928; Wed, 26 Mar 2003 22:44:46 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Wed, 26 Mar 2003 22:44:44 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Shannon -jj Behrens In-Reply-To: <20030326203243.GA35314@alicia.nttmcl.com> Message-ID: <20030326220924.P74826@puget.esil.univ-mrs.fr> References: <20030326165054.GA22072@alicia.nttmcl.com> <20030326171702.GK9268@starjuice.net> <20030326203243.GA35314@alicia.nttmcl.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-28.2 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES,X_AUTH_WARNING autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-java@freebsd.org Subject: Re: jar dependencies X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 21:44:54 -0000 Hi, First, there are some points I'll like to discuss and then I'll comment your thoughts... I don't understand why there are so many versions of ant on your systems... I'm maintaining a java port (java/jakarta-log4j) and it only installs the JAR file in the "correct" path, the one from bsd.java.mk: $PREFIX/share/java/classes (although I would have prefered $PREFIX/share/java/lib but that's splitting hair as usual). The docs install in the normal path, as for any port ($PREFIX/share/doc/${PORTNAME}) and the same goes for examples and stuff... The problem is that nobody uses a particular universal way for porting java libraries so each porter puts the files where he thinks it's "better"... We once tried to have some common scheme for using ant so we could use USE_ANT variable in Makefile and specify ant targets to build, then some INSTALL_JAR command to perform the stuff we discuss here. But as we couldn't agree on something, the issue was "left open for later discussion". Moreover there were more important issues at this time, like the native jdk ports to be worked on. But I agree with both of you, there's a need for a common way of building/installing java ports. Better for the porter (easier and clean), better for the final user (he knows were to find stuff). Ernst (and others) has done quite a good job so far regarding this. The bsd.java.mk file is the most significant proof of this. And ant (the one from the port I mean) is already automatically adding in the classpath the JARs that are in $PREFIX/share/java/classes. This is quite useful to build libraries without having to download dependencies you already own (but can't locate). We should go one step further. And by saying this, I'm saying I would be glad if I can help. On Wed, 26 Mar 2003, Shannon -jj Behrens wrote: > It's true that it requires some work to get started. Someone, perhaps > myself, would have to write the script to manage the /usr/java/lib directory. > However, once the script is written, porting things would be trivial. I.e., > each port would basically have to do: > > copy package to /usr/java/$package_name > use ant or whatever else the package normally uses to build > run script to copy jar files to /usr/java/lib > perhaps install a binary to /usr/local/bin? > automatically generate the package list And then have it integrated in the bsd.java.mk (as new rules and variables) perhaps ?... > > was suggesting (stripping down the installation of JARs to just > > those specific to each package and then beefing up the ports tree's > > dependencies) is a lot of work. > > I agree. Although this is the arguably RIGHT THING to do, I don't think > there's enough manpower to make it happen. Furthermore, it would make Java in > FreeBSD different than Java in other OS's which seems to violate the reason for > using Java. Is there an "universal way of doing things(TM)" for Java anyway ?... I mean, whatever the platform you're using, there's no consensus about how and where java libraries and tools should be installed. > > 2) The community doesn't bother with the ports tree for Java stuff, because > > it's too easy to just unpack a distfile into /usr/local. > > > > 3) The community doesn't submit ports because the packaging issue we're > > discussing right now makes it difficult to come up with ports that > > you can feel proud of. Maybe the lack of docs. There should be a page in the porter's handbook to indicate how to build ports that make use of ant, what variables to use in port's Makefile... Ernst has done quite a good job with the bsd.java.mk which is quite documented on his webpage but there was a project months ago regarding a better java porter documentation included with the porter's handbook. Lack of time probably... > This is why I think it's essential to make creating the ports trivial. > Unpacking stuff to /usr/local is trivial, but it's wasteful. My idea is > really just an optimization for disk space, and nothing more. > > > Personally, I'd like to do as much as I can in the ports tree to make > > 5.1-RELEASE a serious Java platform contender. I want to do this so > > that the release goes out with all the cool stuff on the CDROMs / DVDs > > as packages. > > Surely, that would be desireable. Personally, I'm doing this because I want > FreeBSD to be a serious Jython platform contender :) FreeBSD is by far my favorite platform, and Java is my favorite coding language... So I'll be glad if I can contribute to this. :) Regards, Herve From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 14:00:08 2003 Return-Path: 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 3F24F37B404; Wed, 26 Mar 2003 14:00:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 906BF43F3F; Wed, 26 Mar 2003 14:00:07 -0800 (PST) (envelope-from mbr@FreeBSD.org) Received: from freefall.freebsd.org (mbr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2QM07NS003954; Wed, 26 Mar 2003 14:00:07 -0800 (PST) (envelope-from mbr@freefall.freebsd.org) Received: (from mbr@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2QM06Kg003950; Wed, 26 Mar 2003 14:00:06 -0800 (PST) Date: Wed, 26 Mar 2003 14:00:06 -0800 (PST) From: Martin Blapp Message-Id: <200303262200.h2QM06Kg003950@freefall.freebsd.org> To: greg@greg.rim.or.jp, mbr@FreeBSD.org, freebsd-java@FreeBSD.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: java/41147: linux-sun-jdk1.4 was crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 22:00:09 -0000 Synopsis: linux-sun-jdk1.4 was crashed State-Changed-From-To: open->closed State-Changed-By: mbr State-Changed-When: Wed Mar 26 13:57:19 PST 2003 State-Changed-Why: This problem has been fixed in Rev. 1.5.2.2 of src/sys/posix4/p1003_1b.c and the jdk will not crash anymore in 4.8R. http://www.freebsd.org/cgi/query-pr.cgi?pr=41147 From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 14:01:01 2003 Return-Path: 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 CF8E237B404; Wed, 26 Mar 2003 14:01:01 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B8F843F93; Wed, 26 Mar 2003 14:01:01 -0800 (PST) (envelope-from mbr@FreeBSD.org) Received: from freefall.freebsd.org (mbr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2QM11NS005318; Wed, 26 Mar 2003 14:01:01 -0800 (PST) (envelope-from mbr@freefall.freebsd.org) Received: (from mbr@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2QM0xOd005232; Wed, 26 Mar 2003 14:00:59 -0800 (PST) Date: Wed, 26 Mar 2003 14:00:59 -0800 (PST) From: Martin Blapp Message-Id: <200303262200.h2QM0xOd005232@freefall.freebsd.org> To: saxtouri@vtrip-ltd.com, mbr@FreeBSD.org, freebsd-java@FreeBSD.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: java/40677: J2SDK 1.4.0.01 fails to do anything when executed from normal user mode X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 22:01:02 -0000 Synopsis: J2SDK 1.4.0.01 fails to do anything when executed from normal user mode State-Changed-From-To: open->closed State-Changed-By: mbr State-Changed-When: Wed Mar 26 14:00:41 PST 2003 State-Changed-Why: This problem has been fixed in Rev. 1.5.2.2 of src/sys/posix4/p1003_1b.c and the jdk will not crash anymore in 4.8R. http://www.freebsd.org/cgi/query-pr.cgi?pr=40677 From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 14:03:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0155237B404; Wed, 26 Mar 2003 14:03:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92E9043F75; Wed, 26 Mar 2003 14:03:06 -0800 (PST) (envelope-from mbr@FreeBSD.org) Received: from freefall.freebsd.org (mbr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2QM36NS005938; Wed, 26 Mar 2003 14:03:06 -0800 (PST) (envelope-from mbr@freefall.freebsd.org) Received: (from mbr@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2QM36ih005934; Wed, 26 Mar 2003 14:03:06 -0800 (PST) Date: Wed, 26 Mar 2003 14:03:06 -0800 (PST) From: Martin Blapp Message-Id: <200303262203.h2QM36ih005934@freefall.freebsd.org> To: elvis_paris@yahoo.com, mbr@FreeBSD.org, java@FreeBSD.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: java/43724: linux_base-7.1 + linux-sun-jdk-1.3.1.04 don't work together X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 22:03:07 -0000 Synopsis: linux_base-7.1 + linux-sun-jdk-1.3.1.04 don't work together State-Changed-From-To: open->closed State-Changed-By: mbr State-Changed-When: Wed Mar 26 14:02:51 PST 2003 State-Changed-Why: This problem has been fixed in Rev. 1.5.2.2 of src/sys/posix4/p1003_1b.c and the jdk will not crash anymore in 4.8R. http://www.freebsd.org/cgi/query-pr.cgi?pr=43724 From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 14:04:05 2003 Return-Path: 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 09DA337B404; Wed, 26 Mar 2003 14:04:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A1AE43FB1; Wed, 26 Mar 2003 14:04:04 -0800 (PST) (envelope-from mbr@FreeBSD.org) Received: from freefall.freebsd.org (mbr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2QM44NS005999; Wed, 26 Mar 2003 14:04:04 -0800 (PST) (envelope-from mbr@freefall.freebsd.org) Received: (from mbr@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2QM445v005995; Wed, 26 Mar 2003 14:04:04 -0800 (PST) Date: Wed, 26 Mar 2003 14:04:04 -0800 (PST) From: Martin Blapp Message-Id: <200303262204.h2QM445v005995@freefall.freebsd.org> To: part_sf@rocketmail.com, mbr@FreeBSD.org, freebsd-java@FreeBSD.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: java/43400: linux ibm jdk doesn't work for normal user, only work with root. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 22:04:05 -0000 Synopsis: linux ibm jdk doesn't work for normal user, only work with root. State-Changed-From-To: open->closed State-Changed-By: mbr State-Changed-When: Wed Mar 26 14:03:49 PST 2003 State-Changed-Why: This problem has been fixed in Rev. 1.5.2.2 of src/sys/posix4/p1003_1b.c and the jdk will not crash anymore in 4.8R. http://www.freebsd.org/cgi/query-pr.cgi?pr=43400 From owner-freebsd-java@FreeBSD.ORG Wed Mar 26 14:37:09 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C84C37B405; Wed, 26 Mar 2003 14:37:09 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0654A43FAF; Wed, 26 Mar 2003 14:37:09 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2QMb8vm037870; Wed, 26 Mar 2003 14:37:08 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2QMb8fD037869; Wed, 26 Mar 2003 14:37:08 -0800 (PST) Date: Wed, 26 Mar 2003 14:37:08 -0800 From: Shannon -jj Behrens To: Martin Blapp Message-ID: <20030326223708.GA37784@alicia.nttmcl.com> References: <200303262200.h2QM06Kg003950@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303262200.h2QM06Kg003950@freefall.freebsd.org> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-java@freebsd.org Subject: Re: java/41147: linux-sun-jdk1.4 was crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 22:37:10 -0000 Woohoo! -jj On Wed, Mar 26, 2003 at 02:00:06PM -0800, Martin Blapp wrote: > Synopsis: linux-sun-jdk1.4 was crashed > > State-Changed-From-To: open->closed > State-Changed-By: mbr > State-Changed-When: Wed Mar 26 13:57:19 PST 2003 > State-Changed-Why: > This problem has been fixed in Rev. 1.5.2.2 of src/sys/posix4/p1003_1b.c > and the jdk will not crash anymore in 4.8R. -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there. From owner-freebsd-java@FreeBSD.ORG Thu Mar 27 05:50:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BCCE37B401 for ; Thu, 27 Mar 2003 05:50:21 -0800 (PST) Received: from web40507.mail.yahoo.com (web40507.mail.yahoo.com [66.218.78.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F1A243FBD for ; Thu, 27 Mar 2003 05:50:21 -0800 (PST) (envelope-from radhika_narendran@yahoo.com) Message-ID: <20030327135021.79223.qmail@web40507.mail.yahoo.com> Received: from [63.210.218.188] by web40507.mail.yahoo.com via HTTP; Thu, 27 Mar 2003 05:50:21 PST Date: Thu, 27 Mar 2003 05:50:21 -0800 (PST) From: Radhika S To: Westbay Family In-Reply-To: <70AD003C-5F22-11D7-A686-000A9575BE46@seaple.icc.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-7.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM,X_NJABL_DIALUP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-java@FreeBSD.ORG Subject: Re: jakarta-tomcat 4.1.18 and freebsd 5.0 problems X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 13:50:26 -0000 Hi Michael, Thanks for your mail. To reference your points : 1. checked the log files, and jvm was core dumping almost immediately. 2. put myself in group: www and gave group write permissions. 3. I didnt see anything about ssl. I build jdk1.1.3 using the port /usr/ports/java/jdk13 and what this does is install 2 directories in /usr/local drwxr-xr-x 9 root wheel 512 Feb 11 21:37 jdk1.3.1 drwxr-xr-x 9 root wheel 512 Feb 11 12:25 linux-sun-jdk1.3.1 my JAVA_HOME env variable had been pointing to /usr/local/jdk1.3.1, I changed it to use the linux binary, which was /usr/local/linux-sun... and it worked. So it didnt like something about the freebsd native binary. I do not kow if others have come across this problem. My freebsd version is: java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-jklowden-030211-12:38) Classic VM (build 1.3.1-p7-jklowden-030211-12:38, green threads, nojit) The linux binary says:Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_06-b01) Classic VM (build 1.3.1_06-b01, green threads, nojit) Maybe this can help someone who has a similar problem. Thanks, Radhika --- Westbay Family wrote: > On 2003.3.25, at 11:20 PM, Radhika S-san wrote: > > > bin/startup.sh, I notice the cpu and memory for the > java > > process start rising up and in about 2 minutes, the > process > > aborts adn i have a core file, java.core in my > > $CATALINA_HOME/bin directory. > > > > What am i doing wrong. I do not have another server > running > > on port 8080. > > These are the two things that I find are the cause of > core dumps: > > 1. Check $CATALINA_HOME/logs for a hint. File access > problems > are a common failure point. > > 2. Check $CATALINA_HOME/conf/server.xml to see if you > have the > https connector enabled without having SSL > properly setup. > > For #1, the port will install everything with the www:www > user/group. > That means that if you're trying to start as your logged > in user, you > generally won't have write permission in the logs (or any > other) > directory. That will cause Tomcat to crash. > > If this is the case, > > chmod -R g+w $CATALINA_HOME > > and be sure that your user is a member of the www group. > > For #2, follow the SSL enabling instructions explained in > the > tomcat-documentation (or something similar) context. If > it's on your > local computer, you can browse the documentation > directly. If it's on > a remote machine, lynx or w3m (both in ports) will allow > you to view > the documentation without having to startup Tomcat. > > Hope this helps. > > --- > Michael Westbay > Work: Beacon-IT http://www.beacon-it.co.jp/ > Home: http://www1.seaple.icc.ne.jp/westbay > Commentary: http://www.japanesebaseball.com/forum/ > ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com From owner-freebsd-java@FreeBSD.ORG Thu Mar 27 06:00:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FA3C37B401 for ; Thu, 27 Mar 2003 06:00:18 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9889B43F3F for ; Thu, 27 Mar 2003 06:00:17 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2RE0IHt001558 for ; Thu, 27 Mar 2003 15:00:18 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2RE0HDt001557 for freebsd-java@FreeBSD.ORG; Thu, 27 Mar 2003 15:00:18 +0100 (CET) From: Ernst de Haan To: freebsd-java@FreeBSD.ORG Date: Thu, 27 Mar 2003 15:00:17 +0100 User-Agent: KMail/1.5 X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303271500.17956.znerd@FreeBSD.org> X-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,USER_AGENT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: [FYI] Tomcat 4.1.24 and Orion 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 14:00:20 -0000 FYI, there have been some port upgrades: *** www/jakarta-tomcat41 *** Updated to Tomcat 4.1.24 FreshPorts entry: http://www.freshports.org/www/jakarta-tomcat41/ News item: http://jakarta.apache.org/site/news.html#20030322.1 Home page: http://jakarta.apache.org/tomcat/ Release notes: http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt?rev=HEAD&content-type=text/vnd.viewcvs-markup *** www/orion and www/orion-devel *** Updated to Orion 2.0 FreshPorts entries: http://www.freshports.org/www/orion/ http://www.freshports.org/www/orion-devel/ Home page: http://www.orionserver.com/ Regards, Ernst From owner-freebsd-java@FreeBSD.ORG Thu Mar 27 06:24:28 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1773337B401 for ; Thu, 27 Mar 2003 06:24:28 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8C9143FAF for ; Thu, 27 Mar 2003 06:24:26 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.6/8.12.6) with ESMTP id h2RENROh013333 for ; Thu, 27 Mar 2003 15:23:27 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h2RENQJr013327 for ; Thu, 27 Mar 2003 15:23:26 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Thu, 27 Mar 2003 15:23:25 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: freebsd-java@FreeBSD.ORG Message-ID: <20030327151914.Y3409@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-14.8 required=5.0 tests=AWL,X_AUTH_WARNING version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: What to do with this port ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 14:24:28 -0000 I once submited the following port: GNU Trove: High performance collections for Java http://www.freebsd.org/cgi/query-pr.cgi?pr=45287 But I've done so months ago and nothing has happened so far. I was wondering if the reason was that the port is not submitted in the right category or that GNU Trove is found useless for most people. If the first case, please tell me what to do to have the port commited. BTW, if we can agree on some common scheme for java ports, I could modify this one before it is commited so it can support it. Regards, Herve From owner-freebsd-java@FreeBSD.ORG Thu Mar 27 07:19:04 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B2EB37B401 for ; Thu, 27 Mar 2003 07:19:04 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25C2943F3F for ; Thu, 27 Mar 2003 07:19:03 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2RFJ2Ht004454; Thu, 27 Mar 2003 16:19:02 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2RFIwh9004447; Thu, 27 Mar 2003 16:18:58 +0100 (CET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Herve Quiroz , freebsd-java@FreeBSD.ORG Date: Thu, 27 Mar 2003 16:18:58 +0100 User-Agent: KMail/1.5 References: <20030327151914.Y3409@puget.esil.univ-mrs.fr> In-Reply-To: <20030327151914.Y3409@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303271618.58769.ernst.dehaan@nl.wanadoo.com> X-Spam-Status: No, hits=-26.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: What to do with this port ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 15:19:05 -0000 The port has been committed. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/45287 http://www.freshports.org/java/trove4j/ Ports like these are indeed useful, but I had limited time the past few months. I hope things will improve. Otherwise if you want to have something committed, just let me know. If you have a fully-tested port (portlint is your friend!) ready for committing in a PR, then I'm usually more than happy to commit the port :) BTW: I removed the pkg-comment file and I added the $FreeBSD$ tag in the header (as you indeed suggested in the PR). Ernst On Thursday 27 March 2003 15:23, Herve Quiroz wrote: > I once submited the following port: > > GNU Trove: High performance collections for Java > http://www.freebsd.org/cgi/query-pr.cgi?pr=45287 > > But I've done so months ago and nothing has happened so far. I was > wondering if the reason was that the port is not submitted in the right > category or that GNU Trove is found useless for most people. > > If the first case, please tell me what to do to have the port commited. > > BTW, if we can agree on some common scheme for java ports, I could modify > this one before it is commited so it can support it. > > Regards, > > Herve > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Sat Mar 29 15:20:06 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B84CA37B404 for ; Sat, 29 Mar 2003 15:20:06 -0800 (PST) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 600C543FCB for ; Sat, 29 Mar 2003 15:20:04 -0800 (PST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.6/8.12.3) with ESMTP id h2TNK30k070512; Sun, 30 Mar 2003 00:20:03 +0100 (CET) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 30 Mar 2003 00:20:03 +0100 (CET) From: Martin Blapp To: dev@porting.openoffice.org In-Reply-To: <20030329215745.Y99771@cvs.imp.ch> Message-ID: <20030330001527.H99771@cvs.imp.ch> References: <20030329191134.R99771@cvs.imp.ch> <200303291444.31760.kevin.hendricks@sympatico.ca> <20030329210606.L99771@cvs.imp.ch> <20030329215745.Y99771@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: [porting-dev] FreeBSD: javaldx reports unusable stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 23:20:08 -0000 Hi all, > I just remembered that we still used to have in jvmscan.cxx > #define NO_HOTSPOT_USE_CLASSIC 1 > > but it seems that this file isn't built anymore ? Am I missing > a #ifdef somewhere ? Is this file still used in the linux build ? Looks like the new module jvmaccess (which has replaced jvmscan.cxx as I've learned now) does now work with the FreeBSD JDK 1.4.1. I bet our native jdk has some magic strings in the version numbers so a detection fails here :( That's why I send this mail to the freebsd java mailinglist too. Is our native JDK doing strange things ? Or is even Hotspot disabled by default ? Martin From owner-freebsd-java@FreeBSD.ORG Sat Mar 29 15:38:51 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8153937B405 for ; Sat, 29 Mar 2003 15:38:51 -0800 (PST) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44BB843FD7 for ; Sat, 29 Mar 2003 15:38:49 -0800 (PST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.6/8.12.3) with ESMTP id h2TNch0k071954; Sun, 30 Mar 2003 00:38:47 +0100 (CET) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 30 Mar 2003 00:38:43 +0100 (CET) From: Martin Blapp To: dev@porting.openoffice.org In-Reply-To: <20030330001527.H99771@cvs.imp.ch> Message-ID: <20030330003645.C99771@cvs.imp.ch> References: <20030329191134.R99771@cvs.imp.ch> <200303291444.31760.kevin.hendricks@sympatico.ca> <20030329210606.L99771@cvs.imp.ch> <20030329215745.Y99771@cvs.imp.ch> <20030330001527.H99771@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: [porting-dev] FreeBSD: javaldx reports unusable stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 23:38:53 -0000 > I bet our native jdk has some magic strings in the version > numbers so a detection fails here :( Looks like I was right :-(( bash-2.05b$ /usr/local/jdk1.4.1/bin/java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_27_mar_2003_23_33) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_27_mar_2003_23_33, mixed mode) bash-2.05b$ /usr/local/linux-sun-jdk1.4.1/bin/java -version java version "1.4.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06) Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode) I think I'll need to add a special FreeBSD only case for sunversion.cxx in the 644 build. Martin From owner-freebsd-java@FreeBSD.ORG Sat Mar 29 16:41:51 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAB0737B401 for ; Sat, 29 Mar 2003 16:41:51 -0800 (PST) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E5E343FAF for ; Sat, 29 Mar 2003 16:41:50 -0800 (PST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.6/8.12.3) with ESMTP id h2U0fm0k077130; Sun, 30 Mar 2003 01:41:48 +0100 (CET) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 30 Mar 2003 01:41:48 +0100 (CET) From: Martin Blapp To: dev@porting.openoffice.org In-Reply-To: <20030330003645.C99771@cvs.imp.ch> Message-ID: <20030330014115.I99771@cvs.imp.ch> References: <20030329191134.R99771@cvs.imp.ch> <200303291444.31760.kevin.hendricks@sympatico.ca> <20030329210606.L99771@cvs.imp.ch> <20030329215745.Y99771@cvs.imp.ch> <20030330001527.H99771@cvs.imp.ch> <20030330003645.C99771@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: [porting-dev] FreeBSD: javaldx reports unusable stuff X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 00:41:54 -0000 Hi all, > I think I'll need to add a special FreeBSD only case for sunversion.cxx in > the 644 build. Just fixed it in the FreeBSD ports cvs. JDK detection works now. Martin From owner-freebsd-java@FreeBSD.ORG Sat Mar 29 22:42:37 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F5237B401 for ; Sat, 29 Mar 2003 22:42:37 -0800 (PST) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7501A43F3F for ; Sat, 29 Mar 2003 22:42:36 -0800 (PST) (envelope-from kabaev@bellatlantic.net) Received: from kanhome ([141.154.54.9]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030330064235.VMOQ29952.out001.verizon.net@kanhome> for ; Sun, 30 Mar 2003 00:42:35 -0600 Date: Sun, 30 Mar 2003 01:42:34 -0500 From: Alexander Kabaev To: java@FreeBSD.ORG Message-Id: <20030330014234.06b678ef.kabaev@bellatlantic.net> X-Mailer: Sylpheed version 0.8.10claws18 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [141.154.54.9] at Sun, 30 Mar 2003 00:42:35 -0600 Subject: Eclipse 2.1 release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ak03@gte.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 06:42:40 -0000 Eclipse 2.1 has been released. I upgraded the port, get it from http://people.freebsd.org/~kan/eclipse.tar.gz. -- Alexander Kabaev From owner-freebsd-java@FreeBSD.ORG Sat Mar 29 23:58:15 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 047F937B404 for ; Sat, 29 Mar 2003 23:58:15 -0800 (PST) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0EB243F93 for ; Sat, 29 Mar 2003 23:58:12 -0800 (PST) (envelope-from jb.quenot@caraldi.com) Received: from caraldi.com (smartimac.intra.caraldi.com [192.168.100.102]) by mail.caraldi.com (Postfix) with ESMTP id B3D38120; Sun, 30 Mar 2003 09:58:10 +0200 (CEST) Date: Sun, 30 Mar 2003 09:58:11 +0200 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) To: ak03@gte.com From: Jean-Baptiste Quenot In-Reply-To: <20030330014234.06b678ef.kabaev@bellatlantic.net> Message-Id: <5A31A280-6285-11D7-A9C6-000A278F6414@caraldi.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) cc: java@FreeBSD.ORG Subject: Re: Eclipse 2.1 release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 07:58:16 -0000 * Alexander Kabaev: > Eclipse 2.1 has been released. I upgraded the port, get it from > http://people.freebsd.org/~kan/eclipse.tar.gz. When does it make it up in the FreeBSD ports tree? Keep up the good work, -- Jean-Baptiste Quenot http://caraldi.com/jbq/