From owner-freebsd-java@FreeBSD.ORG Sun Dec 17 06:49:14 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D14716A407 for ; Sun, 17 Dec 2006 06:49:14 +0000 (UTC) (envelope-from adam@thegeeklord.com) Received: from spunkymail-a12.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D376A43CA1 for ; Sun, 17 Dec 2006 06:49:13 +0000 (GMT) (envelope-from adam@thegeeklord.com) Received: from [192.168.0.10] (c-24-128-140-44.hsd1.ma.comcast.net [24.128.140.44]) by spunkymail-a12.dreamhost.com (Postfix) with ESMTP id BACA47FAC for ; Sat, 16 Dec 2006 22:49:10 -0800 (PST) Message-ID: <4584E866.8070306@thegeeklord.com> Date: Sun, 17 Dec 2006 01:49:10 -0500 From: Adam Stroud User-Agent: Mail/News 1.5.0.8 (X11/20061108) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: JBoss4 Configuration Set X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 06:49:14 -0000 Does anyone know if it is possible to specify a JBoss4 configuration set when installing JBoss4 from the ports? More specifically, I want to add EJB3 support to JBoss4 and I have done this in the past by specifying the EJB3 configuration set during with the JBoss 4 installer (on other platforms that is). Any suggestion would be greatly appceciated. Thanks A From owner-freebsd-java@FreeBSD.ORG Sun Dec 17 17:01:18 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD8B716A403 for ; Sun, 17 Dec 2006 17:01:18 +0000 (UTC) (envelope-from zach@centrum.cz) Received: from mail1002.centrum.cz (mail1002.centrum.cz [213.29.7.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D24D43C9E for ; Sun, 17 Dec 2006 17:01:17 +0000 (GMT) (envelope-from zach@centrum.cz) Received: by mail1002.centrum.cz id S53445047AbWLQRBO (ORCPT ); Sun, 17 Dec 2006 18:01:14 +0100 Received: from 217.169.178.6 by mail1002.centrum.cz (Centrum Mail) with HTTP Date: Sun, 17 Dec 2006 18:01:14 +0100 From: "Jan Zach" To: X-Mailer: Centrum Mail 1.0 MIME-Version: 1.0 X-Priority: 3 Message-ID: <200612171801.28724@centrum.cz> References: <20061217120036.69F1E16A5B8@hub.freebsd.org> In-Reply-To: <20061217120036.69F1E16A5B8@hub.freebsd.org> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: freebsd-java@freebsd.org Subject: Re: JBoss4 Configuration Set X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 17:01:18 -0000 Hi Adam, you can use installer for linux.Regards jan >Date: Sun, 17 Dec 2006 01:49:10 -0500 >From: Adam Stroud >Subject: JBoss4 Configuration Set >To: freebsd-java@freebsd.org >Message-ID: <4584E866.8070306@thegeeklord.com> >Content-Type: text/plain; charset=ISO-8859-1 > >Does anyone know if it is possible to specify a JBoss4 configuration set > when installing JBoss4 from the ports? More specifically, I want to >add EJB3 support to JBoss4 and I have done this in the past by >specifying the EJB3 configuration set during with the JBoss 4 installer >(on other platforms that is). Any suggestion would be greatly appceciated. > >Thanks >A From owner-freebsd-java@FreeBSD.ORG Sun Dec 17 18:49:12 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40BAA16A415 for ; Sun, 17 Dec 2006 18:49:12 +0000 (UTC) (envelope-from adam@thegeeklord.com) Received: from spunkymail-a12.dreamhost.com (sd-green-bigip-62.dreamhost.com [208.97.132.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC3543CAB for ; Sun, 17 Dec 2006 18:49:11 +0000 (GMT) (envelope-from adam@thegeeklord.com) Received: from [192.168.1.155] (c-24-128-140-44.hsd1.ma.comcast.net [24.128.140.44]) by spunkymail-a12.dreamhost.com (Postfix) with ESMTP id 900D27FB3; Sun, 17 Dec 2006 10:49:10 -0800 (PST) Message-ID: <4585911E.8080600@thegeeklord.com> Date: Sun, 17 Dec 2006 13:49:02 -0500 From: Adam Stroud User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Jan Zach References: <20061217120036.69F1E16A5B8@hub.freebsd.org> <200612171801.28724@centrum.cz> In-Reply-To: <200612171801.28724@centrum.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JBoss4 Configuration Set X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 18:49:12 -0000 Yes, that I know, but is there a way to specify the configuration using the port? Thanks A Jan Zach wrote: > Hi Adam, > > you can use installer for linux.Regards > jan > >> Date: Sun, 17 Dec 2006 01:49:10 -0500 >> From: Adam Stroud >> Subject: JBoss4 Configuration Set >> To: freebsd-java@freebsd.org >> Message-ID: <4584E866.8070306@thegeeklord.com> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Does anyone know if it is possible to specify a JBoss4 configuration set >> when installing JBoss4 from the ports? More specifically, I want to >> add EJB3 support to JBoss4 and I have done this in the past by >> specifying the EJB3 configuration set during with the JBoss 4 installer >> (on other platforms that is). Any suggestion would be greatly > appceciated. >> Thanks >> A > From owner-freebsd-java@FreeBSD.ORG Mon Dec 18 11:08:54 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DF3116A560 for ; Mon, 18 Dec 2006 11:08:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F47743CAC for ; Mon, 18 Dec 2006 11:08:48 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBIB8VxU089959 for ; Mon, 18 Dec 2006 11:08:31 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBIB8UcR089954 for freebsd-java@FreeBSD.org; Mon, 18 Dec 2006 11:08:30 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Dec 2006 11:08:30 GMT Message-Id: <200612181108.kBIB8UcR089954@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 11:08:54 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes on 4.9 works f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b o ports/100529 java linux-sun-jdk1.4.2_12 coredumps on FreeBSD 4.x o java/104627 java Makefile jdk14 broken o java/105369 java problem with port diablo-jdk15 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug 8 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 o java/97461 java Diablo JDK does not report Update level in a format su o ports/106552 java java/linux-sun-jdk14: plz change distfiles 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Dec 18 16:09:31 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9694716A407 for ; Mon, 18 Dec 2006 16:09:31 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70BA643CB2 for ; Mon, 18 Dec 2006 16:09:24 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from host3.dynacom.ondsl.gr ([62.103.35.211] helo=ip216.internal.net) by matrix.gatewaynet.com with esmtp (Exim 4.62) (envelope-from ) id 1GwKYd-00010a-Nn for freebsd-java@freebsd.org; Mon, 18 Dec 2006 17:37:39 +0200 From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Mon, 18 Dec 2006 17:37:37 +0200 User-Agent: KMail/1.9.3 References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200612181737.39000.achill@matrix.gatewaynet.com> Subject: Re: Performance of Java on FBSD vs. 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: Mon, 18 Dec 2006 16:09:31 -0000 =CE=A3=CF=84=CE=B9=CF=82 =CE=A4=CF=81=CE=AF=CF=84=CE=B7 12 =CE=94=CE=B5=CE= =BA=CE=AD=CE=BC=CE=B2=CF=81=CE=B9=CE=BF=CF=82 2006 17:25, =CE=BF/=CE=B7 Pal= le Girgensohn =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hi! > > This mail thread died a while back. Any news, did you succeed in getting = it > faster? > > We are experiencing similar slowness with tomcat - it seems it runs much > faster on Linux. I have not done any tests yet, it is just a feeling, but > developers here are already moaning and want to replace FreeBSD with Linu= x. > I'd love to get the BSD boxes running as fast instead... Any input > appreciated. > Sorry, that i dont have smth specifically useful to say here, but i think that some kind of feedback would give a better feeling to all people in the list, that extra (cycological) support that could keep a person from making the final switch to linux. Raising such an important issue as the current thread, i think deserves something more than complete silence. If Nikos Ntarmos is around, anything related would be appreciated. Are these clock related issues worth intergrating into the patch? Any progress ? (I dont mean to sound like yet aonother "i want it all now, so you do it no= w=20 for me please" kind of newbie, i am writing this if nothing else to give some life to the thread). > Regards, > Palle > > --On fredag, november 10, 2006 22.37.14 +0200 Nikos Ntarmos > > wrote: > > Hi all. > > > > I've spent the last week or so running the exact same Java code on the > > exact same hardware, under different OSs. The code i'm running is > > heavily cpu-bound (no i/o other than light logging), uses a lot of > > memory (~1G), and does not rely on threading libraries (i.e. the program > > creates two threads when it starts and that's all about it). > > > > I'm running a small and a large version of the program (wrt memory > > requirements and run-time). The average execution time for the small > > version goes from ~200'' under win32, to ~220'' under linux, and to > > ~800'' under freebsd. For the large version, the numbers are ~1600'' > > for win32, ~1800'' for linux, and ~4700'' for freebsd. > > > > This is all on a 1.7GHz Pentium-M laptop with 1G RAM (dmesg at > > http://ntarmos.dyndns.org/Computers/dmesgs/ace.dmesg), running -current > > as of Sep 29. The JDKs tested are diablo-jdk15 (1.5.0.07.01) and > > sun-jdk15 (1.5.0p6) for FreeBSD, and sun-jdk15 (1.5.0_07) for linux and > > win32. > > > > Does anybody else see such a performance drop across OSs? Is there some > > specific (known) reason why freebsd lags behind the other two OSs by > > this 3x-4x factor? Any pointers as to some (sysctl or other) knob I've > > missed? > > > > Thanks in advance. > > > > \n\n > > _______________________________________________ > > 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" > > _______________________________________________ > 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" =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Mon Dec 18 17:42:21 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6F0D16A415 for ; Mon, 18 Dec 2006 17:42:21 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F6F43C9F for ; Mon, 18 Dec 2006 17:42:21 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 3931117027; Mon, 18 Dec 2006 09:19:06 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 353D41701B for ; Mon, 18 Dec 2006 09:19:06 -0800 (PST) Date: Mon, 18 Dec 2006 09:19:06 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing To: freebsd-java@freebsd.org In-Reply-To: <200612181737.39000.achill@matrix.gatewaynet.com> Message-ID: <20061218083751.T28249@turing> References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612181737.39000.achill@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Performance of Java on FBSD vs. 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: Mon, 18 Dec 2006 17:42:22 -0000 On Mon, 18 Dec 2006, Achilleas Mantzios wrote: > Raising such an important issue as the current thread, > i think deserves something more than complete silence. The silence is probably because a lot of us have jobs and lives to lead and can't spend our every waking moment focused on Java performance on FreeBSD. Few people, if any, are getting paid to work on this. It isn't rational to set high expectations for responses. I suspect performance comes second to functional problems and bugs as well. I think I'd be more comfortable seeing the results of some *comprehensive* benchmarks, rather than just one case that seems to perform better on one platform than another. If you put some thought into it, I wager you could always find some test case that works well on one architecture and poorly on another. I'd also like to see it run on a *STABLE* branch of FreeBSD, rather than on CURRENT, since CURRENT is likely to be filled with all manner of debugging noise and so-on. It should also be run with libthr as the threading library, as the consensus seems to be that this provides better performance than libpthread (libkse). Wherever possible, it is important to compare apples to apples as well. So if the libraries and binaries are stripped on Linux, they need to be stripped on FreeBSD. If it's not a debug build on Linux, it needs not to be a debug build on FreeBSD. JVM garbage collection and memory allocation strategies need to be the same, *and they might not be by default* depending on how Java was compiled. There are so many problems with the "benchmark" presented that I don't believe it can be used as the basis for troubleshooting performance problems. We need to see a benchmark that does comprehensive testing of performance for a variety of Java functions on the same hardware with the same internal configuration. Maybe SPECjbb2005 or CaffeineMark 3.0? Whatever benchmark is used should be run with profiling switched on, so if there *is* a difference in timings, one can look at the profile data and see where the additional time is being spent. It's also important to run the benchmarks with plenty of memory allocated to take resource constraints out of the picture. I'd go so far as to set the minimum and maximum heap sizes to the same value to get all of the memory allocated up-front. Without a clear problem definition and a methodical strategy for investigating any actual or perceived performance differences, you're taking a vague assertion and stabbing around in the dark trying to change it. Nick -- When you're a kid, they tell you it's all grow up, get a job, get married, get a house, have a kid, and that's it. No, the truth is the world is so much stranger than that. It's so much darker, and so much madder. And so much better. -- Elton, Doctor Who, "Love and Monsters" This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 03:46:53 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E3E116A407 for ; Tue, 19 Dec 2006 03:46:53 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id E184643CA6 for ; Tue, 19 Dec 2006 03:46:49 +0000 (GMT) (envelope-from ntarmos@ceid.upatras.gr) Received: from rhea.ceid.upatras.gr (rhea.ceid.upatras.gr [150.140.141.171]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 538B65C1E43 for ; Tue, 19 Dec 2006 05:17:09 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 0BE8B80003 for ; Tue, 19 Dec 2006 05:17:04 +0200 (EET) Received: from rhea.ceid.upatras.gr ([127.0.0.1]) by localhost (rhea [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24419-10 for ; Tue, 19 Dec 2006 05:17:02 +0200 (EET) Received: from ace.b020.ceid.upatras.gr (unknown [150.140.143.234]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 7D51A80001 for ; Tue, 19 Dec 2006 05:17:02 +0200 (EET) Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001) id 3421E60; Tue, 19 Dec 2006 05:16:58 +0200 (EET) Date: Tue, 19 Dec 2006 05:16:58 +0200 From: Nikos Ntarmos To: freebsd-java@freebsd.org Message-ID: <20061219031658.GA58643@ace.b020.ceid.upatras.gr> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612181737.39000.achill@matrix.gatewaynet.com> <20061218083751.T28249@turing> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061218083751.T28249@turing> Organization: NetCInS Lab., C.E.I.D., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-2610-996919 Office-Fax: +30-2610-969011 GPS-Info: 38.31N, 21.82E User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: by amavisd-new at ceid.upatras.gr Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 03:46:53 -0000 Hi again. On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > On Mon, 18 Dec 2006, Achilleas Mantzios wrote: > > > Raising such an important issue as the current thread, i think > > deserves something more than complete silence. > > The silence is probably because a lot of us have jobs and lives to > lead and can't spend our every waking moment focused on Java > performance on FreeBSD. You were right on that one. Sorry for keeping this radio silence; real-life workload seem to be catching up with me, without me necessarily catching up with it... :( I've put this issue in the closet for the time being, but will surely revisit it some time after the current state of alert is over. Well, I haven't laid completely dormant wrt this issue; I went many times over my code, profiled various aspects of it, run low-level benchmarks, played (a bit too much) with the garbage collectors and other aspects of the JVM, and so on. FWIW it seems that -Xrs (plus a number of less significant, impact-wise, cryptic -XX:blah flags) is the winner here, although I can't understand the reason why; I mean, -Xrs did the biggest difference, but why is it that important (not) to intercept SIGHUP, SIGINT, and SIGTERM? As I said earlier, I'm so willing to pursuit this thing, although that will surely have to wait for at least another month. I do tend to agree though that perhaps it would be wiser to take this over a -STABLE branch, at least so as to dodge such criticism as "current is noisy" et al. > I think I'd be more comfortable seeing the results of some > *comprehensive* benchmarks, rather than just one case that seems to > perform better on one platform than another. If you put some thought > into it, I wager you could always find some test case that works well > on one architecture and poorly on another. You are also right on this one too. My test case is too complicated, touching upon many parts of the system (e.g. threads, network i/o, swapping, etc.), to lead to any definite conclusions. However, the seer performance difference is too large to comprehend. I still believe, though, that using my code to compare the performance of JDK accross various operating systems on the same hardware is an "apples vs oranges" case only to the extent that the OSs differ. I mean, what I see as an end user is a quite large performance gap. I shouldn't care if that is due to the inner workings of FreeBSD vs Linux vs Win32, or due to the internals of the beast that is JVM and HotSpot, or because of different allocation/garbage collection algorithms, or due to a combination of all of the above plus more. If the defaults make JVM slow for me (and others) on FreeBSD then it's the defaults that have to change, or at least be documented for people to know. That was my point to start with and I still stand firm on it. > There are so many problems with the "benchmark" presented that I don't > believe it can be used as the basis for troubleshooting performance > problems. We need to see a benchmark that does comprehensive testing > of performance for a variety of Java functions on the same hardware > with the same internal configuration. Maybe SPECjbb2005 or > CaffeineMark 3.0? Now that's a really good idea. I'll certainly have a look at CaffeineMark as soon as time constraints allow. I'd be more than interested to see some results from someone running -STABLE and some other OS on the same hardware, as a reference point. SPECjbb might be harder to get my hands on, but I'll surely give it an (academic) shot. The conclusions from my (limited) research on this issue so far are that (i) the native freebsd jdk is slower -- at least for my workload -- than the linux jdk on freebsd and the corresponding jdk on linux and win32 (although -server -Xrs somewhat bridges the performance gap -- sorry, no numbers to report at the moment), but (ii) the native freebsd jdk is _much_ more stable -- at least for my workload -- than the linux jdk on freebsd (at the moment I'm waiting for a medium workload to complete; it's been running on native freebsd jdk for the last 15 hours and will probably need a couple more; the linux jdk on freebsd dies with an internal error after the first hour or so of high load). \n\n From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 04:10:40 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 419DF16A47B for ; Tue, 19 Dec 2006 04:10:40 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC40043C9F for ; Tue, 19 Dec 2006 04:10:39 +0000 (GMT) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 3C84C118B483 for ; Mon, 18 Dec 2006 23:48:32 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 47290-04 for ; Mon, 18 Dec 2006 23:48:37 -0400 (AST) Received: from ganymede.hub.org (blk-137-79-174.eastlink.ca [24.137.79.174]) by hub.org (Postfix) with ESMTP id C75DE118B479 for ; Mon, 18 Dec 2006 23:48:31 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id DF7054A4F3 for ; Mon, 18 Dec 2006 23:48:42 -0400 (AST) Date: Mon, 18 Dec 2006 23:48:42 -0400 From: "Marc G. Fournier" To: freebsd-java@freebsd.org Message-ID: <7F8F7B7A846E2FF96F7B55F3@ganymede.hub.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: java.lang.NullPointerException: java.lang.String.getBytes(String.java:811) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 04:10:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hate to ask when I don't believe I have near enough information, but my knowledge o Java is so small that I don't even know where to begin debugging ... Have a client running an application, that, when run on an older FreeBSD 4.x machine, with jdk from ports, ran great ... Recently, upgraded them to FreeBSD 6.x, with Diablo, and from a 32bit server to a 64bit server, and now whenever they submit certain forms on the site, it generates the following error: java.lang.NullPointerException java.lang.String.getBytes(String.java:811) org.dataisland.wrapper.servlet.HttpServletWrapper.streamDocument(HttpServletWrapper.java:346) org.dataisland.wrapper.servlet.HttpServletWrapper.serveDataIsland(HttpServletWrapper.java:316) org.dataisland.wrapper.servlet.HttpServletWrapper.service(HttpServletWrapper.java:277) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.opencommerce.iface.servlet.filter.Secure.doFilter(Secure.java:64) The site *appears* to work fine otherwise ... its an e-commerce site, and I can add products to my shopping cart, search the database, etc ... but, for instance, if I try to update my profile, or they try and update prices, the above happens ... Can someone suggest what, if anything, I can do to debug this a bit more intelligently? Thanks .. - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD4DBQFFh2Ea4QvfyHIvDvMRAkwcAJUWlJ2BJwPiCSAJyejiwM7+/cRkAJ4ltcH7 CSsBMrwm9y9o4qJiIKPy+A== =M9q+ -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 04:59:56 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C0B616A403 for ; Tue, 19 Dec 2006 04:59:56 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D8B643CA3 for ; Tue, 19 Dec 2006 04:58:21 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 5224517027; Mon, 18 Dec 2006 20:58:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 516B51701B; Mon, 18 Dec 2006 20:58:14 -0800 (PST) Date: Mon, 18 Dec 2006 20:58:14 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing To: "Marc G. Fournier" In-Reply-To: <7F8F7B7A846E2FF96F7B55F3@ganymede.hub.org> Message-ID: <20061218205504.T28249@turing> References: <7F8F7B7A846E2FF96F7B55F3@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-java@freebsd.org Subject: Re: java.lang.NullPointerException: java.lang.String.getBytes(String.java:811) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 04:59:56 -0000 Just a guess, but there's a version of getBytes that takes a character set name as an argument, which would probably throw a NullPointerException in the event that the argument you passsed it was a null string. Take a look at http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#getBytes(java.lang.String) and see if there's a chance that your HttpServletWrapper line 346 could be passing null for the character set name. Nick On Mon, 18 Dec 2006, Marc G. Fournier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hate to ask when I don't believe I have near enough information, but my > knowledge o Java is so small that I don't even know where to begin debugging ... > > Have a client running an application, that, when run on an older FreeBSD 4.x > machine, with jdk from ports, ran great ... > > Recently, upgraded them to FreeBSD 6.x, with Diablo, and from a 32bit server to > a 64bit server, and now whenever they submit certain forms on the site, it > generates the following error: > > java.lang.NullPointerException > java.lang.String.getBytes(String.java:811) > org.dataisland.wrapper.servlet.HttpServletWrapper.streamDocument(HttpServletWrapper.java:346) > org.dataisland.wrapper.servlet.HttpServletWrapper.serveDataIsland(HttpServletWrapper.java:316) > org.dataisland.wrapper.servlet.HttpServletWrapper.service(HttpServletWrapper.java:277) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.opencommerce.iface.servlet.filter.Secure.doFilter(Secure.java:64) > > The site *appears* to work fine otherwise ... its an e-commerce site, and I can > add products to my shopping cart, search the database, etc ... but, for > instance, if I try to update my profile, or they try and update prices, the > above happens ... > > Can someone suggest what, if anything, I can do to debug this a bit more > intelligently? > > Thanks .. > > > - ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (FreeBSD) > > iD4DBQFFh2Ea4QvfyHIvDvMRAkwcAJUWlJ2BJwPiCSAJyejiwM7+/cRkAJ4ltcH7 > CSsBMrwm9y9o4qJiIKPy+A== > =M9q+ > -----END PGP SIGNATURE----- > > _______________________________________________ > 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" > -- When you're a kid, they tell you it's all grow up, get a job, get married, get a house, have a kid, and that's it. No, the truth is the world is so much stranger than that. It's so much darker, and so much madder. And so much better. -- Elton, Doctor Who, "Love and Monsters" This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 08:32:59 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD8C716A415 for ; Tue, 19 Dec 2006 08:32:59 +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 0F03143CA3 for ; Tue, 19 Dec 2006 08:31:29 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GwZxs-0000HX-LO for freebsd-java@freebsd.org; Tue, 19 Dec 2006 10:04:44 +0200 Date: Tue, 19 Dec 2006 10:04:44 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061219080444.GA1006@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612181737.39000.achill@matrix.gatewaynet.com> <20061218083751.T28249@turing> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20061218083751.T28249@turing> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 08:32:59 -0000 On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > It should also be run with libthr as the > threading library, as the consensus seems to be that this provides better > performance than libpthread (libkse). Very interesting. Could you please clarify how to use libthr on 5.5/6.2, will there be a need to recompile everything? -- Eugene N Dzhurinsky From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 09:41:22 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAB4B16A412 for ; Tue, 19 Dec 2006 09:41:22 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D3C543C9F for ; Tue, 19 Dec 2006 09:41:21 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from host3.dynacom.ondsl.gr ([62.103.35.211] helo=ip216.internal.net) by matrix.gatewaynet.com with esmtp (Exim 4.62) (envelope-from ) id 1GwbTF-0001FH-AP for freebsd-java@freebsd.org; Tue, 19 Dec 2006 11:41:13 +0200 From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Tue, 19 Dec 2006 11:41:12 +0200 User-Agent: KMail/1.9.3 References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061218083751.T28249@turing> <20061219080444.GA1006@office.redwerk.com> In-Reply-To: <20061219080444.GA1006@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200612191141.12890.achill@matrix.gatewaynet.com> Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 09:41:22 -0000 =CE=A3=CF=84=CE=B9=CF=82 =CE=A4=CF=81=CE=AF=CF=84=CE=B7 19 =CE=94=CE=B5=CE= =BA=CE=AD=CE=BC=CE=B2=CF=81=CE=B9=CE=BF=CF=82 2006 10:04, =CE=BF/=CE=B7 Eug= eny N Dzhurinsky =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > > It should also be run with libthr as the > > threading library, as the consensus seems to be that this provides bett= er > > performance than libpthread (libkse). > > Very interesting. Could you please clarify how to use libthr on 5.5/6.2, > will there be a need to recompile everything? no just setup /etc/libmap.conf, like [/usr/local/diablo-jdk1.5.0/bin/java] libpthread.so.2 libthr.so.2 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 09:45:56 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 686D216A407 for ; Tue, 19 Dec 2006 09:45:56 +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 DABED43C9F for ; Tue, 19 Dec 2006 09:45:55 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GwbXZ-000JAd-1H for freebsd-java@freebsd.org; Tue, 19 Dec 2006 11:45:41 +0200 Date: Tue, 19 Dec 2006 11:45:41 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061219094541.GF1006@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061218083751.T28249@turing> <20061219080444.GA1006@office.redwerk.com> <200612191141.12890.achill@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200612191141.12890.achill@matrix.gatewaynet.com> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 09:45:56 -0000 On Tue, Dec 19, 2006 at 11:41:12AM +0200, Achilleas Mantzios wrote: > ???????? ?????????? 19 ???????????????????? 2006 10:04, ??/?? Eugeny N Dzhurinsky ????????????: > > On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > > > It should also be run with libthr as the > > > threading library, as the consensus seems to be that this provides better > > > performance than libpthread (libkse). > > > > Very interesting. Could you please clarify how to use libthr on 5.5/6.2, > > will there be a need to recompile everything? > > no just setup /etc/libmap.conf, like > [/usr/local/diablo-jdk1.5.0/bin/java] > libpthread.so.2 libthr.so.2 Nice, is it possible to see does it really uses libthr.so.2? -- Eugene N Dzhurinsky From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 10:39:26 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24C8D16A412 for ; Tue, 19 Dec 2006 10:39:26 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C71443CA2 for ; Tue, 19 Dec 2006 10:39:25 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from host3.dynacom.ondsl.gr ([62.103.35.211] helo=ip216.internal.net) by matrix.gatewaynet.com with esmtp (Exim 4.62) (envelope-from ) id 1GwbdJ-0001Fb-M9 for freebsd-java@freebsd.org; Tue, 19 Dec 2006 11:51:37 +0200 From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Tue, 19 Dec 2006 11:51:37 +0200 User-Agent: KMail/1.9.3 References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> In-Reply-To: <20061219094541.GF1006@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200612191151.37416.achill@matrix.gatewaynet.com> Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 10:39:26 -0000 =CE=A3=CF=84=CE=B9=CF=82 =CE=A4=CF=81=CE=AF=CF=84=CE=B7 19 =CE=94=CE=B5=CE= =BA=CE=AD=CE=BC=CE=B2=CF=81=CE=B9=CE=BF=CF=82 2006 11:45, =CE=BF/=CE=B7 Eug= eny N Dzhurinsky =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On Tue, Dec 19, 2006 at 11:41:12AM +0200, Achilleas Mantzios wrote: > > ???????? ?????????? 19 ???????????????????? 2006 10:04, ??/?? Eugeny N= =20 Dzhurinsky ????????????: > > > On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > > > > It should also be run with libthr as the > > > > threading library, as the consensus seems to be that this provides > > > > better performance than libpthread (libkse). > > > > > > Very interesting. Could you please clarify how to use libthr on > > > 5.5/6.2, will there be a need to recompile everything? > > > > no just setup /etc/libmap.conf, like > > [/usr/local/diablo-jdk1.5.0/bin/java] > > libpthread.so.2 libthr.so.2 > > Nice, is it possible to see does it really uses libthr.so.2? smth like smadev# ldd /usr/local/diablo-jdk1.5.0/bin/java /usr/local/diablo-jdk1.5.0/bin/java: libz.so.3 =3D> /lib/libz.so.3 (0x28083000) libpthread.so.2 =3D> /usr/lib/libthr.so.2 (0x28093000) libc.so.6 =3D> /lib/libc.so.6 (0x280a5000) smadev# =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 10:43:07 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2765916A580 for ; Tue, 19 Dec 2006 10:43:07 +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 8C67A43CA7 for ; Tue, 19 Dec 2006 10:43:06 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GwcR2-0000n2-Uw for freebsd-java@freebsd.org; Tue, 19 Dec 2006 12:43:00 +0200 Date: Tue, 19 Dec 2006 12:43:00 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061219104300.GG1006@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <200612191151.37416.achill@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200612191151.37416.achill@matrix.gatewaynet.com> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 10:43:07 -0000 On Tue, Dec 19, 2006 at 11:51:37AM +0200, Achilleas Mantzios wrote: > ???????? ?????????? 19 ???????????????????? 2006 11:45, ??/?? Eugeny N Dzhurinsky ????????????: > > On Tue, Dec 19, 2006 at 11:41:12AM +0200, Achilleas Mantzios wrote: > > > ???????? ?????????? 19 ???????????????????? 2006 10:04, ??/?? Eugeny N > Dzhurinsky ????????????: > > > > On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > > > > > It should also be run with libthr as the > > > > > threading library, as the consensus seems to be that this provides > > > > > better performance than libpthread (libkse). > > > > > > > > Very interesting. Could you please clarify how to use libthr on > > > > 5.5/6.2, will there be a need to recompile everything? > > > > > > no just setup /etc/libmap.conf, like > > > [/usr/local/diablo-jdk1.5.0/bin/java] > > > libpthread.so.2 libthr.so.2 > > > > Nice, is it possible to see does it really uses libthr.so.2? > smth like > smadev# ldd /usr/local/diablo-jdk1.5.0/bin/java > /usr/local/diablo-jdk1.5.0/bin/java: > libz.so.3 => /lib/libz.so.3 (0x28083000) > libpthread.so.2 => /usr/lib/libthr.so.2 (0x28093000) > libc.so.6 => /lib/libc.so.6 (0x280a5000) > smadev# ldd /usr/local/jdk1.5.0/bin/java /usr/local/jdk1.5.0/bin/java: libz.so.2 => /lib/libz.so.2 (0x28088000) libpthread.so.1 => /usr/lib/libpthread.so.1 (0x28098000) libc.so.5 => /lib/libc.so.5 (0x280bc000) looks like I need to map libpthread.so.1 - not libpthread.so.2? -- Eugene N Dzhurinsky From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 11:30:03 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9792616A40F for ; Tue, 19 Dec 2006 11:30:03 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB80943CA0 for ; Tue, 19 Dec 2006 11:30:02 +0000 (GMT) (envelope-from ntarmos@ceid.upatras.gr) Received: from rhea.ceid.upatras.gr (rhea.ceid.upatras.gr [150.140.141.171]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id E29525C1E68 for ; Tue, 19 Dec 2006 13:29:57 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 8430D80004 for ; Tue, 19 Dec 2006 13:29:53 +0200 (EET) Received: from rhea.ceid.upatras.gr ([127.0.0.1]) by localhost (rhea [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17852-10 for ; Tue, 19 Dec 2006 13:29:52 +0200 (EET) Received: from ace.b020.ceid.upatras.gr (unknown [150.140.143.234]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 13A5C80003 for ; Tue, 19 Dec 2006 13:29:51 +0200 (EET) Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001) id 0207123; Tue, 19 Dec 2006 13:00:23 +0200 (EET) Date: Tue, 19 Dec 2006 13:00:23 +0200 From: Nikos Ntarmos To: freebsd-java@freebsd.org Message-ID: <20061219110023.GB23305@ace.b020.ceid.upatras.gr> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061218083751.T28249@turing> <20061219080444.GA1006@office.redwerk.com> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061219094541.GF1006@office.redwerk.com> Organization: NetCInS Lab., C.E.I.D., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-2610-996919 Office-Fax: +30-2610-969011 GPS-Info: 38.31N, 21.82E User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: by amavisd-new at ceid.upatras.gr Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 11:30:03 -0000 On Tue, Dec 19, 2006 at 11:45:41AM +0200, Eugeny N Dzhurinsky wrote: > Nice, is it possible to see does it really uses libthr.so.2? Use ldd(1) on the executable. If you see something like: ntarmos@ace:~$ ldd /usr/local/jdk1.5.0/bin/java /usr/local/jdk1.5.0/bin/java: libz.so.3 => /lib/libz.so.3 (0x68091000) libpthread.so.2 => /usr/lib/libthr.so.2 (0x680a3000) <======= libc.so.7 => /lib/libc.so.7 (0x680b6000) then you're using libthr alright. \n\n From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 11:34:20 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9ECE16A407 for ; Tue, 19 Dec 2006 11:34:20 +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 634D443CA0 for ; Tue, 19 Dec 2006 11:34:18 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GwdEe-0008iZ-Rt for freebsd-java@freebsd.org; Tue, 19 Dec 2006 13:34:16 +0200 Date: Tue, 19 Dec 2006 13:34:16 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061219113416.GH1006@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061218083751.T28249@turing> <20061219080444.GA1006@office.redwerk.com> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <20061219110023.GB23305@ace.b020.ceid.upatras.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20061219110023.GB23305@ace.b020.ceid.upatras.gr> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 11:34:20 -0000 On Tue, Dec 19, 2006 at 01:00:23PM +0200, Nikos Ntarmos wrote: > On Tue, Dec 19, 2006 at 11:45:41AM +0200, Eugeny N Dzhurinsky wrote: > > Nice, is it possible to see does it really uses libthr.so.2? > > Use ldd(1) on the executable. If you see something like: > ntarmos@ace:~$ ldd /usr/local/jdk1.5.0/bin/java > /usr/local/jdk1.5.0/bin/java: > libz.so.3 => /lib/libz.so.3 (0x68091000) > libpthread.so.2 => /usr/lib/libthr.so.2 (0x680a3000) <======= > libc.so.7 => /lib/libc.so.7 (0x680b6000) > then you're using libthr alright. Okay, I changed this - but my java coredumped, so I switched back to libpthread. Thanks anyway! -- Eugene N Dzhurinsky From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 16:42:03 2006 Return-Path: X-Original-To: java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6313116A4AB for ; Tue, 19 Dec 2006 16:42:03 +0000 (UTC) (envelope-from eapartner@nexenservices.com) Received: from smtp23.msg.oleane.net (smtp23.msg.oleane.net [62.161.4.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2139143CBF for ; Tue, 19 Dec 2006 16:42:01 +0000 (GMT) (envelope-from eapartner@nexenservices.com) Received: from DC0F2M2J (629476060P001.rain.fr [194.51.74.245]) (authenticated) by smtp23.msg.oleane.net (MTA) with ESMTP id kBJG3xrP015020 for ; Tue, 19 Dec 2006 17:13:07 +0100 From: "info@morethanjustabag.com" To: Date: Tue, 19 Dec 2006 17:13:07 +0100 Mime-Version: 1.0 Message-ID: <20061219140552.95BC33DD0C@DC0F2M2J> Content-Type: multipart/related; boundary="----=_Part_498_240781314.1166537152000" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Vos emballages sous le sapin X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "consumeo@gmail.com" List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 16:42:03 -0000 ------=_Part_498_240781314.1166537152000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Si la page ne s'affiche pas correctement, veuillez cliquer ici.If you have d= ifficulties viewing this email, please click here. CONSUMEO> L'EXPERT DU CONSOMMABLE EN CHINE CONSUMEO> THE CONSUMABLE PRODU= CTS EXPERT IN CHINA Pr=E9sent depuis 6 ans en Chine, CONSUMEO est devenu l'acteur incontournable= de l'emballage de qualit=E9 fabriqu=E9 en Chine. Avec des centaines de r=E9= f=E9rences disponibles et un r=E9seau propre d'usines, nos solutions cl=E9 e= n main vous assurent une r=E9ponse compl=E8te pour fabriquer les mod=E8les p= lus exigeants mod=E8les =E0 moindre co=FBt. For 6 years, we have been prov= iding our customers with high quality, low price packaging solutions. Thanks= to our wide range of packaging & our strong network of factories in China, = we can meet any and all of your packaging needs. ------=_Part_498_240781314.1166537152000-- From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 17:42:12 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A95BD16A412; Tue, 19 Dec 2006 17:42:12 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3400943CA0; Tue, 19 Dec 2006 17:42:12 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id kBJHR9Ex036156; Tue, 19 Dec 2006 09:27:09 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id kBJHR8RT036155; Tue, 19 Dec 2006 09:27:08 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 19 Dec 2006 09:27:08 -0800 From: Greg Lewis To: Nick Johnson Message-ID: <20061219172708.GA36061@misty.eyesbeyond.com> References: <7F8F7B7A846E2FF96F7B55F3@ganymede.hub.org> <20061218205504.T28249@turing> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061218205504.T28249@turing> User-Agent: Mutt/1.4.2.2i Cc: "Marc G. Fournier" , freebsd-java@freebsd.org Subject: Re: java.lang.NullPointerException: java.lang.String.getBytes(String.java:811) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 17:42:12 -0000 On Mon, Dec 18, 2006 at 08:58:14PM -0800, Nick Johnson wrote: > Just a guess, but there's a version of getBytes that takes a character set > name as an argument, which would probably throw a NullPointerException in > the event that the argument you passsed it was a null string. > > Take a look at > http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#getBytes(java.lang.String) > and see if there's a chance that your HttpServletWrapper line 346 could be > passing null for the character set name. Even better, look at String.java, line 811 (per the stack trace): if (charsetName == null) throw new NullPointerException(); Makes it pretty clear :) > Nick > > On Mon, 18 Dec 2006, Marc G. Fournier wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > Hate to ask when I don't believe I have near enough information, but my > > knowledge o Java is so small that I don't even know where to begin debugging ... > > > > Have a client running an application, that, when run on an older FreeBSD 4.x > > machine, with jdk from ports, ran great ... > > > > Recently, upgraded them to FreeBSD 6.x, with Diablo, and from a 32bit server to > > a 64bit server, and now whenever they submit certain forms on the site, it > > generates the following error: > > > > java.lang.NullPointerException > > java.lang.String.getBytes(String.java:811) > > org.dataisland.wrapper.servlet.HttpServletWrapper.streamDocument(HttpServletWrapper.java:346) > > org.dataisland.wrapper.servlet.HttpServletWrapper.serveDataIsland(HttpServletWrapper.java:316) > > org.dataisland.wrapper.servlet.HttpServletWrapper.service(HttpServletWrapper.java:277) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.opencommerce.iface.servlet.filter.Secure.doFilter(Secure.java:64) > > > > The site *appears* to work fine otherwise ... its an e-commerce site, and I can > > add products to my shopping cart, search the database, etc ... but, for > > instance, if I try to update my profile, or they try and update prices, the > > above happens ... > > > > Can someone suggest what, if anything, I can do to debug this a bit more > > intelligently? > > > > Thanks .. > > > > > > - ---- > > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > > Email . scrappy@hub.org MSN . scrappy@hub.org > > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.5 (FreeBSD) > > > > iD4DBQFFh2Ea4QvfyHIvDvMRAkwcAJUWlJ2BJwPiCSAJyejiwM7+/cRkAJ4ltcH7 > > CSsBMrwm9y9o4qJiIKPy+A== > > =M9q+ > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > 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" > > > > -- > When you're a kid, they tell you it's all grow up, get a job, get married, > get a house, have a kid, and that's it. No, the truth is the world is so > much stranger than that. It's so much darker, and so much madder. > And so much better. > -- Elton, Doctor Who, "Love and Monsters" > This message has been brought to you by Nick Johnson 2.1 and the number 6. > http://healerNick.com/ http://morons.org/ http://spatula.net/ > _______________________________________________ > 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" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 21:28:20 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B5E916A403 for ; Tue, 19 Dec 2006 21:28:20 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46EB043CBB for ; Tue, 19 Dec 2006 21:27:34 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GwlNO-0002CI-AT for freebsd-java@freebsd.org; Tue, 19 Dec 2006 21:15:51 +0100 Received: from 89-172-47-128.adsl.net.t-com.hr ([89.172.47.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Dec 2006 21:15:50 +0100 Received: from ivoras by 89-172-47-128.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Dec 2006 21:15:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Ivan Voras Date: Tue, 19 Dec 2006 21:15:12 +0100 Lines: 29 Message-ID: References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <200612191151.37416.achill@matrix.gatewaynet.com> <20061219104300.GG1006@office.redwerk.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig977142223DA8679965C77E33" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-47-128.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: <20061219104300.GG1006@office.redwerk.com> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: Performance of Java on FBSD vs. 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: Tue, 19 Dec 2006 21:28:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig977142223DA8679965C77E33 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Eugeny N Dzhurinsky wrote: >=20 > looks like I need to map libpthread.so.1 - not libpthread.so.2? If you're using 5.x, stay away from libthr - it was much slower back then= =2E --------------enig977142223DA8679965C77E33 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiEhWldnAQVacBcgRAkL3AKDlImvhv1Rx5xOsNZS4i5BZh3qcGQCcCD2c 3LlF9/F1H0qjPApUfrxl5Gs= =Ibvg -----END PGP SIGNATURE----- --------------enig977142223DA8679965C77E33-- From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 22:30:01 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C6A416A403 for ; Tue, 19 Dec 2006 22:30:01 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FAC243C9F for ; Tue, 19 Dec 2006 22:30:01 +0000 (GMT) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 61DD5118B477; Tue, 19 Dec 2006 18:29:57 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 40169-08; Tue, 19 Dec 2006 18:30:00 -0400 (AST) Received: from ganymede.hub.org (blk-137-79-174.eastlink.ca [24.137.79.174]) by hub.org (Postfix) with ESMTP id BAC41118B461; Tue, 19 Dec 2006 18:29:56 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 94D5C5CD41; Tue, 19 Dec 2006 18:30:02 -0400 (AST) Date: Tue, 19 Dec 2006 18:30:02 -0400 From: "Marc G. Fournier" To: Greg Lewis , Nick Johnson Message-ID: In-Reply-To: <20061219172708.GA36061@misty.eyesbeyond.com> References: <7F8F7B7A846E2FF96F7B55F3@ganymede.hub.org> <20061218205504.T28249@turing> <20061219172708.GA36061@misty.eyesbeyond.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-java@freebsd.org Subject: Re: java.lang.NullPointerException: java.lang.String.getBytes(String.java:811) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 22:30:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Tuesday, December 19, 2006 09:27:08 -0800 Greg Lewis wrote: > On Mon, Dec 18, 2006 at 08:58:14PM -0800, Nick Johnson wrote: >> Just a guess, but there's a version of getBytes that takes a character set >> name as an argument, which would probably throw a NullPointerException in >> the event that the argument you passsed it was a null string. >> >> Take a look at >> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#getBytes(java. >> lang.String) and see if there's a chance that your HttpServletWrapper line >> 346 could be passing null for the character set name. > > Even better, look at String.java, line 811 (per the stack trace): > > if (charsetName == null) throw new NullPointerException(); > > Makes it pretty clear :) Clear for someone that has a clue about Java ... :) 'k, just unzip'd src.zip so that I can look at the code there ... now, you show java 1.4.2 above for this, so obviously this problem will exist if I downgrade from 1.5.x ... The server used to run on FreeBSD 4.x, 32bit + jdk 1.4.2 ... it is now on FreeBSD 6.x, 64bit and diablo 1.5.0 ... could/would any of those changes have affected anything? > >> Nick >> >> On Mon, 18 Dec 2006, Marc G. Fournier wrote: >> >> > -----BEGIN PGP SIGNED MESSAGE----- >> > Hash: SHA1 >> > >> > >> > Hate to ask when I don't believe I have near enough information, but my >> > knowledge o Java is so small that I don't even know where to begin >> > debugging ... >> > >> > Have a client running an application, that, when run on an older FreeBSD >> > 4.x machine, with jdk from ports, ran great ... >> > >> > Recently, upgraded them to FreeBSD 6.x, with Diablo, and from a 32bit >> > server to a 64bit server, and now whenever they submit certain forms on >> > the site, it generates the following error: >> > >> > java.lang.NullPointerException >> > java.lang.String.getBytes(String.java:811) >> > org.dataisland.wrapper.servlet.HttpServletWrapper.streamDocument(HttpServ >> > letWrapper.java:346) >> > org.dataisland.wrapper.servlet.HttpServletWrapper.serveDataIsland(HttpSer >> > vletWrapper.java:316) >> > org.dataisland.wrapper.servlet.HttpServletWrapper.service(HttpServletWrap >> > per.java:277) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> > org.opencommerce.iface.servlet.filter.Secure.doFilter(Secure.java:64) >> > >> > The site *appears* to work fine otherwise ... its an e-commerce site, and >> > I can add products to my shopping cart, search the database, etc ... but, >> > for instance, if I try to update my profile, or they try and update >> > prices, the above happens ... >> > >> > Can someone suggest what, if anything, I can do to debug this a bit more >> > intelligently? >> > >> > Thanks .. >> > >> > >> > - ---- >> > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) >> > Email . scrappy@hub.org MSN . scrappy@hub.org >> > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 >> > -----BEGIN PGP SIGNATURE----- >> > Version: GnuPG v1.4.5 (FreeBSD) >> > >> > iD4DBQFFh2Ea4QvfyHIvDvMRAkwcAJUWlJ2BJwPiCSAJyejiwM7+/cRkAJ4ltcH7 >> > CSsBMrwm9y9o4qJiIKPy+A== >> > =M9q+ >> > -----END PGP SIGNATURE----- >> > >> > _______________________________________________ >> > 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" >> > >> >> -- >> When you're a kid, they tell you it's all grow up, get a job, get married, >> get a house, have a kid, and that's it. No, the truth is the world is so >> much stranger than that. It's so much darker, and so much madder. >> And so much better. >> -- Elton, Doctor Who, "Love and Monsters" >> This message has been brought to you by Nick Johnson 2.1 and the number 6. >> http://healerNick.com/ http://morons.org/ http://spatula.net/ >> _______________________________________________ >> 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" > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFiGfq4QvfyHIvDvMRAndwAKC5IprwGMWCaGEAir0Z2OWzNvi7kgCePZij MbaWl6R34hRTa8eEXiepp74= =9pM3 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 06:58:46 2006 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6013F16A40F; Wed, 20 Dec 2006 06:58:46 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A094943C9F; Wed, 20 Dec 2006 06:58:45 +0000 (GMT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (smmsp@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id kBK6Zdi7009535; Wed, 20 Dec 2006 13:35:39 +0700 (KRAT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from root@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id kBK6ZdWJ009534; Wed, 20 Dec 2006 13:35:39 +0700 (KRAT) (envelope-from eugen) Date: Wed, 20 Dec 2006 13:35:39 +0700 (KRAT) Message-Id: <200612200635.kBK6ZdWJ009534@www.svzserv.kemerovo.su> To: FreeBSD-gnats-submit@freebsd.org From: Eugene Grosbein X-send-pr-version: 3.113 X-GNATS-Notify: Cc: java@freebsd.org, glewis@freebsd.org Subject: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 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, 20 Dec 2006 06:58:46 -0000 >Submitter-Id: current-users >Originator: Eugene Grosbein >Organization: Svyaz Service JSC >Confidential: no >Synopsis: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 >Severity: serious >Priority: medium >Category: java >Class: sw-bug >Release: FreeBSD 4.11-STABLE i386 >Environment: System: FreeBSD www.svzserv.kemerovo.su 4.11-STABLE FreeBSD 4.11-STABLE #20: Mon Nov 27 13:23:00 KRAT 2006 eu@www.svzserv.kemerovo.su:/home4/obj/home/src/sys/WWW i386 >Description: See next section >How-To-Repeat: # cd /usr/ports/java/jdk15 # make "Makefile", line 194: Malformed conditional (!exists(${DISTDIR}/${PATCHSETFILE}) || (defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE}))#}{) make: fatal errors encountered -- cannot continue # ident Makefile Makefile: $FreeBSD: ports/java/jdk15/Makefile,v 1.118 2006/12/11 17:10:52 glewis Ex >Fix: Unknown From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 07:00:32 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12A0616A49E for ; Wed, 20 Dec 2006 07:00:32 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CFEC43CA0 for ; Wed, 20 Dec 2006 07:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBK70VdX063714 for ; Wed, 20 Dec 2006 07:00:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBK70Ufw063713; Wed, 20 Dec 2006 07:00:30 GMT (envelope-from gnats) Resent-Date: Wed, 20 Dec 2006 07:00:30 GMT Resent-Message-Id: <200612200700.kBK70Ufw063713@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6013F16A40F; Wed, 20 Dec 2006 06:58:46 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A094943C9F; Wed, 20 Dec 2006 06:58:45 +0000 (GMT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (smmsp@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id kBK6Zdi7009535; Wed, 20 Dec 2006 13:35:39 +0700 (KRAT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from root@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id kBK6ZdWJ009534; Wed, 20 Dec 2006 13:35:39 +0700 (KRAT) (envelope-from eugen) Message-Id: <200612200635.kBK6ZdWJ009534@www.svzserv.kemerovo.su> Date: Wed, 20 Dec 2006 13:35:39 +0700 (KRAT) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: java@FreeBSD.org, glewis@FreeBSD.org Subject: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 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, 20 Dec 2006 07:00:32 -0000 >Number: 106964 >Category: java >Synopsis: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 20 07:00:29 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.11-STABLE i386 >Organization: Svyaz Service JSC >Environment: System: FreeBSD www.svzserv.kemerovo.su 4.11-STABLE FreeBSD 4.11-STABLE #20: Mon Nov 27 13:23:00 KRAT 2006 eu@www.svzserv.kemerovo.su:/home4/obj/home/src/sys/WWW i386 >Description: See next section >How-To-Repeat: # cd /usr/ports/java/jdk15 # make "Makefile", line 194: Malformed conditional (!exists(${DISTDIR}/${PATCHSETFILE}) || (defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE}))#}{) make: fatal errors encountered -- cannot continue # ident Makefile Makefile: $FreeBSD: ports/java/jdk15/Makefile,v 1.118 2006/12/11 17:10:52 glewis Ex >Fix: Unknown >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 07:57:56 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CADE416A403 for ; Wed, 20 Dec 2006 07:57:56 +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 5AB6543CA0 for ; Wed, 20 Dec 2006 07:57:56 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GwwKv-0000Gt-Jc for freebsd-java@freebsd.org; Wed, 20 Dec 2006 09:58:01 +0200 Date: Wed, 20 Dec 2006 09:58:01 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061220075801.GA960@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <200612191151.37416.achill@matrix.gatewaynet.com> <20061219104300.GG1006@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. 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, 20 Dec 2006 07:57:56 -0000 On Tue, Dec 19, 2006 at 09:15:12PM +0100, Ivan Voras wrote: > Eugeny N Dzhurinsky wrote: > > looks like I need to map libpthread.so.1 - not libpthread.so.2? > If you're using 5.x, stay away from libthr - it was much slower back then. And it doesn't work well ;) -- Eugene N Dzhurinsky From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 09:33:37 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE97D16A417 for ; Wed, 20 Dec 2006 09:33:37 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCD8643CA7 for ; Wed, 20 Dec 2006 09:33:36 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1867146uge for ; Wed, 20 Dec 2006 01:33:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=AxahPjpsHylEGmbV3amSNb7HQPbhbfvw6yxwD1SHBbcAkW1hsXY9GJRHghgTWHt39WBXj1yNo2XkMtUaSxD+NMvibRxDc8QRLe7e2EtHuDLry6ct3OfPeSfuD6+dKeSu+eu912HOifCyC9xkSKOiWGaeV6TA/GBOg/5V+WFVSlU= Received: by 10.78.181.13 with SMTP id d13mr4778781huf.1166605532023; Wed, 20 Dec 2006 01:05:32 -0800 (PST) Received: by 10.78.167.16 with HTTP; Wed, 20 Dec 2006 01:05:31 -0800 (PST) Message-ID: Date: Wed, 20 Dec 2006 12:05:31 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: freebsd-java@freebsd.org In-Reply-To: <20061220075801.GA960@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <200612191151.37416.achill@matrix.gatewaynet.com> <20061219104300.GG1006@office.redwerk.com> <20061220075801.GA960@office.redwerk.com> X-Google-Sender-Auth: 766abac4929ff1fe Subject: Re: Performance of Java on FBSD vs. 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, 20 Dec 2006 09:33:37 -0000 On 12/20/06, Eugeny N Dzhurinsky wrote: > On Tue, Dec 19, 2006 at 09:15:12PM +0100, Ivan Voras wrote: > > Eugeny N Dzhurinsky wrote: > > > looks like I need to map libpthread.so.1 - not libpthread.so.2? > > If you're using 5.x, stay away from libthr - it was much slower back then. > > And it doesn't work well ;) Didn't! :) From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 09:39:13 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78BF816A40F for ; Wed, 20 Dec 2006 09:39:13 +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 5B1E043CC4 for ; Wed, 20 Dec 2006 09:38:59 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Gwxui-0000bS-To for freebsd-java@freebsd.org; Wed, 20 Dec 2006 11:39:04 +0200 Date: Wed, 20 Dec 2006 11:39:04 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061220093904.GD960@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <200612191151.37416.achill@matrix.gatewaynet.com> <20061219104300.GG1006@office.redwerk.com> <20061220075801.GA960@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. 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, 20 Dec 2006 09:39:13 -0000 On Wed, Dec 20, 2006 at 12:05:31PM +0300, Andrew Pantyukhin wrote: > On 12/20/06, Eugeny N Dzhurinsky wrote: > >On Tue, Dec 19, 2006 at 09:15:12PM +0100, Ivan Voras wrote: > >> Eugeny N Dzhurinsky wrote: > >> > looks like I need to map libpthread.so.1 - not libpthread.so.2? > >> If you're using 5.x, stay away from libthr - it was much slower back > >then. > > > >And it doesn't work well ;) > Didn't! :) I was unable to test it with 6.1 at home, so I'm not sure. Btw, is it possible to enable libthr for any application in FreeBSD 6.1 somehow, or it is probably not a good idea? -- Eugene N Dzhurinsky From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 10:52:29 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 090F216A412 for ; Wed, 20 Dec 2006 10:52:29 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C48E43C9F for ; Wed, 20 Dec 2006 10:52:28 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from host3.dynacom.ondsl.gr ([62.103.35.211] helo=ip216.internal.net) by matrix.gatewaynet.com with esmtp (Exim 4.62) (envelope-from ) id 1Gwz3i-0001fA-5j for freebsd-java@freebsd.org; Wed, 20 Dec 2006 12:52:26 +0200 From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Wed, 20 Dec 2006 12:52:25 +0200 User-Agent: KMail/1.9.3 References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061220093904.GD960@office.redwerk.com> In-Reply-To: <20061220093904.GD960@office.redwerk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200612201252.25858.achill@matrix.gatewaynet.com> Subject: Re: Performance of Java on FBSD vs. 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, 20 Dec 2006 10:52:29 -0000 =CE=A3=CF=84=CE=B9=CF=82 =CE=A4=CE=B5=CF=84=CE=AC=CF=81=CF=84=CE=B7 20 =CE= =94=CE=B5=CE=BA=CE=AD=CE=BC=CE=B2=CF=81=CE=B9=CE=BF=CF=82 2006 11:39, =CE= =BF/=CE=B7 Eugeny N Dzhurinsky =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On Wed, Dec 20, 2006 at 12:05:31PM +0300, Andrew Pantyukhin wrote: > > On 12/20/06, Eugeny N Dzhurinsky wrote: > > >On Tue, Dec 19, 2006 at 09:15:12PM +0100, Ivan Voras wrote: > > >> Eugeny N Dzhurinsky wrote: > > >> > looks like I need to map libpthread.so.1 - not libpthread.so.2? > > >> > > >> If you're using 5.x, stay away from libthr - it was much slower back > > > > > >then. > > > > > >And it doesn't work well ;) > > > > Didn't! :) > > I was unable to test it with 6.1 at home, so I'm not sure. Btw, is it > possible to enable libthr for any application in FreeBSD 6.1 somehow, or = it > is probably not a good idea? I think this is a current hot topic of debate, take a look at=20 http://www.google.com/search?hl=3Den&q=3Dlibpthread+vs+libthr&btnG=3DGoogle= +Search =46or your case i'd say, stick with libpthread for all apps (default) excep= t=20 java (use libthr there) =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Wed Dec 20 17:00:08 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9EE4816A417; Wed, 20 Dec 2006 17:00:08 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38F7543CA4; Wed, 20 Dec 2006 17:00:05 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBKH05rr022610; Wed, 20 Dec 2006 17:00:05 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBKH04HP022606; Wed, 20 Dec 2006 17:00:04 GMT (envelope-from glewis) Date: Wed, 20 Dec 2006 17:00:04 GMT From: Greg Lewis Message-Id: <200612201700.kBKH04HP022606@freefall.freebsd.org> To: eugen@kuzbass.ru, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 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, 20 Dec 2006 17:00:08 -0000 Synopsis: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Wed Dec 20 16:56:46 UTC 2006 State-Changed-Why: I'm aware of this problem. However, the comments that cause 4.x's make to error also help keep maintaining the Makefile sane, so I won't be changing them (despite 4.11 still being on my own main machine). Also, 4.x is scheduled for end of life in a little over a month, so there is little impetus to make this work when there are (for me) adverse affects from doing so. http://www.freebsd.org/cgi/query-pr.cgi?pr=106964