From owner-freebsd-java Sun Apr 8 9: 3:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail5.atl.bellsouth.net (mail5.atl.bellsouth.net [207.203.120.24]) by hub.freebsd.org (Postfix) with ESMTP id 6772F37B422 for ; Sun, 8 Apr 2001 09:03:37 -0700 (PDT) (envelope-from sheltonj@bellsouth.net) Received: from biturbo.digitalmagic.dnsq.org (host-216-78-102-21.asm.bellsouth.net [216.78.102.21]) by mail5.atl.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id MAA12167 for ; Sun, 8 Apr 2001 12:06:19 -0400 (EDT) Received: (from sheltonj@localhost) by biturbo.digitalmagic.dnsq.org (8.11.3/8.11.3) id f38G33F70442 for freebsd-java@freebsd.org; Sun, 8 Apr 2001 12:03:03 -0400 (EDT) (envelope-from sheltonj) Date: Sun, 8 Apr 2001 12:03:03 -0400 From: "Shelton C. Johnson Jr." To: freebsd-java@freebsd.org Subject: Patch to javavmwrapper.sh to support all sym-link executables in jdk/bin Message-ID: <20010408120303.A70236@biturbo.digitalmagic.dnsq.org> Reply-To: shelton_c_j@yahoo.com Mime-Version: 1.0 Content-Type: message/rfc822 Content-Disposition: inline User-Agent: Mutt/1.2.5i User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org MIME-Version: 1.0 the Java mailing list. Hi there. I was using your javavmwrapper and came up with an interesting enhancement to it: *** /usr/ports/java/javavmwrapper/src/javavmwrapper.sh Tue Jun 20 03:40:20 2000 --- javavm Sat Apr 7 16:50:32 2001 *************** *** 20,31 **** # MAINTAINER= sobomax@FreeBSD.org ARGS="${*}" ! PREFIX="%%PREFIX%%" CONF="${PREFIX}/etc/javavms" IAM=`basename "${0}"` tryrunVM () { ! if [ -x "${1}" ]; then exec "${1}" ${2} fi --- 20,34 ---- # MAINTAINER= sobomax@FreeBSD.org ARGS="${*}" ! PREFIX="/usr/local" CONF="${PREFIX}/etc/javavms" IAM=`basename "${0}"` tryrunVM () { ! Jhome=`dirname "${1}"` ! if [ -x "${Jhome}/${IAM}" ]; then ! exec "${Jhome}/${IAM}" ${2} ! elif [ -x "${1}" ]; then exec "${1}" ${2} fi End Patch You can ignore the PREFIX part of it for obvious reasons. I took one extra step in /usr/local/bin (where javavm is installed). I used one of the existing java installations as a template and created a set of symbolic links to javavm which exactly mirrored the jdk/bin directory. This lets me have command line access to all the java tools, such as javac and jar, even the esoteric ones. This is useful for ports which ought to be built using whatever jdk is installed, rather than depending on a specific one. The script I used to create these links is: cd /usr/local/bin for i in ../jdk1.2.2/bin/* do if [ -h $i ]; then k=`basename $i` ln -s javavm $k fi done This could be wrapped into the registerVM functionality. Let me know what you think, I hope you find this useful enough to enhance the javavmwrapper port. Thanks for your useful script and all the other things you do with/for FreeBSD. Shelton Johnson BSD user since 386BSD 0.0 PS If the mail headers are wrong, my email address is shelton_c_j@yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 9 3:59: 6 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 716F737B423 for ; Mon, 9 Apr 2001 03:59:01 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f39AvKg01972; Mon, 9 Apr 2001 12:57:20 +0200 (CEST) (envelope-from ernst) Date: Mon, 9 Apr 2001 12:57:20 +0200 From: Ernst de Haan To: "Shelton C. Johnson Jr." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Patch to javavmwrapper.sh to support all sym-link executables in jdk/bin Message-ID: <20010409125720.A1959@c187104187.telekabel.chello.nl> References: <20010408120303.A70236@biturbo.digitalmagic.dnsq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010408120303.A70236@biturbo.digitalmagic.dnsq.org>; from shelton_c_j@yahoo.com on Sun, Apr 08, 2001 at 12:03:03PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Shelton, Wow, from what you described this is a very nice enhancement. But if you want this patch committed, then you send a PR (the `send-pr' tool). -- Ernst Shelton C. Johnson Jr. wrote: > > the Java mailing list. > > Hi there. I was using your javavmwrapper and came up with an interesting > enhancement to it: > > > *** /usr/ports/java/javavmwrapper/src/javavmwrapper.sh Tue Jun 20 03:40:20 2000 > --- javavm Sat Apr 7 16:50:32 2001 > *************** > *** 20,31 **** > # MAINTAINER= sobomax@FreeBSD.org > > ARGS="${*}" > ! PREFIX="%%PREFIX%%" > CONF="${PREFIX}/etc/javavms" > IAM=`basename "${0}"` > > tryrunVM () { > ! if [ -x "${1}" ]; then > exec "${1}" ${2} > fi > > --- 20,34 ---- > # MAINTAINER= sobomax@FreeBSD.org > > ARGS="${*}" > ! PREFIX="/usr/local" > CONF="${PREFIX}/etc/javavms" > IAM=`basename "${0}"` > > tryrunVM () { > ! Jhome=`dirname "${1}"` > ! if [ -x "${Jhome}/${IAM}" ]; then > ! exec "${Jhome}/${IAM}" ${2} > ! elif [ -x "${1}" ]; then > exec "${1}" ${2} > fi > > > > End Patch > > You can ignore the PREFIX part of it for obvious reasons. I took one extra > step in /usr/local/bin (where javavm is installed). I used one of the > existing java installations as a template and created a set of symbolic > links to javavm which exactly mirrored the jdk/bin directory. This lets me > have command line access to all the java tools, such as javac and jar, even > the esoteric ones. This is useful for ports which ought to be built using > whatever jdk is installed, rather than depending on a specific one. > The script I used to create these links is: > > cd /usr/local/bin > for i in ../jdk1.2.2/bin/* > do > if [ -h $i ]; then > k=`basename $i` > ln -s javavm $k > fi > done > > This could be wrapped into the registerVM functionality. > > Let me know what you think, I hope you find this useful enough to enhance > the javavmwrapper port. > > Thanks for your useful script and all the other things you do with/for FreeBSD. > > > Shelton Johnson > BSD user since 386BSD 0.0 > > PS If the mail headers are wrong, my email address is shelton_c_j@yahoo.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Java Architect Jollem Information Technology "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 Tue Apr 10 5:10:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from news.IAEhv.nl (news.iae.nl [212.61.26.37]) by hub.freebsd.org (Postfix) with ESMTP id 8389437B422 for ; Tue, 10 Apr 2001 05:10:19 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id OAA29005 for java@freebsd.org; Tue, 10 Apr 2001 14:10:18 +0200 (MET DST) Received: from bowtie.nl (nietzsche.intra.bowtie.nl [192.168.4.16]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id f3AC5op86478; Tue, 10 Apr 2001 14:05:51 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-ID: <3AD2F71E.51654DC2@bowtie.nl> Date: Tue, 10 Apr 2001 14:05:50 +0200 From: Marc van Kempen Organization: BowTie Technology X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: java@freebsd.org Subject: jdk1.3 and 4.2-RELEASE? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm trying to run jdk1.3 from Sun (will try IBM too) on my 4.2-RELEASE box. Has anyone backported the patches from Andre Gallatin to 4.2-RELEASE? I also tried sticking the /sys/i386/linux directory from 4.3RC2 into my 4.2R kernel sources. And it almost compiled cleanly, except for the following warning: cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@-I@/../include -I/usr/include -mpreferred-stack-boundary=2 -c /usr/src/sys/modules/linux/../../i386/linux/linux_sysvec.c /usr/src/sys/modules/linux/../../i386/linux/linux_sysvec.c:740: warning:excess elements in struct initializer /usr/src/sys/modules/linux/../../i386/linux/linux_sysvec.c:740: warning: (near initialization for `linux_sysvec')/usr/src/sys/modules/linux/../../i386/linux/linux_sysvec.c:760: warning: excess elements in struct initializer /usr/src/sys/modules/linux/../../i386/linux/linux_sysvec.c:760: warning: (near initialization for `elf_linux_sysvec') Which appears to be the case because in /sys/sys/sysent.h, an entry has been added to struct sysentvec to store the minsigstksz. Which leads to the question: Do I need to compile world if I change the struct in 4.2R? Also, out of curiosity, what happened to MINSIGSTKSZ in /sys/sys/signal.h on 4.3RC2? Doesn't it need to changed to 2048 anymore? (it was so in the original patches from Andrew). Regards, ---------------------------------------------------- Marc van Kempen BowTie Technology Raiffeisenstraat 7 5611 CH Eindhoven tel. +31 40 2 64 98 60 mailto:marc@bowtie.nl fax. +31 40 2 64 98 61 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 6: 1:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id 0815037B422 for ; Tue, 10 Apr 2001 06:01:14 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from iclub.nsu.ru (root@iclub.nsu.ru [193.124.222.66]) by mx.nsu.ru (8.9.1/8.9.0) with ESMTP id TAA07521; Tue, 10 Apr 2001 19:54:46 +0700 (NOVST) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.11.2/8.11.2) with ESMTP id f3ACsr568156; Tue, 10 Apr 2001 19:54:53 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Tue, 10 Apr 2001 19:54:52 +0700 (NSS) From: Max Khon To: Marc van Kempen Cc: java@FreeBSD.ORG Subject: Re: jdk1.3 and 4.2-RELEASE? In-Reply-To: <3AD2F71E.51654DC2@bowtie.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, there! On Tue, 10 Apr 2001, Marc van Kempen wrote: > I'm trying to run jdk1.3 from Sun (will try IBM too) on my 4.2-RELEASE box. > Has anyone backported the patches from Andre Gallatin to 4.2-RELEASE? yes. they are still available at http://iclub.nsu.ru/~fjoe/jdk13/ /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 7:32:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from abc.aaa-mainstreet.nl (abc.aaa-mainstreet.nl [195.64.77.2]) by hub.freebsd.org (Postfix) with SMTP id 17CB337B422 for ; Tue, 10 Apr 2001 07:32:19 -0700 (PDT) (envelope-from gary-daytime@hotlava.com) Received: (qmail 96636 invoked by uid 1000); 10 Apr 2001 14:31:51 -0000 Date: 10 Apr 2001 14:31:51 -0000 Message-ID: <20010410143151.96635.qmail@abc.aaa-mainstreet.nl> From: "Gary Howland" To: freebsd-java@freebsd.org Subject: RMI-IIOP JDK1.2 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Has anyone ported the RMI-IIOP patch for JDK1.2 for the FreeBSD JDK1.2? I ask, since this is essential for running EJB servers (JBoss) undeer JDK1.2. WIthout this patch, we need to move to JDK 1.3 I'll gladly help, if I can find the person to help get he sources from Sun etc. Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 8:32:16 2001 Delivered-To: freebsd-java@freebsd.org Received: from news.IAEhv.nl (news.iae.nl [212.61.26.37]) by hub.freebsd.org (Postfix) with ESMTP id B772A37B424 for ; Tue, 10 Apr 2001 08:32:04 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id RAA00995; Tue, 10 Apr 2001 17:31:05 +0200 (MET DST) Received: from bowtie.nl (nietzsche.intra.bowtie.nl [192.168.4.16]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id f3AFPtp94941; Tue, 10 Apr 2001 17:25:55 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-ID: <3AD32603.3C2CAEAA@bowtie.nl> Date: Tue, 10 Apr 2001 17:25:55 +0200 From: Marc van Kempen Organization: BowTie Technology X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Max Khon Cc: java@freebsd.org Subject: Re: jdk1.3 and 4.2-RELEASE? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Max Khon wrote: > > hi, there! > > On Tue, 10 Apr 2001, Marc van Kempen wrote: > > > I'm trying to run jdk1.3 from Sun (will try IBM too) on my 4.2-RELEASE box. > > Has anyone backported the patches from Andre Gallatin to 4.2-RELEASE? > > yes. they are still available at http://iclub.nsu.ru/~fjoe/jdk13/ > > /fjoe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message Hi, I thought they wouldn't apply to 4.2R, but they did. it works fine now, although I get a coredump trying to run argo-uml (see http://argouml.tigris.org) Will try the ibm jdk now and report back. Regards, Marc. -- ---------------------------------------------------- Marc van Kempen BowTie Technology Raiffeisenstraat 7 5611 CH Eindhoven tel. +31 40 2 64 98 60 mailto:marc@bowtie.nl fax. +31 40 2 64 98 61 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 8:38: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (FLA1Aaa154.aic.mesh.ad.jp [202.247.56.154]) by hub.freebsd.org (Postfix) with ESMTP id 30DE137B42C for ; Tue, 10 Apr 2001 08:37:59 -0700 (PDT) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f3AFcBE04697; Wed, 11 Apr 2001 00:38:13 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Wed, 11 Apr 2001 00:38:11 +0900 (JST) From: Daichi GOTO To: Marc van Kempen Subject: Re: jdk1.3 and 4.2-RELEASE? Cc: java@FreeBSD.ORG, Max Khon In-Reply-to: <3AD32603.3C2CAEAA@bowtie.nl> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84752747.986917091606.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > I thought they wouldn't apply to 4.2R, but they did. > > it works fine now, although I get a coredump trying to run argo-uml > > (see http://argouml.tigris.org) > > Will try the ibm jdk now and report back. I'll get ArgoUML fine with JDK122 (nojit). JDK13 and JDK122 (with jit) gets fail. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 9:25:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from news.IAEhv.nl (news.iae.nl [212.61.26.37]) by hub.freebsd.org (Postfix) with ESMTP id 8604237B423 for ; Tue, 10 Apr 2001 09:25:17 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id SAA10534; Tue, 10 Apr 2001 18:25:08 +0200 (MET DST) Received: from bowtie.nl (nietzsche.intra.bowtie.nl [192.168.4.16]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id f3AGOqp95650; Tue, 10 Apr 2001 18:24:57 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-ID: <3AD333D4.6F5D2079@bowtie.nl> Date: Tue, 10 Apr 2001 18:24:52 +0200 From: Marc van Kempen Organization: BowTie Technology X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Daichi GOTO Cc: java@freebsd.org Subject: Re: jdk1.3 and 4.2-RELEASE? References: <84752747.986917091606.JavaMail.daichi@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Daichi GOTO wrote: > > > Hi, > > > > I thought they wouldn't apply to 4.2R, but they did. > > > > it works fine now, although I get a coredump trying to run argo-uml > > > > (see http://argouml.tigris.org) > > > > Will try the ibm jdk now and report back. > > I'll get ArgoUML fine with JDK122 (nojit). JDK13 and JDK122 (with jit) gets > fail. > > Daichi T.GOTO(ONGS) > http://www.ongs.net/daichi, daichi@ongs.gr.jp Yeah, that's how I run it here too (jdk1.2.2 with OpenJIT), however it's pretty slow, so it'd be nice to speed it up. With the IBM jdk I get the following error: (marc@yeats) > argo JIT cannot get processor_num. Assuming SMP... Exception in thread "main" java.lang.StackOverflowError at com.ibm.xml.internal.DefaultStringPool.ensureCapacity(DefaultStringPool.java) at com.ibm.xml.internal.DefaultStringPool.addSymbol(DefaultStringPool.java) at com.ibm.xml.internal.DefaultStringPool.(DefaultStringPool.java) at com.ibm.xml.framework.ParserState.useDefaultStringPool(ParserState.java) at com.ibm.xml.parsers.NonValidatingTXDOMParser.(NonValidatingTXDOMParser.java) at com.ibm.xml.parsers.TXDOMParser.(TXDOMParser.java) at com.ibm.xml.parser.Parser.(Parser.java) at com.ibm.xml.parser.Parser.(Parser.java) at uci.uml.ocl.TemplateReader.read(TemplateReader.java) at uci.uml.ocl.TemplateReader.readFile(TemplateReader.java) at uci.uml.ui.ActionSaveProjectAs.(Actions.java) at uci.uml.ui.Actions.(Actions.java) at uci.uml.ui.ProjectBrowser.(ProjectBrowser.java) at uci.uml.Main.main(Main.java) I already increased the stacksize with java -Xss1m to 1 Mb, but it still wont fly. Is this a problem of the JIT? Regards, Marc. -- ---------------------------------------------------- Marc van Kempen BowTie Technology Raiffeisenstraat 7 5611 CH Eindhoven tel. +31 40 2 64 98 60 mailto:marc@bowtie.nl fax. +31 40 2 64 98 61 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 9:48:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (FLA1Aaa154.aic.mesh.ad.jp [202.247.56.154]) by hub.freebsd.org (Postfix) with ESMTP id 2323E37B422 for ; Tue, 10 Apr 2001 09:48:23 -0700 (PDT) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f3AGmkE05400; Wed, 11 Apr 2001 01:48:46 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Wed, 11 Apr 2001 01:48:45 +0900 (JST) From: Daichi GOTO To: Marc van Kempen Subject: Re: jdk1.3 and 4.2-RELEASE? Cc: java@freebsd.org In-Reply-to: <3AD333D4.6F5D2079@bowtie.nl> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84706851.986921325994.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yeah, that's how I run it here too (jdk1.2.2 with OpenJIT), however it's pretty > slow, so it'd be nice to speed it up. > > With the IBM jdk I get the following error: > > (marc@yeats) > argo > JIT cannot get processor_num. Assuming SMP... > Exception in thread "main" java.lang.StackOverflowError The attention point is "java.lang.StackOverflowError". Java reports three types exception messages. The Exception, RuntimeException, and Error is. RuntimeException and Exception is not system critical error. But Error is system cirital error. In case of many that is not Java code problem. In case of most, that depends on running system. IMO, the Linuxulator code is case of this problem. However, so far I cannot discover the problem code of Linuxulator. Sometimes IBM JDK13 leads java.lang.StackOverflowError. I tried to improve it, but am not settled yet. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 13:23:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from scoop.demon.nl (scoop.demon.nl [212.238.112.35]) by hub.freebsd.org (Postfix) with ESMTP id 4D50A37B42C for ; Tue, 10 Apr 2001 13:23:51 -0700 (PDT) (envelope-from FreeBSD-Java@scoop.demon.nl) Received: from pentium.localnet.org (pentium.localnet.org [10.1.1.3]) by scoop.demon.nl (8.8.8/8.8.8) with SMTP id WAA01987 for ; Tue, 10 Apr 2001 22:23:49 +0200 Message-Id: <200104102023.WAA01987@scoop.demon.nl> X-Sender: michel@pop3.scoop.demon.nl (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Tue, 10 Apr 2001 22:26:01 +0200 To: freebsd-java@freebsd.org From: Michel Otte Subject: Tomcat/mod_jk load error Mime-Version: 1.0 Content-Type: text/html; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello,


