From owner-freebsd-java Sun Sep 30 5: 4:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id 382B537B403 for ; Sun, 30 Sep 2001 05:04:40 -0700 (PDT) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f8UC4SN27067; Sun, 30 Sep 2001 21:04:29 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail11.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f8UC4So05035; Sun, 30 Sep 2001 21:04:28 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail11.aist.go.jp with ESMTP id f8UC4RD29858; Sun, 30 Sep 2001 21:04:27 +0900 (JST) env-from (k.shudou@aist.go.jp) To: ari@suutari.iki.fi Cc: freebsd-java@freebsd.org Subject: Re: jdk1.3.1 + shujit + netbeans problem From: shudo@computer.org In-Reply-To: <3BB2BB4B.8050409@suutari.iki.fi> References: <3BB2BB4B.8050409@suutari.iki.fi> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010930210609F.shudoh@aist.go.jp> Date: Sun, 30 Sep 2001 21:06:09 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 31 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, From: Ari Suutari > Has anyone else tried to use NetBeans (3.2.1 build98) with native > jdk1.3.1p4 and latest shujit ? Usually it just seems to > hang during startup (when using skinlf1.1 + aquathemepack > it hangs always for me, without skinning I managed to get > it running at least once). I could not reproduce your problem with shuJIT 0.7.5 on Linux as I wrote to you directly. I tried NetBeans 3.2.1, SkinLF 1.1 and various themes. I used Blackdown JDK 1.3.1 FCS, glibc 2.2.4 and Linux 2.4.9-ac17. Any kind of report on shuJIT would be appreciated because language systems are very greedy for testing. Thanks. BTW, SkinLF is a very interesting tool. It can change the theme of a Swing application without any modification of the application. I took screen shots of several themes, Aqua, Windows XP and so on. Of course, I used shuJIT for taking the shots. You can find the shots on the following page though the page is in Japanese: http://www.shudo.net/java/skinlf/ Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 30 5:30:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from i01sv4107.ids1.intelonline.com (i01sv4107-p.ids1.intelonline.com [147.208.166.12]) by hub.freebsd.org (Postfix) with ESMTP id 3B1FB37B406 for ; Sun, 30 Sep 2001 05:30:56 -0700 (PDT) Received: from i01sv4095 (unverified [10.81.26.9]) by i01sv4107.ids1.intelonline.com (Rockliffe SMTPRA 4.5.4) with SMTP id ; Sun, 30 Sep 2001 12:30:54 +0000 Message-ID: From: Matthias Bartels To: "ari@suutari.iki.fi" Cc: "freebsd-java@freebsd.org" X-Originating-IP: [217.4.88.54] Date: Sun, 30 Sep 2001 13:30:53 +0100 X-MSMail-Priority: Normal X-mailer: AspMail 4.0 4.02 (SMT4DD4B4F) Subject: Re: jdk1.3.1 + shujit + netbeans problem 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 Servus, i had the sme problem with netbeans, everytime i set JDK_HOME variable to the jdk1.3.1p4 netbeans crashed during startup, i solved the problem by setting the JDK_HOME to the linux jdk that was also installed during the jdk1.3.1p4 installation Matthias Ringtones, Logos und crazy Mailbox Ansagen für Dein Nokia-Handy @ www.genie.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 30 8:15:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from fe100.worldonline.dk (fe100.worldonline.dk [212.54.64.211]) by hub.freebsd.org (Postfix) with SMTP id B7C0237B40E for ; Sun, 30 Sep 2001 08:15:09 -0700 (PDT) Received: (qmail 8946 invoked by uid 0); 30 Sep 2001 15:15:08 -0000 Received: from 213.237.13.224.adsl.hc.worldonline.dk (HELO NEIGAARD?MOB) (213.237.13.224) by fe100.worldonline.dk with SMTP; 30 Sep 2001 15:15:08 -0000 Date: Sun, 30 Sep 2001 17:16:30 +0200 From: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Mailer: The Bat! (v1.51) Reply-To: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Priority: 3 (Normal) Message-ID: <9595432484.20010930171630@e-box.dk> To: freebsd-java@FreeBSD.ORG Subject: Error when installing jdk122b10 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 I'm trying to install the jdk122b10. I don't have X on my machine, but I guess jdk122 needs it for Swing. When I do a make, it try's to install X, but fails. I choose only to install VGA16 somewhere in the setup, and said NO to al lot, since I only need X for the sake of jdk122. I get the following error dmp, please help: DDBE -DSCREENSAVER xf86Events.c xf86Events.c: In function `buttonTimer': xf86Events.c:1136: `mevent' undeclared (first use in this function) xf86Events.c:1136: (Each undeclared identifier is reported only once xf86Events.c:1136: for each function it appears in.) *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc/programs/Xserver/hw/xfree86/common. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc/programs/Xserver/hw/xfree86. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc/programs/Xserver. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86. *** Error code 1 Stop in /usr/ports/x11/XFree86. *** Error code 1 Stop in /usr/ports/x11/XFree86. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif-devel. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif-devel. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif-devel. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif-devel. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif-devel. *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif-devel. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. -- Med venlig hilsen/Best regards, Søren Neigaard mailto:neigaard@e-box.dk -- "Don't worry if it doesn't work right. If everything did, you'd be out of a job." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 30 15:49:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 9ABE937B410 for ; Sun, 30 Sep 2001 15:49:34 -0700 (PDT) Received: from [166.70.13.152] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15npOu-0007Wf-00; Sun, 30 Sep 2001 16:49:32 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f8UMnSf04349; Mon, 1 Oct 2001 08:19:28 +0930 (CST) (envelope-from glewis) Date: Mon, 1 Oct 2001 08:19:28 +0930 From: Greg Lewis To: =?iso-8859-1?Q?S=F8ren_Neigaard?= Cc: freebsd-java@FreeBSD.ORG Subject: Re: Error when installing jdk122b10 Message-ID: <20011001081928.A4315@misty.eyesbeyond.com> References: <9595432484.20010930171630@e-box.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <9595432484.20010930171630@e-box.dk>; from neigaard@e-box.dk on Sun, Sep 30, 2001 at 05:16:30PM +0200 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 Sun, Sep 30, 2001 at 05:16:30PM +0200, Søren Neigaard wrote: > I'm trying to install the jdk122b10. I don't have X on my machine, but > I guess jdk122 needs it for Swing. When I do a make, it try's to > install X, but fails. I choose only to install VGA16 somewhere in the > setup, and said NO to al lot, since I only need X for the sake of > jdk122. I get the following error dmp, please help: I'd suggest just installing the X package if you're having trouble compiling the port. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 30 23:21:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from espresso.syncrontech.com (espresso-adsl.syncrontech.com [213.28.98.39]) by hub.freebsd.org (Postfix) with ESMTP id 7CEAD37B407 for ; Sun, 30 Sep 2001 23:21:24 -0700 (PDT) Received: from there (coffee.syncrontech.com [62.71.8.37]) by espresso.syncrontech.com (8.9.3/8.9.3) with SMTP id JAA63726; Mon, 1 Oct 2001 09:20:46 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Message-Id: <200110010620.JAA63726@espresso.syncrontech.com> Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: Matthias Bartels Subject: Re: jdk1.3.1 + shujit + netbeans problem Date: Mon, 1 Oct 2001 09:23:12 +0300 X-Mailer: KMail [version 1.3] Cc: "freebsd-java@freebsd.org" References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 had the sme problem with netbeans, everytime i set JDK_HOME variable > to the jdk1.3.1p4 netbeans crashed during startup, > > i solved the problem by setting the JDK_HOME to the linux jdk that was > also installed during the jdk1.3.1p4 installation > That works, I know. The bad thing about it is: java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Classic VM (build 1.3.1-b24, green threads, nojit) The classic VM in linux-jdk does not have a jit. Maybe one could use shujit with it ? 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 Oct 1 12:29: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from fe170.worldonline.dk (fe170.worldonline.dk [212.54.64.199]) by hub.freebsd.org (Postfix) with SMTP id 8C33337B401 for ; Mon, 1 Oct 2001 12:29:01 -0700 (PDT) Received: (qmail 31861 invoked by uid 0); 1 Oct 2001 19:28:52 -0000 Received: from 213.237.13.224.adsl.hc.worldonline.dk (HELO NEIGAARD?MOB) (213.237.13.224) by fe170.worldonline.dk with SMTP; 1 Oct 2001 19:28:52 -0000 Date: Mon, 1 Oct 2001 21:30:18 +0200 From: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Mailer: The Bat! (v1.51) Reply-To: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Priority: 3 (Normal) Message-ID: <14482905541.20011001213018@e-box.dk> To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re[2]: Error when installing jdk122b10 In-Reply-To: <20011001081928.A4315@misty.eyesbeyond.com> References: <9595432484.20010930171630@e-box.dk> <20011001081928.A4315@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Monday, October 01, 2001, 12:49:28 AM, Greg wrote: >> I'm trying to install the jdk122b10. I don't have X on my machine, but >> I guess jdk122 needs it for Swing. When I do a make, it try's to >> install X, but fails. I choose only to install VGA16 somewhere in the >> setup, and said NO to al lot, since I only need X for the sake of >> jdk122. I get the following error dmp, please help: GL> I'd suggest just installing the X package if you're having trouble compiling GL> the port. Ok I have now done that, and I got further this time :) But heres what I get now (I try to answer yes = failure. I try to answer no = failure), please help: - Take 1 -------------------- It looks as I can go on for ever answering yes here, am I wrong? Reversed (or previously applied) patch detected! Assume -R? [y] Reversed (or previously applied) patch detected! Assume -R? [y] n Apply anyway? [n] y 5 out of 5 hunks failed--saving rejects to javavm/runtime/classload.c.rej Reversed (or previously applied) patch detected! Assume -R? [y] n Apply anyway? [n] y 8 out of 8 hunks failed--saving rejects to javavm/runtime/classresolver.c.rej Reversed (or previously applied) patch detected! Assume -R? [y] n Apply anyway? [n] y 1 out of 1 hunks failed--saving rejects to javavm/runtime/classruntime.c.rej Reversed (or previously applied) patch detected! Assume -R? [y] n Apply anyway? [n] y 2 out of 2 hunks failed--saving rejects to javavm/runtime/executeJava.c.rej Reversed (or previously applied) patch detected! Assume -R? [y] - Take 2 -------------------- This is absolutely not good :) ===> Patching for jdk-1.2.2b10 Reversed (or previously applied) patch detected! Assume -R? [y] n Apply anyway? [n] n 5 out of 5 hunks ignored--saving rejects to tools/hprof/hprof_trace.c.rej *** Error code 5 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. -- Med venlig hilsen/Best regards, Søren Neigaard mailto:neigaard@e-box.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 1 16:56:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 43EF137B40B for ; Mon, 1 Oct 2001 16:56:13 -0700 (PDT) Received: from [166.70.2.90] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15oCuw-0004Ye-00; Mon, 01 Oct 2001 17:56:12 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f91Nt7r12349; Tue, 2 Oct 2001 09:25:07 +0930 (CST) (envelope-from glewis) Date: Tue, 2 Oct 2001 09:24:56 +0930 From: Greg Lewis To: =?iso-8859-1?Q?S=F8ren_Neigaard?= Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Error when installing jdk122b10 Message-ID: <20011002092456.A12318@misty.eyesbeyond.com> References: <9595432484.20010930171630@e-box.dk> <20011001081928.A4315@misty.eyesbeyond.com> <14482905541.20011001213018@e-box.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <14482905541.20011001213018@e-box.dk>; from neigaard@e-box.dk on Mon, Oct 01, 2001 at 09:30:18PM +0200 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 Mon, Oct 01, 2001 at 09:30:18PM +0200, Søren Neigaard wrote: > Monday, October 01, 2001, 12:49:28 AM, Greg wrote: > > >> I'm trying to install the jdk122b10. I don't have X on my machine, but > >> I guess jdk122 needs it for Swing. When I do a make, it try's to > >> install X, but fails. I choose only to install VGA16 somewhere in the > >> setup, and said NO to al lot, since I only need X for the sake of > >> jdk122. I get the following error dmp, please help: > GL> I'd suggest just installing the X package if you're having trouble compiling > GL> the port. > Ok I have now done that, and I got further this time :) But heres what > I get now (I try to answer yes = failure. I try to answer no = > failure), please help: > > - Take 1 -------------------- > It looks as I can go on for ever answering yes here, am I wrong? Looks like the patching has got caught part way. I'd suggest 'make clean' and start over with the build. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 8:52: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from c528925-a.kreska.org (c528925-a.plano1.tx.home.com [24.21.161.123]) by hub.freebsd.org (Postfix) with ESMTP id D05FF37B406 for ; Tue, 2 Oct 2001 08:51:57 -0700 (PDT) Received: from localhost (jkreska@localhost) by c528925-a.kreska.org (8.11.1/8.11.1) with ESMTP id f92Fpvh38612 for ; Tue, 2 Oct 2001 10:51:57 -0500 (CDT) (envelope-from jkreska@kreska.org) Date: Tue, 2 Oct 2001 10:51:57 -0500 (CDT) From: Jeff Kreska X-Sender: jkreska@c528925-a.plano1.tx.home.com To: freebsd-java@freebsd.org Subject: Is the list open Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I haven't seen a message in about a week??? -- Later, Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 8:54:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from arjun.niksun.com (gwnew.niksun.com [63.148.27.34]) by hub.freebsd.org (Postfix) with ESMTP id 43A2837B409 for ; Tue, 2 Oct 2001 08:54:15 -0700 (PDT) Received: from niksun.com (arjun.niksun.com [10.0.0.5]) by arjun.niksun.com (8.9.3/8.9.3) with ESMTP id LAA48227; Tue, 2 Oct 2001 11:54:09 -0400 (EDT) (envelope-from dragos@niksun.com) Message-ID: <3BB9E2C4.B1A06CC1@niksun.com> Date: Tue, 02 Oct 2001 11:52:36 -0400 From: Dragos Ilie Organization: NIKSUN Inc. http://www.niksun.com X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jeff Kreska , FreeBSD Java Subject: Re: Is the list open References: 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 There have been messages everyday! Regards, Dragos Jeff Kreska wrote: > > I haven't seen a message in about a week??? > > -- > Later, > Jeff > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 10: 2:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from fe170.worldonline.dk (fe170.worldonline.dk [212.54.64.199]) by hub.freebsd.org (Postfix) with SMTP id 4B10037B408 for ; Tue, 2 Oct 2001 10:02:35 -0700 (PDT) Received: (qmail 11510 invoked by uid 0); 2 Oct 2001 17:02:27 -0000 Received: from 213.237.13.224.adsl.hc.worldonline.dk (HELO NEIGAARD?MOB) (213.237.13.224) by fe170.worldonline.dk with SMTP; 2 Oct 2001 17:02:27 -0000 Date: Tue, 2 Oct 2001 19:03:46 +0200 From: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Mailer: The Bat! (v1.51) Reply-To: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Priority: 3 (Normal) Message-ID: <1485158167.20011002190346@e-box.dk> To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re[2]: Error when installing jdk122b10 In-Reply-To: <20011002092456.A12318@misty.eyesbeyond.com> References: <9595432484.20010930171630@e-box.dk> <20011001081928.A4315@misty.eyesbeyond.com> <14482905541.20011001213018@e-box.dk> <20011002092456.A12318@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Tuesday, October 02, 2001, 1:54:56 AM, Greg wrote: >> >> I'm trying to install the jdk122b10. I don't have X on my machine, but >> >> I guess jdk122 needs it for Swing. When I do a make, it try's to >> >> install X, but fails. I choose only to install VGA16 somewhere in the >> >> setup, and said NO to al lot, since I only need X for the sake of >> >> jdk122. I get the following error dmp, please help: >> GL> I'd suggest just installing the X package if you're having trouble compiling >> GL> the port. >> Ok I have now done that, and I got further this time :) But heres what >> I get now (I try to answer yes = failure. I try to answer no = >> failure), please help: >> >> - Take 1 -------------------- >> It looks as I can go on for ever answering yes here, am I wrong? GL> Looks like the patching has got caught part way. I'd suggest 'make clean' GL> and start over with the build. Ok - that helped too :) Now I get a new error (I downloaded JFC 1.1 with Swing 1.1.1 from "http://java.sun.com/products/jfc/download.html"): ===> Extracting for jdk-1.2.2b10 >> Checksum OK for jdk1_2_2-src.tar.gz. >> Checksum OK for freebsd-jdk122-patches-10.tar.gz. ===> jdk-1.2.2b10 depends on executable: gm4 - found ===> jdk-1.2.2b10 depends on executable: zip - found ===> jdk-1.2.2b10 depends on file: /usr/local/jdk1.1.8/bin/javac - found ===> jdk-1.2.2b10 depends on file: /usr/local/linux-jdk1.2.2/bin/javac - found ===> jdk-1.2.2b10 depends on file: /usr/X11R6/lib/libMrm.a - found ===> jdk-1.2.2b10 depends on file: /nonexistent - not found ===> Verifying extract for /nonexistent in /usr/ports/java/jfc ===> Extracting for jfc-1.1.1 >> Checksum mismatch for swing1_1_1.zip. Make sure the Makefile and distinfo file (/usr/ports/java/jfc/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop in /usr/ports/java/jfc. *** Error code 1 Stop in /usr/ports/java/jfc. *** Error code 1 Stop in /usr/ports/java/jfc. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. *** Error code 1 Stop in /usr/ports/java/jdk12-beta. -- Med venlig hilsen/Best regards, Søren Neigaard mailto:neigaard@e-box.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 15:36:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id A4EFC37B405 for ; Tue, 2 Oct 2001 15:36:45 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15oY9b-0006QH-00 for freebsd-java@freebsd.org; Wed, 03 Oct 2001 10:36:43 +1200 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f92MahD92805 for freebsd-java@freebsd.org; Wed, 3 Oct 2001 10:36:43 +1200 (NZST) (envelope-from jonc) Date: Wed, 3 Oct 2001 10:36:42 +1200 From: Jonathan Chen To: freebsd-java@freebsd.org Subject: Native JDK1.3.1p4 works sweet! Message-ID: <20011003103642.A92675@jonc.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Ok, So I finally decide to try out the native 1.3.1p4, built from the ports. Whoo! It works great! And the Swing demos all appear to work like they should (they don't look so good with jdk1.2.2b10). Great work guys! When can we mark this as beta? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 15:46:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 30AAC37B408 for ; Tue, 2 Oct 2001 15:46:45 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15oYJG-0002fZ-00; Tue, 02 Oct 2001 15:46:42 -0700 Date: Tue, 2 Oct 2001 15:46:42 -0700 To: Jonathan Chen Cc: freebsd-java@freebsd.org Subject: Re: Native JDK1.3.1p4 works sweet! Message-ID: <20011002154642.A10247@gnuppy> References: <20011003103642.A92675@jonc.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011003103642.A92675@jonc.itouch> User-Agent: Mutt/1.3.22i From: Bill Huey 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 Wed, Oct 03, 2001 at 10:36:42AM +1200, Jonathan Chen wrote: > Great work guys! When can we mark this as beta? NO !@!@@!!!! Well, not until native threading + HotSpot working. I'm working on native threading now and I've got to deal with reentrant BIND thingys. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 20: 0:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id D0FFA37B407 for ; Tue, 2 Oct 2001 19:59:55 -0700 (PDT) Received: from [166.70.8.164] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15ocGH-0002qE-00; Tue, 02 Oct 2001 20:59:54 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f932xm418141; Wed, 3 Oct 2001 12:29:48 +0930 (CST) (envelope-from glewis) Date: Wed, 3 Oct 2001 12:29:46 +0930 From: Greg Lewis To: =?iso-8859-1?Q?S=F8ren_Neigaard?= Cc: freebsd-java@FreeBSD.ORG Subject: Re: Error when installing jdk122b10 Message-ID: <20011003122946.A18017@misty.eyesbeyond.com> References: <9595432484.20010930171630@e-box.dk> <20011001081928.A4315@misty.eyesbeyond.com> <14482905541.20011001213018@e-box.dk> <20011002092456.A12318@misty.eyesbeyond.com> <1485158167.20011002190346@e-box.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <1485158167.20011002190346@e-box.dk>; from neigaard@e-box.dk on Tue, Oct 02, 2001 at 07:03:46PM +0200 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, Oct 02, 2001 at 07:03:46PM +0200, Søren Neigaard wrote: > ===> Extracting for jdk-1.2.2b10 > >> Checksum OK for jdk1_2_2-src.tar.gz. > >> Checksum OK for freebsd-jdk122-patches-10.tar.gz. > ===> jdk-1.2.2b10 depends on executable: gm4 - found > ===> jdk-1.2.2b10 depends on executable: zip - found > ===> jdk-1.2.2b10 depends on file: /usr/local/jdk1.1.8/bin/javac - found > ===> jdk-1.2.2b10 depends on file: /usr/local/linux-jdk1.2.2/bin/javac - found > ===> jdk-1.2.2b10 depends on file: /usr/X11R6/lib/libMrm.a - found > ===> jdk-1.2.2b10 depends on file: /nonexistent - not found > ===> Verifying extract for /nonexistent in /usr/ports/java/jfc > ===> Extracting for jfc-1.1.1 > >> Checksum mismatch for swing1_1_1.zip. > Make sure the Makefile and distinfo file (/usr/ports/java/jfc/distinfo) > are up to date. If you are absolutely sure you want to override this > check, type "make NO_CHECKSUM=yes [other args]". > *** Error code 1 As it says...your options here are to type "make NO_CHECKSUM=yes" or obtain the swing distribution with the correct checksum. I know which of the two I would try :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 20: 7:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 0902A37B401 for ; Tue, 2 Oct 2001 20:07:15 -0700 (PDT) Received: from [166.70.8.164] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15ocNN-0001bF-00; Tue, 02 Oct 2001 21:07:14 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f93378N18277; Wed, 3 Oct 2001 12:37:08 +0930 (CST) (envelope-from glewis) Date: Wed, 3 Oct 2001 12:37:08 +0930 From: Greg Lewis To: Bill Huey Cc: Jonathan Chen , freebsd-java@FreeBSD.ORG Subject: Re: Native JDK1.3.1p4 works sweet! Message-ID: <20011003123708.B18017@misty.eyesbeyond.com> References: <20011003103642.A92675@jonc.itouch> <20011002154642.A10247@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011002154642.A10247@gnuppy>; from billh@gnuppy.monkey.org on Tue, Oct 02, 2001 at 03:46:42PM -0700 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, Oct 02, 2001 at 03:46:42PM -0700, Bill Huey wrote: > On Wed, Oct 03, 2001 at 10:36:42AM +1200, Jonathan Chen wrote: > > Great work guys! When can we mark this as beta? > > NO !@!@@!!!! > > Well, not until native threading + HotSpot working. I'm working on > native threading now and I've got to deal with reentrant BIND thingys. In terms of the core JDK running green threads, patchset 5 will probably be beta quality (there are some bugfixes on top of 4 which are in CVS). However, I'm with Bill. The package with a whole won't be beta until native threads, HotSpot and the plugin all work reliably, preferably on all the BSDs :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 20:14: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 0F99937B405 for ; Tue, 2 Oct 2001 20:14:05 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15ocTz-000AYI-00; Wed, 03 Oct 2001 15:14:03 +1200 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f933E3494780; Wed, 3 Oct 2001 15:14:03 +1200 (NZST) (envelope-from jonc) Date: Wed, 3 Oct 2001 15:14:03 +1200 From: Jonathan Chen To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: Native JDK1.3.1p4 works sweet! Message-ID: <20011003151403.A94718@jonc.itouch> References: <20011003103642.A92675@jonc.itouch> <20011002154642.A10247@gnuppy> <20011003123708.B18017@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011003123708.B18017@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Oct 03, 2001 at 12:37:08PM +0930 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 Wed, Oct 03, 2001 at 12:37:08PM +0930, Greg Lewis wrote: > On Tue, Oct 02, 2001 at 03:46:42PM -0700, Bill Huey wrote: > > On Wed, Oct 03, 2001 at 10:36:42AM +1200, Jonathan Chen wrote: > > > Great work guys! When can we mark this as beta? > > > > NO !@!@@!!!! > > > > Well, not until native threading + HotSpot working. I'm working on > > native threading now and I've got to deal with reentrant BIND thingys. > > In terms of the core JDK running green threads, patchset 5 will probably > be beta quality (there are some bugfixes on top of 4 which are in CVS). This, of course, begs the question: When do you think patchset 5 will be released? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 2 21:37:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 2898F37B406 for ; Tue, 2 Oct 2001 21:37:41 -0700 (PDT) Received: from [166.70.8.164] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15odmt-0004Ic-00; Tue, 02 Oct 2001 22:37:40 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f934bSm18803; Wed, 3 Oct 2001 14:07:28 +0930 (CST) (envelope-from glewis) Date: Wed, 3 Oct 2001 14:07:28 +0930 From: Greg Lewis To: Jonathan Chen Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Native JDK1.3.1p4 works sweet! Message-ID: <20011003140728.A18749@misty.eyesbeyond.com> References: <20011003103642.A92675@jonc.itouch> <20011002154642.A10247@gnuppy> <20011003123708.B18017@misty.eyesbeyond.com> <20011003151403.A94718@jonc.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011003151403.A94718@jonc.itouch>; from jonathan.chen@itouch.co.nz on Wed, Oct 03, 2001 at 03:14:03PM +1200 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 Wed, Oct 03, 2001 at 03:14:03PM +1200, Jonathan Chen wrote: > On Wed, Oct 03, 2001 at 12:37:08PM +0930, Greg Lewis wrote: > > In terms of the core JDK running green threads, patchset 5 will probably > > be beta quality (there are some bugfixes on top of 4 which are in CVS). > > This, of course, begs the question: When do you think patchset 5 will > be released? I don't want to commit to a firm date. I want to have a look at things under 4.4 and my cds haven't come in the mail yet. I'm not upgrading over my modem link :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 0:12:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 5400A37B403 for ; Wed, 3 Oct 2001 00:12:37 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f9379on07827; Wed, 3 Oct 2001 09:09:50 +0200 (CEST) (envelope-from ernst) Date: Wed, 3 Oct 2001 09:09:50 +0200 From: Ernst de Haan To: Greg Lewis Cc: Jonathan Chen , freebsd-java@FreeBSD.ORG Subject: Re: Native JDK1.3.1p4 works sweet! Message-ID: <20011003090949.A7806@c104187.upc-c.chello.nl> References: <20011003103642.A92675@jonc.itouch> <20011002154642.A10247@gnuppy> <20011003123708.B18017@misty.eyesbeyond.com> <20011003151403.A94718@jonc.itouch> <20011003140728.A18749@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011003140728.A18749@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Oct 03, 2001 at 02:07:28PM +0930 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 Greg, I can provide you with accounts on a few 4.x boxes. Would that help? /Ernst Greg Lewis wrote: > On Wed, Oct 03, 2001 at 03:14:03PM +1200, Jonathan Chen wrote: > > On Wed, Oct 03, 2001 at 12:37:08PM +0930, Greg Lewis wrote: > > > In terms of the core JDK running green threads, patchset 5 will probably > > > be beta quality (there are some bugfixes on top of 4 which are in CVS). > > > > This, of course, begs the question: When do you think patchset 5 will > > be released? > > I don't want to commit to a firm date. I want to have a look at things > under 4.4 and my cds haven't come in the mail yet. I'm not upgrading over > my modem link :). > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Phone : (801) 765 1887 > Information Technology Web : http://www.eyesbeyond.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 0:24:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 0569B37B401 for ; Wed, 3 Oct 2001 00:24:41 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f937NBZ07970; Wed, 3 Oct 2001 09:23:11 +0200 (CEST) (envelope-from ernst) Date: Wed, 3 Oct 2001 09:23:11 +0200 From: Ernst de Haan To: java@freebsd.org, Kees Jan Koster Subject: New version of www/orion port Message-ID: <20011003092311.A7877@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi guys, Would anyone be so kind as to test the new version of the www/orion port? I've attached a diff. Orion is a J2EE Application Server, supporting servlets, JSP's, EJB's, XSLT, etc. It can be integrated with Apache, ColdFusion, PHP, etc. /Ernst -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="orion1.4.5_6--1.4.5_7.diff" diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/Makefile /home/ernst/freebsd-ports/www/orion/Makefile --- /usr/ports/www/orion/Makefile Wed Jun 27 03:51:26 2001 +++ /home/ernst/freebsd-ports/www/orion/Makefile Tue Oct 2 19:22:34 2001 @@ -7,7 +7,7 @@ PORTNAME= orion PORTVERSION= 1.4.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www java MASTER_SITES= ftp://ftp.sunet.se/pub/database/utils/orionserver/ \ ${MASTER_SITE_LOCAL} \ @@ -18,7 +18,7 @@ MAINTAINER= ernst@jollem.com -RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/linux-jdk13 +RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk13 USE_ZIP= YES NO_BUILD= YES @@ -30,36 +30,104 @@ ORIONCTL_NAME= orionctl ORIONCTL_DEST= ${PREFIX}/bin/${ORIONCTL_NAME} RC_SCRIPT= ${PREFIX}/etc/rc.d/${PORTNAME}.sh -JAVA_HOME?= ${LOCALBASE}/linux-jdk1.3.1 +JAVA_HOME?= ${LOCALBASE}/jdk1.3.1 +JIKES_LOCATION= ${LOCALBASE}/bin/jikes +WITH_JIKES?= YES +.if ${WITH_JIKES} == "YES" +RUN_DEPENDS+= ${JIKES_LOCATION}:${PORTSDIR}/java/jikes +.endif +USER_NAME?= ${PORTNAME} +GROUP_NAME?= ${USER_NAME} +USER_ID?= 7104 +GROUP_ID?= ${USER_ID} +PW?= /usr/sbin/pw +LISTEN_PORT?= 8090 +AUTO_START?= YES .include +pre-install: + @${ECHO} "Installation settings:" + @${ECHO} " Destination directory: ${ORION_HOME}" + @${ECHO} " Control script location: ${ORIONCTL_DEST}" + @${ECHO} " Startup script location: ${RC_SCRIPT}" + @${ECHO} " Startup script location: ${RC_SCRIPT}" + @${ECHO} " Location of JDK: ${JAVA_HOME}" + @${ECHO} " Using Jikes: ${WITH_JIKES}" + @${ECHO} " Running as (user/group): ${USER_NAME}/${GROUP_NAME} (${USER_ID}:${GROUP_ID})" + @${ECHO} " Port to listen at: ${LISTEN_PORT}" + @${ECHO} " Starting after install: ${AUTO_START}" + do-install: + @# Add the group and the user if they do not exist + ${PW} groupadd -n ${GROUP_NAME} -g ${GROUP_ID} || true + ${PW} useradd -n ${USER_NAME} -u ${USER_ID} -g ${GROUP_NAME} -c "Orion Server account" -d ${ORION_HOME} -s ${SH} -h - || true + + @# Create the destination directory for Orion ${MKDIR} ${ORION_HOME} + + @# Copy all files and make them rwxr-xr-x ${CP} -R ${WRKSRC}/* ${ORION_HOME} ${CHMOD} 755 `find ${ORION_HOME} -type d` + + @# Configure for use of Jikes, if necessary +.if ${WITH_JIKES} == "YES" + ${CAT} ${WRKSRC}/config/server.xml \ + | ${SED} "/\/s//\/" \ + > ${ORION_HOME}/config/server.xml +.endif + + @# Configure the port to listen to + ${CAT} ${WRKSRC}/config/default-web-site.xml \ + | ${SED} "/port=\"80\"/s//port=\"${LISTEN_PORT}\"/" \ + > ${ORION_HOME}/config/default-web-site.xml + + @# Install the 'orionctl' script ${CAT} ${FILESDIR}/${ORIONCTL_NAME} \ | ${SED} "/%%PORTNAME%%/s//${PORTNAME}/" \ | ${SED} "/%%PORTVERSION%%/s//${PORTVERSION}/" \ | ${SED} "/%%ORION_HOME%%/s//${ORION_HOME:S/\//\\\//g}/" \ | ${SED} "/%%RC_SCRIPT_NAME%%/s//${PORTNAME}.sh/" \ | ${SED} "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/" \ + | ${SED} "/%%USER_NAME%%/s//${USER_NAME}/" \ > ${ORIONCTL_DEST} - ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ - | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ - > ${WRKDIR}/${ORIONCTL_NAME}.1 ${CHMOD} 755 ${ORIONCTL_DEST} + + @# Fix a small typo in the index.html served as the root + ${CAT} ${WRKSRC}/default-web-app/index.html \ + | ${SED} "/1\.4\.0/s//${PORTVERSION}/" \ + > ${ORION_HOME}/default-web-app/index.html + + @# Install the startup script ${LN} -sf ${ORIONCTL_DEST} ${RC_SCRIPT} + + @# Create the 'application-deployments' directory, since Orion will + @# otherwise create it when it is first run ${MKDIR} ${ORION_HOME}/application-deployments + + @# Install the tools.jar file from the JDK, since it is needed by Orion ${LN} -sf ${JAVA_HOME}/lib/tools.jar ${ORION_HOME}/tools.jar + + @# Change ownership for the files + ${CHOWN} -R ${USER_NAME}:${GROUP_NAME} ${ORION_HOME} + + @# Install the man page .if !defined(NOPORTDOCS) - ${INSTALL_MAN} ${WRKDIR}/orionctl.1 ${MANPREFIX}/man/man1 + ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ + | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ + > ${WRKDIR}/${ORIONCTL_NAME}.1 + ${INSTALL_MAN} ${WRKDIR}/${ORIONCTL_NAME}.1 ${MANPREFIX}/man/man1 .endif post-install: @${ECHO} "${PORTTITLE} ${PORTVERSION} has been installed in ${ORION_HOME}." .if !defined(NOPORTDOCS) @${ECHO} "Use 'man orionctl' for information about starting and stopping Orion." +.endif +.if ${AUTO_START} == "YES" + @${ECHO} -n "Starting..." + @${RC_SCRIPT} start + @${ECHO} "" .endif .include diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/files/orionctl /home/ernst/freebsd-ports/www/orion/files/orionctl --- /usr/ports/www/orion/files/orionctl Tue Jun 12 12:20:48 2001 +++ /home/ernst/freebsd-ports/www/orion/files/orionctl Tue Oct 2 19:22:34 2001 @@ -1,9 +1,10 @@ #!/bin/sh -# Set some more variables +# Set some variables NAME=%%PORTNAME%% VERSION=%%PORTVERSION%% ORION_HOME=%%ORION_HOME%% +USER_NAME=%%USER_NAME%% LOG=${ORION_HOME}/log/${NAME}.log PID_FILE=/var/run/${NAME}.pid JAR_FILE=${ORION_HOME}/${NAME}.jar @@ -64,13 +65,16 @@ # Create the process ID file rm -f ${PID_FILE} touch ${PID_FILE} - chown root:wheel ${PID_FILE} + chown ${USER_NAME} ${PID_FILE} chmod 600 ${PID_FILE} if [ "${AS_RC_SCRIPT}" = "yes" ]; then echo -n " ${NAME}" fi - ( cd ${ORION_HOME} && ${JAVA_CMD} -jar orion.jar & echo $! > ${PID_FILE} ) > ${LOG} 2>&1 + touch ${PID_FILE} + chown ${USER_NAME} ${PID_FILE} + chmod 600 ${PID_FILE} + su - ${USER_NAME} -c "(cd ${ORION_HOME} && ${JAVA_CMD} -jar orion.jar & echo \$! > ${PID_FILE}) > ${LOG} 2>&1" ;; stop) if [ ! -e ${PID_FILE} ]; then diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/pkg-plist /home/ernst/freebsd-ports/www/orion/pkg-plist --- /usr/ports/www/orion/pkg-plist Wed Jun 27 02:15:07 2001 +++ /home/ernst/freebsd-ports/www/orion/pkg-plist Tue Oct 2 14:30:31 2001 @@ -394,3 +394,5 @@ @dirrm %%T%%/persistence/ejb @dirrm %%T%%/persistence @dirrm %%T%% +@unexec pw groupdel orion || true +@unexec pw userdel orion || true --fdj2RfSjLxBAspz7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 0:47:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 42CEE37B403; Wed, 3 Oct 2001 00:47:18 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f937jh308148; Wed, 3 Oct 2001 09:45:43 +0200 (CEST) (envelope-from ernst) Date: Wed, 3 Oct 2001 09:45:43 +0200 (CEST) Message-Id: <200110030745.f937jh308148@heinz.jollem.com> To: FreeBSD-gnats-submit@freebsd.org Subject: Maintainer update: www/orion 1.4.5_7 From: ernst@jollem.com Reply-To: ernst@jollem.com Cc: java@freebsd.org, sobomax@freebsd.org, jeh@freebsd.org, ernst@jollem.com X-send-pr-version: 3.113 X-GNATS-Notify: 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: Jollem Information Technology >Confidential: no >Synopsis: Maintainer update: www/orion 1.4.5_7 >Severity: non-critical >Priority: medium >Category: ports >Class: maintainer-update >Release: FreeBSD 4.3-RELEASE i386 >Environment: System: FreeBSD heinz.jollem.com 4.3-RELEASE FreeBSD 4.3-RELEASE #5: Mon May 14 16:08:56 CEST 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386 >Description: Makes this port more advanced. Summary of changes: * Now uses the native JDK 1.3.1 by default (option: JAVA_HOME) * Now allows automatic configuration for use with Jikes. By default Orion is now configured to use Jikes (option: WITH_JIKES) * Now runs as a different user (options: USER_NAME, GROUP_NAME, USER_ID, GROUP_ID), this user and the corresponding group are created during installation and removed at deinstallation. The default name for both the user and for the group is 'orion'. The default ID for both is 7104. * Now allows one to configure the port the web server should listen at at installation time. The default changed from 80 to 8090, to avoid clashes with the default ports of other web server products, especially Apache (port 80) and Tomcat (8080 and 8007) (option: LISTEN_PORT) * Now allows that Orion is automatically started after installation (option: AUTO_START). By default it now is. * Now prints the installation settings at pre-install stage. >How-To-Repeat: N/A >Fix: diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/Makefile /home/ernst/freebsd-ports/www/orion/Makefile --- /usr/ports/www/orion/Makefile Wed Jun 27 03:51:26 2001 +++ /home/ernst/freebsd-ports/www/orion/Makefile Tue Oct 2 19:22:34 2001 @@ -7,7 +7,7 @@ PORTNAME= orion PORTVERSION= 1.4.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www java MASTER_SITES= ftp://ftp.sunet.se/pub/database/utils/orionserver/ \ ${MASTER_SITE_LOCAL} \ @@ -18,7 +18,7 @@ MAINTAINER= ernst@jollem.com -RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/linux-jdk13 +RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk13 USE_ZIP= YES NO_BUILD= YES @@ -30,36 +30,104 @@ ORIONCTL_NAME= orionctl ORIONCTL_DEST= ${PREFIX}/bin/${ORIONCTL_NAME} RC_SCRIPT= ${PREFIX}/etc/rc.d/${PORTNAME}.sh -JAVA_HOME?= ${LOCALBASE}/linux-jdk1.3.1 +JAVA_HOME?= ${LOCALBASE}/jdk1.3.1 +JIKES_LOCATION= ${LOCALBASE}/bin/jikes +WITH_JIKES?= YES +.if ${WITH_JIKES} == "YES" +RUN_DEPENDS+= ${JIKES_LOCATION}:${PORTSDIR}/java/jikes +.endif +USER_NAME?= ${PORTNAME} +GROUP_NAME?= ${USER_NAME} +USER_ID?= 7104 +GROUP_ID?= ${USER_ID} +PW?= /usr/sbin/pw +LISTEN_PORT?= 8090 +AUTO_START?= YES .include +pre-install: + @${ECHO} "Installation settings:" + @${ECHO} " Destination directory: ${ORION_HOME}" + @${ECHO} " Control script location: ${ORIONCTL_DEST}" + @${ECHO} " Startup script location: ${RC_SCRIPT}" + @${ECHO} " Startup script location: ${RC_SCRIPT}" + @${ECHO} " Location of JDK: ${JAVA_HOME}" + @${ECHO} " Using Jikes: ${WITH_JIKES}" + @${ECHO} " Running as (user/group): ${USER_NAME}/${GROUP_NAME} (${USER_ID}:${GROUP_ID})" + @${ECHO} " Port to listen at: ${LISTEN_PORT}" + @${ECHO} " Starting after install: ${AUTO_START}" + do-install: + @# Add the group and the user if they do not exist + ${PW} groupadd -n ${GROUP_NAME} -g ${GROUP_ID} || true + ${PW} useradd -n ${USER_NAME} -u ${USER_ID} -g ${GROUP_NAME} -c "Orion Server account" -d ${ORION_HOME} -s ${SH} -h - || true + + @# Create the destination directory for Orion ${MKDIR} ${ORION_HOME} + + @# Copy all files and make them rwxr-xr-x ${CP} -R ${WRKSRC}/* ${ORION_HOME} ${CHMOD} 755 `find ${ORION_HOME} -type d` + + @# Configure for use of Jikes, if necessary +.if ${WITH_JIKES} == "YES" + ${CAT} ${WRKSRC}/config/server.xml \ + | ${SED} "/\/s//\/" \ + > ${ORION_HOME}/config/server.xml +.endif + + @# Configure the port to listen to + ${CAT} ${WRKSRC}/config/default-web-site.xml \ + | ${SED} "/port=\"80\"/s//port=\"${LISTEN_PORT}\"/" \ + > ${ORION_HOME}/config/default-web-site.xml + + @# Install the 'orionctl' script ${CAT} ${FILESDIR}/${ORIONCTL_NAME} \ | ${SED} "/%%PORTNAME%%/s//${PORTNAME}/" \ | ${SED} "/%%PORTVERSION%%/s//${PORTVERSION}/" \ | ${SED} "/%%ORION_HOME%%/s//${ORION_HOME:S/\//\\\//g}/" \ | ${SED} "/%%RC_SCRIPT_NAME%%/s//${PORTNAME}.sh/" \ | ${SED} "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/" \ + | ${SED} "/%%USER_NAME%%/s//${USER_NAME}/" \ > ${ORIONCTL_DEST} - ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ - | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ - > ${WRKDIR}/${ORIONCTL_NAME}.1 ${CHMOD} 755 ${ORIONCTL_DEST} + + @# Fix a small typo in the index.html served as the root + ${CAT} ${WRKSRC}/default-web-app/index.html \ + | ${SED} "/1\.4\.0/s//${PORTVERSION}/" \ + > ${ORION_HOME}/default-web-app/index.html + + @# Install the startup script ${LN} -sf ${ORIONCTL_DEST} ${RC_SCRIPT} + + @# Create the 'application-deployments' directory, since Orion will + @# otherwise create it when it is first run ${MKDIR} ${ORION_HOME}/application-deployments + + @# Install the tools.jar file from the JDK, since it is needed by Orion ${LN} -sf ${JAVA_HOME}/lib/tools.jar ${ORION_HOME}/tools.jar + + @# Change ownership for the files + ${CHOWN} -R ${USER_NAME}:${GROUP_NAME} ${ORION_HOME} + + @# Install the man page .if !defined(NOPORTDOCS) - ${INSTALL_MAN} ${WRKDIR}/orionctl.1 ${MANPREFIX}/man/man1 + ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ + | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ + > ${WRKDIR}/${ORIONCTL_NAME}.1 + ${INSTALL_MAN} ${WRKDIR}/${ORIONCTL_NAME}.1 ${MANPREFIX}/man/man1 .endif post-install: @${ECHO} "${PORTTITLE} ${PORTVERSION} has been installed in ${ORION_HOME}." .if !defined(NOPORTDOCS) @${ECHO} "Use 'man orionctl' for information about starting and stopping Orion." +.endif +.if ${AUTO_START} == "YES" + @${ECHO} -n "Starting..." + @${RC_SCRIPT} start + @${ECHO} "" .endif .include diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/files/orionctl /home/ernst/freebsd-ports/www/orion/files/orionctl --- /usr/ports/www/orion/files/orionctl Tue Jun 12 12:20:48 2001 +++ /home/ernst/freebsd-ports/www/orion/files/orionctl Tue Oct 2 19:22:34 2001 @@ -1,9 +1,10 @@ #!/bin/sh -# Set some more variables +# Set some variables NAME=%%PORTNAME%% VERSION=%%PORTVERSION%% ORION_HOME=%%ORION_HOME%% +USER_NAME=%%USER_NAME%% LOG=${ORION_HOME}/log/${NAME}.log PID_FILE=/var/run/${NAME}.pid JAR_FILE=${ORION_HOME}/${NAME}.jar @@ -64,13 +65,16 @@ # Create the process ID file rm -f ${PID_FILE} touch ${PID_FILE} - chown root:wheel ${PID_FILE} + chown ${USER_NAME} ${PID_FILE} chmod 600 ${PID_FILE} if [ "${AS_RC_SCRIPT}" = "yes" ]; then echo -n " ${NAME}" fi - ( cd ${ORION_HOME} && ${JAVA_CMD} -jar orion.jar & echo $! > ${PID_FILE} ) > ${LOG} 2>&1 + touch ${PID_FILE} + chown ${USER_NAME} ${PID_FILE} + chmod 600 ${PID_FILE} + su - ${USER_NAME} -c "(cd ${ORION_HOME} && ${JAVA_CMD} -jar orion.jar & echo \$! > ${PID_FILE}) > ${LOG} 2>&1" ;; stop) if [ ! -e ${PID_FILE} ]; then diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/pkg-plist /home/ernst/freebsd-ports/www/orion/pkg-plist --- /usr/ports/www/orion/pkg-plist Wed Jun 27 02:15:07 2001 +++ /home/ernst/freebsd-ports/www/orion/pkg-plist Tue Oct 2 14:30:31 2001 @@ -394,3 +394,5 @@ @dirrm %%T%%/persistence/ejb @dirrm %%T%%/persistence @dirrm %%T%% +@unexec pw groupdel orion || true +@unexec pw userdel orion || true To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 6: 5:38 2001 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 9C0AC37B403; Wed, 3 Oct 2001 06:05:07 -0700 (PDT) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id f92HF5D31245; Tue, 2 Oct 2001 19:15:05 +0200 (CEST) (envelope-from ernst) Date: Tue, 2 Oct 2001 19:15:05 +0200 (CEST) Message-Id: <200110021715.f92HF5D31245@zaphod.euronet.nl> To: FreeBSD-gnats-submit@freebsd.org Subject: Maintainer update: www/orion (1.4.5_7) From: Ernst de Haan Reply-To: Ernst de Haan Cc: java@freebsd.org, sobomax@freebsd.org, jeh@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: 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: Jollem Information Technology >Confidential: no >Synopsis: Maintainer update: www/orion (1.4.5_7) >Severity: non-critical >Priority: medium >Category: ports >Class: maintainer-update >Release: FreeBSD 4.4-STABLE i386 >Environment: System: FreeBSD zaphod.euronet.nl 4.4-STABLE FreeBSD 4.4-STABLE #2: Mon Sep 24 18:08:27 CEST 2001 root@zaphod.euronet.nl:/usr/obj/usr/src/sys/ZAPHOD i386 >Description: Update of the Orion J2EE Application Server port. Still based on Orion 1.4.5. Changes: * Bumped PORTREVISION to 7 * Creating a group 'orion' and a user 'orion' when installing, and removing these when deinstalling. Orion now runs as this user. * Orion now by default listens to port 7104 instead of 80, this can be configured using the LISTEN_PORT option * Now using the FreeBSD JDK 1.3.1 by default, instead of the Sun Linux JDK 1.3.1, this can be configured using the JAVA_HOME option * Now configuring Orion for use with Jikes by default. This can be disabled by using WITH_JIKES=NO * Now automatically starting Orion after installation, this can be disabled with the option AUTO_START=NO >How-To-Repeat: N/A >Fix: diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/Makefile /home/ernst/freebsd-ports/www/orion/Makefile --- /usr/ports/www/orion/Makefile Wed Jun 27 03:51:26 2001 +++ /home/ernst/freebsd-ports/www/orion/Makefile Tue Oct 2 19:02:57 2001 @@ -7,7 +7,7 @@ PORTNAME= orion PORTVERSION= 1.4.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www java MASTER_SITES= ftp://ftp.sunet.se/pub/database/utils/orionserver/ \ ${MASTER_SITE_LOCAL} \ @@ -18,7 +18,7 @@ MAINTAINER= ernst@jollem.com -RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/linux-jdk13 +RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk13 USE_ZIP= YES NO_BUILD= YES @@ -30,36 +30,104 @@ ORIONCTL_NAME= orionctl ORIONCTL_DEST= ${PREFIX}/bin/${ORIONCTL_NAME} RC_SCRIPT= ${PREFIX}/etc/rc.d/${PORTNAME}.sh -JAVA_HOME?= ${LOCALBASE}/linux-jdk1.3.1 +JAVA_HOME?= ${LOCALBASE}/jdk1.3.1 +JIKES_LOCATION= ${LOCALBASE}/bin/jikes +WITH_JIKES?= YES +.if ${WITH_JIKES} == "YES" +RUN_DEPENDS+= ${JIKES_LOCATION}:${PORTSDIR}/java/jikes +.endif +USER_NAME?= ${PORTNAME} +GROUP_NAME?= ${USER_NAME} +USER_ID?= 7104 +GROUP_ID?= ${USER_ID} +PW?= /usr/sbin/pw +LISTEN_PORT?= 8090 +AUTO_START?= YES .include +pre-install: + @${ECHO} "Installation settings:" + @${ECHO} " Destination directory: ${ORION_HOME}" + @${ECHO} " Control script location: ${ORIONCTL_DEST}" + @${ECHO} " Startup script location: ${RC_SCRIPT}" + @${ECHO} " Startup script location: ${RC_SCRIPT}" + @${ECHO} " Location of JDK: ${JAVA_HOME}" + @${ECHO} " Using Jikes: ${WITH_JIKES}" + @${ECHO} " Running as (user/group): ${USER_NAME}/${GROUP_NAME} (${USER_ID}:${GROUP_ID})" + @${ECHO} " Port to listen at: ${LISTEN_PORT}" + @${ECHO} " Starting after install: ${AUTO_START}" + do-install: + @# Add the group and the user if they do not exist + ${PW} groupadd -n ${GROUP_NAME} -g ${GROUP_ID} || true + ${PW} useradd -n ${USER_NAME} -u ${USER_ID} -g ${GROUP_NAME} -c "Orion Server account" -d ${ORION_HOME} -s ${SH} -h - || true + + @# Create the destination directory for Orion ${MKDIR} ${ORION_HOME} + + @# Copy all files and make them rwxr-xr-x ${CP} -R ${WRKSRC}/* ${ORION_HOME} ${CHMOD} 755 `find ${ORION_HOME} -type d` + + @# Configure for use of Jikes, if necessary +.if ${WITH_JIKES} == "YES" + ${CAT} ${WRKSRC}/config/server.xml \ + | ${SED} "/\/s//\/" \ + > ${ORION_HOME}/config/server.xml +.endif + + @# Configure the port to listen to + ${CAT} ${WRKSRC}/config/default-web-site.xml \ + | ${SED} "/port=\"80\"/s//port=\"${LISTEN_PORT}\"/" \ + > ${ORION_HOME}/config/default-web-site.xml + + @# Install the 'orionctl' script ${CAT} ${FILESDIR}/${ORIONCTL_NAME} \ | ${SED} "/%%PORTNAME%%/s//${PORTNAME}/" \ | ${SED} "/%%PORTVERSION%%/s//${PORTVERSION}/" \ | ${SED} "/%%ORION_HOME%%/s//${ORION_HOME:S/\//\\\//g}/" \ | ${SED} "/%%RC_SCRIPT_NAME%%/s//${PORTNAME}.sh/" \ | ${SED} "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/" \ + | ${SED} "/%%USER_NAME%%/s//${USER_NAME}/" \ > ${ORIONCTL_DEST} - ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ - | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ - > ${WRKDIR}/${ORIONCTL_NAME}.1 ${CHMOD} 755 ${ORIONCTL_DEST} + + @# Fix a small typo in the index.html served as the root + ${CAT} ${WRKSRC}/default-web-app/index.html \ + | ${SED} "/1\.4\.0/s//${PORTVERSION}/" \ + > ${ORION_HOME}/default-web-app/index.html + + @# Install the startup script ${LN} -sf ${ORIONCTL_DEST} ${RC_SCRIPT} + + @# Create the 'application-deployments' directory, since Orion will + @# otherwise create it when it is first run ${MKDIR} ${ORION_HOME}/application-deployments + + @# Install the tools.jar file from the JDK, since it is needed by Orion ${LN} -sf ${JAVA_HOME}/lib/tools.jar ${ORION_HOME}/tools.jar + + @# Change ownership for the files + ${CHOWN} -R ${USER_NAME}:${GROUP_NAME} ${ORION_HOME} + + @# Install the man page .if !defined(NOPORTDOCS) - ${INSTALL_MAN} ${WRKDIR}/orionctl.1 ${MANPREFIX}/man/man1 + ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ + | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ + > ${WRKDIR}/${ORIONCTL_NAME}.1 + ${INSTALL_MAN} ${WRKDIR}/${ORIONCTL_NAME}.1 ${MANPREFIX}/man/man1 .endif post-install: @${ECHO} "${PORTTITLE} ${PORTVERSION} has been installed in ${ORION_HOME}." .if !defined(NOPORTDOCS) @${ECHO} "Use 'man orionctl' for information about starting and stopping Orion." +.endif +.if ${AUTO_START} == "YES" + @${ECHO} -n "Starting..." + @${RC_SCRIPT} start + @${ECHO} "" .endif .include diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/files/orionctl /home/ernst/freebsd-ports/www/orion/files/orionctl --- /usr/ports/www/orion/files/orionctl Tue Jun 12 12:20:48 2001 +++ /home/ernst/freebsd-ports/www/orion/files/orionctl Tue Oct 2 18:57:32 2001 @@ -1,9 +1,10 @@ #!/bin/sh -# Set some more variables +# Set some variables NAME=%%PORTNAME%% VERSION=%%PORTVERSION%% ORION_HOME=%%ORION_HOME%% +USER_NAME=%%USER_NAME%% LOG=${ORION_HOME}/log/${NAME}.log PID_FILE=/var/run/${NAME}.pid JAR_FILE=${ORION_HOME}/${NAME}.jar @@ -64,13 +65,16 @@ # Create the process ID file rm -f ${PID_FILE} touch ${PID_FILE} - chown root:wheel ${PID_FILE} + chown ${USER_NAME} ${PID_FILE} chmod 600 ${PID_FILE} if [ "${AS_RC_SCRIPT}" = "yes" ]; then echo -n " ${NAME}" fi - ( cd ${ORION_HOME} && ${JAVA_CMD} -jar orion.jar & echo $! > ${PID_FILE} ) > ${LOG} 2>&1 + touch ${PID_FILE} + chown ${USER_NAME} ${PID_FILE} + chmod 600 ${PID_FILE} + su - ${USER_NAME} -c "(cd ${ORION_HOME} && ${JAVA_CMD} -jar orion.jar & echo \$! > ${PID_FILE}) > ${LOG} 2>&1" ;; stop) if [ ! -e ${PID_FILE} ]; then diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/www/orion/pkg-plist /home/ernst/freebsd-ports/www/orion/pkg-plist --- /usr/ports/www/orion/pkg-plist Wed Jun 27 02:15:07 2001 +++ /home/ernst/freebsd-ports/www/orion/pkg-plist Tue Oct 2 14:29:19 2001 @@ -394,3 +394,5 @@ @dirrm %%T%%/persistence/ejb @dirrm %%T%%/persistence @dirrm %%T%% +@unexec pw groupdel orion || true +@unexec pw userdel orion || true To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 9:38:34 2001 Delivered-To: freebsd-java@freebsd.org Received: from freebsd.hbz.pl (freebsd.hbz.pl [213.77.124.5]) by hub.freebsd.org (Postfix) with ESMTP id E27F637B406 for ; Wed, 3 Oct 2001 09:38:30 -0700 (PDT) Received: by freebsd.hbz.pl (Postfix, from userid 1002) id 0D5861B7E65; Wed, 3 Oct 2001 18:38:35 +0200 (CEST) Date: Wed, 3 Oct 2001 18:38:34 +0200 From: Wojciech Sobczuk To: freebsd-java@freebsd.org Subject: bug Message-ID: <20011003183834.A74648@freebsd.hbz.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 hello, i think i've found a jdk bug. i'm running: 4.4-STABLE FreeBSD 4.4-STABLE #2: Tue Sep 18 15:39:05 GMT 2001 with XFree 4.0.2 and: java version "1.3.1-internal" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-internal-wojtek-011002-12:49) Classic VM (build 1.3.1-internal-wojtek-011002-12:49, green threads, nojit) i'm doing swing programming. when i do: public MyClass extends JFrame { ... } MyClass obj = new MyClass(); ... here i configure the frame (add buttons etc.) obj.show() -- window shows up obj.hide() -- window minimizes obj.show() -- nothing happens, the window remains minimized, and it should show up. i tested the same code under Windows ME and the window showed up, so it seems like a FreeBSD jdk bug. i hope that this is enough to identify if it's a bug and fix it if it's one. let me know if you have further questions. greetings, Wojtek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 9:52:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from beta.nova.org (beta.nova.org [209.31.144.41]) by hub.freebsd.org (Postfix) with ESMTP id 82B1A37B406 for ; Wed, 3 Oct 2001 09:52:40 -0700 (PDT) Received: from nova.org (localhost.nova.org [127.0.0.1]) by beta.nova.org (8.11.2/8.11.2) with SMTP id f93GnO338424; Wed, 3 Oct 2001 12:49:28 -0400 (EDT) (envelope-from bsletten@nova.org) Message-Id: <200110031649.f93GnO338424@beta.nova.org> Date: Wed, 3 Oct 2001 16:49:23 -0000 To: "Wojciech Sobczuk" , Subject: Re: bug From: X-Mailer: TWIG 2.6.2 In-Reply-To: <20011003183834.A74648@freebsd.hbz.pl> 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 > i think i've found a jdk bug. i'm running: > 4.4-STABLE FreeBSD 4.4-STABLE #2: Tue Sep 18 15:39:05 GMT 2001 > > with XFree 4.0.2 What WindowManager are you using? I have seen JFrame/JDialog weirdness under certain WMs, but haven't isolated the combination yet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 10: 6:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 120A037B403 for ; Wed, 3 Oct 2001 10:06:54 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f93H5Bs09412; Wed, 3 Oct 2001 19:05:11 +0200 (CEST) (envelope-from ernst) Date: Wed, 3 Oct 2001 19:05:10 +0200 From: Ernst de Haan To: bsletten@nova.org Cc: Wojciech Sobczuk , freebsd-java@FreeBSD.ORG Subject: Re: bug Message-ID: <20011003190510.A9093@c104187.upc-c.chello.nl> References: <20011003183834.A74648@freebsd.hbz.pl> <200110031649.f93GnO338424@beta.nova.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110031649.f93GnO338424@beta.nova.org>; from bsletten@nova.org on Wed, Oct 03, 2001 at 04:49:23PM -0000 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 Yeah, If this bug shows up under twm, then I would consider it a Swing-bug, otherwise I'd consider it a problem related to the WM. I've seen quite a few problems with KDE myself, with different JDKs. /Ernst bsletten@nova.org wrote: > > > i think i've found a jdk bug. i'm running: > > 4.4-STABLE FreeBSD 4.4-STABLE #2: Tue Sep 18 15:39:05 GMT 2001 > > > > with XFree 4.0.2 > What WindowManager are you using? I have seen JFrame/JDialog weirdness under > certain WMs, but haven't isolated the combination yet. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 3 14:23:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 89E7E37B407; Wed, 3 Oct 2001 14:23:10 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f93LLeM10047; Wed, 3 Oct 2001 23:21:40 +0200 (CEST) (envelope-from ernst) Date: Wed, 3 Oct 2001 23:21:40 +0200 From: Ernst de Haan To: ports@freebsd.org, java@freebsd.org Subject: Port for JBuilder ? Message-ID: <20011003232140.A10035@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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, Has there been any attempt to create a port for JBuilder 5 ? I've got a license for it at the office, so I'm gonna try to get the Linux version running. Shouldn't be a problem. I can probably get it running with our native JDK 1.3.1 too. So. If there's been any attempt, I'd love to know. Otherwise I'll just write my own. Regards. /Ernst -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 5 20:18:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from mtiwmhc22.worldnet.att.net (mtiwmhc22.worldnet.att.net [204.127.131.47]) by hub.freebsd.org (Postfix) with ESMTP id C63A437B403 for ; Fri, 5 Oct 2001 20:18:28 -0700 (PDT) Received: from buji ([12.76.50.16]) by mtiwmhc22.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with SMTP id <20011006031827.SNSG8481.mtiwmhc22.worldnet.att.net@buji> for ; Sat, 6 Oct 2001 03:18:27 +0000 From: "Erik Meade" To: Subject: jdk-1.3.1p4_1 Process InputStream hangs after 12331 bytes Date: Fri, 5 Oct 2001 22:20:47 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 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 Hello freebsd-java, I'm running jdk-1.3.1p4_1 on 4.4 stable when I get an InputStream from a Process all is well as long the the total number of bytes in the stream is less than 12331. Once I hit 12331 java hangs. Is there anything I can do to prevent this or is this a bug? Thanks, -- Erik Meade emeade@objectmentor.com Senior Consultant Object Mentor, Inc. http://www.junit.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 5 22:19:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id E429537B407 for ; Fri, 5 Oct 2001 22:19:54 -0700 (PDT) Received: from [166.70.6.5] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15pjsP-0004f1-00; Fri, 05 Oct 2001 23:19:54 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f965JpA33189; Sat, 6 Oct 2001 14:49:51 +0930 (CST) (envelope-from glewis) Date: Sat, 6 Oct 2001 14:49:50 +0930 From: Greg Lewis To: Erik Meade Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdk-1.3.1p4_1 Process InputStream hangs after 12331 bytes Message-ID: <20011006144950.A33165@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from emeade@geekfarm.org on Fri, Oct 05, 2001 at 10:20:47PM -0500 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 Fri, Oct 05, 2001 at 10:20:47PM -0500, Erik Meade wrote: > Hello freebsd-java, > > I'm running jdk-1.3.1p4_1 on 4.4 stable when I get an InputStream > >from a Process all is well as long the the total number of bytes in > the stream is less than 12331. Once I hit 12331 java hangs. Is > there anything I can do to prevent this or is this a bug? Its a bug. There is a patch for it which will be in patchset 5. I'll try and get some testing done on 4.4 this weekend and hopefully get something happening with patchset 5. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Oct 6 7:45:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from mtiwmhc23.worldnet.att.net (mtiwmhc23.worldnet.att.net [204.127.131.48]) by hub.freebsd.org (Postfix) with ESMTP id 628A837B401 for ; Sat, 6 Oct 2001 07:45:31 -0700 (PDT) Received: from buji ([12.76.50.41]) by mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with SMTP id <20011006144530.NEQG6924.mtiwmhc23.worldnet.att.net@buji>; Sat, 6 Oct 2001 14:45:30 +0000 From: "Erik Meade" To: "Greg Lewis" Cc: Subject: RE: jdk-1.3.1p4_1 Process InputStream hangs after 12331 bytes Date: Sat, 6 Oct 2001 09:47:47 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20011006144950.A33165@misty.eyesbeyond.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 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 > -----Original Message----- > From: owner-freebsd-java@FreeBSD.ORG > [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Greg Lewis > Sent: Saturday, October 06, 2001 12:20 AM > To: Erik Meade > Cc: freebsd-java@FreeBSD.ORG > Subject: Re: jdk-1.3.1p4_1 Process InputStream hangs after 12331 bytes > > > On Fri, Oct 05, 2001 at 10:20:47PM -0500, Erik Meade wrote: > > Hello freebsd-java, > > > > I'm running jdk-1.3.1p4_1 on 4.4 stable when I get an InputStream > > >from a Process all is well as long the the total number of bytes in > > the stream is less than 12331. Once I hit 12331 java hangs. Is > > there anything I can do to prevent this or is this a bug? > > Its a bug. There is a patch for it which will be in patchset 5. > > I'll try and get some testing done on 4.4 this weekend and hopefully > get something happening with patchset 5. > > -- > Greg Lewis Email : glewis@eyesbeyond.com Thanks Greg, If there is anything a newbie to freebsd can do I'm all yours. -- Erik Meade emeade@objectmentor.com Senior Consultant Object Mentor, Inc. http://www.junit.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Oct 6 8:21:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from mobycarp.org (h-66-134-60-67.lnoclli.covad.net [66.134.60.67]) by hub.freebsd.org (Postfix) with ESMTP id CF8B237B406 for ; Sat, 6 Oct 2001 08:21:18 -0700 (PDT) Received: (from wardd@localhost) by mobycarp.org (8.11.6/8.11.1) id f96FMUF72075 for freebsd-java@freebsd.org; Sat, 6 Oct 2001 10:22:30 -0500 (CDT) (envelope-from wardd) Date: Sat, 6 Oct 2001 10:22:30 -0500 From: William Ward To: freebsd-java@freebsd.org Subject: Is jdb working in 1.3.1? Message-ID: <20011006102230.A71995@mobycarp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 was just wondering if jdb is working or not in the 1.3.1 port. It just kind of hangs there. mobycarp% jdb JMush Initializing jdb... > run run JMush I did a trace and it's hanging after issuing a wait4(). By the way ... kudos on making this port! It's fast and works great! /William To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message