From owner-freebsd-java Sun Aug 26 5:19: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 2C1B637B407 for ; Sun, 26 Aug 2001 05:18:57 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id VAA05379; Sun, 26 Aug 2001 21:18:41 +0900 (JST) Date: Sun, 26 Aug 2001 21:21:06 +0900 Message-ID: <55itfb107h.wl@tripper.private> From: Fuyuhiko Maruyama To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <20010826113923.A8065@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> <20010825130721.A20869@misty.eyesbeyond.com> <55wv3sqxtc.wl@tripper.private> <20010826040557.A87652@misty.eyesbeyond.com> <55u1yvrij8.wl@tripper.private> <20010826113923.A8065@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Sun, 26 Aug 2001 11:39:23 +0930, Greg Lewis wrote: > > On Sun, Aug 26, 2001 at 05:28:27AM +0900, Fuyuhiko Maruyama wrote: > > At Sun, 26 Aug 2001 04:05:57 +0930, > > Greg Lewis wrote: > > > > > > > > Making symbolic link > > > > /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd > > > > and > > > > /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd > > > > may also fix the problem. > > > > > > Will it be easier if the build installs these include files in freebsd > > > rather than bsd? I think maybe that is more correct, what are your > > > thoughts? > > I think installing those files in freebsd is not so good because our > > J2SDK tree isn't only for FreeBSD but also for NetBSD and OpenBSD even > > if currently it runs only on FreeBSD. From OpenJIT's point of view, > > porting OpenJIT for NetBSD or OpenBSD may be easy as it already > > supports Linux and FreeBSD by almost same codes, so placing those > > include files in `bsd' is not so bad -- it simplifies our configure > > scripts. The problem caused by the directory name can be solved by > > modifing OpenJIT's configure scripts and it is quite easy and already > > finished. > > Well, what I actually meant was what if we install the includes in > freebsd on FreeBSD, netbsd on NetBSD, etc. I.e. we use the `actual' > platform rather than the meta bsd platform name as the directory > name. That strikes me as maybe being the scheme that some code > assumes. How does it affect to the mainteinanciblity of J2SDK tree for FreeBSD/NetBSD/OpenBSD? I think this should be the most elemental basis of the decision. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 6:10:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 11C4137B406 for ; Sun, 26 Aug 2001 06:10:22 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id WAA06567; Sun, 26 Aug 2001 22:10:13 +0900 (JST) Date: Sun, 26 Aug 2001 22:12:38 +0900 Message-ID: <55heuv0xtl.wl@tripper.private> From: Fuyuhiko Maruyama To: Arun Sharma Cc: java@freebsd.org Subject: Re: JVM and native threads In-Reply-To: <20010825095746.A1015@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Sat, 25 Aug 2001 09:57:46 -0700, Arun Sharma wrote: > > > 3. NGPT is LGPLed, so it will never be imported in the FreeBSD's > > base tree because FreeBSD has its own implementation of > > multi-threading. > > Sure, NGPT will remain a port. But Java is not going into the base > system either. License objections if any, should be towards the JDK. > I think the NGPT license is relatively benign :) O.K. Licence issues may not be so important. But the result, never in the base system, makes quite serious problem for Java. For example, mozilla uses multi-threading library and of course the current FreeBSD port uses system pthread library (libc_r). Our BSD native J2SDK will have Java-Plugin for mozilla and it must use exactly the same threading library as mozilla uses. In this case, we have only three alternative: 1. Use libc_r in J2SDK. 2. Use the same extra threading library both in mozilla and J2SDK. 3. Giveup Java-Plugin. How do you think about this? Using libc_r in J2SDK is most reasonable alternative, isn't it? This isn't mozilla specific, Java is not only the java command but also Java environment as a program component that can be used in other programs via JNI. > > > > In fact, the most important point to think how to use threading > > library for native threads is derived from the fact that Java VM uses > > some facility not covered by POSIX thread (e.g. Java VM needs to know > > the machine state of all threads such as stack pointer, program > > counter and another registers). Therefore, the implementation of Java > > native threads used to depend on the threading library so much. > > > > I'm sure, these kinds of issues can be solved without much difficulty > - just add a couple of _np calls to the package. Yes, I also think we need to define some _np calls. To do so, we need to consider what APIs are really needed, defined APIs are sufficient and general enough. We must spend more time to discuss about this issue. > I'm not saying that NGPT is an end-all solution to world hunger. Just > that it may be worth looking at in the short term, until we have a > production quality SMP capable thread package in the base. NGPT on FreeBSD achieves production quality before KSE based threading isn't clear I think. > That said, I've run into a couple of problems: > > - Linux focus of the NGPT project. I suspect that this is more of a > corporate thing, but they haven't shown any eagerness to merge my > patches in. > > - Low quality of the 1.0.1 release. I spent a day fixing it, sent > patches to the developer list, without a response. > > http://www-124.ibm.com/pipermail/pthreads-devel/2001-August/thread.html > > I'll update the NGPT port to 1.0.1 soon. I'll try it ;-). -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 6:37:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 0E86A37B406 for ; Sun, 26 Aug 2001 06:37:15 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id WAA07030; Sun, 26 Aug 2001 22:37:08 +0900 (JST) Date: Sun, 26 Aug 2001 22:39:33 +0900 Message-ID: <55g0af0wkq.wl@tripper.private> From: Fuyuhiko Maruyama To: Mikhail Kruk Cc: java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: References: <20010825130721.A20869@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Mikhail, I have seen the J2SDK code, and now I believe your problem isn't really a problem of J2SDK but of X11's ru_RU.KOI8-R supports. At Sat, 25 Aug 2001 00:04:25 -0400 (EDT), Mikhail Kruk wrote: > > > > I've tried to use src/solaris/classes/sun/awt/motif/font.properties.linux > > > instead of the one that was installed in the budil/bsd-i386 and all the > > > font startup error messages went away. However the XIM exception is still > > > there and I'm pretty sure now that it's not font-related. > > > > Funny, I thought I just copied the Linux version. Maybe I copied the > > 1.2.2 BSD font.properties file, not sure. > > Most likely you used > ./j2sdk1.3.1/src/solaris/classes/sun/awt/motif/font.properties.bsd > > However the X installation on thix box is 2 years old I've done a lot of > things to it... horrible things... so I'm not sure if it can surve as a > reference. > > > There is a known problem using XIM in some circumstances. Do you have > > any non-english language enabled? There is a known problem with the > > patches and XIM and Japanese. > > Exactly. unsetenv LANG did it. (I had ru_RU.KOI8-R) Sorry about that: now > I remember this discussion on the list. If you are interested in the fact, please see the source code. at j2sdk1.3.1/src/solaris/native/sun/awt/awt_MToolkit.c:1515 if (!XSupportsLocale()) { jio_fprintf(stderr, "current locale is not supported in X11, locale is set to C" ); setlocale(LC_ALL, "C"); } The XSupportsLocale() call must return False if Xlib locale-dependent functions are not capable for current locale. Your case, ru_RU.KOI8-R, may be the case False to be returned, but it doesn't return False. Therefore, awt skips to setlocale(LC_ALL, "C") and as the result, XOpenIM(...) -- a Xlib locale-dependent function returns NULL at j2sdk1.3.1/src/solaris/native/sun/awt/awt_InputMethod.c:1071. It means that XOpenIM failed. For locales that Xlib locale-dependent functions are capable, XOpenIM fails only when current locale needs XIM server to input text in the language specified by current locale *AND* the XIM server isn't available. This is the case can be happen in Chinese/Japanese/Korean environment. For English or some other language using latin characters environment that are well supported in X11 may never fail. I'm not sure about Russian environment. Does setting LANG=C for java cause any problems for you? -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 10:14:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id CA51C37B405 for ; Sun, 26 Aug 2001 10:14:40 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id C73BD5E357; Sun, 26 Aug 2001 10:16:15 -0700 (PDT) Date: Sun, 26 Aug 2001 10:16:15 -0700 From: Arun Sharma To: Fuyuhiko Maruyama Cc: java@freebsd.org Subject: Re: JVM and native threads Message-ID: <20010826101615.A11850@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <55heuv0xtl.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Sun, Aug 26, 2001 at 10:12:38PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 26, 2001 at 10:12:38PM +0900, Fuyuhiko Maruyama wrote: > 2. Use the same extra threading library both in mozilla and J2SDK. Yes, that'd be the way to go. > How do you think about this? Using libc_r in J2SDK is most reasonable > alternative, isn't it? May be, if you're running java on uniprocessor machines all the time. > NGPT on FreeBSD achieves production quality before KSE based threading > isn't clear I think. I don't know either. All I know is I can use NGPT today, with programs like crafty (a chess program) and ORP (a java VM). Another thing I forgot to mention: NGPT today is non-preemptive. A "bad" user level thread can monopolize a kernel level thread and there's no defence against that. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 10:27: 9 2001 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 51D3637B405 for ; Sun, 26 Aug 2001 10:27:06 -0700 (PDT) (envelope-from nate@yogotech.com) 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 LAA11356; Sun, 26 Aug 2001 11:27:00 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA05941; Sun, 26 Aug 2001 11:27:00 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15241.12643.531098.837963@nomad.yogotech.com> Date: Sun, 26 Aug 2001 11:26:59 -0600 To: Arun Sharma Cc: Fuyuhiko Maruyama , java@FreeBSD.ORG Subject: Re: JVM and native threads In-Reply-To: <20010826101615.A11850@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826101615.A11850@sharmas.dhs.org> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Another thing I forgot to mention: NGPT today is non-preemptive. A "bad" > user level thread can monopolize a kernel level thread and there's no > defence against that. For what it's worth, so is the green threads implementation used in the older JDK's. 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 26 11:19:53 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 7BCC037B408 for ; Sun, 26 Aug 2001 11:19:50 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA16409; Sun, 26 Aug 2001 14:19:45 -0400 Date: Sun, 26 Aug 2001 14:19:44 -0400 (EDT) From: Mikhail Kruk To: Fuyuhiko Maruyama Cc: Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <55g0af0wkq.wl@tripper.private> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Exactly. unsetenv LANG did it. (I had ru_RU.KOI8-R) Sorry about that: now > > I remember this discussion on the list. > If you are interested in the fact, please see the source code. > > at j2sdk1.3.1/src/solaris/native/sun/awt/awt_MToolkit.c:1515 > if (!XSupportsLocale()) { > jio_fprintf(stderr, > "current locale is not supported in X11, locale is set to C" > ); > setlocale(LC_ALL, "C"); > } > > The XSupportsLocale() call must return False if Xlib locale-dependent > functions are not capable for current locale. Your case, > ru_RU.KOI8-R, may be the case False to be returned, but it doesn't > return False. Therefore, awt skips to setlocale(LC_ALL, "C") and as > the result, XOpenIM(...) -- a Xlib locale-dependent function returns > NULL at j2sdk1.3.1/src/solaris/native/sun/awt/awt_InputMethod.c:1071. > It means that XOpenIM failed. For locales that Xlib locale-dependent > functions are capable, XOpenIM fails only when current locale needs > XIM server to input text in the language specified by current locale > *AND* the XIM server isn't available. This is the case can be happen > in Chinese/Japanese/Korean environment. For English or some other > language using latin characters environment that are well supported in > X11 may never fail. > > I'm not sure about Russian environment. Does setting LANG=C for java > cause any problems for you? Well, the thing is that ru_RU.KOI8-R is indeed needed. If I start X without it, I will not be able to type in cyrillic letters in the xterm. Also many programs switch to russian localisation mode when started with LANG set. The fact that Xterm behavor is clearly influenced by the value of LANG makes me think that it is indeed supported by X (also that's what I get from reading stuff on the web). The only case when I do see the above message about ru_RU.KOI8-R not being supported is when I start Linux apps (linux-jdk, linux-netscape etc). I'll try to look at the code but chance that I'll figure something out are rather slim :( I've just checked native jdk1.1.8. It doesn't allow to enter russian characters, doesn't complain about locale and doesn't throw any exceptions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 12:18:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 60BEB37B406 for ; Sun, 26 Aug 2001 12:18:23 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id PAA16686; Sun, 26 Aug 2001 15:18:19 -0400 Date: Sun, 26 Aug 2001 15:18:19 -0400 (EDT) From: Mikhail Kruk To: Fuyuhiko Maruyama Cc: Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <55g0af0wkq.wl@tripper.private> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > The XSupportsLocale() call must return False if Xlib locale-dependent > functions are not capable for current locale. Your case, > ru_RU.KOI8-R, may be the case False to be returned, but it doesn't > return False. Well, I don't think it's the problem with our locale. It seems that call to XSupportsLocale() returns true no matter what LANG is. Any ideas what is it looking at? 154 meshko@polkan2 /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386> env | grep LANG LANG=fuflo 155 meshko@polkan2 /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386> bin/appletviewer http://localhost/~scorch/800x600.html call to XSupportLocale() returned: 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 17:10:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 98BCE37B407 for ; Sun, 26 Aug 2001 17:10:28 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15b9yq-0001zT-00; Sun, 26 Aug 2001 17:10:16 -0700 Date: Sun, 26 Aug 2001 17:10:10 -0700 To: Fuyuhiko Maruyama Cc: Arun Sharma , java@freebsd.org Subject: Re: JVM and native threads Message-ID: <20010826171010.A6742@gnuppy> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55heuv0xtl.wl@tripper.private> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 26, 2001 at 10:12:38PM +0900, Fuyuhiko Maruyama wrote: > Yes, I also think we need to define some _np calls. To do so, we need > to consider what APIs are really needed, defined APIs are sufficient > and general enough. > > We must spend more time to discuss about this issue. The primary *_np stuff we need has to do with thread resume & suspension. It's used sparingly in a couple of places with varying levels of functional importance like the GC and during thread creation time (new threads are suspended only to be woken up by the spawning function after the stack is attach to the VM), etc... I'm struggling with OpenMotif issues right now and I'm kind of wondering why the current OpenMotif port is a release version behind what's being offered at their site ? bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 17:21:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id D94B137B408 for ; Sun, 26 Aug 2001 17:21:15 -0700 (PDT) (envelope-from k.shudou@aist.go.jp) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f7R0LEN23214 for ; Mon, 27 Aug 2001 09:21:14 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail01.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f7R0LDN02218 for ; Mon, 27 Aug 2001 09:21:13 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail01.aist.go.jp with ESMTP id f7R0LDd02939 for ; Mon, 27 Aug 2001 09:21:13 +0900 (JST) env-from (k.shudou@aist.go.jp) To: java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT From: shudo@computer.org In-Reply-To: <55g0af0wkq.wl@tripper.private> References: <20010825130721.A20869@misty.eyesbeyond.com> <55g0af0wkq.wl@tripper.private> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010827092225G.shudoh@aist.go.jp> Date: Mon, 27 Aug 2001 09:22:25 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 28 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Fuyuhiko and Mikhail, > but now I > can reproduce the problem Mikhail met (java.awt.AWTException: cannot > open XIM), so I will try to fix it as soon as possible. I don't think the exception which says 'cannot open XIM' is not a problem. > It means that XOpenIM failed. For locales that Xlib locale-dependent > functions are capable, XOpenIM fails only when current locale needs > XIM server to input text in the language specified by current locale > *AND* the XIM server isn't available. This is the case can be happen > in Chinese/Japanese/Korean environment. The AWTException also appears on Linux. Both Sun and Blackdown JDK 1.3.1 show the exception in case that the environment variable 'XMODIFIERS' is set but XIM server is not running. On Linux, I set the XMODIFIERS as '@im=kinput2' but do not run the kinput2 input server. The exception appears when a Java program needs text input for the first time. I just ignore the exception and the program runs fine. The exception doesn't appear if I ran the input server or unset the XMODIFIERS. Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 20:37:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f73.law15.hotmail.com [64.4.23.73]) by hub.freebsd.org (Postfix) with ESMTP id F275337B407 for ; Sun, 26 Aug 2001 20:37:33 -0700 (PDT) (envelope-from rolivawdaneel@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 26 Aug 2001 20:37:33 -0700 Received: from 24.226.140.8 by lw15fd.law15.hotmail.msn.com with HTTP; Mon, 27 Aug 2001 03:37:33 GMT X-Originating-IP: [24.226.140.8] From: "Alexandre Bouchard" To: freebsd-java@FreeBSD.ORG Subject: Tomcat3/4+Apache architecture on BSD Date: Mon, 27 Aug 2001 03:37:33 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Aug 2001 03:37:33.0790 (UTC) FILETIME=[9B9887E0:01C12EA9] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello We will deploy very soon a web server that need to support java servlets, jSP and perhaps EJBs (if we use tomcat4). We dont know yet if we will use BSD or Solaris8. I was wondering how close is the integration of Apache, Jakarta-Tomcat and the BSD plateform. I already know that Apache and Jakarta work very well together with an ajp connector. But to be reliable, our architecture must be built on a solid and mature Java Virtual Machine. A stable built of Java 2 is mandatory for us. I am an opensourcist (but with previous experience only on linuxes) so I would like to convince my team to use BSD. But officially sun supports only windozes and redhat.. I would appreciate if someone could tell me if it is reliable to built an architecture such as ours on the BSD plateform and why. Thank you Alexandre Bouchard _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 22: 2:53 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id B13F637B406 for ; Sun, 26 Aug 2001 22:02:50 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.106] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15bEXw-0001Xi-00; Sun, 26 Aug 2001 23:02:49 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7R52iU12335; Mon, 27 Aug 2001 14:32:44 +0930 (CST) (envelope-from glewis) Date: Mon, 27 Aug 2001 14:32:44 +0930 From: Greg Lewis To: Bill Huey Cc: Fuyuhiko Maruyama , Arun Sharma , java@FreeBSD.ORG Subject: Re: JVM and native threads Message-ID: <20010827143244.A12305@misty.eyesbeyond.com> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010826171010.A6742@gnuppy>; from billh@gnuppy.monkey.org on Sun, Aug 26, 2001 at 05:10:10PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 26, 2001 at 05:10:10PM -0700, Bill Huey wrote: > On Sun, Aug 26, 2001 at 10:12:38PM +0900, Fuyuhiko Maruyama wrote: > > Yes, I also think we need to define some _np calls. To do so, we need > > to consider what APIs are really needed, defined APIs are sufficient > > and general enough. > > > > We must spend more time to discuss about this issue. > > The primary *_np stuff we need has to do with thread resume & suspension. The FreeBSD native threads stuff also does some nasty grovelling in the pthread private data structure for the stack address and stack size. I know these are handled by _np functions on BSD/OS, but they need to be included in any FreeBSD discussion of the pthreads APIs that we need. I suspect this sort of discussion will also apply to NetBSD and OpenBSD. > It's used sparingly in a couple of places with varying levels of functional > importance like the GC and during thread creation time (new threads are > suspended only to be woken up by the spawning function after the stack is > attach to the VM), etc... > > I'm struggling with OpenMotif issues right now and I'm kind of wondering > why the current OpenMotif port is a release version behind what's being > offered at their site ? Not sure. Ask the port maintainer :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Aug 26 23:36:27 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id EAE3737B409; Sun, 26 Aug 2001 23:36:22 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 5F47D5E36E; Sun, 26 Aug 2001 23:38:02 -0700 (PDT) Date: Sun, 26 Aug 2001 23:38:02 -0700 From: Arun Sharma To: hackers@freebsd.org, java@freebsd.org Subject: truss that supports fork and rfork Message-ID: <20010826233802.A13081@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just ported over my old patches to truss to -current that I first posted here in May 2000: http://groups.google.com/groups?hl=en&safe=off&threadm=fa.g3c7itv.5imipd%40ifi.uio.no&rnum=1&prev=/groups%3Fas_q%3Dtruss%26as_uauthors%3DArun%2520Sharma The new patch is here: http://www.sharma-home.net/~adsharma/projects/freebsd/truss.diff.gz For people using rfork based POSIX threads implementations like NGPT (see the ports collection), this may be a useful tool. The new flag to use is -f (for follow children). If the feedback is positive, I'll clean up the patch, update the man page etc. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 0:27:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id D152B37B405 for ; Mon, 27 Aug 2001 00:27:33 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id QAA02754; Mon, 27 Aug 2001 16:27:29 +0900 (JST) Date: Mon, 27 Aug 2001 16:29:56 +0900 Message-ID: <55lmk6neob.wl@tripper.private> From: Fuyuhiko Maruyama To: shudo@computer.org Cc: java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <20010827092225G.shudoh@aist.go.jp> References: <20010825130721.A20869@misty.eyesbeyond.com> <55g0af0wkq.wl@tripper.private> <20010827092225G.shudoh@aist.go.jp> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 27 Aug 2001 09:22:25 +0900, shudo@computer.org wrote: > > Fuyuhiko and Mikhail, > > > but now I > > can reproduce the problem Mikhail met (java.awt.AWTException: cannot > > open XIM), so I will try to fix it as soon as possible. > > I don't think the exception which says 'cannot open XIM' is not a problem. > > > It means that XOpenIM failed. For locales that Xlib locale-dependent > > functions are capable, XOpenIM fails only when current locale needs > > XIM server to input text in the language specified by current locale > > *AND* the XIM server isn't available. This is the case can be happen > > in Chinese/Japanese/Korean environment. > > The AWTException also appears on Linux. Both Sun and > Blackdown JDK 1.3.1 show the exception in case that the > environment variable 'XMODIFIERS' is set but XIM server > is not running. > > On Linux, I set the XMODIFIERS as '@im=kinput2' but do > not run the kinput2 input server. The exception appears > when a Java program needs text input for the first time. > I just ignore the exception and the program runs fine. It is simply because the difference between FreeBSD and Linux. On FreeBSD, there's no need to set XMODIFIERS to use XIM. I can input Japanese using kinput2 without XMODIFIERS, xwnmo can be used as well. They seem to be registered as the default XIM server on FreeBSD and they aren't on Linux. I'm not sure why Linux needs user to set XMODIFIERS. In fact, I don't think X11's codes around XIM handling have difference between both platform, so I feel it very strange. > The exception doesn't appear if I ran the input server > or unset the XMODIFIERS. FreeBSD's case should be treated as the same case of Linux with XMODIFIERS=@im=something. The problem is XOpenIM()'s failure. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 1: 2:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 8FB9237B401 for ; Mon, 27 Aug 2001 01:02:45 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id RAA03977; Mon, 27 Aug 2001 17:02:31 +0900 (JST) Date: Mon, 27 Aug 2001 17:04:58 +0900 Message-ID: <55k7zqnd1x.wl@tripper.private> From: Fuyuhiko Maruyama To: Arun Sharma Cc: Bill Huey , Greg Lewis , Fuyuhiko Maruyama , java@FreeBSD.ORG Subject: Re: JVM and native threads In-Reply-To: <20010827143244.A12305@misty.eyesbeyond.com> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 27 Aug 2001 14:32:44 +0930, Greg Lewis wrote: > > On Sun, Aug 26, 2001 at 05:10:10PM -0700, Bill Huey wrote: > > On Sun, Aug 26, 2001 at 10:12:38PM +0900, Fuyuhiko Maruyama wrote: > > > Yes, I also think we need to define some _np calls. To do so, we need > > > to consider what APIs are really needed, defined APIs are sufficient > > > and general enough. > > > > > > We must spend more time to discuss about this issue. > > > > The primary *_np stuff we need has to do with thread resume & suspension. > > The FreeBSD native threads stuff also does some nasty grovelling in the > pthread private data structure for the stack address and stack size. I > know these are handled by _np functions on BSD/OS, but they need to be > included in any FreeBSD discussion of the pthreads APIs that we need. When we port HotSpot, all integer registers including Program Counter will also be needed for GC and On Stack Replacement support, HotSpot has memory system with precise GC. I'm not sure that this is enough for HotSpot, so more study is needed. What APIs are needed for ORP, Arun? How do you use NGPT for ORP? > I suspect this sort of discussion will also apply to NetBSD and OpenBSD. I see, but I don't know better place to discuss. Does anyone know? -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 1:14:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id F0E8337B406 for ; Mon, 27 Aug 2001 01:14:36 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id RAA04393; Mon, 27 Aug 2001 17:14:33 +0900 (JST) Date: Mon, 27 Aug 2001 17:17:00 +0900 Message-ID: <55itf9or2b.wl@tripper.private> From: Fuyuhiko Maruyama To: Mikhail Kruk Cc: Fuyuhiko Maruyama , java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: References: <55g0af0wkq.wl@tripper.private> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Sun, 26 Aug 2001 15:18:19 -0400 (EDT), Mikhail Kruk wrote: > > > The XSupportsLocale() call must return False if Xlib locale-dependent > > functions are not capable for current locale. Your case, > > ru_RU.KOI8-R, may be the case False to be returned, but it doesn't > > return False. > > Well, I don't think it's the problem with our locale. It seems that call > to XSupportsLocale() returns true no matter what LANG is. Any ideas what > is it looking at? Please test with XMODIFIERS=@im=none *for Java*. > 154 meshko@polkan2 /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386> env | > grep LANG > LANG=fuflo > 155 meshko@polkan2 /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386> > bin/appletviewer http://localhost/~scorch/800x600.html > call to XSupportLocale() returned: 1 Interesting... -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 4: 7: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 41B0A37B406 for ; Mon, 27 Aug 2001 04:07:07 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id HAA19354; Mon, 27 Aug 2001 07:07:03 -0400 Date: Mon, 27 Aug 2001 07:07:03 -0400 (EDT) From: Mikhail Kruk To: Fuyuhiko Maruyama Cc: Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <55itf9or2b.wl@tripper.private> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Well, I don't think it's the problem with our locale. It seems that call > > to XSupportsLocale() returns true no matter what LANG is. Any ideas what > > is it looking at? > Please test with XMODIFIERS=@im=none *for Java*. OK. When I setenv XMODIFIERS @im=none (I've never encountered that before) the exceptions goes away. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 5:38:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from logatome.francenet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id 5EBED37B407 for ; Mon, 27 Aug 2001 05:38:50 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from notbsdems.nantes.kisoft-services.com (pppA148.francenet.fr [193.149.100.58]) by logatome.francenet.fr (8.10.1/8.11.1) with ESMTP id f7RCcmk58652 for ; Mon, 27 Aug 2001 14:38:48 +0200 (CEST) Received: by notbsdems.nantes.kisoft-services.com (Postfix, from userid 1001) id 1B0F0E6F0A; Mon, 27 Aug 2001 14:36:42 +0200 (CEST) To: Mailing List FreeBSD Java Subject: jdk12-beta build problems From: Eric Masson X-Operating-System: FreeBSD 4.4-RC i386 Date: Mon, 27 Aug 2001 14:36:41 +0200 Message-ID: <86zo8ladd2.fsf@notbsdems.nantes.kisoft-services.com> Lines: 20 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-=-= Hello, I see problems with linux-jdk invocation when trying to build the native port (many classes aren't found by the linux-jdk). Has anybody seen this problem ? Regards Eric Masson Script of the build : --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=jdk-build.gz Content-Transfer-Encoding: base64 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 TD3HsrMjn2G59j8qVhGLKtcAAA== --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit -- AL: Moi aussi, si je ne suis pas (encore !) en vacances :-) GUAAAAAAAAAAAAAAADELOUPEEEEEEEEEEEEEE ! JF: T'es con, tu risques de louper les giboulées de mars. -+- JF in Guide du Macounet Pervers : Bien choisir ses vacances -+- --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 6:53: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from cygnus.com (runyon.cygnus.com [205.180.230.5]) by hub.freebsd.org (Postfix) with ESMTP id E599037B403 for ; Mon, 27 Aug 2001 06:53:05 -0700 (PDT) (envelope-from green@redhat.com) Received: from locutus (locutus.cygnus.com [205.180.230.91]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id GAA21089; Mon, 27 Aug 2001 06:52:34 -0700 (PDT) Message-ID: <000201c12f00$096e17c0$5be6b4cd@cygnus.com> From: "Anthony Green" To: "Greg Lewis" , Cc: References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010825115852W.shudoh@aist.go.jp> <20010826021022.A43240@misty.eyesbeyond.com> Subject: Re: Contributing... Date: Sun, 26 Aug 2001 18:19:13 -0700 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.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg wrote: > There is certainly > nothing in the SCSL which says I can't work on any other Java > projects like that. Is it GNU policy? We at Cygnus (now Red Hat) established the GCJ and Mauve policies before gcj/libgcj was donated to the FSF. At the time it was very unclear how Sun would react to cleanroom Java Programming Language implementations. To be honest, it's still not all that clear to me. I think we've been very flexible on Mauve. Our compiler and runtime library are a different matter. We're still being extremely careful about potential copyright violations - perhaps overly so - but it's not clear how this policy is impeding our progress, so we'll probably just continue along with the status quo. While I'm on the subject I'll complain about something that is really troublesome. Some of the more recent specs from Sun (J2ME and others) say something like: feel free to implement a cleanroom version of this spec, but make sure you implement every single class and no more. What's not clear to me is how rules like this play in the Open Source world. Does this mean no intermediate releases with missing functionality? Do you have to be "closed source" until it's all done? I suppose I'll have to go to Sun for clarification, but opinions are welcome. Thanks, AG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 8: 5:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 4489937B401 for ; Mon, 27 Aug 2001 08:05:36 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id AAA14908; Tue, 28 Aug 2001 00:05:25 +0900 (JST) Date: Tue, 28 Aug 2001 00:07:51 +0900 Message-ID: <55lmk5czi0.wl@tripper.private> From: Fuyuhiko Maruyama To: Mikhail Kruk Cc: Fuyuhiko Maruyama , Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: References: <55itf9or2b.wl@tripper.private> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 27 Aug 2001 07:07:03 -0400 (EDT), Mikhail Kruk wrote: > > > > Well, I don't think it's the problem with our locale. It seems that call > > > to XSupportsLocale() returns true no matter what LANG is. Any ideas what > > > is it looking at? > > Please test with XMODIFIERS=@im=none *for Java*. > > OK. When I setenv XMODIFIERS @im=none (I've never encountered that before) > the exceptions goes away. You are now having a workaround. ;-) I think you cannot input Russian text in any Java application at this time, to support Russian inputs in Java application isn't so easy because it is really a problem of X11's Russian supports. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 8:29:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id D2A5737B401 for ; Mon, 27 Aug 2001 08:29:17 -0700 (PDT) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id LAA17166 for ; Mon, 27 Aug 2001 11:29:16 -0400 Date: Mon, 27 Aug 2001 11:29:16 -0400 (EDT) From: Mikhail Kruk To: Subject: jdk1.3.1 socket problem In-Reply-To: <55lmk5czi0.wl@tripper.private> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org OK, my first bug report sucked, it wasn't really jdk's problem and workaround is trivial. But I'll try again. Please let me know if it is not yet time for bug reports and I'll shut up :) When I try to run the following code sample I get: java.net.SocketException: errno: 56, error: Socket is already connected for fd: 4 import java.net.*; public class test { public static void main(String[] args) { try { Socket socket = new Socket( "www.cs.brandeis.edu", 80); socket.close(); } catch(Exception e) { System.err.println(e); } } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 9:54:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 8B3D037B407 for ; Mon, 27 Aug 2001 09:54:42 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 9F90D5E379; Mon, 27 Aug 2001 09:56:24 -0700 (PDT) Date: Mon, 27 Aug 2001 09:56:24 -0700 From: Arun Sharma To: Fuyuhiko Maruyama Cc: java@FreeBSD.ORG Subject: Re: JVM and native threads Message-ID: <20010827095624.B14875@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> <55k7zqnd1x.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <55k7zqnd1x.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Mon, Aug 27, 2001 at 05:04:58PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 27, 2001 at 05:04:58PM +0900, Fuyuhiko Maruyama wrote: > What APIs are needed for ORP, Arun? How do you use NGPT for ORP? ORP was written for NT first and then ported to Linux. The approach they've taken is to emulate NT calls using the POSIX API: WaitForSingleObject CreateEvent See /os//os_wrapper.c However, the suspend and resume APIs haven't been implemented for POSIX platforms. #if defined(ORP_NT) #define SUSPEND_THREAD(orpthread) SuspendThread((orpthread)->thread_handle) #define RESUME_THREAD(orpthread) ResumeThread((orpthread)->thread_handle) #elif defined(ORP_POSIX) // Linux asserts if these are called, signal logic TBD inline DWORD _enum_bad_call(){assert(0); return 1;} #define SUSPEND_THREAD(orpthread) _enum_bad_call() #define RESUME_THREAD(orpthread) _enum_bad_call() [..] However, NGPT supports most of them just fine. But as Dave Butenholf would advise you, don't use suspend/resume unless you know what you're doing :) A quick look at the NGPT implementation indicates that a thread currently using the CPU (and possibly holding some locks), will not be suspended and the suspend call fails with EPERM. -Arun $ grep _np pthread.h extern int pthread_attr_setname_np __P((pthread_attr_t *, char *)); extern int pthread_attr_getname_np __P((pthread_attr_t *, char **)); extern int pthread_attr_setprio_np __P((pthread_attr_t *, int)); extern int pthread_attr_getprio_np __P((pthread_attr_t *, int *)); extern int pthread_attr_setweight_np __P((pthread_attr_t *, int)); /*ibm*/ extern int pthread_attr_setsuspendstate_np __P((pthread_attr_t *, int)); /*ibm*/ extern int pthread_attr_getsuspendstate_np __P((pthread_attr_t *, int *)); /*ibm*/ extern int pthread_yield_np __P((void)); extern int pthread_suspend_np __P((pthread_t)); /*ibm*/ extern int pthread_resume_np __P((pthread_t)); /*ibm*/ extern int pthread_getstacksize_np __P((pthread_t, int *)); /*ibm*/ extern void * pthread_getcontext_np __P((pthread_t)); /*ibm*/ extern int pthread_bindtonative_np __P((pthread_t)); /*ibm*/ #define sched_yield pthread_yield_np #define pthread_yield pthread_yield_np #define pthread_attr_setprio pthread_attr_setprio_np #define pthread_attr_getprio pthread_attr_getprio_np To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 11:50:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from yez.hyperreal.org (gate.sp.collab.net [64.211.228.36]) by hub.freebsd.org (Postfix) with SMTP id 183F937B40A for ; Mon, 27 Aug 2001 11:50:22 -0700 (PDT) (envelope-from brian@collab.net) Received: (qmail 55547 invoked by uid 1000); 27 Aug 2001 18:50:15 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Aug 2001 18:50:15 -0000 Date: Mon, 27 Aug 2001 11:50:14 -0700 (PDT) From: Brian Behlendorf X-X-Sender: To: Anthony Green Cc: Greg Lewis , , Subject: Re: Contributing... In-Reply-To: <000201c12f00$096e17c0$5be6b4cd@cygnus.com> Message-ID: <20010827113108.H53858-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 26 Aug 2001, Anthony Green wrote: > While I'm on the subject I'll complain about something that is really > troublesome. Some of the more recent specs from Sun (J2ME and others) say > something like: feel free to implement a cleanroom version of this spec, but > make sure you implement every single class and no more. What's not clear to > me is how rules like this play in the Open Source world. Does this mean no > intermediate releases with missing functionality? Do you have to be "closed > source" until it's all done? I suppose I'll have to go to Sun for > clarification, but opinions are welcome. Speaking as someone who's been dealing with this from the Apache side of things... it is incompatible with open source licensing. This is being addressed (and fixed, hopefully) within the Java Community Process. Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 12:15:14 2001 Delivered-To: freebsd-java@freebsd.org Received: from cygnus.com (runyon.cygnus.com [205.180.230.5]) by hub.freebsd.org (Postfix) with ESMTP id ECA6337B401 for ; Mon, 27 Aug 2001 12:15:11 -0700 (PDT) (envelope-from green@redhat.com) Received: from locutus (locutus.cygnus.com [205.180.230.91]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id MAA24695; Mon, 27 Aug 2001 12:14:56 -0700 (PDT) Message-ID: <002201c12f2d$11a5d900$5be6b4cd@cygnus.com> From: "Anthony Green" To: "Brian Behlendorf" Cc: "Greg Lewis" , , References: <20010827113108.H53858-100000@localhost> Subject: Re: Contributing... Date: Mon, 27 Aug 2001 12:18:35 -0700 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.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Brian wrote: > Speaking as someone who's been dealing with this from the Apache side of > things... it is incompatible with open source licensing. This is being > addressed (and fixed, hopefully) within the Java Community Process. Do you have more info? Is there anywhere I can find out more about what they intend to do? Thanks! AG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 12:44:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 1E42D37B401 for ; Mon, 27 Aug 2001 12:44:12 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id EAA21585; Tue, 28 Aug 2001 04:44:02 +0900 (JST) Date: Tue, 28 Aug 2001 04:46:28 +0900 Message-ID: <55itf9cmln.wl@tripper.private> From: Fuyuhiko Maruyama To: Arun Sharma Cc: Fuyuhiko Maruyama , java@FreeBSD.ORG Subject: Re: JVM and native threads In-Reply-To: <20010827095624.B14875@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> <55k7zqnd1x.wl@tripper.private> <20010827095624.B14875@sharmas.dhs.org> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 27 Aug 2001 09:56:24 -0700, Arun Sharma wrote: > > On Mon, Aug 27, 2001 at 05:04:58PM +0900, Fuyuhiko Maruyama wrote: > > What APIs are needed for ORP, Arun? How do you use NGPT for ORP? > > ORP was written for NT first and then ported to Linux. The approach > they've taken is to emulate NT calls using the POSIX API: > > WaitForSingleObject > CreateEvent > > See /os//os_wrapper.c > > However, the suspend and resume APIs haven't been implemented for > POSIX platforms. > > #if defined(ORP_NT) > > #define SUSPEND_THREAD(orpthread) SuspendThread((orpthread)->thread_handle) > #define RESUME_THREAD(orpthread) ResumeThread((orpthread)->thread_handle) > > #elif defined(ORP_POSIX) > > // Linux asserts if these are called, signal logic TBD > inline DWORD _enum_bad_call(){assert(0); return 1;} > #define SUSPEND_THREAD(orpthread) _enum_bad_call() > #define RESUME_THREAD(orpthread) _enum_bad_call() > Thanks, it is interesting. In fact, it seems quite curious for me because you say nothing about thread's context. So I dig the orp-20010727 sources and found that current ORP doesn't well support Linux platform. Current ORP may cause disaster when GC is happen on Linux, possible senarios are: 1. GC system collects live object refered only by register. 2. GC system moves live objects refered by register and it doesn't treat pointers on register to catch up moving of objects. 3. GC system cannot ensure all threads are suspended at GC safepoint. Do I misunderstand? -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 27 18:11: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 3A73937B403 for ; Mon, 27 Aug 2001 18:11:05 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 327605E37B; Mon, 27 Aug 2001 18:12:49 -0700 (PDT) Date: Mon, 27 Aug 2001 18:12:49 -0700 From: Arun Sharma To: Fuyuhiko Maruyama Cc: java@FreeBSD.ORG Subject: Re: JVM and native threads Message-ID: <20010827181249.A16093@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> <55k7zqnd1x.wl@tripper.private> <20010827095624.B14875@sharmas.dhs.org> <55itf9cmln.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <55itf9cmln.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Tue, Aug 28, 2001 at 04:46:28AM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 28, 2001 at 04:46:28AM +0900, Fuyuhiko Maruyama wrote: > Thanks, it is interesting. > > In fact, it seems quite curious for me because you say nothing about > thread's context. So I dig the orp-20010727 sources and found that > current ORP doesn't well support Linux platform. Current ORP may > cause disaster when GC is happen on Linux, possible senarios are: > 1. GC system collects live object refered only by register. > 2. GC system moves live objects refered by register and it doesn't > treat pointers on register to catch up moving of objects. > 3. GC system cannot ensure all threads are suspended at GC safepoint. > > Do I misunderstand? > Since they claim to run SpecJVM on Linux and it doesn't crash and burn, they must be doing something right :) See: 1. http://www.acm.org/pubs/citations/proceedings/pldi/301618/p118-stichnoth/ 2. Comments from arch/ia32/base/root_set_enum_ia32.cpp // Not at a GC-safe point. We will let the thread run, but before // we do it, // we will: // 1. gc_status = moving_to_gc_safepoint // 2. Hijack the return eip. // 3. Set the breakpoints // There are only three ways to escape from a Java frame: // A. Return. This is handled by (1) above. // B. Call to another method. Handled by (2). // C. Exception which is not handled in the current method. This // is handled // by the exception throwing code which checks the state of the // thread -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 28 7:38:16 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 2B4CE37B406 for ; Tue, 28 Aug 2001 07:38:13 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id XAA21693; Tue, 28 Aug 2001 23:38:07 +0900 (JST) Date: Tue, 28 Aug 2001 23:40:34 +0900 Message-ID: <554rqsqmcd.wl@tripper.private> From: Fuyuhiko Maruyama To: Arun Sharma Cc: Fuyuhiko Maruyama , java@FreeBSD.ORG Subject: Re: JVM and native threads In-Reply-To: <20010827181249.A16093@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> <55k7zqnd1x.wl@tripper.private> <20010827095624.B14875@sharmas.dhs.org> <55itf9cmln.wl@tripper.private> <20010827181249.A16093@sharmas.dhs.org> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 27 Aug 2001 18:12:49 -0700, Arun Sharma wrote: > > On Tue, Aug 28, 2001 at 04:46:28AM +0900, Fuyuhiko Maruyama wrote: > > Thanks, it is interesting. > > > > In fact, it seems quite curious for me because you say nothing about > > thread's context. So I dig the orp-20010727 sources and found that > > current ORP doesn't well support Linux platform. Current ORP may > > cause disaster when GC is happen on Linux, possible senarios are: > > 1. GC system collects live object refered only by register. > > 2. GC system moves live objects refered by register and it doesn't > > treat pointers on register to catch up moving of objects. > > 3. GC system cannot ensure all threads are suspended at GC safepoint. > > > > Do I misunderstand? > > > > Since they claim to run SpecJVM on Linux and it doesn't crash and burn, > they must be doing something right :) Codes at root_set_enum_ia32.cpp says it works as thier papers but it isn't true on Linux because the key function thread_gc_get_context(...) isn't implemented for Linux. See: 1. base_natives/common/thread_manager.cpp 2. mains/orp/stubs.cpp 3. arch/ia32/base_natives/java_lang_thread_ia32.h Why the function isn't implemented in Linux is just the same problem we have, I think -- there is no POSIX API to get context of thread. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 28 11: 0: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from malone.cisco.com (malone.cisco.com [171.70.157.157]) by hub.freebsd.org (Postfix) with ESMTP id 8C93237B407 for ; Tue, 28 Aug 2001 11:00:00 -0700 (PDT) (envelope-from donalde@cisco.com) Received: from cisco.com (ptlm1-dhcp-102.cisco.com [171.71.210.102]) by malone.cisco.com (8.8.6 (PHNE_14041)/CISCO.SERVER.1.2) with ESMTP id LAA01130 for ; Tue, 28 Aug 2001 11:00:00 -0700 (PDT) Message-ID: <3B8BDBFB.553274E1@cisco.com> Date: Tue, 28 Aug 2001 10:59:23 -0700 From: Donald Espinoza X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Trouble installing jdk12_beta on FreeBSD 4.3-STABLE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am trying to install the jdk12_beta as per the instructions found on http://www.kjkoster.org/java/index.jsp, but am getting an error as shown at the bottom of this email. I am on FreeBSD 4.3-STABLE #0: Mon Jun 18 18:48:33 PDT 2001. Does the error below lead you to any idea as to what I have done wrong in my install? Thanks in advance. Donald donalde@cisco.com Instructions per http://www.kjkoster.org/java/index.jsp: "If you are using FreeBSD/x86, you can build the JDK simply by downloading the sources and Greg's patch set, placing them in /usr/ports/distfiles. You can then enter /usr/ports/java/jdk12-beta/ and type make install clean to build it. That's all there is to it." I did a "make install" ... gcc -O -pipe -W -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-unused -Wno-parentheses -pipe -fPIC -Di386 -DHAVE_ALIGNED_LONGLONGS -DHAVE_ALIGNED_DOUBLES -DARCH='"i386"' -DRELEASE='"1.2.2"' -DFULL_VERSION='"jdk1.2.2-FreeBSD:root:2001/08/28-10:27"' -DHAVE_POLL -D_REENTRANT -I. -ICClassHeaders -I../../../../src/freebsd/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/java/lang/fdlibm/include -I../../../../src/share/native/java/io -I../../../../src/share/native/common -I../../../../src/freebsd/native/common -DHAVE_ALTZONE -DARCH='"i386"' -I../../../../src/share/native/java/lang -I../../../../src/freebsd/native/java/lang -c -o obj/i386/check_code.o ../../../../src/share/native/common/check_code.c ../../../../src/share/native/common/check_code.c:413: warning: no previous prototype for `initialize_class_hash' ../../../../src/share/native/common/check_code.c:560: warning: no previous prototype for `VerifyClassCodes' ../../../../src/share/native/common/check_code.c:853: syntax error before `__extension__' ../../../../src/share/native/common/check_code.c:853: syntax error before `:' ../../../../src/share/native/common/check_code.c:853: warning: type defaults to `int' in declaration of `__X' ../../../../src/share/native/common/check_code.c:853: warning: data definition has no type or storage cla ss ../../../../src/share/native/common/check_code.c:853: syntax error before `}' ../../../../src/share/native/common/check_code.c:325: warning: `verify_opcode_operands' used but never de fined ../../../../src/share/native/common/check_code.c:329: warning: `initialize_exception_table' used but neve r defined ../../../../src/share/native/common/check_code.c:330: warning: `instruction_length' used but never define d ../../../../src/share/native/common/check_code.c:332: warning: `verify_constant_pool_type' used but never defined ../../../../src/share/native/common/check_code.c:334: warning: `initialize_dataflow' used but never defin ed ../../../../src/share/native/common/check_code.c:335: warning: `run_dataflow' used but never defined ../../../../src/share/native/common/check_code.c:383: warning: `CCinit' used but never defined ../../../../src/share/native/common/check_code.c:384: warning: `CCreinit' used but never defined ../../../../src/share/native/common/check_code.c:385: warning: `CCdestroy' used but never defined ../../../../src/share/native/common/check_code.c:386: warning: `CCalloc' used but never defined ../../../../src/share/native/common/check_code.c:393: warning: `CCerror' used but never defined ../../../../src/share/native/common/check_code.c:394: warning: `CCout_of_memory' used but never defined ../../../../src/share/native/common/check_code.c:399: warning: `check_and_push' used but never defined ../../../../src/share/native/common/check_code.c:400: warning: `pop_and_free' used but never defined cpp: output pipe has been closed gmake[3]: *** [obj/i386/check_code.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/java' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/java' gmake[1]: *** [all] Error 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 28 13:11:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 1F2EE37B406 for ; Tue, 28 Aug 2001 13:11:25 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7SK9mT09538; Tue, 28 Aug 2001 22:09:48 +0200 (CEST) (envelope-from ernst) Date: Tue, 28 Aug 2001 22:09:47 +0200 From: Ernst de Haan To: Alexandre Bouchard Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat3/4+Apache architecture on BSD Message-ID: <20010828220947.A9506@c104187.upc-c.chello.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rolivawdaneel@hotmail.com on Mon, Aug 27, 2001 at 03:37:33AM +0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Alexandre, > We will deploy very soon a web server that need to support java servlets, > jSP and perhaps EJBs (if we use tomcat4). We dont know yet if we will use > BSD or Solaris8. Use BSD :-) You'll thank me for it ;) > I was wondering how close is the integration of Apache, Jakarta-Tomcat and > the BSD plateform. I already know that Apache and Jakarta work very well > together with an ajp connector. But to be reliable, our architecture must be > built on a solid and mature Java Virtual Machine. A stable built of Java 2 > is mandatory for us. Install mod_jk ('make install' in /usr/ports/www/mod_jk), this will install Apache and Tomcat 3 as well, as dependencies. If your ports tree is up to date, then these will be the latest versions. Then make sure Tomcat uses JDK 1.2 instead of the default JDK 1.1. You'll have to install one of the JDK 1.2's for that. I suggest you install the native JDK 1.2.2, available from /usr/ports/java/jdk12-beta/, but don't let the -beta scare you, IMO this JDK runs more reliable than any of the 1.2 JDK's on Windoze, at least for server-side purposes. In our experience (I work as a development team leader) the integration of Tomcat and Apache on FreeBSD is very smooth. We've integrated deployment on Tomcat in our Ant build process, so redeployment is just a matter of executing: $ ant redeploy You can see the build file if you like (privmsg me). If you need a production-quality web container, then I suggest you take a look at Orion as well. It's commercial, it's much more stable (although Tomcat isn't bad) and it supports the complete J2EE platform. See: http://www.orionserver.com/ Good luck. /Ernst > I am an opensourcist (but with previous experience only on linuxes) so I > would like to convince my team to use BSD. But officially sun supports only > windozes and redhat.. I would appreciate if someone could tell me if it is > reliable to built an architecture such as ours on the BSD plateform and why. > > Thank you > > Alexandre Bouchard > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 28 16: 4:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from uhpux01.beacon-it.co.jp (bconns1.beacon-it.co.jp [210.169.183.4]) by hub.freebsd.org (Postfix) with ESMTP id 3B82137B401 for ; Tue, 28 Aug 2001 16:04:40 -0700 (PDT) (envelope-from westbay@seaple.icc.ne.jp) Received: from firstbase.westbay.fa.jp (nypc104.beacon-it.co.jp [172.22.124.104]) by uhpux01.beacon-it.co.jp (8.9.3/8.9.3) with SMTP id IAA00030; Wed, 29 Aug 2001 08:08:48 +0900 Content-Type: text/plain; charset="iso-8859-1" From: Michael Westbay To: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat3/4+Apache architecture on BSD Date: Wed, 29 Aug 2001 08:03:51 +0900 X-Mailer: KMail [version 1.2] Cc: Alexandre Bouchard References: <20010828220947.A9506@c104187.upc-c.chello.nl> In-Reply-To: <20010828220947.A9506@c104187.upc-c.chello.nl> MIME-Version: 1.0 Message-Id: <01082908035105.02533@firstbase.westbay.fa.jp> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org de Haan-san wrote: > Install mod_jk ('make install' in /usr/ports/www/mod_jk), this will ins= tall > Apache and Tomcat 3 as well, as dependencies. If your ports tree is up = to > date, then these will be the latest versions. Because the original poster sounded new to BSD, I'd like to point out tha= t=20 updating your ports is documented very well right here: http://www.freebsddiary.org/ports.php It has links to other articles/tutorials you'll need to learn to keep you= r=20 system current (or most up-to-date stable if you prefer) as well. --=20 Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www.seaple.icc.ne.jp/~westbay Commentary: http://www.japanesebaseball.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 29 14:59:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id CB81837B403 for ; Wed, 29 Aug 2001 14:59:56 -0700 (PDT) (envelope-from jknoll@indy.rr.com) Received: from dhcp065-029-069-154.indy.rr.com (dhcp065-029-069-154.indy.rr.com [65.29.69.154]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f7TLu2e07349 for ; Wed, 29 Aug 2001 17:56:02 -0400 (EDT) Date: Wed, 29 Aug 2001 16:59:46 -0500 (EST) From: Jim Knoll X-X-Sender: Reply-To: Jim Knoll To: Subject: Uppercase Letters problem native JDK1.3.1 In-Reply-To: <01082908035105.02533@firstbase.westbay.fa.jp> Message-ID: <20010829165324.T65982-100000@server.home.domain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I've been trying the 1.3.1 jdk out the last few days, and I noticed in netbeans 3.2 I don't seem to be able to enter uppercase letters. Is this a known issue? Everything works well with the native 1.2.2 jdk. Let me know if there is any other information I can provide. Thanks for all of the good work on the 1.3 jdk. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 29 21:10:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 9EBA537B403 for ; Wed, 29 Aug 2001 21:10:34 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.226] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15cJA1-0002HP-00; Wed, 29 Aug 2001 22:10:33 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7U4AUP61096; Thu, 30 Aug 2001 13:40:30 +0930 (CST) (envelope-from glewis) Date: Thu, 30 Aug 2001 13:40:30 +0930 From: Greg Lewis To: Jim Knoll Cc: freebsd-java@FreeBSD.ORG Subject: Re: Uppercase Letters problem native JDK1.3.1 Message-ID: <20010830134030.A61073@misty.eyesbeyond.com> References: <01082908035105.02533@firstbase.westbay.fa.jp> <20010829165324.T65982-100000@server.home.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829165324.T65982-100000@server.home.domain>; from jknoll@indy.rr.com on Wed, Aug 29, 2001 at 04:59:46PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 29, 2001 at 04:59:46PM -0500, Jim Knoll wrote: > I've been trying the 1.3.1 jdk out the last few days, and I noticed in > netbeans 3.2 I don't seem to be able to enter uppercase letters. Is this > a known issue? Everything works well with the native 1.2.2 jdk. > > Let me know if there is any other information I can provide. Thanks for > all of the good work on the 1.3 jdk. There aren't many known issues, given 1.3.1's newness, although we obviously expect some issues, for the same reason :). Where can one obtain netbeans 3.2? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 29 21:15: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 02A4637B401 for ; Wed, 29 Aug 2001 21:15:02 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.226] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15cJEK-0002OJ-00; Wed, 29 Aug 2001 22:15:01 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7U4D1Z61114; Thu, 30 Aug 2001 13:43:01 +0930 (CST) (envelope-from glewis) Date: Thu, 30 Aug 2001 13:43:00 +0930 From: Greg Lewis To: Mikhail Kruk Cc: java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010830134300.B61073@misty.eyesbeyond.com> References: <55lmk5czi0.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Mon, Aug 27, 2001 at 11:29:16AM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 27, 2001 at 11:29:16AM -0400, Mikhail Kruk wrote: > OK, my first bug report sucked, it wasn't really jdk's problem and > workaround is trivial. > But I'll try again. Please let me know if it is not yet time for bug > reports and I'll shut up :) No, bug reports are good, sorry for not responding sooner. > When I try to run the following code sample I get: > java.net.SocketException: errno: 56, error: Socket is already connected > for fd: 4 Ok, I independently had this report from another source. I'm in the process of tracking it down, but haven't a patch yet. Thanks also for providing an example program, that always helps :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 29 21:38:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 3FBBC37B405 for ; Wed, 29 Aug 2001 21:38:53 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id AAA07695; Thu, 30 Aug 2001 00:38:15 -0400 Date: Thu, 30 Aug 2001 00:38:15 -0400 (EDT) From: Mikhail Kruk To: Greg Lewis Cc: Jim Knoll , Subject: Re: Uppercase Letters problem native JDK1.3.1 In-Reply-To: <20010830134030.A61073@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Let me know if there is any other information I can provide. Thanks for > > all of the good work on the 1.3 jdk. > > There aren't many known issues, given 1.3.1's newness, although we > obviously expect some issues, for the same reason :). > > Where can one obtain netbeans 3.2? http://www.netbeans.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 29 22:31:30 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 47DF937B403 for ; Wed, 29 Aug 2001 22:31:26 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA07864; Thu, 30 Aug 2001 01:31:20 -0400 Date: Thu, 30 Aug 2001 01:31:20 -0400 (EDT) From: Mikhail Kruk To: Greg Lewis Cc: Subject: Re: jdk1.3.1 socket problem In-Reply-To: <20010830134300.B61073@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1082241795-1629074025-999149480=:7846" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1082241795-1629074025-999149480=:7846 Content-Type: TEXT/PLAIN; charset=US-ASCII > > OK, my first bug report sucked, it wasn't really jdk's problem and > > workaround is trivial. > > But I'll try again. Please let me know if it is not yet time for bug > > reports and I'll shut up :) > > No, bug reports are good, sorry for not responding sooner. > OK. I hope you mean it, because here is the next one. Again, I've attached sample code, but it's a rather bad sample. I went too far in simplifying it and now it works in most cases :) Basic complain is that Swing's setResizable and setLocation methods screw stuff up. (both in JFrame and JDialog AFAIK) The above example however screws up only in fvwm2. It works without window manager and in twm. But if the internal layout of the window was a little bit more complicated it wouldn't work. I've observed the same behavior on KDE. This also can be seen in the Java2D demo. But actually JFC demos use those two methods suspiciously seldom :) Linux-jdk1.3 works fine. --1082241795-1629074025-999149480=:7846 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="MainWindow.java" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="MainWindow.java" aW1wb3J0IGphdmF4LnN3aW5nLio7DQ0KaW1wb3J0IGphdmEuYXd0Lio7DQ0K aW1wb3J0IGphdmEuYXd0LmV2ZW50Lio7DQ0KDQ0KaW1wb3J0IGphdmEudXRp bC5WZWN0b3I7DQ0KaW1wb3J0IGphdmEuaW8uKjsNDQoNDQoNDQpwdWJsaWMg Y2xhc3MgTWFpbldpbmRvdyBleHRlbmRzIEpGcmFtZSANDQp7DQ0KICAgIHBy aXZhdGUgTG9naW5EaWFsb2cgbG9naW5EaWFsb2c7DQ0KDQ0KICAgIHB1Ymxp YyBNYWluV2luZG93KCkNDQogICAgew0NCiAgICAgICAgc3VwZXIoIkNvblNl cnZSIENsaWVudCIpOw0NCg0NCiAgICAgICAgbG9naW5EaWFsb2cgPSBuZXcg TG9naW5EaWFsb2codGhpcyk7DQ0KICAgIH0NDQoNDQogICAgcHVibGljIHN0 YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykNDQogICAgew0NCiAgICAg ICAgTWFpbldpbmRvdyBtYWluV2luZG93ID0gbmV3IE1haW5XaW5kb3coKTsN DQogICAgfQ0NCg0NCn0NDQoNDQoNDQpjbGFzcyBMb2dpbkRpYWxvZyBleHRl bmRzIEpEaWFsb2cgaW1wbGVtZW50cyBBY3Rpb25MaXN0ZW5lcg0NCnsNDQog ICAgcHJpdmF0ZSBNYWluV2luZG93IG93bmVyOw0NCg0NCiAgICBwdWJsaWMg TG9naW5EaWFsb2coTWFpbldpbmRvdyBvd25lcikNDQogICAgew0NCiAgICAg ICAgc3VwZXIob3duZXIsICJXZWxjb21lIHRvIENvblNlcnZSIiwgdHJ1ZSk7 DQ0KICAgICAgICB0aGlzLm93bmVyID0gb3duZXI7DQ0KDQ0KDQ0KICAgICAg ICBDb250YWluZXIgY29udGVudCA9IGdldENvbnRlbnRQYW5lKCk7DQ0KDQ0K CWNvbnRlbnQuYWRkKG5ldyBKQnV0dG9uKCJIZWxsbywgRnJlZUJTRCEiKSk7 DQ0KDQ0KICAgICAgICBwYWNrKCk7DQ0KICAgICAgICBEaW1lbnNpb24gc2Ny ZWVuID0gVG9vbGtpdC5nZXREZWZhdWx0VG9vbGtpdCgpLmdldFNjcmVlblNp emUoKTsNDQogICAgICAgIGludCB4ID0gKHNjcmVlbi53aWR0aCAtIGdldFdp ZHRoKCkpLzIsDQ0KICAgICAgICAgICAgeSA9IChzY3JlZW4uaGVpZ2h0IC0g Z2V0SGVpZ2h0KCkpLzI7DQ0KDQ0KDQ0KICAgICAgICBzZXRSZXNpemFibGUo IGZhbHNlICk7IC8vIGluY29tbWVudCBtZSB0byBnZXQgd3Jvbmcgd2luZG93 IHNpemUNDQoJc2V0TG9jYXRpb24oeCwgeSk7IC8vIHVuY29tbWVudCBtZSB0 byBzaGlmdCBjb250ZW50IGluc2lkZSB3aW5kb3cNDQogICAgICAgIHNldFZp c2libGUoIHRydWUgKTsNDQogICAgfQ0NCg0NCiAgICBwdWJsaWMgdm9pZCBh Y3Rpb25QZXJmb3JtZWQoQWN0aW9uRXZlbnQgZSkNDQogICAgew0NCglTeXN0 ZW0uZXhpdCgwKTsNDQogICAgfQ0NCn0NDQo= --1082241795-1629074025-999149480=:7846-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 29 23:53:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from uhpux01.beacon-it.co.jp (bconns1.beacon-it.co.jp [210.169.183.4]) by hub.freebsd.org (Postfix) with ESMTP id 601AE37B403 for ; Wed, 29 Aug 2001 23:53:41 -0700 (PDT) (envelope-from westbay@seaple.icc.ne.jp) Received: from firstbase.westbay.fa.jp (nypc104.beacon-it.co.jp [172.22.124.104]) by uhpux01.beacon-it.co.jp (8.9.3/8.9.3) with SMTP id PAA31051; Thu, 30 Aug 2001 15:57:15 +0900 Content-Type: text/plain; charset="iso-8859-1" From: Michael Westbay To: Mikhail Kruk Subject: Re: jdk1.3.1 socket problem Date: Thu, 30 Aug 2001 15:52:48 +0900 X-Mailer: KMail [version 1.2] Cc: References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01083015524802.00551@firstbase.westbay.fa.jp> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kruk-san wrote: > Again, I've attached sample code, but it's a rather bad sample. > I went too far in simplifying it and now it works in most cases :) > Basic complain is that Swing's setResizable and setLocation methods scr= ew > stuff up. (both in JFrame and JDialog AFAIK) I've witnessed strange happenings with Linux-jdk1.3.1 when pack() follows= =20 setResizable(false) on KDE. What it turned out to be was KDE actually he= ld=20 an application to its desire to not be resized, whereas other wm's didn't= =2E But I see that you have the "correct" order in your code. Have you tried putting setLocation(x, y) before setResizable(false)? Doe= s it=20 still behave strangly on all wm? (Sorry, I haven't tried the native 1.3.1 yet. I need to clean out some h= ard=20 drive space.) > But if the internal layout of the window was a little > bit more complicated it wouldn't work. I can't help but wonder if that "little bit more complicated" isn't a pac= k()=20 after setResizable(false). That's apparently a common "mistake." Even=20 Together 5.0 appears to do that with a few dialog boxes. Hope these observations help narrow the problem down somewhat. --=20 Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www.seaple.icc.ne.jp/~westbay Commentary: http://www.japanesebaseball.com/forum/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 2: 0:34 2001 Delivered-To: freebsd-java@freebsd.org Received: from www2.kc.aoindustries.com (www2.kc.aoindustries.com [209.15.126.84]) by hub.freebsd.org (Postfix) with ESMTP id 11A3937B406 for ; Thu, 30 Aug 2001 02:00:31 -0700 (PDT) (envelope-from engendro@www2.kc.aoindustries.com) Received: from localhost (engendro@localhost) by www2.kc.aoindustries.com (8.11.2/8.8.7) with ESMTP id f7U907R29824; Thu, 30 Aug 2001 04:00:07 -0500 Date: Thu, 30 Aug 2001 04:00:07 -0500 (CDT) From: Sergio Juncos Rubio To: Mikhail Kruk Cc: Greg Lewis , Subject: Re: jdk1.3.1 socket problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, may be it's a problem in the original Sun JDK, look at this bug: http://developer.java.sun.com/developer/bugParade/bugs/4392053.html and may be also: http://developer.java.sun.com/developer/bugParade/bugs/4379472.html I haven't read the code, but looks like quite similar bugs, and the first one is reported to be fixed in Blackdown JDK but not in the one by Sun, what Linuch JDK are you using? Well, may be this have nothing to do... but I hope it may help. Best regards and thanks to all the people working on the JDK for *BSD, you do a great job! (and thanks to your work I don't have to use leeniuch ;)) Uriel P.S.: Any news on the new patch set for JDK 1.2.2? On Thu, 30 Aug 2001, Mikhail Kruk wrote: > > > OK, my first bug report sucked, it wasn't really jdk's problem and > > > workaround is trivial. > > > But I'll try again. Please let me know if it is not yet time for bug > > > reports and I'll shut up :) > > > > No, bug reports are good, sorry for not responding sooner. > > > > OK. I hope you mean it, because here is the next one. > Again, I've attached sample code, but it's a rather bad sample. > I went too far in simplifying it and now it works in most cases :) > Basic complain is that Swing's setResizable and setLocation methods screw > stuff up. (both in JFrame and JDialog AFAIK) > The above example however screws up only in fvwm2. It works without window > manager and in twm. But if the internal layout of the window was a little > bit more complicated it wouldn't work. I've observed the same behavior on > KDE. > This also can be seen in the Java2D demo. But actually JFC demos use those > two methods suspiciously seldom :) > > Linux-jdk1.3 works fine. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 2:25:13 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.cid.net (cephyr.cid.net [212.172.21.2]) by hub.freebsd.org (Postfix) with ESMTP id 2E39137B408 for ; Thu, 30 Aug 2001 02:25:10 -0700 (PDT) (envelope-from fkr@mad.hazardous.org) Received: from uucp by mail.cid.net (Exim 3.22) with local-bsmtp id 15cO4U-0004iZ-00; Thu, 30 Aug 2001 11:25:10 +0200 Received: from fkr by mad.hazardous.org with local (Exim 3.16 #1 ) id 15cO19-00051Q-00; Thu, 30 Aug 2001 11:21:43 +0200 Date: Thu, 30 Aug 2001 11:21:43 +0200 From: Felix Kronlage To: Jim Knoll Cc: freebsd-java@FreeBSD.org Subject: Re: Uppercase Letters problem native JDK1.3.1 Message-ID: <20010830112143.I22409@mad.hazardous.org> References: <01082908035105.02533@firstbase.westbay.fa.jp> <20010829165324.T65982-100000@server.home.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829165324.T65982-100000@server.home.domain>; from jknoll@indy.rr.com on Wed, Aug 29, 2001 at 04:59:46PM -0500 Organization: we're mad and hazardous....*grrr* Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 29, 2001 at 04:59:46PM -0500, Jim Knoll wrote: > I've been trying the 1.3.1 jdk out the last few days, and I noticed in > netbeans 3.2 I don't seem to be able to enter uppercase letters. Is this > a known issue? Everything works well with the native 1.2.2 jdk. mmmh, I've been using NetBeans 3.2 (the bug-fix release) with the jdk 1.3.1 without having such problem. -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.net FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 5: 0:51 2001 Delivered-To: freebsd-java@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 0F57F37B409 for ; Thu, 30 Aug 2001 05:00:44 -0700 (PDT) (envelope-from jknoll@indy.rr.com) Received: from dhcp065-029-069-154.indy.rr.com (dhcp065-029-069-154.indy.rr.com [65.29.69.154]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f7UBuke17833; Thu, 30 Aug 2001 07:56:46 -0400 (EDT) Date: Thu, 30 Aug 2001 07:00:29 -0500 (EST) From: Jim Knoll X-X-Sender: Reply-To: Jim Knoll To: Felix Kronlage Cc: Subject: Re: Uppercase Letters problem native JDK1.3.1 In-Reply-To: <20010830112143.I22409@mad.hazardous.org> Message-ID: <20010830065938.Y71172-100000@server.home.domain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am using build 39. I'll check to see if there is a later release. Thanks, Jim On Thu, 30 Aug 2001, Felix Kronlage wrote: > On Wed, Aug 29, 2001 at 04:59:46PM -0500, Jim Knoll wrote: > > > I've been trying the 1.3.1 jdk out the last few days, and I noticed in > > netbeans 3.2 I don't seem to be able to enter uppercase letters. Is this > > a known issue? Everything works well with the native 1.2.2 jdk. > > mmmh, I've been using NetBeans 3.2 (the bug-fix release) with the > jdk 1.3.1 without having such problem. > > -fkr > -- > gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 > |http://www.hazardous.org/ | whois -h whois.ripe.net FKR-RIPE | > |all your base are belong to us | shame on me | fkr@IRCnet | > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 6:13:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.cid.net (cephyr.cid.net [212.172.21.2]) by hub.freebsd.org (Postfix) with ESMTP id 0091137B405 for ; Thu, 30 Aug 2001 06:13:33 -0700 (PDT) (envelope-from fkr@mad.hazardous.org) Received: from uucp by mail.cid.net (Exim 3.22) with local-bsmtp id 15cRdV-0001KB-00; Thu, 30 Aug 2001 15:13:33 +0200 Received: from fkr by mad.hazardous.org with local (Exim 3.16 #1 ) id 15cRab-0007az-00; Thu, 30 Aug 2001 15:10:33 +0200 Date: Thu, 30 Aug 2001 15:10:33 +0200 From: Felix Kronlage To: Jim Knoll Cc: freebsd-java@FreeBSD.org Subject: Re: Uppercase Letters problem native JDK1.3.1 Message-ID: <20010830151033.F20811@mad.hazardous.org> References: <20010830112143.I22409@mad.hazardous.org> <20010830065938.Y71172-100000@server.home.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010830065938.Y71172-100000@server.home.domain>; from jknoll@indy.rr.com on Thu, Aug 30, 2001 at 07:00:29AM -0500 Organization: we're mad and hazardous....*grrr* Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 30, 2001 at 07:00:29AM -0500, Jim Knoll wrote: > I am using build 39. I'll check to see if there is a later release. weird, I tried here with 39 and didn't have that Problem neither. -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.net FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 7: 8:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 6E60737B407 for ; Thu, 30 Aug 2001 07:08:46 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id KAA08961; Thu, 30 Aug 2001 10:08:35 -0400 Date: Thu, 30 Aug 2001 10:08:35 -0400 (EDT) From: Mikhail Kruk To: Michael Westbay Cc: Subject: Re: jdk1.3.1 socket problem In-Reply-To: <01083015524802.00551@firstbase.westbay.fa.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Kruk-san wrote: :) > > Again, I've attached sample code, but it's a rather bad sample. > > I went too far in simplifying it and now it works in most cases :) > > Basic complain is that Swing's setResizable and setLocation methods screw > > stuff up. (both in JFrame and JDialog AFAIK) > > I've witnessed strange happenings with Linux-jdk1.3.1 when pack() follows > setResizable(false) on KDE. What it turned out to be was KDE actually held > an application to its desire to not be resized, whereas other wm's didn't. > > But I see that you have the "correct" order in your code. > > Have you tried putting setLocation(x, y) before setResizable(false)? Does it > still behave strangly on all wm? Just tried that with fvwm2 and result didn't change. I don't have time to try other wm's now. > > But if the internal layout of the window was a little > > bit more complicated it wouldn't work. > > I can't help but wonder if that "little bit more complicated" isn't a pack() > after setResizable(false). No, I was just removing lines from the code, didn't change order of what was left. More complicated was gridbaglayout with a couple of textfields, labels, checkbox and buttons. But I think that pack() observations explains a lot of things I saw earlier... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 7:26:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by hub.freebsd.org (Postfix) with ESMTP id 8980037B401 for ; Thu, 30 Aug 2001 07:26:12 -0700 (PDT) (envelope-from uwe@snark.ptc.spbu.ru) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id SAA06150 for java@FreeBSD.ORG; Thu, 30 Aug 2001 18:25:54 +0400 (MSD) Date: Thu, 30 Aug 2001 18:25:54 +0400 From: "Valeriy E. Ushakov" To: java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010830182553.C4842@snark.ptc.spbu.ru> References: <01083015524802.00551@firstbase.westbay.fa.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: ; from "Mikhail Kruk" on Thu, Aug 30, 2001 at 10:08:35 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 30, 2001 at 10:08:35 -0400, Mikhail Kruk wrote: > > > Basic complain is that Swing's setResizable and setLocation > > > methods screw stuff up. (both in JFrame and JDialog AFAIK) > > > > I've witnessed strange happenings with Linux-jdk1.3.1 when pack() follows > > setResizable(false) on KDE. > > Just tried that with fvwm2 and result didn't change. I don't have > time to try other wm's now. The problem is that AWT has this concept of "insets" that was borrowed from win32 (window rect vs. client rect.) and it is *absolutely* foreign to X11 where the "insets" are WM decorations. So WM-related code in AWT goes through a lot of hoops and guesswork to emulate the "insets" and that code only really works for some WMs. Gory details are in awt_TopLevel.c (have the barf bag readied). SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 7:31:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 7394337B406 for ; Thu, 30 Aug 2001 07:31:43 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id KAA09155; Thu, 30 Aug 2001 10:31:36 -0400 Date: Thu, 30 Aug 2001 10:31:36 -0400 (EDT) From: Mikhail Kruk To: "Valeriy E. Ushakov" Cc: Subject: Re: jdk1.3.1 socket problem In-Reply-To: <20010830182553.C4842@snark.ptc.spbu.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Just tried that with fvwm2 and result didn't change. I don't have > > time to try other wm's now. > > The problem is that AWT has this concept of "insets" that was borrowed > from win32 (window rect vs. client rect.) and it is *absolutely* > foreign to X11 where the "insets" are WM decorations. > > So WM-related code in AWT goes through a lot of hoops and guesswork to > emulate the "insets" and that code only really works for some WMs. > Gory details are in awt_TopLevel.c (have the barf bag readied). Well, the thing is that linux-jdk 1.3.0 works fine. Besides the problem is that contents of the window shifts *significantly* inside the window (in many cases it is completely out of the view) I'm afraid this might be a different issue. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 30 13:13:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 5547D37B403 for ; Thu, 30 Aug 2001 13:13:31 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15cY7h-0001dc-00; Thu, 30 Aug 2001 13:09:09 -0700 Date: Thu, 30 Aug 2001 13:09:08 -0700 To: Greg Lewis Cc: Mikhail Kruk , java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010830130908.A5482@gnuppy> References: <55lmk5czi0.wl@tripper.private> <20010830134300.B61073@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010830134300.B61073@misty.eyesbeyond.com> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 30, 2001 at 01:43:00PM +0930, Greg Lewis wrote: > No, bug reports are good, sorry for not responding sooner. > > > When I try to run the following code sample I get: > > java.net.SocketException: errno: 56, error: Socket is already connected > > for fd: 4 > > Ok, I independently had this report from another source. I'm in the > process of tracking it down, but haven't a patch yet. > > Thanks also for providing an example program, that always helps :). I was tracking why XOpenDisplay() fails and it also blows it when it tries to connect() after dork around with the protocol, etc... This could be indicative of a more general problem with green threading and connect(). More investigation to do... bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 31 2:42:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 4AF6937B401 for ; Fri, 31 Aug 2001 02:42:32 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15ckkm-0005SM-00; Fri, 31 Aug 2001 02:38:20 -0700 Date: Fri, 31 Aug 2001 02:38:20 -0700 To: Mikhail Kruk Cc: java@freebsd.org, glewis@eyesbeyond.com, Bill Huey Subject: Re: jdk1.3.1 socket problem Message-ID: <20010831023820.A20158@gnuppy> References: <55lmk5czi0.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 27, 2001 at 11:29:16AM -0400, Mikhail Kruk wrote: > OK, my first bug report sucked, it wasn't really jdk's problem and > workaround is trivial. > But I'll try again. Please let me know if it is not yet time for bug > reports and I'll shut up :) > > When I try to run the following code sample I get: > java.net.SocketException: errno: 56, error: Socket is already connected > for fd: 4 > > import java.net.*; > > public class test > { > public static void main(String[] args) > { > try > { > Socket socket = new Socket( "www.cs.brandeis.edu", 80); > socket.close(); > } > catch(Exception e) > { > System.err.println(e); > } > } > } Check this out: [billh@finfin]$ ../../../bin/appletviewer example1.html _X11TransOpenCOTSClient(tcp/gnuppy:0) _X11TransOpen(1,tcp/gnuppy:0) _X11TransParseAddress(tcp/gnuppy:0) _X11TransSelectTransport(tcp) _X11TransSocketOpenCOTSClient(tcp,gnuppy,0) _X11TransSocketSelectFamily(tcp) _X11TransSocketOpen(1,1) _X11TransConnect(5,tcp/gnuppy:0) _X11TransParseAddress(tcp/gnuppy:0) _X11TransSocketINETConnect(5,gnuppy,0) _X11TransSocketINETConnect: inet_addr(gnuppy) = ffffffff _X11TransSocketINETConnect: sockname.sin_port = 6000 _X11TransSocketINETConnect: Can't connect: errno = 56 _X11TransClose(5) _X11TransSocketINETClose(81ad580,5) It's the debug log from XOpenDisplay and it's attempt at doing a connect(). /usr/include/sys/errno.h:#define EISCONN 56 /* Socket is already connected */ The problem with X remote display and connect() in that example are definitely related. IP address value of 0xffffffff ? what hell ? What do you think Greg ? This could be a race of some sort. More investigation needed. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 31 10:42:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 4E69737B407 for ; Fri, 31 Aug 2001 10:42:50 -0700 (PDT) Received: from [166.70.7.81] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15csJb-0003sO-00; Fri, 31 Aug 2001 11:42:48 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7VHghY70994; Sat, 1 Sep 2001 03:12:43 +0930 (CST) (envelope-from glewis) Date: Sat, 1 Sep 2001 03:12:42 +0930 From: Greg Lewis To: Bill Huey Cc: Mikhail Kruk , java@FreeBSD.ORG, glewis@eyesbeyond.com Subject: Re: jdk1.3.1 socket problem Message-ID: <20010901031241.A70927@misty.eyesbeyond.com> References: <55lmk5czi0.wl@tripper.private> <20010831023820.A20158@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010831023820.A20158@gnuppy>; from billh@gnuppy.monkey.org on Fri, Aug 31, 2001 at 02:38:20AM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 31, 2001 at 02:38:20AM -0700, Bill Huey wrote: > Check this out: > > [billh@finfin]$ ../../../bin/appletviewer example1.html > _X11TransOpenCOTSClient(tcp/gnuppy:0) > _X11TransOpen(1,tcp/gnuppy:0) > _X11TransParseAddress(tcp/gnuppy:0) > _X11TransSelectTransport(tcp) > _X11TransSocketOpenCOTSClient(tcp,gnuppy,0) > _X11TransSocketSelectFamily(tcp) > _X11TransSocketOpen(1,1) > _X11TransConnect(5,tcp/gnuppy:0) > _X11TransParseAddress(tcp/gnuppy:0) > _X11TransSocketINETConnect(5,gnuppy,0) > _X11TransSocketINETConnect: inet_addr(gnuppy) = ffffffff > _X11TransSocketINETConnect: sockname.sin_port = 6000 > _X11TransSocketINETConnect: Can't connect: errno = 56 > _X11TransClose(5) > _X11TransSocketINETClose(81ad580,5) > > It's the debug log from XOpenDisplay and it's attempt at doing a connect(). > > /usr/include/sys/errno.h:#define EISCONN 56 /* Socket is already connected */ This is probably the same problem, given its the same errno :). > The problem with X remote display and connect() in that example are definitely related. > > IP address value of 0xffffffff ? what hell ? > > What do you think Greg ? > > This could be a race of some sort. More investigation needed. ;-) Try appletviewer_g. I expect it will be the same as using java_g on the previous example. Basically you get an assertion failure about flags being set on the file descriptor, which is an earlier symptom of the same problem we're seeing here. Haven't had time to track it down yet, I'm going to try both a 1.2.2 and a 1.3.1 debugging version with logging enabled and see if that gives any clues. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 31 13:15:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 4764637B407 for ; Fri, 31 Aug 2001 13:15:16 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15cugs-0000SJ-00; Fri, 31 Aug 2001 13:14:58 -0700 Date: Fri, 31 Aug 2001 13:14:58 -0700 To: Greg Lewis Cc: Bill Huey , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010831131458.A1726@gnuppy> References: <55lmk5czi0.wl@tripper.private> <20010831023820.A20158@gnuppy> <20010901031241.A70927@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010901031241.A70927@misty.eyesbeyond.com> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 01, 2001 at 03:12:42AM +0930, Greg Lewis wrote: > Try appletviewer_g. I expect it will be the same as using java_g on the > previous example. Basically you get an assertion failure about flags > being set on the file descriptor, which is an earlier symptom of the > same problem we're seeing here. Haven't had time to track it down yet, > I'm going to try both a 1.2.2 and a 1.3.1 debugging version with logging > enabled and see if that gives any clues. Actually, I thought I tracked it down to a inet_addr() call failing returning a INADDR_NONE. The value pasted to it was originally "gnuppy" which isn't a valid numeric address. More investigation needed. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 1 5:43: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.cid.net (cephyr.cid.net [212.172.21.2]) by hub.freebsd.org (Postfix) with ESMTP id AB20F37B41B for ; Sat, 1 Sep 2001 05:42:51 -0700 (PDT) Received: from uucp by mail.cid.net (Exim 3.22) with local-bsmtp id 15dA6y-0004ES-00; Sat, 01 Sep 2001 14:42:56 +0200 Received: from fkr by mad.hazardous.org with local (Exim 3.16 #1 ) id 15dA3e-0004jd-00 for ; Sat, 01 Sep 2001 14:39:30 +0200 Date: Sat, 1 Sep 2001 14:39:30 +0200 From: Felix Kronlage To: freebsd-java@FreeBSD.org Subject: jdk 1.3.1 and .resizeable(false) Message-ID: <20010901143930.H26376@mad.hazardous.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: we're mad and hazardous....*grrr* Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, somehow Swing-Components (JFrame for example) end up being 1 x 1 (thus not really visible) if they're set to be resizeable(false). The same happens on my Free and on my OpenBSD box with the linux-jdk1.3.1 . Is this a known-issue? (any work-around except for setting the components on resizeable(true) ?) -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.net FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 1 7:53: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by hub.freebsd.org (Postfix) with ESMTP id 784AA37B407 for ; Sat, 1 Sep 2001 07:53:00 -0700 (PDT) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id SAA09208 for freebsd-java@freebsd.org; Sat, 1 Sep 2001 18:52:46 +0400 (MSD) Date: Sat, 1 Sep 2001 18:52:46 +0400 From: "Valeriy E. Ushakov" To: freebsd-java@freebsd.org Subject: Re: jdk 1.3.1 and .resizeable(false) Message-ID: <20010901185246.D7086@snark.ptc.spbu.ru> Mail-Followup-To: freebsd-java@freebsd.org References: <20010901143930.H26376@mad.hazardous.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: <20010901143930.H26376@mad.hazardous.org>; from "Felix Kronlage" on Sat, Sep 01, 2001 at 14:39:30 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 01, 2001 at 14:39:30 +0200, Felix Kronlage wrote: > somehow Swing-Components (JFrame for example) end up being 1 x 1 > (thus not really visible) if they're set to be resizeable(false). > The same happens on my Free and on my OpenBSD box with the > linux-jdk1.3.1 . Is this a known-issue? (any work-around except for > setting the components on resizeable(true) ?) Try setting setResizable(false) before a peer is created (nb: pack() calls addNotify). Also try another window manager - AWT really sucks in the WM department. I think Enlightenment or WindowMaker might give good results. PS: Can you check if the problem exists in jdk1.4 beta2? SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 1 10:24: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.cid.net (cephyr.cid.net [212.172.21.2]) by hub.freebsd.org (Postfix) with ESMTP id E4EF137B40A for ; Sat, 1 Sep 2001 10:24:05 -0700 (PDT) Received: from uucp by mail.cid.net (Exim 3.22) with local-bsmtp id 15dEVA-00007D-00; Sat, 01 Sep 2001 19:24:12 +0200 Received: from fkr by mad.hazardous.org with local (Exim 3.16 #1 ) id 15dELu-0007MW-00; Sat, 01 Sep 2001 19:14:38 +0200 Date: Sat, 1 Sep 2001 19:14:38 +0200 From: Felix Kronlage To: "Valeriy E. Ushakov" Cc: freebsd-java@freebsd.org Subject: Re: jdk 1.3.1 and .resizeable(false) Message-ID: <20010901191438.A22325@mad.hazardous.org> References: <20010901143930.H26376@mad.hazardous.org> <20010901185246.D7086@snark.ptc.spbu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <20010901185246.D7086@snark.ptc.spbu.ru>; from uwe@ptc.spbu.ru on Sat, Sep 01, 2001 at 06:52:46PM +0400 Organization: we're mad and hazardous....*grrr* Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 01, 2001 at 06:52:46PM +0400, Valeriy E. Ushakov wrote: > Try setting setResizable(false) before a peer is created (nb: pack() > calls addNotify). =20 ok, at least for self-written stuff (or open sourced things) that will work. :) > Also try another window manager - AWT really sucks > in the WM department. I think Enlightenment or WindowMaker might give > good results. mmmh...running IceWM here, will try with something else. (though I would miss IceWM :> ) > PS: Can you check if the problem exists in jdk1.4 beta2? will do. -fkr --=20 gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0=20 |http://www.hazardous.org/ | whois -h whois.ripe.net FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet |=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 1 10:48:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 8F71137B403 for ; Sat, 1 Sep 2001 10:48:33 -0700 (PDT) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id CAA20960; Sun, 2 Sep 2001 02:48:24 +0900 (JST) Date: Sun, 02 Sep 2001 02:50:56 +0900 Message-ID: <55k7ziajgf.wl@tripper.private> From: Fuyuhiko Maruyama To: Mikhail Kruk Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: native jdk1.3.1 OpenJIT In-Reply-To: References: <55wv3sqxtc.wl@tripper.private> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, here is a good news. Now I've tracked down the problem of j2sdk1.3.1 and OpenJIT. There are two reasons cause the problem. One is J2SDK 1.3.1 disable the JIT interface itself and the other is OpenJIT's bug. I have already fixed both, so the next patchset with the next OpenJIT will work as jdk1.2.2 with OpenJIT. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 1 16:38: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 31FCB37B408 for ; Sat, 1 Sep 2001 16:38:02 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15dJOo-000389-00; Sat, 01 Sep 2001 15:37:58 -0700 Date: Sat, 1 Sep 2001 15:37:29 -0700 To: Bill Huey Cc: Greg Lewis , Mikhail Kruk , java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010901153729.A12025@gnuppy> References: <55lmk5czi0.wl@tripper.private> <20010831023820.A20158@gnuppy> <20010901031241.A70927@misty.eyesbeyond.com> <20010831131458.A1726@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010831131458.A1726@gnuppy> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 31, 2001 at 01:14:58PM -0700, Bill Huey wrote: > Actually, I thought I tracked it down to a inet_addr() call failing returning > a INADDR_NONE. The value pasted to it was originally "gnuppy" which isn't a > valid numeric address. > > More investigation needed. BTW, ignore the last two messages about this topic. It was premature. :-\ bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 1 19:17:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 5365037B408 for ; Sat, 1 Sep 2001 19:17:27 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15dMp2-0006OE-00; Sat, 01 Sep 2001 19:17:16 -0700 Date: Sat, 1 Sep 2001 19:17:16 -0700 To: Fuyuhiko Maruyama Cc: Mikhail Kruk , Greg Lewis , java@FreeBSD.ORG Subject: Re: native jdk1.3.1 OpenJIT Message-ID: <20010901191716.A24558@gnuppy> References: <55wv3sqxtc.wl@tripper.private> <55k7ziajgf.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55k7ziajgf.wl@tripper.private> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Sep 02, 2001 at 02:50:56AM +0900, Fuyuhiko Maruyama wrote: > I have already fixed both, so the next patchset with the next OpenJIT > will work as jdk1.2.2 with OpenJIT. > > Fuyuhiko MARUYAMA That's outstanding. ;-) Still working on the connect() problem over here. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message