I'm trying to get mod_jk to work with Apache 1.3.19, but the initialization of the module fails with the error message
' Undefined symbol "map_name_at" ' when trying to start the apache server.

Tomcat as standalone server or through mod_jserv works just fine. Even the compilation of mod_jk succeeds after mangling with the Makefile. I found a suggestion somewhere on the net to configure and compile Apache with --enable-rule=SHARED_CORE.
So I recompiled Apache with this option and compiled mod_jk again. This resulted in a same-size mod_jk.so which is about 18 kilobytes big, or should I say small? "httpd -V" shows that Apache has been compiled with the SHARED_CORE option.

Setup:

* FreeBSD 4.2-RELEASE
* Apache 1.3.19 (build from source)
* JDK12-beta (build from the ports collection)
* Tomcat 3.2.1 binary distribution
* Trying to compile mod_jk from Tomcat 3.2.1-src distribution

I couldn't find a clue anywhere, but I know it's possible to get this to work. Did I miss something stupid here?


Kind regards,
Michel Otte
To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 15: 9:18 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 587F337B422 for ; Tue, 10 Apr 2001 15:09:02 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f3AM6Rs02473; Wed, 11 Apr 2001 00:06:27 +0200 (CEST) (envelope-from ernst) Date: Wed, 11 Apr 2001 00:06:27 +0200 From: Ernst de Haan To: Michel Otte Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat/mod_jk load error Message-ID: <20010411000626.A2461@c187104187.telekabel.chello.nl> References: <200104102023.WAA01987@scoop.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104102023.WAA01987@scoop.demon.nl>; from FreeBSD-Java@scoop.demon.nl on Tue, Apr 10, 2001 at 10:26:01PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Michel, Please send email to this list either in text-format or as an email with both text and HTML (multi-alternative), since there are many people on this list that don't use a web-enabled mail reader, including myself. And *yes* I do actively prefer a text-based client (mutt) over a visual one (Netscape Messenger). Michel Otte wrote: -- Ernst de Haan Java Architect Jollem Information Technology "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 Tue Apr 10 15:47:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from hightemplar.com (alex.telmap.com [192.116.157.233]) by hub.freebsd.org (Postfix) with ESMTP id B379037B43E for ; Tue, 10 Apr 2001 15:47:07 -0700 (PDT) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk ([192.116.157.236]) by hightemplar.com (8.11.2/8.11.2) with ESMTP id f3AMkpD46021; Wed, 11 Apr 2001 01:46:52 +0300 (IDT) (envelope-from ak@freenet.co.uk) Message-ID: <3AD38D8F.59A757B3@freenet.co.uk> Date: Wed, 11 Apr 2001 01:47:43 +0300 From: A G F Keahan X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Cc: ak@freenet.co.uk Subject: /usr/ports/java/jdk12-beta build error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org While building the native JDK from ports, I got the following error: ... mkdir -p CClassHeaders /usr/local/linux-jdk1.2.2/bin/javah -old -bootclasspath ../../classes -d CClassHeaders/ \ java.io.InputStream java.lang.Boolean java.lang.Byte java.lang.Character java.lang.Class java.lang.ClassLoader java.lang.Double java.lang.Float java.lang.Integer java.lang.Long java.lang.Object java.lang.Runtime java.lang.Short java.lang.StackOverflowError java.lang.String java.lang.Thread java.lang.ThreadGroup java.lang.Throwable java.lang.ref.Reference java.lang.ref.SoftReference java.lang.reflect.Field java.lang.reflect.Method java.lang.reflect.Constructor java.lang.reflect.InvocationTargetException java.security.AccessControlContext java.util.Properties sun.io.ByteToCharConverter sun.io.CharToByteConverter sun.misc.VM java.util.MissingResourceException: Can't find resource for base name com.sun.tools.javah.resources.FreeBSD_i386, locale en_US at java.util.ResourceBundle.getBundle(ResourceBundle.java:423) at java.util.ResourceBundle.getBundle(ResourceBundle.java:339) at com.sun.tools.javah.Util.initPlatform(Util.java:163) at com.sun.tools.javah.Util.getPlatformString(Util.java:148) at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:96) at com.sun.tools.javah.Gen.run(Gen.java:156) at com.sun.tools.javah.Main.run(Main.java:174) at com.sun.tools.javah.Main.main(Main.java:48) Error loading resources. Please file a bug report. gmake[3]: *** [.class.headers.i386] Error 10 gmake[3]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/jvm' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/jvm' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java' gmake: *** [all] Error 1 *** Error code 2 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. Basically, Linux Java was looking for FreeBSD Java resources because of my sysctl settings: mutalisk:/usr/ports/java/jdk12-beta# sysctl -a | grep linux compat.linux.osname: FreeBSD compat.linux.osrelease: 4.3-STABLE I use these settings to make Linux Netscape advertise itself as FreeBSD Netscape in order to improve FreeBSD web browser usage stats (if you are using Linux Netscape, you should do the same!) Anyways, I think the port should check compat.linux.osname and if it's not "Linux", save the value, set to "Linux", build the port, restore the original value. Just FYI Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 10 19:37:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp.total.net (rossine.total.net [154.11.89.167]) by hub.freebsd.org (Postfix) with SMTP id 346A637B422 for ; Tue, 10 Apr 2001 19:37:23 -0700 (PDT) (envelope-from cckok00@hotmail.com) Received: (qmail 11379 invoked from network); 11 Apr 2001 02:37:23 -0000 Received: from unknown (HELO hotmail.com) (154.20.95.119) by smtp.total.net with SMTP; 11 Apr 2001 02:37:23 -0000 Message-ID: <3AD3C376.6ADBAF68@hotmail.com> Date: Tue, 10 Apr 2001 22:37:42 -0400 From: Peter Kok X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en,zh-TW,zh-CN MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: subscribe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all Please let me know how to subscribe this list tks regards Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 11 7: 0:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from eno.home.seatory.org (CPE-61-9-164-187.vic.bigpond.net.au [61.9.164.187]) by hub.freebsd.org (Postfix) with ESMTP id 1ED8B37B423 for ; Wed, 11 Apr 2001 07:00:08 -0700 (PDT) (envelope-from chris@seatory.org) Received: from zappa (zappa.home.seatory.org [172.16.1.2]) by eno.home.seatory.org (8.11.1/8.11.0) with SMTP id f3BE05o15268; Thu, 12 Apr 2001 00:00:06 +1000 (EST) (envelope-from chris@seatory.org) Message-ID: <006f01c0c290$b3d6eca0$020110ac@home.seatory.org> From: "Chris Seatory" To: "Peter Kok" , References: <3AD3C376.6ADBAF68@hotmail.com> Subject: Re: subscribe Date: Thu, 12 Apr 2001 00:07:09 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here's a clue. This appears at the bottom of each post: > 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 Wed Apr 11 7:42:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp.total.net (rossine.total.net [154.11.89.167]) by hub.freebsd.org (Postfix) with SMTP id 2125837B43E for ; Wed, 11 Apr 2001 07:42:19 -0700 (PDT) (envelope-from stellayu@ca.inter.net) Received: (qmail 22871 invoked from network); 11 Apr 2001 14:42:20 -0000 Received: from unknown (HELO ca.inter.net) (154.20.97.240) by smtp.total.net with SMTP; 11 Apr 2001 14:42:20 -0000 Message-ID: <3AD46D5F.608F9C8F@ca.inter.net> Date: Wed, 11 Apr 2001 10:42:39 -0400 From: Peter Kok X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en,zh-TW,zh-CN MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: (no subject) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-java To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 11 11:53: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from scoop.demon.nl (scoop.demon.nl [212.238.112.35]) by hub.freebsd.org (Postfix) with ESMTP id ECBC837B423 for ; Wed, 11 Apr 2001 11:53:03 -0700 (PDT) (envelope-from FreeBSD-Java@scoop.demon.nl) Received: from pentium.localnet.org (pentium.localnet.org [10.1.1.3]) by scoop.demon.nl (8.8.8/8.8.8) with SMTP id UAA03748 for ; Wed, 11 Apr 2001 20:16:14 +0200 Message-Id: <200104111816.UAA03748@scoop.demon.nl> X-Sender: michel@pop3.scoop.demon.nl (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Wed, 11 Apr 2001 20:18:29 +0200 To: freebsd-java@freebsd.org From: Michel Otte Subject: Tomcat's mod_jk initialization error Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, My sincere apologies for my previous post which contained only HTML. I'm aware of the fact that many people use text-based mail readers. Normally, I do send e-mail in just plain-text, which I prefer too. The mailer I use has a bad habit of changing this behaviour when I insert text with "copy & paste" from my web-browser. I won't bother you with the details, but this is just what happened when I inserted the error-message. Thank you, Ernst de Haan, for taking the time to inform me. I'm trying to get mod_jk to work with Apache 1.3.19, but the initialization of the module fails with the error message ' Undefined symbol "map_name_at" ' when trying to start the apache server. Tomcat as standalone server or through mod_jserv works just fine. Even the compilation of mod_jk succeeds after mangling with the Makefile. I found a suggestion somewhere on the net to configure and compile Apache with --enable-rule=SHARED_CORE. So I recompiled Apache with this option and compiled mod_jk again. This resulted in a same-size mod_jk.so which is about 18 kilobytes big, or should I say small? "httpd -V" shows that Apache has been compiled with the SHARED_CORE option. Setup: * FreeBSD 4.2-RELEASE * Apache 1.3.19 (build from source) * JDK12-beta (build from the ports collection) * Tomcat 3.2.1 binary distribution * Trying to compile mod_jk from Tomcat 3.2.1-src distribution I couldn't find a clue anywhere, but I know it's possible to get this to work. Did I miss something stupid here? Kind regards, Michel Otte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 12 0:16:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from matavnet.hu (mail.matavnet.hu [195.228.240.10]) by hub.freebsd.org (Postfix) with SMTP id 61A4D37B443 for ; Thu, 12 Apr 2001 00:16:47 -0700 (PDT) (envelope-from kuti@cetelem.hu) Received: (qmail 19241 invoked from network); 12 Apr 2001 09:16:39 +0200 Received: from mail.cetelem.hu (HELO cet002.cetelem.hu) (195.228.218.103) by mail.matavnet.hu with SMTP; 12 Apr 2001 09:16:39 +0200 Received: from server.cetelem.hu (unverified) by cet002.cetelem.hu (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Thu, 12 Apr 2001 09:15:43 +0200 Received: from cetelem.hu (192.9.210.105 [192.9.210.105]) by server.cetelem.hu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 2WYW82PY; Thu, 12 Apr 2001 09:15:42 +0200 Message-ID: <3AD5574B.94CECFA5@cetelem.hu> Date: Thu, 12 Apr 2001 09:20:43 +0200 From: Zsolt Kuti X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: jpda build Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I would like to use JSwat, so tried to build jpda according to:http://www.eyesbeyond.com/freebsddom/java/jpda.html. After applying pacthes as found in INSTRUCTIONS and building the whole jdk, I cant't find jpda.jar. What do I miss? I made jdk-builds earlier without jpda stuff, they were OK, I use the jdk with satisfaction, thanks for all! Thanks Zsolt Ps.: I would be glad to hear what you use for debugging. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 12 8:22:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 5E1A737B43F for ; Thu, 12 Apr 2001 08:22:48 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <2TM2B36Q>; Thu, 12 Apr 2001 17:22:47 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9B39@l04.research.kpn.com> From: "Koster, K.J." To: 'FreeBSD Java mailing list' Subject: Orion on FreeBSD with linux jdk 1.3.0? Err, no. Date: Thu, 12 Apr 2001 17:22:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear All, Is there anyone who is using Orion on FreeBSD regularly with linux JDK 1.3.0? I'm trying this, but I can safely say it runs like crap. Where in JDK 1.2.2 Orion runs in a single process and runs well, the 1.3.0 version spawns several processes and then proceeds to coredump each and every one of them in turn (signal 6). This is FreeBSD 4.3-RC as of last friday. This is on three radically different machines that I've tried. (laptop, server, desktop) What am I doing wrong? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 12 14:54: 1 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 6DE9A37B440 for ; Thu, 12 Apr 2001 14:53:55 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f3CLq0q00684; Thu, 12 Apr 2001 23:52:00 +0200 (CEST) (envelope-from ernst) Date: Thu, 12 Apr 2001 23:52:00 +0200 From: Ernst de Haan To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: Orion on FreeBSD with linux jdk 1.3.0? Err, no. Message-ID: <20010412235159.A672@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9B39@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9B39@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Apr 12, 2001 at 05:22:44PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Kees Jan, > Is there anyone who is using Orion on FreeBSD regularly with linux JDK > 1.3.0? I'm trying this, but I can safely say it runs like crap. > > Where in JDK 1.2.2 Orion runs in a single process and runs well, the 1.3.0 > version spawns several processes and then proceeds to coredump each and > every one of them in turn (signal 6). This is FreeBSD 4.3-RC as of last > friday. I have the same experience, with a less recent 4.3-RC1. My guess is that the problem lies within the new linuxulator support for Linux kernel processes. But I may be wrong, since Orion doesn't run well on IBM JDK's either, I know that much. So perhaps Orion is picky about the JDK. Sincerely, Ernst -- Ernst de Haan Java Architect Jollem Information Technology "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 Thu Apr 12 17:29:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from khan.acc.umu.se (khan.acc.umu.se [130.239.18.139]) by hub.freebsd.org (Postfix) with ESMTP id 0C95737B506 for ; Thu, 12 Apr 2001 17:29:45 -0700 (PDT) (envelope-from markush@acc.umu.se) Received: from mao.acc.umu.se (root@mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (8.11.2/8.11.2) with ESMTP id f3D0Thc19061; Fri, 13 Apr 2001 02:29:43 +0200 (MEST) Received: (from markush@localhost) by mao.acc.umu.se (8.9.3/8.9.3/Debian 8.9.3-21) id CAA05512; Fri, 13 Apr 2001 02:29:38 +0200 Date: Fri, 13 Apr 2001 02:29:38 +0200 From: Markus Holmberg To: Ernst de Haan Cc: freebsd-java@freebsd.org Subject: Re: Orion on FreeBSD with linux jdk 1.3.0? Err, no. Message-ID: <20010413022938.A5042@acc.umu.se> References: <59063B5B4D98D311BC0D0001FA7E452205FD9B39@l04.research.kpn.com> <20010412235159.A672@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3-current-20000511i In-Reply-To: <20010412235159.A672@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Thu, Apr 12, 2001 at 11:52:00PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi.. I'm not entirely sure we talk about the same thing because I have been running Orion on Linux JDK 1.3.0 on FreeBSD since it became available on -STABLE (now 4.3-RC). And never core dumped, worked like a charm. Was there any recent changes (last weeks) in the linuxulator that may have caused these symptoms you are talking about? I'm running the classic VM. Regards, Markus. On Thu, Apr 12, 2001 at 11:52:00PM +0200, Ernst de Haan wrote: > > Is there anyone who is using Orion on FreeBSD regularly with linux JDK > > 1.3.0? I'm trying this, but I can safely say it runs like crap. > > > > Where in JDK 1.2.2 Orion runs in a single process and runs well, the 1.3.0 > > version spawns several processes and then proceeds to coredump each and > > every one of them in turn (signal 6). This is FreeBSD 4.3-RC as of last > > friday. > > I have the same experience, with a less recent 4.3-RC1. My guess is that the > problem lies within the new linuxulator support for Linux kernel processes. > But I may be wrong, since Orion doesn't run well on IBM JDK's either, I know > that much. So perhaps Orion is picky about the JDK. -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 13 2:33: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 CABDD37B629 for ; Fri, 13 Apr 2001 02:33:09 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f3D9VT000496; Fri, 13 Apr 2001 11:31:29 +0200 (CEST) (envelope-from ernst) Date: Fri, 13 Apr 2001 11:31:29 +0200 From: Ernst de Haan To: Markus Holmberg Cc: freebsd-java@FreeBSD.ORG Subject: Re: Orion on FreeBSD with linux jdk 1.3.0? Err, no. Message-ID: <20010413113129.A487@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9B39@l04.research.kpn.com> <20010412235159.A672@c187104187.telekabel.chello.nl> <20010413022938.A5042@acc.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010413022938.A5042@acc.umu.se>; from markush@acc.umu.se on Fri, Apr 13, 2001 at 02:29:38AM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Markus, > I'm not entirely sure we talk about the same thing because I have been > running Orion on Linux JDK 1.3.0 on FreeBSD since it became available on > -STABLE (now 4.3-RC). And never core dumped, worked like a charm. > > Was there any recent changes (last weeks) in the linuxulator that may > have caused these symptoms you are talking about? > > I'm running the classic VM. We're talking about the Hotspot VM. Sorry, I should have mentioned that. > Regards, Markus. Sincerely, Ernst > On Thu, Apr 12, 2001 at 11:52:00PM +0200, Ernst de Haan wrote: > > > Is there anyone who is using Orion on FreeBSD regularly with linux JDK > > > 1.3.0? I'm trying this, but I can safely say it runs like crap. > > > > > > Where in JDK 1.2.2 Orion runs in a single process and runs well, the 1.3.0 > > > version spawns several processes and then proceeds to coredump each and > > > every one of them in turn (signal 6). This is FreeBSD 4.3-RC as of last > > > friday. > > > > I have the same experience, with a less recent 4.3-RC1. My guess is that the > > problem lies within the new linuxulator support for Linux kernel processes. > > But I may be wrong, since Orion doesn't run well on IBM JDK's either, I know > > that much. So perhaps Orion is picky about the JDK. > > -- > > Markus Holmberg | Give me Unix or give me a typewriter. > markush@acc.umu.se | http://www.freebsd.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Java Architect Jollem Information Technology "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 Apr 13 6:59:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 92C5B37B43E for ; Fri, 13 Apr 2001 06:59:54 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <2TM2BT3T>; Fri, 13 Apr 2001 15:59:53 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9B3D@l04.research.kpn.com> From: "Koster, K.J." To: 'Geoff Buckingham' Cc: 'FreeBSD Java mailing list' Subject: RE: Installing from 3.4rc2 ISO Date: Fri, 13 Apr 2001 15:59:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > In short: set the flag and you can do a network install. > > > I had understood from my reading of the CVS that this hadn't > got back to the RELENG_4 branch yet. I could be wrong. > Hmm. You're right. I stand corrected. :-( Pass the pointy hat, please. > > PS obviously this is about 4.3rc2, one day I will learc to tpye :-) > :-) Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 13 11:51:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id DB3A637B443 for ; Fri, 13 Apr 2001 11:51:40 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-p27.senet.com.au [203.152.233.156]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f3DIq2v60740; Sat, 14 Apr 2001 04:22:03 +0930 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f3DINQR18694; Sat, 14 Apr 2001 03:53:26 +0930 (CST) (envelope-from glewis) Date: Sat, 14 Apr 2001 03:53:25 +0930 From: Greg Lewis To: Gary Howland Cc: freebsd-java@FreeBSD.ORG Subject: Re: RMI-IIOP JDK1.2 Message-ID: <20010414035325.A18678@misty.eyesbeyond.com> References: <20010410143151.96635.qmail@abc.aaa-mainstreet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010410143151.96635.qmail@abc.aaa-mainstreet.nl>; from gary-daytime@hotlava.com on Tue, Apr 10, 2001 at 02:31:51PM -0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Apr 10, 2001 at 02:31:51PM -0000, Gary Howland wrote: > Has anyone ported the RMI-IIOP patch for JDK1.2 for > the FreeBSD JDK1.2? > > I ask, since this is essential for running EJB servers (JBoss) > undeer JDK1.2. WIthout this patch, we need to move to > JDK 1.3 > > I'll gladly help, if I can find the person to help get he > sources from Sun etc. Given that we can't release binaries at the moment, our options are pretty much restricted to source released under the SCSL. Unfortunately I can't see any evidence of the RMI-IIOP code in the Solaris and Linux versions of the JDK source code that Sun released under the SCSL :(. The other option would be to backport the code if you can find it in the SCSL'ed 1.3 source they've released. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Fri Apr 13 11:51:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 0DEE737B506 for ; Fri, 13 Apr 2001 11:51:45 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-p27.senet.com.au [203.152.233.156]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f3DIq7v60765; Sat, 14 Apr 2001 04:22:08 +0930 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f3DI90e16374; Sat, 14 Apr 2001 03:39:00 +0930 (CST) (envelope-from glewis) Date: Sat, 14 Apr 2001 03:39:00 +0930 From: Greg Lewis To: Michel Otte Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat's mod_jk initialization error Message-ID: <20010414033859.A16352@misty.eyesbeyond.com> References: <200104111816.UAA03748@scoop.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104111816.UAA03748@scoop.demon.nl>; from FreeBSD-Java@scoop.demon.nl on Wed, Apr 11, 2001 at 08:18:29PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Apr 11, 2001 at 08:18:29PM +0200, Michel Otte wrote: > I'm trying to get mod_jk to work with Apache 1.3.19, but the initialization > of the module fails with the error message > ' Undefined symbol "map_name_at" ' when trying to start the apache server. > > Tomcat as standalone server or through mod_jserv works just fine. Even the > compilation of mod_jk succeeds after mangling with the Makefile. I found a > suggestion somewhere on the net to configure and compile Apache with > --enable-rule=SHARED_CORE. > So I recompiled Apache with this option and compiled mod_jk again. This > resulted in a same-size mod_jk.so which is about 18 kilobytes big, or > should I say small? "httpd -V" shows that Apache has been compiled with the > SHARED_CORE option. > > Setup: > > * FreeBSD 4.2-RELEASE > * Apache 1.3.19 (build from source) > * JDK12-beta (build from the ports collection) > * Tomcat 3.2.1 binary distribution > * Trying to compile mod_jk from Tomcat 3.2.1-src distribution > > I couldn't find a clue anywhere, but I know it's possible to get this to > work. Did I miss something stupid here? How are you compiling mod_jk? There was a discussion a few weeks ago on the list about the patches needed for the Makefile to get things compiled correctly. I'd suggest searching the archives to compare the hacks you've made. I've got Tomcat working through mod_jk with pretty much the above set up FWIW. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Apr 14 5:11:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from scoop.demon.nl (scoop.demon.nl [212.238.112.35]) by hub.freebsd.org (Postfix) with ESMTP id 9169F37B440 for ; Sat, 14 Apr 2001 05:11:19 -0700 (PDT) (envelope-from FreeBSD-Java@scoop.demon.nl) Received: from pentium.localnet.org (pentium.localnet.org [10.1.1.3]) by scoop.demon.nl (8.8.8/8.8.8) with SMTP id NAA09286 for ; Sat, 14 Apr 2001 13:07:29 +0200 Message-Id: <200104141107.NAA09286@scoop.demon.nl> X-Sender: michel@pop3.scoop.demon.nl (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sat, 14 Apr 2001 13:09:50 +0200 To: freebsd-java@FreeBSD.ORG From: Michel Otte Subject: Re: Tomcat's mod_jk initialization error In-Reply-To: <20010414033859.A16352@misty.eyesbeyond.com> References: <200104111816.UAA03748@scoop.demon.nl> <200104111816.UAA03748@scoop.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, In general, I used the directions I found on this mailing list to modify the Makefile and to compile mod_jk. The Makefile I used looks like this: ### jakarta-tomcat-3.2.1/src/native/apache1.3/Makefile ## You need to edit this file - configure later :-) APACHE_HOME=/usr/local/apache OS=freebsd APXS=${APACHE_HOME}/bin/apxs A13_FLAGS=-I${APACHE_HOME}/include ## I assume this one is set up already JAVA_HOME=/usr/local/jdk1.2.2 JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DFREEBSD -Wall JK=../jk/ SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ jk_jni_worker.c jk_pool.c jk_worker.c jk_ajp13_worker.c jk_lb_worker.c \ jk_sockbuf.c jk_map.c jk_uri_worker_map.c OBJS=${patsubst %.c,%.o,${SRCS}} %.o: ../jk/%.c ${CC} -c ${CFLAGS} ${JAVA_INCL} ${A13_FLAGS} $< -o $@ .c.o: ${APXS} -c ${JAVA_INCL} -DFREEBSD ${A13_FLAGS} -I../jk $< all: mod_jk.so mod_jk.so: ${OBJS} mod_jk.o $(APXS) -c -o mod_jk.so ${OBJS} mod_jk.o # $(CC) -shared -o mod_jk.so ${OBJS} mod_jk.o clean: rm *.o *.so ### EOF I compiled the module by running "make all" in the current directory. My Apache install is in /usr/local/apache, the include directory there exsists. My JDK install is not really "standard". After compiling JDK1.2.2 and running "make install" I saw that running make with "-DNODEBUG" was needed to compile the JDK without DEBUG support, which - I suppose - would be better for performance. So I moved the old compile version to jdk1.2.2_debug and the new compile version to jdk1.2.2_nodebug and made soft link to the preferred version. Right now I'm in doubt if there's any difference between the two compiles, but that's not really important. Anyway, the $JAVA_HOME/include directory exists, as well as the $JAVA_HOME/include/freebsd directory. The compile succeeded, but the module was unusable. So I changed: CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DFREEBSD -Wall into: CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -DFREEBSD -Wall The new compiled module was exactly the same size, and also unusable. After that, I removed the ${A13_FLAGS} from the object parameters, so it looked like: %.o: ../jk/%.c ${CC} -c ${CFLAGS} ${JAVA_INCL} $< -o $@ .c.o: ${APXS} -c ${JAVA_INCL} -DFREEBSD -I../jk $< Anyway, I thought that apxs should take care of the ${A13_FLAGS}, but I'm only guessing this. Again, a compile with this Makefile resulted in an exactly the same size mod_jk.so, and was unusable. Of course I've tried any possible combination of these changes, all with the same effect. I'm far from an expert in C language or in constructing Makefile's, as you probably have noticed already. Any clues are very much appreciated. Kind regards, Michel Otte At 03:39 14-4-01 +0930, Greg Lewis wrote: >How are you compiling mod_jk? There was a discussion a few weeks ago on >the list about the patches needed for the Makefile to get things compiled >correctly. I'd suggest searching the archives to compare the hacks you've >made. > >I've got Tomcat working through mod_jk with pretty much the above set up >FWIW. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 14 21:27: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from grillo.net (adsl-216-103-84-67.dsl.snfc21.pacbell.net [216.103.84.67]) by hub.freebsd.org (Postfix) with ESMTP id 1D05B37B443 for ; Sat, 14 Apr 2001 21:26:54 -0700 (PDT) (envelope-from Dan_Grillo@grillo.net) Received: from gti.grillo.net (gti [192.168.2.154]) by grillo.net (8.9.3/8.9.3) with ESMTP id VAA07105 for ; Sat, 14 Apr 2001 21:26:53 -0700 (PDT) (envelope-from grio@gti.grillo.net) Received: (from grio@localhost) by gti.grillo.net (8.11.1/8.11.1) id f3F4R7h54779; Sat, 14 Apr 2001 21:27:07 -0700 (PDT) (envelope-from grio) From: Dan Grillo Message-Id: <200104150427.f3F4R7h54779@gti.grillo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Organization: President, Grillo Networking, Inc. To: java@freebsd.org Subject: 1.1.8 port on 4.2-RELEASE hello world sometimes hangs Date: Sat, 14 Apr 2001 21:27:06 -0700 Date: Sat, 14 Apr 2001 21:27:06 -0700 Versions: dmail (bsd44) 2.2j/makemail 2.9b Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got a stock 4.2-RELEASE FreeBSD box, and I just installed the jdk-1.1.8 port without modification. I'm trying to run the following java program: public class foo { public static void main(String[] args){ System.out.print("Hello, world!\n"); } } compiled with javac without options. When run it hangs sometimes, and can't be control-C'ed: ~/bin/java/classes gti.grillo.net[31]> java foo Hello, world! ~/bin/java/classes gti.grillo.net[32]> java foo Hello, world! ~/bin/java/classes gti.grillo.net[33]> java foo Hello, world! ~/bin/java/classes gti.grillo.net[34]> java foo Hello, world! ^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^C^C^CKilled ~/bin/java/classes gti.grillo.net[35]> java foo Hello, world! ~/bin/java/classes gti.grillo.net[36]> java foo Hello, world! ~/bin/java/classes gti.grillo.net[37]> java foo Hello, world! ~/bin/java/classes gti.grillo.net[38]> java foo Hello, world! ^C^C^Z^Z^C^C Killed My CLASSPATH is set to "/usr/local/jdk1.1.8/lib/classes.zip:." Any suggestions? (I'm not subscribed to the list) Thanks a bunch, --Dan -- Dan Grillo dan@grillo.net (650) 917-0685 fax (209)315-7970 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message