From owner-freebsd-java Sun Aug 20 6:11:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 1EFD537B424 for ; Sun, 20 Aug 2000 06:11:13 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JT74BUWYRS000AUE@research.kpn.com> for freebsd-java@FreeBSD.ORG; Sun, 20 Aug 2000 15:11:10 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Sun, 20 Aug 2000 15:11:10 +0100 Content-return: allowed Date: Sun, 20 Aug 2000 15:11:01 +0100 From: "Koster, K.J." Subject: RE: JCK License implications (was: State of Server-Side Java) To: "'nate@yogotech.com'" , 'Greg Lewis' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D77CF@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Basically, we need folks who are actively pursuing and > *fixing* bugs, not just folks who are willing to beta test > the product and just watch over our shoulders to see how > we're doing. > > Having done this whole open-source/freeware thing for ~6 > years, there are *always* lots of the latter, and few of the > former. > There is a third group, which I believe myself to be part of. I've been hanging between "I can do this" and "it's just too hard" for a long time (not just JDK porting, but FreeBSD hacking in general). Since I'm a fairly ordinary guy, I figure there are a lot of people who are stuck in that position. That is why I have set up my JDK web pages in the form that I have. My intention is to lower the beam for people on the latter group to enter the former group. For example: I can't write Alpha assembler, so necessarily I am not in the active group. However, I can read enough C and x86 assembler to be able to talk about what it should do. I hope that this will be the stepping stone for someone else to move from being an onlooker into doing some actual work. > > However, in order to minimize the # of folks who have access > to Sun's licensed materials, we have to show that these folks > have a reason to be involved, other than just wanting to see > the work in progress. > Limiting the number of people who have access to the work in progress is exactly the opposite from what I'm trying to do. Doing that would raise the beam again. It would also make true your observation that there are only two groups, because it blocks onlookers from crossing over into the active group. Perhaps I'm just being naive here. What do you think? Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 20 6:19:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 0A10A37B423 for ; Sun, 20 Aug 2000 06:19:42 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JT74MEGEWK0009NK@research.kpn.com> for freebsd-java@FreeBSD.ORG; Sun, 20 Aug 2000 15:19:40 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Sun, 20 Aug 2000 15:19:40 +0100 Content-return: allowed Date: Sun, 20 Aug 2000 15:19:34 +0100 From: "Koster, K.J." Subject: RE: JCK License implications (was: State of Server-Side Java) To: 'Greg Lewis' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D77D0@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Well, it might be even worse than that. Its not clear to me > that I'll still be able to release patchsets once we merge a > newer version of the JDK 1.2.2 source code as that code will > have been obtained under the same licensing conditions as the > JCK. > That merger had better give you a pretty great advantage, to make up for the legal lock-out. > > I'm considering how this can be avoided while still making > progress on a binary release. I really don't want to lose > the possibility of things like Fuyuhiko-san's native thread > patches happening in the future. > Perhaps you could track two patchsets. One for Sun's newer code, and one for Sun's public release. Alternately, perhaps we could tell Sun that this is a blocking problem for a community effort, and ask them to release the newer code under SCSL. After all, it is yesterday's technology, with 1.3 on the market. :-) Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 20 8:44:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 3AAC437B43C for ; Sun, 20 Aug 2000 08:44:15 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA25502; Sun, 20 Aug 2000 09:43:57 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA08667; Sun, 20 Aug 2000 09:42:52 -0600 (MDT) (envelope-from nate) Date: Sun, 20 Aug 2000 09:42:52 -0600 (MDT) Message-Id: <200008201542.JAA08667@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Koster, K.J." Cc: "'nate@yogotech.com'" , "'Greg Lewis'" , freebsd-java@FreeBSD.ORG Subject: RE: JCK License implications (was: State of Server-Side Java) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D77CF@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D77CF@l04.research.kpn.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Basically, we need folks who are actively pursuing and > > *fixing* bugs, not just folks who are willing to beta test > > the product and just watch over our shoulders to see how > > we're doing. > > > > Having done this whole open-source/freeware thing for ~6 > > years, there are *always* lots of the latter, and few of the > > former. > > > There is a third group, which I believe myself to be part of. I've been > hanging between "I can do this" and "it's just too hard" for a long time > (not just JDK porting, but FreeBSD hacking in general). Since I'm a fairly > ordinary guy, I figure there are a lot of people who are stuck in that > position. I'm a fairly ordinary guy too. I don't think *anyone* involved in the project is a god (although a couple of times Keith White pulled out some bug fixes in the JDK1.1 stuff that I'm still amazed with). > That is why I have set up my JDK web pages in the form that I have. My > intention is to lower the beam for people on the latter group to enter > the former group. And I *really* appreciate it. > For example: I can't write Alpha assembler, so necessarily I am not in > the active group. However, I can read enough C and x86 assembler to be > able to talk about what it should do. I hope that this will be the > stepping stone for someone else to move from being an onlooker into > doing some actual work. > > However, in order to minimize the # of folks who have access > > to Sun's licensed materials, we have to show that these folks > > have a reason to be involved, other than just wanting to see > > the work in progress. > > > > Limiting the number of people who have access to the work in progress > is exactly the opposite from what I'm trying to do. Doing that would > raise the beam again. It would also make true your observation that > there are only two groups, because it blocks onlookers from crossing > over into the active group. Onlookers have access to bits (the patchkit, etc..) on a fairly regular basis. They've *always* had access to the bits, so the bar height hasn't been raised/lowered anymore but not allowing them access to the 'new' bits. If they can't do anything with the existing resources, how can it be expected that they'll do something more if more resources are spent on them, slowing down the folks who *are* doing something? I'm not saying leave them in the dark, I'm saying put up and help. As I stated before, there are *always* lots of folks willing to 'beta test' or 'look over' patches for something, but rarely is there any feedback from these tests other than 'it works for my application', or 'it doesn't work for my application'. I'd much rather have motivated people willing to help work with me to help find and fix bugs in the tree, and then when we have something a bit more ready for prime-time, let it loose on the rest of the folks. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 20 8:50: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 1088E37B43C for ; Sun, 20 Aug 2000 08:50:04 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA25614; Sun, 20 Aug 2000 09:49:57 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA08728; Sun, 20 Aug 2000 09:48:53 -0600 (MDT) (envelope-from nate) Date: Sun, 20 Aug 2000 09:48:53 -0600 (MDT) Message-Id: <200008201548.JAA08728@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Koster, K.J." Cc: "'Greg Lewis'" , freebsd-java@FreeBSD.ORG Subject: RE: JCK License implications (was: State of Server-Side Java) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D77D0@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D77D0@l04.research.kpn.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Well, it might be even worse than that. Its not clear to me > > that I'll still be able to release patchsets once we merge a > > newer version of the JDK 1.2.2 source code as that code will > > have been obtained under the same licensing conditions as the > > JCK. > > That merger had better give you a pretty great advantage, to make up > for the legal lock-out. At this point, *I'm* not worried about releasing patchkits on the 'released' bits. The linux patches contained newer bits, so I don't see the problem. > > I'm considering how this can be avoided while still making > > progress on a binary release. I really don't want to lose > > the possibility of things like Fuyuhiko-san's native thread > > patches happening in the future. > > > Perhaps you could track two patchsets. One for Sun's newer code, and one for > Sun's public release. See above. > Alternately, perhaps we could tell Sun that this is a blocking problem > for a community effort, and ask them to release the newer code under > SCSL. Given that we *just* got access to the bits, I'd really rather not start throwing our weight around. We're a pretty small entity to try and guilting Sun into behaving like we'd like them. > After all, it is yesterday's technology, with 1.3 on the market. :-) 1.3 isn't even in a full release, so I wouldn't call it 'on the market'. It's more like in beta-test, sort of like the patches. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 20 13: 2:25 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 5F60237B43C for ; Sun, 20 Aug 2000 13:02:22 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id OAA29555; Sun, 20 Aug 2000 14:02:11 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id OAA09273; Sun, 20 Aug 2000 14:01:05 -0600 (MDT) (envelope-from nate) Date: Sun, 20 Aug 2000 14:01:05 -0600 (MDT) Message-Id: <200008202001.OAA09273@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Brian J. Sletten" Cc: Nate Williams , "Koster, K.J." , "'Greg Lewis'" , freebsd-java@FreeBSD.ORG Subject: Re: JCK License implications (was: State of Server-Side Java) In-Reply-To: <39A013CA.30C622B6@parabon.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D77CF@l04.research.kpn.com> <200008201542.JAA08667@nomad.yogotech.com> <39A013CA.30C622B6@parabon.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ This is not intended for Brian, but is intended more as a guideline for anyone wanting to get involved. ] > > If they can't do anything with the existing resources, how can it be > > expected that they'll do something more if more resources are spent on > > them, slowing down the folks who *are* doing something? > > I have volunteered numerous times with the caveats that I don't want > to duplicate effort and have looked for some kind of organization to > direct my efforts. I have largely been ignored. The patches are what there is. That is (from a technical point of view) what there is. In a volunteer organization, leadership is done from without, not from within. (Actually, in almost all organizations it's done that way, but sometimes managements sets direction. There is no management per-se in a volunteer organization.) > What exactly do you expect from those of us willing to help but not > exactly sure where to start? You know as much as the next guy as to what there is to do. Take for example the recent pthreads work. Someone found a need and filled it. It wasn't asked or expected of them to fill it. If it were *me* with free time and something to do, I would do the following. - Build my own binary copy of the JDK. - Do something with it until it breaks. - Note it's broken to the mailing list. - Try to find what's broken, and fix it. - Send fixes to the list. - Repeat from the top. > Is there any organization or do we just individually hack until it > passes the JCK? To be honest, it may pass the JCK, but still have tons of bugs in it. The JCK doesn't guarantee it doesn't have bugs, it just guarantees that it doesn't 'violate' the Java specification. So, as far as JCK goes, I don't think there's much that can be done at this point, since no-one knows how close or how far away from JCK compliance we are. My suspicion, based on nothing but a gut feeling is that we are very close (and might be able to) pass the JCK *today*. But, that doesn't mean that the JDK is bug-free, or even highly usable. There's still tons to do, bugs to fix, etc.. Trying to organize a group of folks (especially programmers) is *more* work than doing it yourself. Given that I don't have enough time to do more than I'm doing already, I don't have time to help you find something for you to do. This is the way FreeBSD has been from the very beginning (~6 years ago). People find something that needs done, and do it. Every one of the people on the FreeBSD development team has found 'something that needed to be done', and went off and did it. At times, they needed to be organized when there were conflicts, but technical conflicts are a rare occurance when you consider the # of hours spent on the project. So, feel free to duplicate efforts. It'll be really hard to spend alot of time duplicating effort when the goal is to minimize such duplicated efforts, but it does happen. Heck, alot of Greg's early patchkits contained some duplicated efforts that the porting team had already done, but it didn't make *that* much difference in the end. I actually *encourage* duplicated efforts, since often-times it reveals somethign that might otherwise not shown up. The fixes that eventually result are often better than what the inviduals accmplish on their own. In summary, find something that needs to be done. Native threads, porting Hot Spot, fixing bugs, working on vendors, whining at Sun, writing Java code and testing it against the existing engine, whatever. There is *plenty* to be done, and if you can't figure out what to do, find something else that you're more comfortable with that seems like fun and jump in on it. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 21 0:42:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from tccn.cs.kun.nl (tccn.cs.kun.nl [131.174.32.38]) by hub.freebsd.org (Postfix) with ESMTP id E688C37B43C for ; Mon, 21 Aug 2000 00:42:26 -0700 (PDT) Received: from tccn.cs.kun.nl (1Cust81.tnt11.rtm1.nl.uu.net [213.116.116.81]) by tccn.cs.kun.nl (8.9.2/8.9.2) with ESMTP id JAA69622; Mon, 21 Aug 2000 09:39:59 +0200 (CEST) (envelope-from dutchman@tccn.cs.kun.nl) Message-ID: <39A0DD51.C5257375@tccn.cs.kun.nl> Date: Mon, 21 Aug 2000 09:42:09 +0200 From: Kees Jan Koster X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: nate@yogotech.com Cc: freebsd-java@freebsd.org Subject: RE: JCK License implications (was: State of Server-Side Java) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Nate, I guess I'm taken aback by the realisation that access to Sun's cool stuff actually *limits* a community effort. I appreciate that you want to take the weight of that by committing to JCK testing. I can see that we're at Sun's mercy on this one, and that they have done more for us than they ever had to. That does not mean things could not be better, though. I'll shut up now and get back to actually getting stuff done. :-) See ya, Kees Jan ---------------------------------------------------------------------- Kees Jan Koster e-mail: k.j.koster "at" kpn.com ---------------------------------------------------------------------- Calvin: "Sometimes the world seems like a pretty mean place." Hobbes: "That's why animals are so soft and huggy." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 21 7:13: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 3D08037B422 for ; Mon, 21 Aug 2000 07:12:57 -0700 (PDT) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id RAA12246 for ; Mon, 21 Aug 2000 17:12:55 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id 6E45085C3; Mon, 21 Aug 2000 16:58:44 +0300 (EET DST) Date: Mon, 21 Aug 2000 16:58:43 +0300 From: Panagiotis Astithas To: java@freebsd.org Subject: RE: JCK License implications (was: State of Server-Side Java) Message-ID: <20000821165843.A20089@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org If I understand things correctly, people with no access to the JCK can still send patches against patchset 10, and they will be incorporated by the porting team in the main tree. So for everyone else, but the porting team members (both of them :-)), the native port still IS patchset 10. This way things like native threads, etc., can still be community-developed and tested. The only thing missing will be the patches that the porting team members make, that provide JCK compliance. That's not too bad IMHO. -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 21 8:37: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 1AA2137B424 for ; Mon, 21 Aug 2000 08:36:58 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA18301; Mon, 21 Aug 2000 09:36:56 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA12276; Mon, 21 Aug 2000 09:35:48 -0600 (MDT) (envelope-from nate) Date: Mon, 21 Aug 2000 09:35:48 -0600 (MDT) Message-Id: <200008211535.JAA12276@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: past@netmode.ntua.gr Cc: java@FreeBSD.ORG Subject: RE: JCK License implications (was: State of Server-Side Java) In-Reply-To: <20000821165843.A20089@netmode.ece.ntua.gr> References: <20000821165843.A20089@netmode.ece.ntua.gr> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > If I understand things correctly, people with no access to the JCK can still > send patches against patchset 10, and they will be incorporated by the > porting team in the main tree. You got it. > So for everyone else, but the porting team members (both of them :-)), > the native port still IS patchset 10. This way things like native > threads, etc., can still be community-developed and tested. On the money. > The only thing missing will be the patches that the porting team members > make, that provide JCK compliance. That's not too bad IMHO. Except, these *will* be made available 'after the fact', in 'patchset 11' or somesuch, similar to what's being done now for patchset 1-10. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 21 11:19: 8 2000 Delivered-To: freebsd-java@freebsd.org Received: from doorman.brann.org (remote-brann-gw.nyc.dsl.access.net [166.84.145.254]) by hub.freebsd.org (Postfix) with ESMTP id 6237D37B43F for ; Mon, 21 Aug 2000 11:19:04 -0700 (PDT) Received: from freebie.brann.org (freebie.brann.org [10.0.0.2]) by doorman.brann.org (8.9.3/8.8.5) with ESMTP id OAA37932 for ; Mon, 21 Aug 2000 14:18:59 -0400 (EDT) Received: (from john@localhost) by freebie.brann.org (8.9.3/8.9.3) id OAA34272 for java@freebsd.org; Mon, 21 Aug 2000 14:18:59 -0400 (EDT) (envelope-from john) Date: Mon, 21 Aug 2000 14:18:58 -0400 From: John Brann To: java@freebsd.org Subject: Problems building native jdk122 alpha Message-ID: <20000821141858.A39473@freebie.brann.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Organization: Not while I'm at home X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm probably doing somthing stupid, but... Trying to build the alpha port, patchset 10. jdk118 (native) and jdk122 (linux) both installed in /usr/local Patches work fine. Environment variables: ALT_BOOTDIR=/usr/local/linux-jdk1.2.2/ ALT_MOTIF_DIR=/usr/X11R6 ALT_ODBCDIR=/usr/local CLASSPATH, JAVA_HOME and JAVA_COMPILER are not set Going straight to a 'gmake release-images' the build dies with: Constructing Javadoc information... >>> Generating beaninfo for javax.swing.AbstractButton ... javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.UnsatisfiedLinkError: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/lib/i386/libawt.so: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/bin/../lib/i386/libmlib_image.so: Undefined symbol ".L168" at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1319) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1235) at java.lang.Runtime.loadLibrary0(Runtime.java:470) at java.lang.System.loadLibrary(System.java:774) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:882) at java.awt.Toolkit.(Toolkit.java:903) at java.awt.Component.(Component.java:254) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:124) at GenSwingBeanInfo.genSwingBeanInfo(GenSwingBeanInfo.java:261) at GenDocletBeanInfo.start(GenDocletBeanInfo.java:184) at java.lang.reflect.Method.invoke(Native Method) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:197) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:99) at com.sun.tools.javadoc.Main.main(Main.java:237) 1 error gmake[2]: *** [.javadoc.beanlist] Error 1 ... This symbol '.L168' doesn't appear in any of the linux jdk122 shared libraries. Any ideas? John -- Unreal City, Under the brown fog of a winter dawn, finger john@doorman.brann.org for pgp public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 21 19:54:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id 1855D37B42C for ; Mon, 21 Aug 2000 19:54:12 -0700 (PDT) Received: from grail (www.kpi.com.au [203.39.132.210]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id MAA03749 for ; Tue, 22 Aug 2000 12:58:44 +1000 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "List, FreeBSD Java" Subject: Possible resource leak: JDK1.2.2/Tomcat 3.1 Date: Tue, 22 Aug 2000 13:00:09 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, This is quite a vague email, I'm just sending it in case anyone else = experiences the same problem down the track or has seen it before. I've been running the JDK1.2.2 port (patchset 10) and Tomcat 3.1 on = FreeBSD 3.5 (stable-20000718) for the last ~17 days (that was the uptime = of the machine before the crash I'll describe). Yesterday I attempted to = SSH to the box to do something and it booted me straight off. Toddling = up to the dingy computer room, I see on the console that it has run of = out file descriptors to allocate. I've never seen this before with = FreeBSD, and it had the effect I couldn't log on or do anything (apart = from, I know I'm a sinner, the three-figure salute). Are there any log files I should be aware of that may indicate the cause = of the runaway file descriptors? I'm blindly pointing the finger at = JDK/Tomcat because it must perform a lot of file IO (the box also runs = sendmail (light load for the configration of the box) and sshd but thats = about it). The only reaon I mention it is in case there's a resource leak with the = JDK or Tomcat. Sorry its so vague, any pointers on how I can better help = with info would be appreciated or something to put in place for logging = in case it occurs again. Cheers, Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 22 18:26:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6CD3837B43C for ; Tue, 22 Aug 2000 18:26:37 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA07535; Wed, 23 Aug 2000 10:56:17 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200008230126.KAA07535@ares.trc.adelaide.edu.au> Subject: Re: Problems building native jdk122 alpha In-Reply-To: <20000821141858.A39473@freebie.brann.org> from John Brann at "Aug 21, 2000 02:18:58 pm" To: John Brann Date: Wed, 23 Aug 2000 10:56:17 +0930 (CST) Cc: java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi John, > Trying to build the alpha port, patchset 10. > jdk118 (native) and jdk122 (linux) both installed in /usr/local > > Patches work fine. > > Environment variables: > ALT_BOOTDIR=/usr/local/linux-jdk1.2.2/ > ALT_MOTIF_DIR=/usr/X11R6 > ALT_ODBCDIR=/usr/local > > CLASSPATH, JAVA_HOME and JAVA_COMPILER are not set > > Going straight to a 'gmake release-images' the build dies with: > > Constructing Javadoc information... > > > >>> Generating beaninfo for javax.swing.AbstractButton ... > javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException > java.lang.UnsatisfiedLinkError: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/lib/i386/libawt.so: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/bin/../lib/i386/libmlib_image.so: Undefined symbol ".L168" > > This symbol '.L168' doesn't appear in any of the linux jdk122 shared > libraries. > > Any ideas? What Motif library are you using? I'd check it (and any other shared libraries libmlib_image.so is linked against) for the symbol. You should then tweak the make file to load in the extra libraries necessary to resolve this symbol. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 22 18:36:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 427F037B43E for ; Tue, 22 Aug 2000 18:36:34 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id LAA07615; Wed, 23 Aug 2000 11:06:31 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200008230136.LAA07615@ares.trc.adelaide.edu.au> Subject: Re: Possible resource leak: JDK1.2.2/Tomcat 3.1 In-Reply-To: from Joe Shevland at "Aug 22, 2000 01:00:09 pm" To: Joe Shevland Date: Wed, 23 Aug 2000 11:06:31 +0930 (CST) Cc: "List, FreeBSD Java" X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Joe Shevland wrote: > I've been running the JDK1.2.2 port (patchset 10) and Tomcat 3.1 on FreeBSD 3.5 (stable-20000718) for the last ~17 days (that was the uptime of the machine before the crash I'll describe). Yesterday I attempted to SSH to the box to do something and it booted me straight off. Toddling up to the dingy computer room, I see on the console that it has run of out file descriptors to allocate. I've never seen this before with FreeBSD, and it had the effect I couldn't log on or do anything (apart from, I know I'm a sinner, the three-figure salute). > > Are there any log files I should be aware of that may indicate the cause of the runaway file descriptors? I'm blindly pointing the finger at JDK/Tomcat because it must perform a lot of file IO (the box also runs sendmail (light load for the configration of the box) and sshd but thats about it). Can you periodically maybe check what files are open (I think a utility like lsof will do this for you)? That way we can hopefully tell if things are being kept open that shouldn't. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 22 19:12:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id C8D8037B424 for ; Tue, 22 Aug 2000 19:12:41 -0700 (PDT) Received: from forge (lurker.kpi.com.au [203.39.132.222]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id MAA07214; Wed, 23 Aug 2000 12:16:41 +1000 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "Greg Lewis" Cc: "List, FreeBSD Java" Subject: RE: Possible resource leak: JDK1.2.2/Tomcat 3.1 Date: Wed, 23 Aug 2000 12:18:09 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <200008230136.LAA07615@ares.trc.adelaide.edu.au> Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, I'm doing this at the moment with an fstat and keeping an eyeball peeled... I'll report anything odd as soon as I see it, if I do see it occur again (got plans to take it up to 4.1-stable which may resolve it). Cheers, Joe > -----Original Message----- > From: Greg Lewis [mailto:glewis@ares.trc.adelaide.edu.au] > Sent: Wednesday, August 23, 2000 11:37 AM > To: Joe Shevland > Cc: List, FreeBSD Java > Subject: Re: Possible resource leak: JDK1.2.2/Tomcat 3.1 > > > Joe Shevland wrote: > > I've been running the JDK1.2.2 port (patchset 10) and Tomcat > 3.1 on FreeBSD 3.5 (stable-20000718) for the last ~17 days (that > was the uptime of the machine before the crash I'll describe). > Yesterday I attempted to SSH to the box to do something and it > booted me straight off. Toddling up to the dingy computer room, I > see on the console that it has run of out file descriptors to > allocate. I've never seen this before with FreeBSD, and it had > the effect I couldn't log on or do anything (apart from, I know > I'm a sinner, the three-figure salute). > > > > Are there any log files I should be aware of that may indicate > the cause of the runaway file descriptors? I'm blindly pointing > the finger at JDK/Tomcat because it must perform a lot of file IO > (the box also runs sendmail (light load for the configration of > the box) and sshd but thats about it). > > Can you periodically maybe check what files are open (I think a utility > like lsof will do this for you)? That way we can hopefully tell if things > are being kept open that shouldn't. > > -- > Greg Lewis glewis@trc.adelaide.edu.au > Computing Officer +61 8 8303 5083 > Teletraffic Research Centre > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 23 5: 2:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 43F9D37B423 for ; Wed, 23 Aug 2000 05:02:43 -0700 (PDT) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id PAA30356; Wed, 23 Aug 2000 15:02:40 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <001101c00cfa$09b50730$0e05a8c0@intranet.syncrontech.com> From: "Ari Suutari" To: Cc: Subject: JDK 2 Patchset 10 + FreeBSD_CommAPI Date: Wed, 23 Aug 2000 15:02:40 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Has anyone been trying to use FreeBSD commapi from http://student.ulb.ac.be/~jdricot/commapi/ with current JDK2,patchset 10 ? I have been using it with old JDK 1.1.8 to access a weather station (from www.ibutton.com) and it works OK. However, when using jdk2, the program hangs during initialization. After some debugging, it seems that basic primitives (open, read, write) work as usual, but the weather station java package seems to use various notify -services available in java comm API. These are implemented as a select loop in native code, which also seems to work but it looks like some other threads are stuck or something. (In case nobody has any ideas to solve this, I'll try to dig deeper myself) Ari S. -- Ari Suutari Lemi, Finland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 23 7: 4:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp.cistron.nl (soong.cistron.net [195.64.68.35]) by hub.freebsd.org (Postfix) with ESMTP id 41DB737B443 for ; Wed, 23 Aug 2000 07:04:28 -0700 (PDT) Received: from abc.aaa-mainstreet.nl ([195.64.77.2]) by smtp.cistron.nl with esmtp (Exim 3.13 #1 (Debian)) id 13Rb8i-0003ur-00; Wed, 23 Aug 2000 16:04:24 +0200 Date: Wed, 23 Aug 2000 15:59:47 +0200 (CEST) From: Gary Howland To: Ari Suutari Cc: freebsd-java@freebsd.org, jdricot@ulb.ac.be Subject: Re: JDK 2 Patchset 10 + FreeBSD_CommAPI In-Reply-To: <001101c00cfa$09b50730$0e05a8c0@intranet.syncrontech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I found some bugs, and send thme the patches, but they paid no attention! I can post the patches tomorrow if you like It was nothing to do with threads, more to do with using the wrong flags with termio Gary -- Friends help you move. Real friends help you move bodies. On Wed, 23 Aug 2000, Ari Suutari wrote: > Hi, > > Has anyone been trying to use FreeBSD commapi > from http://student.ulb.ac.be/~jdricot/commapi/ with > current JDK2,patchset 10 ? > > I have been using it with old JDK 1.1.8 to access > a weather station (from www.ibutton.com) and it works > OK. However, when using jdk2, the program > hangs during initialization. > > After some debugging, it seems that basic primitives > (open, read, write) work as usual, but the weather station > java package seems to use various notify -services available > in java comm API. These are implemented as a select loop in > native code, which also seems to work but it looks like > some other threads are stuck or something. > > (In case nobody has any ideas to solve this, I'll try > to dig deeper myself) > > Ari S. > -- > Ari Suutari > Lemi, Finland > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 23 11: 7:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from doorman.brann.org (remote-brann-gw.nyc.dsl.access.net [166.84.145.254]) by hub.freebsd.org (Postfix) with ESMTP id 220DE37B43C for ; Wed, 23 Aug 2000 11:07:17 -0700 (PDT) Received: from freebie.brann.org (freebie.brann.org [10.0.0.2]) by doorman.brann.org (8.9.3/8.8.5) with ESMTP id OAA41228; Wed, 23 Aug 2000 14:01:17 -0400 (EDT) Received: (from john@localhost) by freebie.brann.org (8.9.3/8.9.3) id OAA41567; Wed, 23 Aug 2000 14:01:17 -0400 (EDT) (envelope-from john) Date: Wed, 23 Aug 2000 14:01:17 -0400 From: John Brann To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: Problems building native jdk122 alpha Message-ID: <20000823140116.A14448@freebie.brann.org> References: <20000821141858.A39473@freebie.brann.org> <200008230126.KAA07535@ares.trc.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200008230126.KAA07535@ares.trc.adelaide.edu.au>; from glewis@ares.trc.adelaide.edu.au on Wed, Aug 23, 2000 at 10:56:17AM +0930 Organization: Not while I'm at home X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 23, 2000 at 10:56:17AM +0930, Greg Lewis wrote: > Hi John, > > > Trying to build the alpha port, patchset 10. > > jdk118 (native) and jdk122 (linux) both installed in /usr/local > > > > Patches work fine. > > > > Environment variables: > > ALT_BOOTDIR=/usr/local/linux-jdk1.2.2/ > > ALT_MOTIF_DIR=/usr/X11R6 > > ALT_ODBCDIR=/usr/local > > > > CLASSPATH, JAVA_HOME and JAVA_COMPILER are not set > > > > Going straight to a 'gmake release-images' the build dies with: > > > > Constructing Javadoc information... > > > > > > >>> Generating beaninfo for javax.swing.AbstractButton ... > > javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException > > java.lang.UnsatisfiedLinkError: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/lib/i386/libawt.so: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/bin/../lib/i386/libmlib_image.so: Undefined symbol ".L168" > > > > This symbol '.L168' doesn't appear in any of the linux jdk122 shared > > libraries. > > > > Any ideas? > > What Motif library are you using? I'd check it (and any other shared > libraries libmlib_image.so is linked against) for the symbol. You should > then tweak the make file to load in the extra libraries necessary to > resolve this symbol. > Greg, thanks for the reply. I installed the openmotif-devel port, as per the how-to pages at http://web.inter.nl.net/users/kjkoster/java/index.html However, that port doesn't have any shared libraries... Since I have cvsupped ports recently, I guess the open-motif port is now the correct one. I'm trying a rebuild... John > -- > Greg Lewis glewis@trc.adelaide.edu.au > Computing Officer +61 8 8303 5083 > Teletraffic Research Centre > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Unreal City, Under the brown fog of a winter dawn, finger john@doorman.brann.org for pgp public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 23 17: 2:45 2000 Delivered-To: freebsd-java@freebsd.org Received: from biquinho.furg.br (biquinho.furg.br [200.19.254.120]) by hub.freebsd.org (Postfix) with ESMTP id 3917B37B658 for ; Wed, 23 Aug 2000 17:02:40 -0700 (PDT) Received: (from obelix@localhost) by biquinho.furg.br (8.9.3/8.9.3) id VAA29892 for freebsd-java@freebsd.org; Wed, 23 Aug 2000 21:03:09 -0300 (EST) Date: Wed, 23 Aug 2000 21:03:09 -0300 From: Rafael Rodrigues Obelheiro To: freebsd-java@freebsd.org Subject: VisualAge 3.0 || JDK 1.2 Message-ID: <20000823210309.A8148@biquinho.furg.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Howdy, I searched the archives but couldn't find a definitive answer for this. Is it possible to run IBM VisualAge 3.0 for Linux under FreeBSD? Anyone cares to shed some light on this subject? Also, is the JDK 1.2 stable enough? Thanks in advance, Rafael. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 24 0:13:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 9747037B42C for ; Thu, 24 Aug 2000 00:13:12 -0700 (PDT) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id KAA32002; Thu, 24 Aug 2000 10:13:00 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <00ce01c00d9a$bce31fe0$0e05a8c0@intranet.syncrontech.com> From: "Ari Suutari" To: "Gary Howland" Cc: , References: Subject: Summary: JDK 2 Patchset 10 + FreeBSD_CommAPI Date: Thu, 24 Aug 2000 10:13:00 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, A quick summary about this: > > It was nothing to do with threads, more to do with using the wrong flags > with termio > The termio stuff seems to need some polising. There seems to be a fcntl call to setup SIGIO delivery, but the signal is not handled anywhere. Also, what might be the idea behind VMIN & VTIME settings, I'm not sure that the current selection is the best one. However, what is causing my problem is really that other threads are not running when JNI code sits in a loop periodically calling select(2). Partial fix seems to be to call Thread.yield inside that loop, but even with that, the threads are scheduled in a manner that is far away from perfect. When I look at JDK sources how, for example, a read from socket is implemented, it seems to be so that it calls JVM_Read which in turn calls sysRead, which in turn calls a wrapper provided by green threads package. So, shouldn't the JNI stuff in comm package (libSerial.so) be linked against green threads wrappers somehow to make things really work ? Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 24 3:10:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 71F9C37B423 for ; Thu, 24 Aug 2000 03:10:49 -0700 (PDT) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id NAA32292; Thu, 24 Aug 2000 13:10:46 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <00da01c00db3$9261bd80$0e05a8c0@intranet.syncrontech.com> From: "Ari Suutari" To: "Gary Howland" Cc: , References: <00ce01c00d9a$bce31fe0$0e05a8c0@intranet.syncrontech.com> Subject: Solved: JDK 2 Patchset 10 + FreeBSD_CommAPI Date: Thu, 24 Aug 2000 13:10:46 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi again (I feel like talking to myself already....) Just got things working with patchset 10. The problem is that FreeBSD_CommAPI uses select(2), which is no longer overrided by green threads package. The select support of green threads is behind #ifdef USE_SELECT (see src/freebsd/hpi/green_threads/src/iomgr.c), which seems to defined by Makefiles only if FreeBSD version is old enough (there seems to be a condition for it in Defs-freebsd.gmk). So I came up with two different solutions: 1) Modify CommAPI so that it uses poll instead of select. I have done this and tested it and it seems to work OK. 2) Modify JDK for next patchset so that a wrapper for select is provided by green threads. Maybe this would be a good thing, since there may be other JNI code out in the world which relies on select and omission for wrapper causes such code to fail. Ari S. > > > > > It was nothing to do with threads, more to do with using the wrong flags > > with termio > > > > The termio stuff seems to need some polising. There seems to > be a fcntl call to setup SIGIO delivery, but the signal is not handled > anywhere. Also, what might be the idea behind VMIN & VTIME > settings, I'm not sure that the current selection is the best one. > > However, what is causing my problem is really that other threads > are not running when JNI code sits in a loop periodically calling > select(2). Partial fix seems to be to call Thread.yield inside > that loop, but even with that, the threads are scheduled in a manner > that is far away from perfect. > > When I look at JDK sources how, for example, a read from socket > is implemented, it seems to be so that it calls JVM_Read which > in turn calls sysRead, which in turn calls a wrapper provided by > green threads package. > > So, shouldn't the JNI stuff in comm package > (libSerial.so) be linked against green threads wrappers somehow > to make things really work ? > > Ari S. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 25 0:59:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 0200237B424 for ; Fri, 25 Aug 2000 00:59:28 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id RAA66351; Fri, 25 Aug 2000 17:29:11 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200008250759.RAA66351@ares.trc.adelaide.edu.au> Subject: Re: Solved: JDK 2 Patchset 10 + FreeBSD_CommAPI In-Reply-To: <00da01c00db3$9261bd80$0e05a8c0@intranet.syncrontech.com> from Ari Suutari at "Aug 24, 2000 01:10:46 pm" To: Ari Suutari Date: Fri, 25 Aug 2000 17:29:11 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ari Suutari wrote: > Hi again (I feel like talking to myself already....) No, we're all listening :). > Just got things working with patchset 10. The problem is that > FreeBSD_CommAPI uses select(2), which is no longer overrided > by green threads package. The select support of green threads > is behind #ifdef USE_SELECT (see > src/freebsd/hpi/green_threads/src/iomgr.c), > which seems to defined by Makefiles only if FreeBSD version is old > enough (there seems to be a condition for it in Defs-freebsd.gmk). Yes, select() is used with FreeBSD 2.2 and poll() is used for later versions. The original Solaris code itself just uses poll(). The select() wrapper was introduced by the ports team during the port of 1.1.8 and has carried over. I understand that 2.2 either doesn't have a poll() implementation or the implementation isn't quite right. > So I came up with two different solutions: > > 1) Modify CommAPI so that it uses poll instead of select. I have done > this and tested it and it seems to work OK. > > 2) Modify JDK for next patchset so that a wrapper for select is > provided by green threads. Maybe this would be a good thing, > since there may be other JNI code out in the world which relies > on select and omission for wrapper causes such code to fail. Right. That makes some sense. Currently the wrapper is excluded for FreeBSD 3.x and higher since select() isn't being used in the core parts of the code anymore. Maybe we need to include the wrapper whether select() is used there or not. Good sleuth work btw :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 25 3:34:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by hub.freebsd.org (Postfix) with ESMTP id B038A37B42C for ; Fri, 25 Aug 2000 03:34:51 -0700 (PDT) Received: (from rb@localhost) by gidgate.gid.co.uk (8.9.3/8.9.3) id LAA25262; Fri, 25 Aug 2000 11:18:56 +0100 (BST) (envelope-from rb) Message-Id: <4.3.1.2.20000825111534.00aaa100@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 25 Aug 2000 11:18:55 +0100 To: java@freebsd.org From: Bob Bishop Subject: Free version of IST's Visaj builder Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, IST has announced a free personal version of their Visaj application builder. Details at http://www.visaj.com/ -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 25 7:32:21 2000 Delivered-To: freebsd-java@freebsd.org Received: from doorman.brann.org (remote-brann-gw.nyc.dsl.access.net [166.84.145.254]) by hub.freebsd.org (Postfix) with ESMTP id 6440637B42C for ; Fri, 25 Aug 2000 07:32:17 -0700 (PDT) Received: from freebie.brann.org (freebie.brann.org [10.0.0.2]) by doorman.brann.org (8.9.3/8.9.3) with ESMTP id KAA45484; Fri, 25 Aug 2000 10:32:16 -0400 (EDT) (envelope-from john@brann.org) Received: (from john@localhost) by freebie.brann.org (8.9.3/8.9.3) id KAA46462; Fri, 25 Aug 2000 10:32:16 -0400 (EDT) (envelope-from john) Date: Fri, 25 Aug 2000 10:32:16 -0400 From: John Brann To: John Brann Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: Problems building native jdk122 alpha Message-ID: <20000825103216.A46352@freebie.brann.org> References: <20000821141858.A39473@freebie.brann.org> <200008230126.KAA07535@ares.trc.adelaide.edu.au> <20000823140116.A14448@freebie.brann.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000823140116.A14448@freebie.brann.org>; from john@brann.org on Wed, Aug 23, 2000 at 02:01:17PM -0400 Organization: Not while I'm at home X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 23, 2000 at 02:01:17PM -0400, John Brann wrote: > On Wed, Aug 23, 2000 at 10:56:17AM +0930, Greg Lewis wrote: > > Hi John, > > [...SNIP...] > > > > > > >>> Generating beaninfo for javax.swing.AbstractButton ... > > > javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException > > > java.lang.UnsatisfiedLinkError: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/lib/i386/libawt.so: /home/john/Development/wip/java/source-jdk1.2.2/work/build/freebsd/bin/../lib/i386/libmlib_image.so: Undefined symbol ".L168" > > > > > > This symbol '.L168' doesn't appear in any of the linux jdk122 shared > > > libraries. > > > > > > Any ideas? > > > > What Motif library are you using? I'd check it (and any other shared > > libraries libmlib_image.so is linked against) for the symbol. You should > > then tweak the make file to load in the extra libraries necessary to > > resolve this symbol. > > > > > Greg, thanks for the reply. I installed the openmotif-devel port, as per > the how-to pages at http://web.inter.nl.net/users/kjkoster/java/index.html > However, that port doesn't have any shared libraries... > > Since I have cvsupped ports recently, I guess the open-motif port is now > the correct one. I'm trying a rebuild... > > John > Nope, I have the same problem. It doesn't prevent the binaries from building, so I am happily using the JDK, but the docs aren't complete. I will try to research this further. John > > > -- > > Greg Lewis glewis@trc.adelaide.edu.au > > Computing Officer +61 8 8303 5083 > > Teletraffic Research Centre > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > -- -- Unreal City, Under the brown fog of a winter dawn, finger john@doorman.brann.org for pgp public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message