From owner-freebsd-java@FreeBSD.ORG Mon Aug 4 11:06:58 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43BF41065676 for ; Mon, 4 Aug 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 346918FC24 for ; Mon, 4 Aug 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m74B6w8k082119 for ; Mon, 4 Aug 2008 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m74B6vq5082115 for freebsd-java@FreeBSD.org; Mon, 4 Aug 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Aug 2008 11:06:57 GMT Message-Id: <200808041106.m74B6vq5082115@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 11:06:58 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/118956 java eclipse and netbeans break on diablo-jdk15 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o ports/121420 java java/jdk16: Java applet fails to find class under fire o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o java/122513 java native JDKs unbuildable with Linux ones o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/125583 java Java gui programs stop without error message 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o java/115773 java [request] java.nio channel selectors should use kqueue o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/119063 java An unexpected error has been detected by Java Runtime o java/119654 java jdk 1.6: java.awt.SplashScreen#getSplashScreen throws o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/125828 java upgrade java/java3d to 1.5.2 14 problems total. From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 15:11:08 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C7541065670 for ; Wed, 6 Aug 2008 15:11:08 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF638FC25 for ; Wed, 6 Aug 2008 15:11:08 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.2] ([124.120.151.98]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K560084DND54W40@asmtp014.mac.com> for freebsd-java@freebsd.org; Wed, 06 Aug 2008 07:10:31 -0700 (PDT) Message-id: <8CDF7839-305B-4254-9EA1-8C5A7E8B0086@mac.com> From: Sharkie To: freebsd-java@freebsd.org Date: Wed, 06 Aug 2008 21:08:41 +0700 X-Mailer: Apple Mail (2.919.2) Subject: Performance of Java on FreeBSD vs. Linux and others X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 15:11:08 -0000 Forgive me for bringing up this issue again. I tried searching in the archive, and I could only find discussions from late 2006. Now that FreeBSD 7.0 is out and we have a new scheduler, can someone comment on performance of Java on FreeBSD vs. Linux and others? I tried following the old thread and I believe it was inconclusive rather than that FreeBSD is definitely slower. Yet, there was an argument on how much slower. I would really like to know this information because I will be doing heavy number crunching in Java. A 20% performance gain could save me 1-2 day at a time. Thanks! Shark From owner-freebsd-java@FreeBSD.ORG Wed Aug 6 15:33:54 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6D971065689 for ; Wed, 6 Aug 2008 15:33:54 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id AC1FE8FC28 for ; Wed, 6 Aug 2008 15:33:54 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp id 1KQl1N-0002nx-4d for ; Wed, 06 Aug 2008 17:33:53 +0200 Received: (qmail 9374 invoked from network); 6 Aug 2008 15:33:52 -0000 Received: from localhost (HELO 82-170-177-25.ip.telfort.nl) (127.0.0.1) by localhost with SMTP; 6 Aug 2008 15:33:52 -0000 Date: Wed, 06 Aug 2008 17:33:51 +0200 To: Sharkie , freebsd-java@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <8CDF7839-305B-4254-9EA1-8C5A7E8B0086@mac.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <8CDF7839-305B-4254-9EA1-8C5A7E8B0086@mac.com> User-Agent: Opera Mail/9.51 (FreeBSD) Cc: Subject: Re: Performance of Java on FreeBSD vs. Linux and others X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 15:33:55 -0000 On Wed, 06 Aug 2008 16:08:41 +0200, Sharkie wrote: > Forgive me for bringing up this issue again. I tried searching in the > archive, and I could only find discussions from late 2006. Now that > FreeBSD 7.0 is out and we have a new scheduler, can someone comment on > performance of Java on FreeBSD vs. Linux and others? I tried following > the old thread and I believe it was inconclusive rather than that > FreeBSD is definitely slower. Yet, there was an argument on how much > slower. I would really like to know this information because I will be > doing heavy number crunching in Java. A 20% performance gain could save > me 1-2 day at a time. It performs really well for me, but ... I don't do number chrunching. So I would suggest you to try it for yourself and post your results here. Ronald. From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 07:48:34 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB283106564A for ; Thu, 7 Aug 2008 07:48:34 +0000 (UTC) (envelope-from beastie24@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 951978FC08 for ; Thu, 7 Aug 2008 07:48:34 +0000 (UTC) (envelope-from beastie24@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so188063ywe.13 for ; Thu, 07 Aug 2008 00:48:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=dcHvyDH7nkDkQxiRAeFTjdqz+UgEExcu27Pyhyx1GAg=; b=p5/jKFt/c6wVaIPIFfd/uVdgN5RVgcPVux2xJvJdcE0TnoTs/kFpkKL83W4Buo4gC9 PoR1RFYWrEb7TJvCCA9JeJcrYtROnoPQxXK8f0Pv6A+Bk1xruPQ0ldb+KRmdtyvZTBsj ycKtv9jylyGm0V1mn1lFTAd7cFiR1CvzTm5fY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=RUuMgjJ4acfrmEHtRDtdXQuxuaP/UNfP2NSTXJO93zkQw1hJ95dQUhtQDYdVJURhZE EZjWM9iiNlU/N0ZNIHkYBNZTA6YGM1E96ei/+R5PJi23s1L9jETByWdhXR0ir/bh/N9M U5xhgFRcEHmueDGmlLrF/VmSO+pxgn7lQzC/A= Received: by 10.150.58.1 with SMTP id g1mr4816359yba.85.1218093774737; Thu, 07 Aug 2008 00:22:54 -0700 (PDT) Received: by 10.150.50.8 with HTTP; Thu, 7 Aug 2008 00:22:54 -0700 (PDT) Message-ID: <1b1e1dee0808070022r1bd2c30cl9614ea86e03c6b78@mail.gmail.com> Date: Thu, 7 Aug 2008 10:22:54 +0300 From: Beastie To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Performance of Java on FreeBSD vs. Linux and others X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 07:48:34 -0000 >Forgive me for bringing up this issue again. I tried searching in the >archive, and I could only find discussions from late 2006. Now that >FreeBSD 7.0 is out and we have a new scheduler, can someone comment on >performance of Java on FreeBSD vs. Linux and others? I tried following >the old thread and I believe it was inconclusive rather than that >FreeBSD is definitely slower. Yet, there was an argument on how much >slower. I would really like to know this information because I will be >doing heavy number crunching in Java. A 20% performance gain could >save me 1-2 day at a time. > >Thanks! > >Shark > Hi. About java performance. May be this nubers will help to decide. The results of java SPEC tests done by Kris Kennaway early this year: http://people.freebsd.org/~kris/scaling/specjava.png From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 08:11:41 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A710C1065670 for ; Thu, 7 Aug 2008 08:11:41 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 9400F8FC19 for ; Thu, 7 Aug 2008 08:11:41 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K580027D1FAJQ70@asmtp020.mac.com> for freebsd-java@freebsd.org; Thu, 07 Aug 2008 01:11:38 -0700 (PDT) Message-id: <7D052C8B-3D13-4877-9F1B-D4A7B94E733C@mac.com> From: Sharkie To: freebsd-java@freebsd.org In-reply-to: <1b1e1dee0808070022r1bd2c30cl9614ea86e03c6b78@mail.gmail.com> Date: Thu, 07 Aug 2008 15:09:58 +0700 References: <1b1e1dee0808070022r1bd2c30cl9614ea86e03c6b78@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) Subject: Re: Performance of Java on FreeBSD vs. Linux and others X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 08:11:41 -0000 Well I am decided if these numbers are accurate. But, is there an article discussing these? I have only seen articles discussing his MySQL results. Now these numbers are for FreeBSD 8.0. I wonder how 7.0 will perform. It would be great if he also documents how he compiles and builds his Java. I wonder why this results haven't made headlines. Shark On Aug 7, 2008, at 2:22 PM, Beastie wrote: >> Forgive me for bringing up this issue again. I tried searching in the >> archive, and I could only find discussions from late 2006. Now that >> FreeBSD 7.0 is out and we have a new scheduler, can someone comment >> on >> performance of Java on FreeBSD vs. Linux and others? I tried >> following >> the old thread and I believe it was inconclusive rather than that >> FreeBSD is definitely slower. Yet, there was an argument on how much >> slower. I would really like to know this information because I will >> be >> doing heavy number crunching in Java. A 20% performance gain could >> save me 1-2 day at a time. >> >> Thanks! >> >> Shark >> > > Hi. > > About java performance. > May be this nubers will help to decide. The results of java SPEC tests > done by Kris Kennaway early this year: > > http://people.freebsd.org/~kris/scaling/specjava.png > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java- > unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 08:12:25 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44F68106567D for ; Thu, 7 Aug 2008 08:12:25 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 96D0D8FC13 for ; Thu, 7 Aug 2008 08:12:24 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m7781Sds045842; Thu, 7 Aug 2008 11:01:28 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m7781SFf045841; Thu, 7 Aug 2008 11:01:28 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Thu, 7 Aug 2008 11:01:27 +0300 User-Agent: KMail/1.9.7 References: <1b1e1dee0808070022r1bd2c30cl9614ea86e03c6b78@mail.gmail.com> In-Reply-To: <1b1e1dee0808070022r1bd2c30cl9614ea86e03c6b78@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808071101.27953.achill@matrix.gatewaynet.com> Cc: Beastie Subject: Re: Performance of Java on FreeBSD vs. Linux and others X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 08:12:25 -0000 =CE=A3=CF=84=CE=B9=CF=82 Thursday 07 August 2008 10:22:54 =CE=BF/=CE=B7 Bea= stie =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > >Forgive me for bringing up this issue again. I tried searching in the > >archive, and I could only find discussions from late 2006. Now that > >FreeBSD 7.0 is out and we have a new scheduler, can someone comment on > >performance of Java on FreeBSD vs. Linux and others? I tried following > >the old thread and I believe it was inconclusive rather than that > >FreeBSD is definitely slower. Yet, there was an argument on how much > >slower. I would really like to know this information because I will be > >doing heavy number crunching in Java. A 20% performance gain could > >save me 1-2 day at a time. > > > >Thanks! > > > >Shark > > >=20 > Hi. >=20 > About java performance. > May be this nubers will help to decide. The results of java SPEC tests > done by Kris Kennaway early this year: >=20 > http://people.freebsd.org/~kris/scaling/specjava.png Thanks for the link, however linux jdk1.6 measurements are absent from the = graph. Any news on that? > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 09:34:48 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE091106566B for ; Thu, 7 Aug 2008 09:34:48 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from mail.jumbuck.com (p82.jumbuck.com [206.112.99.82]) by mx1.freebsd.org (Postfix) with ESMTP id C35798FC25 for ; Thu, 7 Aug 2008 09:34:48 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from mail.jumbuck.com (mail.jumbuck.com [206.112.99.82]) by mail.jumbuck.com (Postfix) with ESMTP id 067401ACBD72; Thu, 7 Aug 2008 03:41:59 +0000 (UTC) Received: from beaste5.jumbuck.com (ppp198-18.static.internode.on.net [59.167.198.18]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.jumbuck.com (Postfix) with ESMTP id AB9BA1ACBC33; Thu, 7 Aug 2008 03:41:58 +0000 (UTC) Received: from beaste5.jumbuck.com (beast5 [192.168.46.105]) by beaste5.jumbuck.com (Postfix) with ESMTP id 7872D209D1CE; Thu, 7 Aug 2008 13:41:56 +1000 (EST) Received: from [192.168.46.121] (unknown [192.168.46.121]) by beaste5.jumbuck.com (Postfix) with ESMTP id 53C92209D1A9; Thu, 7 Aug 2008 13:41:56 +1000 (EST) Message-ID: <489A6F02.4080603@thebeastie.org> Date: Thu, 07 Aug 2008 13:41:54 +1000 From: Michael Vince User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Sharkie References: <8CDF7839-305B-4254-9EA1-8C5A7E8B0086@mac.com> In-Reply-To: <8CDF7839-305B-4254-9EA1-8C5A7E8B0086@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Performance of Java on FreeBSD vs. Linux and others X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 09:34:49 -0000 You could try the latest SPECjvm2008 which is now available for free for download and do some benchmarking for us, I don't think many people really know where FreeBSD stands on Java. I did run through the test on FreeBSD with no problems, its pretty good as it creates a HTML table of the results at the end. I didn't much time as well as have anything to compare it to, I tried to run it on a Windows desktop but it won't run as MS has deliberately designed windows non server for a low amount of threads so it fails a lot of the tests etc. http://www.spec.org/jvm2008/ If you were able to spot bottle necks in FreeBSD they tend to get fixed, the problem tends to be finding them, just like how they found kernel locking issues on UDP protocol performance these are now fixed but only after they were pulled to light. Regards, Mike Sharkie wrote: > Forgive me for bringing up this issue again. I tried searching in the > archive, and I could only find discussions from late 2006. Now that > FreeBSD 7.0 is out and we have a new scheduler, can someone comment on > performance of Java on FreeBSD vs. Linux and others? I tried following > the old thread and I believe it was inconclusive rather than that > FreeBSD is definitely slower. Yet, there was an argument on how much > slower. I would really like to know this information because I will be > doing heavy number crunching in Java. A 20% performance gain could > save me 1-2 day at a time. > > Thanks! > > Shark > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 11:11:43 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A761106566B for ; Thu, 7 Aug 2008 11:11:43 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from n5a.bullet.tw1.yahoo.com (n5a.bullet.tw1.yahoo.com [119.160.244.192]) by mx1.freebsd.org (Postfix) with SMTP id B007A8FC38 for ; Thu, 7 Aug 2008 11:11:42 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from [119.160.244.77] by n5.bullet.tw1.yahoo.com with NNFMP; 07 Aug 2008 10:59:16 -0000 Received: from [202.43.196.225] by t2.bullet.tw1.yahoo.com with NNFMP; 07 Aug 2008 10:59:16 -0000 Received: from [217.12.4.215] by t2.bullet.tpe.yahoo.com with NNFMP; 07 Aug 2008 10:59:15 -0000 Received: from [87.248.111.146] by t2.bullet.ukl.yahoo.com with NNFMP; 07 Aug 2008 10:59:13 -0000 Received: from [127.0.0.1] by omp203.mail.ukl.yahoo.com with NNFMP; 07 Aug 2008 10:59:13 -0000 X-Yahoo-Newman-Id: 14731.59007.bm@omp203.mail.ukl.yahoo.com Received: (qmail 52148 invoked from network); 7 Aug 2008 10:59:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:Cc:X-Mailer; b=XqmvYT5/De1z1HNp5iv0VjwmpGjxE/4Jk/NBJYBY42O81Y2gzjEi26WVl0cNgpcgwt2DC2TBghTvTeMV64lqIMVB/p6aW6KZ78wwf6YdvtKX0Hf1aHjXVqmodYQV0Lc4glQJIV2lH8GDvmAtSbGlxROWk5bgjL0A/cQUkcH7y4E= ; Received: from unknown (HELO zao.smersh.casa) (gdoe6545@88.149.154.198 with plain) by smtp105.mail.ukl.yahoo.com with SMTP; 7 Aug 2008 10:59:12 -0000 X-YMail-OSG: vMPCenYVM1kYUkSNs0_kRPqzvIHOo4ysel0_ffF5cw3WGMCqEixVQzFVtYGkQBMHYr_gpSUJoxisnMTsBJ3zkyUbMXZVdv3HTxE5CFdngg-- X-Yahoo-Newman-Property: ymail-3 Message-Id: <89DF1425-96C7-479D-B27A-EF1F002DE74A@yahoo.it> From: Gianni Doe To: freebsd-java@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 7 Aug 2008 12:59:10 +0200 X-Mailer: Apple Mail (2.926) Cc: ale@FreeBSD.org Subject: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 11:11:43 -0000 Has anyone had any success with the www/tomcat-native port? The port installed with no errors but now Tomcat 6 will not start, it quits immediately with no indication of the reason in the log files. -Gianni From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 11:41:12 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B89E5106564A; Thu, 7 Aug 2008 11:41:12 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 286678FC08; Thu, 7 Aug 2008 11:41:11 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m77Bf9MY054264; Thu, 7 Aug 2008 14:41:09 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m77Bf9ud054261; Thu, 7 Aug 2008 14:41:09 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Thu, 7 Aug 2008 14:41:08 +0300 User-Agent: KMail/1.9.7 References: <89DF1425-96C7-479D-B27A-EF1F002DE74A@yahoo.it> In-Reply-To: <89DF1425-96C7-479D-B27A-EF1F002DE74A@yahoo.it> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808071441.09098.achill@matrix.gatewaynet.com> Cc: Gianni Doe , ale@freebsd.org Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 11:41:12 -0000 =CE=A3=CF=84=CE=B9=CF=82 Thursday 07 August 2008 13:59:10 =CE=BF/=CE=B7 Gia= nni Doe =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Has anyone had any success with the www/tomcat-native port? > The port installed with no errors but now Tomcat 6 will not start, it =20 > quits immediately with no indication of the reason in the log files. Just tried with tomcat-native-1.1.13_1 and jboss-4.2.2, and it works great. However for native tomcat your https connector must be updated to include: SSLEngine=3D"on" SSLCertificateFile=3D"/usr/local/jboss-4.2.2.GA/cacert.pem" SSLCertificateKeyFile=3D"/usr/local/jboss-4.2.2.GA/privkey.pem" SSLPassword=3D"your pass" your mileage may vary. > -Gianni >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 11:41:35 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59340106575B; Thu, 7 Aug 2008 11:41:35 +0000 (UTC) (envelope-from frank@harz.behrens.de) Received: from post.frank-behrens.de (post.frank-behrens.de [IPv6:2a01:170:1023::1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF318FC17; Thu, 7 Aug 2008 11:41:34 +0000 (UTC) (envelope-from frank@harz.behrens.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=behrens.de; h=from:to:date:mime-version:subject:cc:in-reply-to:content-type:content-transfer-encoding:content-description; s=pinky1; t=1218109291; i=frank@harz.behrens.de; bh=BhCp5wNbP+E/BybZGL/LSBFYR65IdLNlk88t3H0Xwpg=; b=iIcjUOHIU6QK8n4LRv6H0HfYh1SNSyzfg026ta7RmwEUIsgKxe9g3CAFdTL2o78cMKnCOo0IVquNJc9TR1s5sA== Received: from sun.behrens ([IPv6:2a01:170:1023:0:d48f:ca1d:56a4:af7b]) by post.frank-behrens.de (8.14.2/8.14.2) with ESMTP-MSA id m77Bf5WW088121; Thu, 7 Aug 2008 13:41:05 +0200 (CEST) (envelope-from frank@harz.behrens.de) Message-Id: <200808071141.m77Bf5WW088121@post.frank-behrens.de> From: "Frank Behrens" To: freebsd-java@freebsd.org, Gianni Doe Date: Thu, 07 Aug 2008 13:41:07 +0200 MIME-Version: 1.0 Priority: normal In-reply-to: <89DF1425-96C7-479D-B27A-EF1F002DE74A@yahoo.it> X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Hashcash: 1:23:080807:ale@freebsd.org::lEEjhG49li7CeSsz:NKZx X-Hashcash: 1:23:080807:gdoe6545@yahoo.it::1Jfs0b4sBuQ6iD/j:yKQJ X-Hashcash: 1:23:080807:freebsd-java@freebsd.org::q+XuaquC4DPlTcGi:0000000001dTeI Cc: ale@freebsd.org Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 11:41:35 -0000 Gianni Doe wrote on 7 Aug 2008 12:59: > Has anyone had any success with the www/tomcat-native port? > The port installed with no errors but now Tomcat 6 will not start, it > quits immediately with no indication of the reason in the log files. No problem here: >pkg_info | fgrep tomcat apache-tomcat-6.0.14 Open-source Java web server by Apache, 6.x branch tomcat-native-1.1.13 Tomcat native library For HTTPS you must use different configuration directives and can not use a java keystore. -- Frank Behrens, Osterwieck, Germany PGP-key 0x5B7C47ED on public servers available. From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 12:31:21 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F8681065672 for ; Thu, 7 Aug 2008 12:31:21 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from n42.bullet.mail.ukl.yahoo.com (n42.bullet.mail.ukl.yahoo.com [87.248.110.175]) by mx1.freebsd.org (Postfix) with SMTP id C3D038FC16 for ; Thu, 7 Aug 2008 12:31:20 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from [217.146.182.178] by n42.bullet.mail.ukl.yahoo.com with NNFMP; 07 Aug 2008 12:17:30 -0000 Received: from [87.248.110.112] by t4.bullet.ukl.yahoo.com with NNFMP; 07 Aug 2008 12:17:30 -0000 Received: from [127.0.0.1] by omp217.mail.ukl.yahoo.com with NNFMP; 07 Aug 2008 12:17:30 -0000 X-Yahoo-Newman-Id: 356813.9618.bm@omp217.mail.ukl.yahoo.com Received: (qmail 13560 invoked from network); 7 Aug 2008 12:17:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=qWuAHajotdvce05TdJJILkmwCRYjlFGnstT4VQj/b8FLLSTuEFLehAKDqxhoHsF8XEciyKHvjw9mnfDgwd7gnVOMJWdcLAuiPs/BsL2bijyfX6dcdiTxoIlp1MTxYUUsP/zr5KElmnawA4/m8j//e09DLZOhRK652LAl9daih/s= ; Received: from unknown (HELO zao.smersh.casa) (gdoe6545@88.149.154.198 with plain) by smtp104.mail.ukl.yahoo.com with SMTP; 7 Aug 2008 12:17:30 -0000 X-YMail-OSG: 72EF5j8VM1mFP4WBGg408jbWj9_URYJnIp8UfxvZChyC7JT91Z3mHz9N_vKKdiUhQLrHdU_gLDZH3mOjrIWlV9WHFF9RFuD6BaJ3H3TXVg-- X-Yahoo-Newman-Property: ymail-3 Message-Id: <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> From: Gianni Doe To: freebsd-java@freebsd.org In-Reply-To: <200808071141.m77Bf5WW088121@post.frank-behrens.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 7 Aug 2008 14:17:27 +0200 References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> X-Mailer: Apple Mail (2.926) Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 12:31:21 -0000 On 07/ago/08, at 13:41, Frank Behrens wrote: > Gianni Doe wrote on 7 Aug 2008 12:59: >> Has anyone had any success with the www/tomcat-native port? >> The port installed with no errors but now Tomcat 6 will not start, it >> quits immediately with no indication of the reason in the log files. > > No problem here: >> pkg_info | fgrep tomcat > apache-tomcat-6.0.14 Open-source Java web server by Apache, 6.x branch > tomcat-native-1.1.13 Tomcat native library > > For HTTPS you must use different configuration directives and can not > use a java keystore. I've not yet configured an HTTPS connector, I'm just trying with the default server.xml and as soon as I try to start Tomcat it core dumps. apache-tomcat-6.0.16 tomcat-native-1.1.14 java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0- b01) Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode) 7.0-STABLE amd64 -Gianni From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 12:08:48 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B6A31065683 for ; Thu, 7 Aug 2008 12:08:48 +0000 (UTC) (envelope-from thadeo.mutta@lafarge-tz.lafarge.com) Received: from s200aog16.obsmtp.com (s200aog16.obsmtp.com [207.126.144.130]) by mx1.freebsd.org (Postfix) with SMTP id 3C2628FC2B for ; Thu, 7 Aug 2008 12:08:46 +0000 (UTC) (envelope-from thadeo.mutta@lafarge-tz.lafarge.com) Received: from source ([192.56.25.232]) by eu1sys200aob016.postini.com ([207.126.147.11]) with SMTP; Thu, 07 Aug 2008 11:42:23 UTC To: freebsd-java@freebsd.org X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: thadeo.mutta@lafarge-tz.lafarge.com Date: Thu, 7 Aug 2008 15:03:23 +0300 X-MIMETrack: Serialize by Router on LAFSMTP01/LafargeSMTP(Release 7.0.2FP2|May 14, 2007) at 08/07/2008 02:08:47 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Thu, 07 Aug 2008 12:52:50 +0000 Subject: How to increase java heap size X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 12:08:48 -0000 Hello. Please help as I am getting error message at my SQL server complaining on java.lang.outofMemory Thadeo Mutta. Information Technology Officer Mbeya Cement Company Ltd P.O Box 529 Mbeya. D-Line +255 25 2500162 G-Line +255 25 2500134 Fax +255 25 2500021/2 Mobile +255 754 292158 E-mail :thadeo.mutta@lafarge-tz.lafarge.com tmuttas@yahoo.co.uk It Vision ''Lead Change through ICT by Partnership and Excellence'' "This e-mail is confidential and may contain legally privileged information. If you are not the intended recipient, you should not copy, distribute, disclose or use the information it contains. Please e-mail the sender immediately and delete this message from your system. E-mails are susceptible to corruption, interception and unauthorised amendment; we do not accept liability for any such changes, or for their consequences. You should be aware, that the company may monitor your emails and their content" From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 13:39:05 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 658A81065691 for ; Thu, 7 Aug 2008 13:39:05 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from office.redwerk.com (office.redwerk.com [85.90.206.104]) by mx1.freebsd.org (Postfix) with ESMTP id 02AE18FC1B for ; Thu, 7 Aug 2008 13:39:03 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KR56P-0002u6-MJ for freebsd-java@freebsd.org; Thu, 07 Aug 2008 16:00:25 +0300 Date: Thu, 7 Aug 2008 16:00:25 +0300 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20080807130025.GC10350@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8NvZYKFJsRX2Djef" Content-Disposition: inline In-Reply-To: Subject: Re: How to increase java heap size X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 13:39:05 -0000 --8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 07, 2008 at 03:03:23PM +0300, thadeo.mutta@lafarge-tz.lafarge.c= om wrote: >=20 > Hello. > Please help as I am getting error message at my SQL server complaining on > java.lang.outofMemory Please find out where the java process is started in scripts, then search f= or lines like "-Xms" (minimal memory size) "-Xmx" (maximal memory size) and tu= ne it.=20 For example, to grant 256MB of heap to Java use -Xmx256m. If you will not f= ind any=20 of these options, just find where the java executable is defined in scripts= and then=20 append the -Xmx right after the executable name to tell Java the new value = for heap=20 size. --=20 Eugene N Dzhurinsky --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkia8egACgkQy/i/DoZLbHxH4ACgseyDF4LsznfDPgPPQu20nG8C iY0AnRcssCnfdAS3+nWrynC7Z+xv5Aol =lfjD -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 13:53:08 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCB81065695 for ; Thu, 7 Aug 2008 13:53:08 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 876F88FC14 for ; Thu, 7 Aug 2008 13:53:07 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m77Dr5Kx055576; Thu, 7 Aug 2008 16:53:05 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m77Dr56q055575; Thu, 7 Aug 2008 16:53:05 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Thu, 7 Aug 2008 16:53:04 +0300 User-Agent: KMail/1.9.7 References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> In-Reply-To: <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808071653.04967.achill@matrix.gatewaynet.com> Cc: Gianni Doe Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 13:53:08 -0000 =CE=A3=CF=84=CE=B9=CF=82 Thursday 07 August 2008 15:17:27 =CE=BF/=CE=B7 Gia= nni Doe =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On 07/ago/08, at 13:41, Frank Behrens wrote: > > Gianni Doe wrote on 7 Aug 2008 12:59: > >> Has anyone had any success with the www/tomcat-native port? > >> The port installed with no errors but now Tomcat 6 will not start, it > >> quits immediately with no indication of the reason in the log files. > > > > No problem here: > >> pkg_info | fgrep tomcat > > apache-tomcat-6.0.14 Open-source Java web server by Apache, 6.x branch > > tomcat-native-1.1.13 Tomcat native library > > > > For HTTPS you must use different configuration directives and can not > > use a java keystore. >=20 > I've not yet configured an HTTPS connector, I'm just trying with the =20 > default server.xml and as soon as I try to start Tomcat it core dumps. >=20 > apache-tomcat-6.0.16 Have you tried with tomcat-5.x? > tomcat-native-1.1.14 > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-=20 > b01) > Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed =20 > mode) > 7.0-STABLE amd64 >=20 > -Gianni >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 15:00:39 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5286C1065676 for ; Thu, 7 Aug 2008 15:00:39 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from n20.bullet.mail.ukl.yahoo.com (n20.bullet.mail.ukl.yahoo.com [87.248.110.137]) by mx1.freebsd.org (Postfix) with SMTP id B48D18FC1B for ; Thu, 7 Aug 2008 15:00:38 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from [217.146.182.180] by n20.bullet.mail.ukl.yahoo.com with NNFMP; 07 Aug 2008 15:00:37 -0000 Received: from [87.248.110.112] by t6.bullet.ukl.yahoo.com with NNFMP; 07 Aug 2008 15:00:37 -0000 Received: from [127.0.0.1] by omp217.mail.ukl.yahoo.com with NNFMP; 07 Aug 2008 15:00:37 -0000 X-Yahoo-Newman-Id: 95304.81799.bm@omp217.mail.ukl.yahoo.com Received: (qmail 80728 invoked from network); 7 Aug 2008 14:56:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Cc:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=3JNyZxvpuo7KKN83eJhmoJTS3/t/48bBI9n6bBcXELK7pb38n9+vPQjwWZtkoBx6VX4DciYNLZ7fOVonNPhsgqPe1y65hFNI0OLruKdwFBql32HqogZq1wdYa01N9PeXzq5itJwAH++LHgPMHMRJZhBCtjOKBWn+r6TK1bLgdkw= ; Received: from unknown (HELO zao.smersh.casa) (gdoe6545@88.149.154.198 with plain) by smtp007.mail.ukl.yahoo.com with SMTP; 7 Aug 2008 14:56:38 -0000 X-YMail-OSG: GvBpedYVM1m5xiFx3Wf2l4lZBu4wrXZwUGrkL4CcGSxS676a7ntYsKj2fKziR9qX18qPExAFMImUlJqMKlVb.A_4Vh9aKz1haJj8ZuCDfA-- X-Yahoo-Newman-Property: ymail-3 Message-Id: <37866D4F-19F8-4621-86B6-E5B82E9FAF9E@yahoo.it> From: Gianni Doe To: freebsd-java@freebsd.org In-Reply-To: <200808071653.04967.achill@matrix.gatewaynet.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 7 Aug 2008 16:56:24 +0200 References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> <200808071653.04967.achill@matrix.gatewaynet.com> X-Mailer: Apple Mail (2.926) Cc: Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 15:00:39 -0000 >> I've not yet configured an HTTPS connector, I'm just trying with the >> default server.xml and as soon as I try to start Tomcat it core >> dumps. >> >> apache-tomcat-6.0.16 >> tomcat-native-1.1.14 >> java version "1.5.0" >> Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0- >> b01) >> Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed >> mode) >> 7.0-STABLE amd64 > > Have you tried with tomcat-5.x? Just tried with tomcat55 and same thing - "exited on signal 11". As soon as I deinstall tomcat-native it starts fine. Gianni From owner-freebsd-java@FreeBSD.ORG Thu Aug 7 23:17:27 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FCAC106566B for ; Thu, 7 Aug 2008 23:17:27 +0000 (UTC) (envelope-from d.durieux@siprossii.com) Received: from smtp20.orange.fr (smtp20.orange.fr [193.252.22.31]) by mx1.freebsd.org (Postfix) with ESMTP id A71258FC15 for ; Thu, 7 Aug 2008 23:17:26 +0000 (UTC) (envelope-from d.durieux@siprossii.com) Received: from smtp20.orange.fr (mwinf2026 [172.22.130.126]) by mwinf2020.orange.fr (SMTP Server) with ESMTP id 8B2321CBEA0E for ; Thu, 7 Aug 2008 16:02:52 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2026.orange.fr (SMTP Server) with ESMTP id 17FB31C00086 for ; Thu, 7 Aug 2008 16:02:51 +0200 (CEST) Received: from portable (LRouen-152-83-40-114.w80-13.abo.wanadoo.fr [80.13.247.114]) by mwinf2026.orange.fr (SMTP Server) with ESMTP id D2CEC1C000AB for ; Thu, 7 Aug 2008 16:02:50 +0200 (CEST) X-ME-UUID: 20080807140250863.D2CEC1C000AB@mwinf2026.orange.fr Date: Thu, 7 Aug 2008 16:02:50 +0200 From: David DURIEUX To: freebsd-java@freebsd.org Message-ID: <20080807160250.793609da@portable> In-Reply-To: <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> Organization: siprossii - Solutions Informatiques Professionnelles X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 23:17:27 -0000 Bonjour, Have you rebuild your kernel? We have seen that rebuil kernel on freebsd 7.0 64Bits will have some problems with java. Before the build binaries releases since few weeks, the compilation came with errors. Since binaries, java can be installed but some applications based on java can't be installed or have problems at the execution like Open Office. I think a module is missing in the kernel conf and that's why we have problems with rebuild kernel on 64 bits ONLY Cordialement, David DURIEUX Tel : 04.74.04.81.34 Port : 06.34.99.45.18 Mail : d.durieux@siprossii.com Site Web : http://www.siprossii.com/ SIPROSSII 847 route de Frans (Cr=E9acit=E9) 69400 Villefranche sur Sa=F4ne Le Thu, 7 Aug 2008 14:17:27 +0200 Gianni Doe a =E9crit: >On 07/ago/08, at 13:41, Frank Behrens wrote: >> Gianni Doe wrote on 7 Aug 2008 12:59: >>> Has anyone had any success with the www/tomcat-native port? >>> The port installed with no errors but now Tomcat 6 will not start, >>> it quits immediately with no indication of the reason in the log >>> files. >> >> No problem here: >>> pkg_info | fgrep tomcat >> apache-tomcat-6.0.14 Open-source Java web server by Apache, 6.x >> branch tomcat-native-1.1.13 Tomcat native library >> >> For HTTPS you must use different configuration directives and can not >> use a java keystore. > >I've not yet configured an HTTPS connector, I'm just trying with the =20 >default server.xml and as soon as I try to start Tomcat it core dumps. > >apache-tomcat-6.0.16 >tomcat-native-1.1.14 >java version "1.5.0" >Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-=20 >b01) >Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed =20 >mode) >7.0-STABLE amd64 > >-Gianni > >_______________________________________________ >freebsd-java@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-java >To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 01:51:00 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE0F1065678 for ; Fri, 8 Aug 2008 01:51:00 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from mail.jumbuck.com (p82.jumbuck.com [206.112.99.82]) by mx1.freebsd.org (Postfix) with ESMTP id 9EC428FC12 for ; Fri, 8 Aug 2008 01:51:00 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from mail.jumbuck.com (mail.jumbuck.com [206.112.99.82]) by mail.jumbuck.com (Postfix) with ESMTP id BA4091ACBC5E; Fri, 8 Aug 2008 01:50:59 +0000 (UTC) Received: from beaste5.jumbuck.com (ppp198-18.static.internode.on.net [59.167.198.18]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.jumbuck.com (Postfix) with ESMTP id 6C9251ACBC5B; Fri, 8 Aug 2008 01:50:59 +0000 (UTC) Received: from beaste5.jumbuck.com (beast5 [192.168.46.105]) by beaste5.jumbuck.com (Postfix) with ESMTP id 29DFF209D1A9; Fri, 8 Aug 2008 11:50:57 +1000 (EST) Received: from [192.168.46.121] (unknown [192.168.46.121]) by beaste5.jumbuck.com (Postfix) with ESMTP id 06612209D195; Fri, 8 Aug 2008 11:50:57 +1000 (EST) Message-ID: <489BA679.8080103@thebeastie.org> Date: Fri, 08 Aug 2008 11:50:49 +1000 From: Michael Vince User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Gianni Doe References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> <200808071653.04967.achill@matrix.gatewaynet.com> <37866D4F-19F8-4621-86B6-E5B82E9FAF9E@yahoo.it> In-Reply-To: <37866D4F-19F8-4621-86B6-E5B82E9FAF9E@yahoo.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 01:51:00 -0000 I have always seen the apr/tomcat-native a kind of broken port because it blatantly installs Apache Portable Runtime (/usr/ports/devel/apr) right over the APR libs of Apache 2.x and almost always with older versions of the libraries. I have never noticed any other port in FreeBSD which overwrites other port files with no checks. Regards, Mike Gianni Doe wrote: >>> I've not yet configured an HTTPS connector, I'm just trying with the >>> default server.xml and as soon as I try to start Tomcat it core dumps. >>> >>> apache-tomcat-6.0.16 >>> tomcat-native-1.1.14 >>> java version "1.5.0" >>> Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0- >>> b01) >>> Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed >>> mode) >>> 7.0-STABLE amd64 >> >> Have you tried with tomcat-5.x? > > Just tried with tomcat55 and same thing - "exited on signal 11". > As soon as I deinstall tomcat-native it starts fine. > Gianni > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 04:41:09 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88E10106566B for ; Fri, 8 Aug 2008 04:41:09 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from n33.bullet.mail.ukl.yahoo.com (n33.bullet.mail.ukl.yahoo.com [87.248.110.166]) by mx1.freebsd.org (Postfix) with SMTP id EC7348FC1A for ; Fri, 8 Aug 2008 04:41:08 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from [217.146.182.179] by n33.bullet.mail.ukl.yahoo.com with NNFMP; 08 Aug 2008 04:41:08 -0000 Received: from [87.248.110.117] by t5.bullet.ukl.yahoo.com with NNFMP; 08 Aug 2008 04:41:08 -0000 Received: from [127.0.0.1] by omp222.mail.ukl.yahoo.com with NNFMP; 08 Aug 2008 04:41:08 -0000 X-Yahoo-Newman-Id: 21024.70786.bm@omp222.mail.ukl.yahoo.com Received: (qmail 19474 invoked from network); 8 Aug 2008 04:41:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Cc:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=lzoRRsPFyIECucRRWzJsXFBTSIT3Asm/O7tIvefY/cdWPX8Do2yL6KVDDIjf05kkpBO517Y2T0DQ6Pw+NZFhryYoFCnvTPTLesiucIfVXzoaNdasa0/Ekl5Ovb9aXRVMmDLoxKF7N6S59gld8LeAuRDCjhDgPeMMgGFwJIWJmZc= ; Received: from unknown (HELO stromberg.smersh.casa) (gdoe6545@88.149.154.198 with plain) by smtp102.mail.ukl.yahoo.com with SMTP; 8 Aug 2008 04:41:07 -0000 X-YMail-OSG: wReAj_QVM1n_.FkJSSJs7dIcbfpyuCr3Hun9lc63FMmK68bvemvFGD7Qc3LuyonbubnLMPAS6yOJk1sRlAK0C8nQ9G2sG7b13RFpGfuurQ-- X-Yahoo-Newman-Property: ymail-3 Message-Id: From: Gianni To: freebsd-java@freebsd.org In-Reply-To: <20080807160250.793609da@portable> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Fri, 8 Aug 2008 06:40:56 +0200 References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> <20080807160250.793609da@portable> X-Mailer: Apple Mail (2.926) Cc: David DURIEUX Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 04:41:09 -0000 On 07/ago/08, at 16:02, David DURIEUX wrote: > Bonjour, > > Have you rebuild your kernel? > > We have seen that rebuil kernel on freebsd 7.0 64Bits will have some > problems with java. Before the build binaries releases since few > weeks, > the compilation came with errors. Since binaries, java can be > installed > but some applications based on java can't be installed or have > problems > at the execution like Open Office. > > I think a module is missing in the kernel conf and that's why we have > problems with rebuild kernel on 64 bits ONLY interesting ...yes I have rebuilt my kernel, any ideas which module might be missing? I've also tried compiling tomcat-native from source against the apache22 apr, rather than devel/apr with exactly the same result - tomcat won't start. -Gianni From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 05:35:21 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D44F01065671 for ; Fri, 8 Aug 2008 05:35:21 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 406338FC18 for ; Fri, 8 Aug 2008 05:35:20 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m785ZJ0Z066314; Fri, 8 Aug 2008 08:35:19 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m785ZIDD066313; Fri, 8 Aug 2008 08:35:18 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Fri, 8 Aug 2008 08:35:17 +0300 User-Agent: KMail/1.9.7 References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <20080807160250.793609da@portable> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808080835.18032.achill@matrix.gatewaynet.com> Cc: Gianni , David DURIEUX Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 05:35:21 -0000 =CE=A3=CF=84=CE=B9=CF=82 Friday 08 August 2008 07:40:56 =CE=BF/=CE=B7 Giann= i =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >=20 > On 07/ago/08, at 16:02, David DURIEUX wrote: >=20 > > Bonjour, > > > > Have you rebuild your kernel? > > > > We have seen that rebuil kernel on freebsd 7.0 64Bits will have some > > problems with java. Before the build binaries releases since few =20 > > weeks, > > the compilation came with errors. Since binaries, java can be =20 > > installed > > but some applications based on java can't be installed or have =20 > > problems > > at the execution like Open Office. > > > > I think a module is missing in the kernel conf and that's why we have > > problems with rebuild kernel on 64 bits ONLY >=20 > interesting ...yes I have rebuilt my kernel, any ideas which module =20 > might be missing? > I've also tried compiling tomcat-native from source against the =20 > apache22 apr, rather than devel/apr with exactly the same result - =20 > tomcat won't start. Are you sure you have a good motherboard/CPU/memory/disks? > -Gianni >=20 >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 06:40:06 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8C1E106564A for ; Fri, 8 Aug 2008 06:40:06 +0000 (UTC) (envelope-from d.durieux@siprossii.com) Received: from smtp20.orange.fr (smtp20.orange.fr [80.12.242.26]) by mx1.freebsd.org (Postfix) with ESMTP id 891498FC14 for ; Fri, 8 Aug 2008 06:40:06 +0000 (UTC) (envelope-from d.durieux@siprossii.com) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2006.orange.fr (SMTP Server) with ESMTP id AF0841C000A2 for ; Fri, 8 Aug 2008 08:40:05 +0200 (CEST) Received: from portable (LRouen-152-83-40-114.w80-13.abo.wanadoo.fr [80.13.247.114]) by mwinf2006.orange.fr (SMTP Server) with ESMTP id 7BB9A1C000A0 for ; Fri, 8 Aug 2008 08:40:05 +0200 (CEST) X-ME-UUID: 20080808064005506.7BB9A1C000A0@mwinf2006.orange.fr Date: Fri, 8 Aug 2008 08:40:04 +0200 From: David DURIEUX To: freebsd-java@freebsd.org Message-ID: <20080808084004.2d8b786f@portable> In-Reply-To: References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> <20080807160250.793609da@portable> Organization: siprossii - Solutions Informatiques Professionnelles X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 06:40:06 -0000 Bonjour, No Idea, I have try many things and rebuild but no result :/ Cordialement, David DURIEUX Tel : 04.74.04.81.34 Port : 06.34.99.45.18 Mail : d.durieux@siprossii.com Site Web : http://www.siprossii.com/ SIPROSSII 847 route de Frans (Cr=E9acit=E9) 69400 Villefranche sur Sa=F4ne Le Fri, 8 Aug 2008 06:40:56 +0200 Gianni a =E9crit: > >On 07/ago/08, at 16:02, David DURIEUX wrote: > >> Bonjour, >> >> Have you rebuild your kernel? >> >> We have seen that rebuil kernel on freebsd 7.0 64Bits will have some >> problems with java. Before the build binaries releases since few =20 >> weeks, >> the compilation came with errors. Since binaries, java can be =20 >> installed >> but some applications based on java can't be installed or have =20 >> problems >> at the execution like Open Office. >> >> I think a module is missing in the kernel conf and that's why we have >> problems with rebuild kernel on 64 bits ONLY > >interesting ...yes I have rebuilt my kernel, any ideas which module =20 >might be missing? >I've also tried compiling tomcat-native from source against the =20 >apache22 apr, rather than devel/apr with exactly the same result - =20 >tomcat won't start. >-Gianni > > From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 07:27:12 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2312C106566B for ; Fri, 8 Aug 2008 07:27:12 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from n24.bullet.mail.ukl.yahoo.com (n24.bullet.mail.ukl.yahoo.com [87.248.110.141]) by mx1.freebsd.org (Postfix) with SMTP id 6A8BE8FC1D for ; Fri, 8 Aug 2008 07:27:11 +0000 (UTC) (envelope-from gdoe6545@yahoo.it) Received: from [217.146.182.180] by n24.bullet.mail.ukl.yahoo.com with NNFMP; 08 Aug 2008 07:27:10 -0000 Received: from [87.248.111.150] by t6.bullet.ukl.yahoo.com with NNFMP; 08 Aug 2008 07:27:10 -0000 Received: from [127.0.0.1] by omp207.mail.ukl.yahoo.com with NNFMP; 08 Aug 2008 07:27:10 -0000 X-Yahoo-Newman-Id: 48538.713.bm@omp207.mail.ukl.yahoo.com Received: (qmail 53107 invoked from network); 8 Aug 2008 07:27:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Cc:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=p1tp9CcPc1pbEfysEL3cdWumqREOUpXx1tk5RJixyXlx6sFr2j28ht/TEDhit2I9Ey+cGkebHrx7ETN+mTJ06sxTzjNEpZXYuYrYygkDfIngyfigxOsZ2IbY0OUeUfWBqlPLSGPxSJF5ldiCsiFhJmyRa2oKjKLcH8sM0HFrrbg= ; Received: from unknown (HELO zao.smersh.casa) (gdoe6545@88.149.154.198 with plain) by smtp004.mail.ukl.yahoo.com with SMTP; 8 Aug 2008 07:27:08 -0000 X-YMail-OSG: dRoGWQkVM1mZAIyG2SecdVwPlra8frwcuA9kjp0P3M.1eMTf9fKzKtlvQomm3P3c1JSB372oLf2WNHaD3DDEi4I8reqbqxbUzbJ.1rC25Q-- X-Yahoo-Newman-Property: ymail-3 Message-Id: <3CE9C0C4-8FB9-4216-BE2B-F615C768CC08@yahoo.it> From: Gianni Doe To: freebsd-java@freebsd.org In-Reply-To: <20080808084004.2d8b786f@portable> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Fri, 8 Aug 2008 09:26:51 +0200 References: <200808071141.m77Bf5WW088121@post.frank-behrens.de> <3A501A78-304B-4934-9F2B-B6B07F65EFEC@yahoo.it> <20080807160250.793609da@portable> <20080808084004.2d8b786f@portable> X-Mailer: Apple Mail (2.926) Cc: David DURIEUX Subject: Re: tomcat-native any success? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 07:27:12 -0000 >> >> On 07/ago/08, at 16:02, David DURIEUX wrote: >>> We have seen that rebuil kernel on freebsd 7.0 64Bits will have some >>> problems with java. Before the build binaries releases since few >>> weeks, >>> the compilation came with errors. Since binaries, java can be >>> installed >>> but some applications based on java can't be installed or have >>> problems >>> at the execution like Open Office. >>> >>> I think a module is missing in the kernel conf and that's why we >>> have >>> problems with rebuild kernel on 64 bits ONLY >> >> interesting ...yes I have rebuilt my kernel, any ideas which module >> might be missing? >> I've also tried compiling tomcat-native from source against the >> apache22 apr, rather than devel/apr with exactly the same result - >> tomcat won't start. >> -Gianni > > No Idea, I have try many things and rebuild but no result :/ I managed to get it working by installing the java/jdk16 port even though I'm still starting Tomcat with the diablo-jdk1.6.0_07 binaries. Maybe the jdk16 port installed some dependency required by tomcat- native that was not identified by the port ? -Gianni From owner-freebsd-java@FreeBSD.ORG Fri Aug 8 20:31:46 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3118C1065671 for ; Fri, 8 Aug 2008 20:31:46 +0000 (UTC) (envelope-from ariek4u@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id D5CEC8FC15 for ; Fri, 8 Aug 2008 20:31:45 +0000 (UTC) (envelope-from ariek4u@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so227321ana.13 for ; Fri, 08 Aug 2008 13:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=vw3eH0fShepgU4K1s+XSueZ1b7P1IqGwHleohYOf6yo=; b=P3MLAqhWLAry1njiSWe/i3vdOpB4T5AmeRLBLT49L0mTyMn3oiITZohUzh5Se+OmfB uzfUT5yK2CdcaDNXdSO1foxgseht6k5jdnOdROEgcDDnEZb0vlUBRh/f2IHX9qynrnbG W2NrGemLM0YRnn1CDqXvDlEW1F3TGYgU4+pY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=IO2Z1aMB9cmfIyvP/vHQg8WB8UaojZMiZVX3GWD77avzefwAhuRhfipgax6DBvU4N7 FJ5L93ckK5CdBGJ/cljVf6EfElNY8BeqIPMRYS9drdumuVToIl/bLqHZuMnNIt0/A8Sv 8ooCZsCbzY5xmrDVLejXSbVo5K0DnMpo+imbE= Received: by 10.100.33.13 with SMTP id g13mr7404857ang.96.1218226002668; Fri, 08 Aug 2008 13:06:42 -0700 (PDT) Received: by 10.100.213.3 with HTTP; Fri, 8 Aug 2008 13:06:42 -0700 (PDT) Message-ID: <166bb700808081306o7b9e1134s287a8f23042e1a41@mail.gmail.com> Date: Fri, 8 Aug 2008 22:06:42 +0200 From: "Arie Keren" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NIO Selector problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 20:31:46 -0000 Hi, I'm running Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) on FreeBSD. I have a problem related to Selector: After receiving read event, I remove OP_READ from key.interestOps(), then read the channel and then return the OP_READ to key.interestOps(). After this the selector doesn't wake up on read. This problem can be reproduced with the attached test. The test runs OK on Windows but Fails on FreeBSD. Note that if you comment the lines marked with //1-3, the program runs OK both on Windows and FreeBSD (but of course this causes to much false read invocations). arie import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; import java.util.Iterator; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class TestSelector { static boolean terminate; public static void main(String[] args) { try { new NioSelector(); Socket socket = new Socket("127.0.0.1", 4000); for (int i=0; i<5; i++) { socket.getOutputStream().write(1); Thread.sleep(500); } terminate = true; socket.close(); } catch (Exception e) { e.printStackTrace(); } System.out.println ((NioSelector.numReads == 5 ? "OK:" : "FAIL:") + NioSelector.numReads); } public static class NioSelector implements Runnable { protected Selector selector; ServerSocketChannel tcpListener; SocketChannel tcpClient; ExecutorService executor; static int numReads; public NioSelector() throws IOException { executor = Executors.newFixedThreadPool(1); selector = Selector.open(); tcpListener = ServerSocketChannel.open(); tcpListener.configureBlocking(false); tcpListener.socket().bind(new InetSocketAddress(4000)); tcpListener.register(selector, SelectionKey.OP_ACCEPT); new Thread(this).start(); } @Override public void run() { while (!terminate) { try { int numKeys = selector.select(1000); if (numKeys == 0) continue; Iterator it = selector.selectedKeys().iterator(); while (it.hasNext()) { SelectionKey key = it.next(); it.remove(); if (key.isAcceptable()) { tcpClient = ((ServerSocketChannel)key.channel()).accept(); tcpClient.configureBlocking(false); tcpClient.register(selector, SelectionKey.OP_READ); } else if (key.isReadable()) { key.interestOps(key.interestOps() & ~SelectionKey.OP_READ); //1 final SelectionKey fkey = key; executor.execute(new Runnable () { public void run() { ByteBuffer inBuf = ByteBuffer.allocate(1); try { if (tcpClient.read(inBuf) > 0) numReads++; } catch (IOException e) { e.printStackTrace(); } fkey.interestOps(fkey.interestOps() | SelectionKey.OP_READ); //2 selector.wakeup(); //3 } }); } } } catch (Throwable e) { e.printStackTrace(); } } executor.shutdownNow(); } } }