From owner-freebsd-java  Sun May 14  6:54:16 2000
Delivered-To: freebsd-java@freebsd.org
Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8])
	by hub.freebsd.org (Postfix) with ESMTP id C396037B743
	for <freebsd-java@FreeBSD.ORG>; Sun, 14 May 2000 06:54:12 -0700 (PDT)
	(envelope-from K.J.Koster@kpn.com)
Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204])
 by research.kpn.com (PMDF V5.2-31 #42699)
 with ESMTP id <01JPE99C5T0E000247@research.kpn.com> for
 freebsd-java@FreeBSD.ORG; Sun, 14 May 2000 15:54:10 +0200
Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21)
	id <KC7MMPRF>; Sun, 14 May 2000 15:54:08 +0100
Content-return: allowed
Date: Sun, 14 May 2000 15:54:07 +0100
From: "Koster, K.J." <K.J.Koster@kpn.com>
Subject: RE: Socket read problem in 1.2.2?
To: 'Ewout Kramer' <ewout@di.nl>, freebsd-java@FreeBSD.ORG
Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7503@l04.research.kpn.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-type: text/plain;	charset="iso-8859-1"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> 
> Unfortunately, the same Tomcat setup that works under 1.1.8 
> does not work under 1.2.2, giving the following exception:
> 
> HANDLER THREAD PROBLEM: java.net.SocketException: Resource
> temporarily unavailable: Resource temporarily unavailable
>
As Greg says, this is a socket bug in the current JDK port. I have included
a description of this problem on my web site:

  http://web.inter.nl.net/users/kjkoster/java/index.html

Click on the heading "java.net.SocketException: Resource temporarily
unavailable" in the left bar. This will show you how to reproduce the
problem with a very simple echo server, as well as a workaround that limits
the solution space considerably.

The code was provided by Taso Lyristis. Thanks Taso.

> 
> Hope I'm not bothering you too much!
> 
On the contrary. We need all the problem reports we can get. You are very
helpful.

    Kees Jan

==============================================
 You are only young once,
      but you can stay immature all your life


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15  0:29:15 2000
Delivered-To: freebsd-java@freebsd.org
Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8])
	by hub.freebsd.org (Postfix) with ESMTP id E940637B58F
	for <freebsd-java@freebsd.org>; Mon, 15 May 2000 00:29:11 -0700 (PDT)
	(envelope-from K.J.Koster@kpn.com)
Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204])
 by research.kpn.com (PMDF V5.2-31 #42699)
 with ESMTP id <01JPFA4AM0FG0002EF@research.kpn.com> for
 freebsd-java@freebsd.org; Mon, 15 May 2000 09:29:08 +0200
Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21)
	id <KC7MMRC2>; Mon, 15 May 2000 09:29:05 +0100
Content-return: allowed
Date: Mon, 15 May 2000 09:29:04 +0100
From: "Koster, K.J." <K.J.Koster@kpn.com>
Subject: FW: Motif goes open source
To: 'FreeBSD Java mailing list' <freebsd-java@freebsd.org>
Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7508@l04.research.kpn.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-type: text/plain;	charset="iso-8859-1"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Ah, that's one legal stumbling block crumbling up.

    Kees Jan

==============================================
 You are only young once,
      but you can stay immature all your life

-----Original Message-----
From: Bob Bishop [mailto:rb@gid.co.uk] 
Sent: maandag 15 mei 2000 8:10
To: hackers@FreeBSD.ORG
Subject: Motif goes open source


"The Open Group, a vendor and technology-neutral consortium dedicated to 
enterprise integration, announced today that it is releasing the source 
code of Motif, using a public license, to the Open Source community."

Full details at http://www.opengroup.org/openmotif

--
Bob Bishop		    +44 118 977 4017
rb@gid.co.uk		fax +44 118 989 4254 (0800-1800 UK)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15 10:35:22 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ns.rim.or.jp (ns.rim.or.jp [202.247.128.2])
	by hub.freebsd.org (Postfix) with ESMTP id 3572D37B623
	for <freebsd-java@FreeBSD.ORG>; Mon, 15 May 2000 10:35:18 -0700 (PDT)
	(envelope-from kumabu@t3.rim.or.jp)
Received: from rayearth.rim.or.jp (uucp@rayearth.rim.or.jp [202.247.130.242])
	by ns.rim.or.jp (8.9.3/3.6W-RIMNET-98-06-09) with ESMTP id CAA03255
	for <freebsd-java@FreeBSD.ORG>; Tue, 16 May 2000 02:35:13 +0900 (JST)
Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.8/3.5Wpl2-uucp1/RIMNET) with UUCP
	id CAA08465 for freebsd-java@FreeBSD.ORG; Tue, 16 May 2000 02:35:12 +0900 (JST)
Received: from localhost (localhost [127.0.0.1]) by red.snark.rim.or.jp (8.9.3/3.5Wpl7-98011205) with ESMTP id CAA08111 for <freebsd-java@FreeBSD.ORG>; Tue, 16 May 2000 02:31:21 +0900 (JST)
To: freebsd-java@FreeBSD.ORG
Subject: RE: Socket read problem in 1.2.2?
From: "Shin'ya Kumabuchi" <kumabu@t3.rim.or.jp>
In-Reply-To: Your message of "Sun, 14 May 2000 15:54:07 +0100"
	<59063B5B4D98D311BC0D0001FA7E4522026D7503@l04.research.kpn.com>
References: <59063B5B4D98D311BC0D0001FA7E4522026D7503@l04.research.kpn.com>
X-Mailer: Mew version 1.93 on Emacs 20.4 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Tue_May_16_02:31:15_2000_809)--"
Content-Transfer-Encoding: 7bit
Message-Id: <20000516023120B.kumabu@t3.rim.or.jp>
Date: Tue, 16 May 2000 02:31:20 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 111
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

----Next_Part(Tue_May_16_02:31:15_2000_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi.

Koster, K J wrote:
  >> HANDLER THREAD PROBLEM: java.net.SocketException: Resource
  >> temporarily unavailable: Resource temporarily unavailable
  >> 
> As Greg says, this is a socket bug in the current JDK port. I have included
> a description of this problem on my web site:

>   http://web.inter.nl.net/users/kjkoster/java/index.html

Try attached patch. (for patchset 7)

Summary:
   There's two kinds of file flags, one is system(OS) level's and the
   other is green thread's.
   Patchset 7 uses fcntl(2) system call directly for F_{GET,SET}FL,
   and this makes status of green thread's file flag incorrect in some
   cases.

In addition, I changed file flags from FXXX to O_XXX, since
/usr/include/sys/fcntl.h says
 * Open/fcntl flags begin with O_; kernel-internal flags begin with F.

Regards.
--

----Next_Part(Tue_May_16_02:31:15_2000_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=iomgr.c.patch

--- src/freebsd/hpi/green_threads/src/iomgr.c.~1~	Mon May 15 14:07:41 2000
+++ src/freebsd/hpi/green_threads/src/iomgr.c	Mon May 15 22:10:29 2000
@@ -567,18 +567,15 @@
 	/* if it's already non-blocking, do nothing... */
 #ifdef __FreeBSD__
 	struct stat inode;
-	if ((flgs = (*systable[SYS_FCNTL].addr)(desc, F_GETFL, 0)) == -1) {
-	  err:
-#else
-	if ((flgs = fcntl(desc, F_GETFL, 0)) == -1) {
 #endif
+	if ((flgs = fcntl(desc, F_GETFL, 0)) == -1) {
 	    IO_UNLOCK(self);
 	    sysMonitorExit(self, fdmon[desc]);
 	    return -1;
 	}
 
 #ifdef __FreeBSD__
-	if (flgs & (FNONBLOCK|FASYNC)) {
+	if (flgs & (O_NONBLOCK | O_ASYNC)) {
 #else
 	if (flgs & O_NONBLOCK) {
 #endif
@@ -592,7 +589,7 @@
 	     * Make the fd non-blocking for use by the wrappers
 	     */
 #ifdef __FreeBSD__
-	    systable[SYS_FCNTL].addr(desc, F_SETFL, flgs | FNONBLOCK|FASYNC);
+	    systable[SYS_FCNTL].addr(desc, F_SETFL, flgs | O_NONBLOCK | O_ASYNC);
 #else
 	    systable[SYS_FCNTL].addr(desc, F_SETFL, flgs | O_NONBLOCK);
 #endif
@@ -617,18 +614,14 @@
 	 * If it's already blocking, do nothing... 
 	 * otherwise make fd blocking.
 	 */
-#ifdef __FreeBSD__
-	if ((flgs = systable[SYS_FCNTL].addr(desc, F_GETFL, 0)) == -1) {
-#else
 	if ((flgs = fcntl(desc, F_GETFL, 0)) == -1) {
-#endif
 	    IO_UNLOCK(self);
 	    sysMonitorExit(self, fdmon[desc]);
 	    return -1;
 	}
 
 #ifdef __FreeBSD__
-	systable[SYS_FCNTL].addr(desc, F_SETFL, flgs & ~(FNONBLOCK|FASYNC));
+	fcntl(desc, F_SETFL, flgs & ~(O_NONBLOCK | O_ASYNC));
 	systable[SYS_FCNTL].addr(desc, F_SETOWN, 0);
 #else
 	fcntl(desc, F_SETFL, flgs & ~O_NONBLOCK);
@@ -2153,7 +2146,7 @@
 	 * to be non-blocking by adding O_NONBLOCK to the flags.
 	 */
 #ifdef __FreeBSD__
-	arg |= FNONBLOCK|FASYNC;
+	arg |= (O_NONBLOCK | O_ASYNC);
 #else
 	arg |= O_NONBLOCK;
 #endif
@@ -2188,7 +2181,11 @@
 	 * state and not ours.  
 	 */
 	if (!(fd_flags[fd] & FD_NONBLOCKING))
+#ifdef __FreeBSD__
+	    ret &= ~(O_NONBLOCK | O_ASYNC);
+#else
 	    ret &= ~O_NONBLOCK;
+#endif
     }
 
     IO_UNLOCK(self);

----Next_Part(Tue_May_16_02:31:15_2000_809)----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15 12:31:35 2000
Delivered-To: freebsd-java@freebsd.org
Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10])
	by hub.freebsd.org (Postfix) with ESMTP id 019E637B658
	for <freebsd-java@freebsd.org>; Mon, 15 May 2000 12:31:31 -0700 (PDT)
	(envelope-from jhopkins@rtci.com)
Received: from rtci.com (zags@shrink [208.11.244.10])
	by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id PAA55792
	for <freebsd-java@freebsd.org>; Mon, 15 May 2000 15:31:29 -0400 (EDT)
	(envelope-from jhopkins@rtci.com)
Message-ID: <39205091.13CC7D32@rtci.com>
Date: Mon, 15 May 2000 15:31:29 -0400
From: Jeremy Hopkins <jhopkins@rtci.com>
Organization: Research Triangle Commerce, Inc.
X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 5.0-CURRENT i386)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-java@freebsd.org
Subject: Installing jdk1.2.2 on FreeBSD 3.4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I am in the process of trying to get jdk1.2.2 running on a FreeBSD
3.4-STABLE machine.  I am following the suggested guideline located at
http://web.inter.nl.net/users/kjkoster/java/index.html
I have the following already installed. taken from pkg_info

dgs-000510          A display ghostscript system
lesstif-0.90.0      API compatible clone of the Motif toolkit
linux-jdk-1.2.2     Blackdown Linux Java Developers Kit 1.2.2
linux_base-6.1      The base set of packages needed in Linux mode
gmake-3.79          GNU version of 'make' utility
m4-1.4              GNU's m4
unixODBC-1.8.7      An ODBC implementation for Unix

I am stumped when starting to unpack and apply patches. the documents I
have found call coppying the solaris source to a freebsd directory i
made.  Where is the solaris directory I am supposed to be copying? Here
are the directions i am supposed to be following.

% ( cd work; zcat ../jdk1.2.2-src.tar.gz | tar xvf - )

Next, copy the Solaris source directories to the FreeBSD ones. The
solaris source serves as a basis for the FreeBSD build. The patches will
make them FreeBSD-specific.

% ( cd work/build; cp -R solaris freebsd )
% ( cd work/src; cp -R solaris freebsd )



I do the cd work and untar the source and i am left with a jdk1.2.2
directory in my work directory, but I have no build,src, or solaris
directories or anything that looks close.  

What am I missing here?  Thanks for the help.

Jeremy

-- 
*************************************************************************************** 
Jeremy Hopkins		   	|| 	Systems Administrator
http://zags.infopsyc.com/ 	||	Research Triangle Commerce, Inc.
zags@infopsyc.com	 	|| 	http://www.rtci.com
				||	jhopkins@rtci.com
***************************************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15 14:27:46 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5])
	by hub.freebsd.org (Postfix) with ESMTP id A3A2637B882
	for <freebsd-java@FreeBSD.ORG>; Mon, 15 May 2000 14:27:41 -0700 (PDT)
	(envelope-from glewis@ares.trc.adelaide.edu.au)
Received: (from glewis@localhost)
	by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id GAA27366;
	Tue, 16 May 2000 06:57:26 +0930 (CST)
	(envelope-from glewis)
From: Greg Lewis <glewis@trc.adelaide.edu.au>
Message-Id: <200005152127.GAA27366@ares.trc.adelaide.edu.au>
Subject: Re: Installing jdk1.2.2 on FreeBSD 3.4
In-Reply-To: <39205091.13CC7D32@rtci.com> from Jeremy Hopkins at "May 15, 2000
 03:31:29 pm"
To: Jeremy Hopkins <jhopkins@rtci.com>
Date: Tue, 16 May 2000 06:57:26 +0930 (CST)
Cc: freebsd-java@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL70 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Jeremy Hopkins wrote:
> I am stumped when starting to unpack and apply patches. the documents I
> have found call coppying the solaris source to a freebsd directory i
> made.  Where is the solaris directory I am supposed to be copying? Here
> are the directions i am supposed to be following.
> 
> % ( cd work; zcat ../jdk1.2.2-src.tar.gz | tar xvf - )
> 
> Next, copy the Solaris source directories to the FreeBSD ones. The
> solaris source serves as a basis for the FreeBSD build. The patches will
> make them FreeBSD-specific.
> 
> % ( cd work/build; cp -R solaris freebsd )
> % ( cd work/src; cp -R solaris freebsd )
> 
> I do the cd work and untar the source and i am left with a jdk1.2.2
> directory in my work directory, but I have no build,src, or solaris
> directories or anything that looks close.  
> 
> What am I missing here?  Thanks for the help.

When did you get your source code from Sun and whats inside the jdk1.2.2 
directory tou are left with?

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15 15:29:43 2000
Delivered-To: freebsd-java@freebsd.org
Received: from mercury.nildram.co.uk (mercury.nildram.co.uk [195.112.4.37])
	by hub.freebsd.org (Postfix) with ESMTP id 14B9337B553
	for <java@freebsd.org>; Mon, 15 May 2000 15:29:36 -0700 (PDT)
	(envelope-from freebsd@timog.prestel.co.uk)
Received: from nermal.unix-consult.com (tgeusch.dial.nildram.co.uk [195.149.29.39])
	by mercury.nildram.co.uk (8.10.0/8.10.0.Beta10) with ESMTP id e4FLadh04741
	for <java@freebsd.org>; Mon, 15 May 2000 22:36:39 +0100
Received: (qmail 40372 invoked by uid 1002); 15 May 2000 20:46:44 -0000
Date: Mon, 15 May 2000 21:46:43 +0100
From: Timo Geusch <freebsd@unix-consult.com>
To: Jeremy Hopkins <jhopkins@rtci.com>
Cc: java@freebsd.org
Subject: Re: Installing jdk1.2.2 on FreeBSD 3.4
Message-ID: <20000515214643.A40347@nermal.unix-consult.com>
References: <39205091.13CC7D32@rtci.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <39205091.13CC7D32@rtci.com>; from jhopkins@rtci.com on Mon, May 15, 2000 at 03:31:29PM -0400
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, May 15, 2000 at 03:31:29PM -0400, Jeremy Hopkins wrote:
> I am stumped when starting to unpack and apply patches. the documents I
> have found call coppying the solaris source to a freebsd directory i
> made.  Where is the solaris directory I am supposed to be copying? Here
> are the directions i am supposed to be following.
> 
> % ( cd work; zcat ../jdk1.2.2-src.tar.gz | tar xvf - )
> 
> Next, copy the Solaris source directories to the FreeBSD ones. The
> solaris source serves as a basis for the FreeBSD build. The patches will
> make them FreeBSD-specific.
> 
> % ( cd work/build; cp -R solaris freebsd )
> % ( cd work/src; cp -R solaris freebsd )

These lines are the problem - if you change into your jdk1.2.2 directory
that you mention you should see both build and src directories.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15 20:54: 6 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5])
	by hub.freebsd.org (Postfix) with ESMTP id 6DEE037BA22
	for <freebsd-java@FreeBSD.ORG>; Mon, 15 May 2000 20:54:02 -0700 (PDT)
	(envelope-from glewis@ares.trc.adelaide.edu.au)
Received: (from glewis@localhost)
	by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id NAA05542;
	Tue, 16 May 2000 13:23:55 +0930 (CST)
	(envelope-from glewis)
From: Greg Lewis <glewis@trc.adelaide.edu.au>
Message-Id: <200005160353.NAA05542@ares.trc.adelaide.edu.au>
Subject: Re: Socket read problem in 1.2.2?
In-Reply-To: <20000516023120B.kumabu@t3.rim.or.jp> from "Shin'ya Kumabuchi" at
 "May 16, 2000 02:31:20 am"
To: "Shin'ya Kumabuchi" <kumabu@t3.rim.or.jp>
Date: Tue, 16 May 2000 13:23:55 +0930 (CST)
Cc: freebsd-java@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL70 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Shin'ya Kumabuchi wrote:
> Koster, K J wrote:
>   >> HANDLER THREAD PROBLEM: java.net.SocketException: Resource
>   >> temporarily unavailable: Resource temporarily unavailable
>   >> 
> > As Greg says, this is a socket bug in the current JDK port. I have included
> > a description of this problem on my web site:
> 
> >   http://web.inter.nl.net/users/kjkoster/java/index.html
> 
> Try attached patch. (for patchset 7)

Excellent!  Thank you Shin'ya-san!

This works for me with the small test case for the bug that was posted here
previously.  This has to mean we are close to patchset 8 (but my work trip
might delay it till the weekend).

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Mon May 15 21: 3:45 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5])
	by hub.freebsd.org (Postfix) with ESMTP id DA1E137B9E4
	for <freebsd-java@FreeBSD.ORG>; Mon, 15 May 2000 21:03:39 -0700 (PDT)
	(envelope-from glewis@ares.trc.adelaide.edu.au)
Received: (from glewis@localhost)
	by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id NAA05627;
	Tue, 16 May 2000 13:33:29 +0930 (CST)
	(envelope-from glewis)
From: Greg Lewis <glewis@trc.adelaide.edu.au>
Message-Id: <200005160403.NAA05627@ares.trc.adelaide.edu.au>
Subject: Re: FW: Motif goes open source
In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7508@l04.research.kpn.com>
 from "Koster, K.J." at "May 15, 2000 09:29:04 am"
To: "Koster, K.J." <K.J.Koster@kpn.com>
Date: Tue, 16 May 2000 13:33:29 +0930 (CST)
Cc: "'FreeBSD Java mailing list'" <freebsd-java@FreeBSD.ORG>
X-Mailer: ELM [version 2.4ME+ PL70 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Koster, K.J. wrote:
> Ah, that's one legal stumbling block crumbling up.

Hopefully anyway...am reading through the license to see if we can use it 
with the JDK.  It looks like the answer is yes from reading the FAQ, but we
need to wade through the legalese to make sure.

Of course, there is also the question of getting it to build on FreeBSD
(I'm sucking it down to try and determine this).

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  0: 7: 2 2000
Delivered-To: freebsd-java@freebsd.org
Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8])
	by hub.freebsd.org (Postfix) with ESMTP id 388B137B858
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 00:06:58 -0700 (PDT)
	(envelope-from K.J.Koster@kpn.com)
Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204])
 by research.kpn.com (PMDF V5.2-31 #42699)
 with ESMTP id <01JPGNM4KSKQ0002CG@research.kpn.com> for
 freebsd-java@freebsd.org; Tue, 16 May 2000 09:06:56 +0200
Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21)
	id <KC7MMY74>; Tue, 16 May 2000 09:06:52 +0100
Content-return: allowed
Date: Tue, 16 May 2000 09:06:44 +0100
From: "Koster, K.J." <K.J.Koster@kpn.com>
Subject: RE: Installing jdk1.2.2 on FreeBSD 3.4
To: 'Jeremy Hopkins' <jhopkins@rtci.com>,
	'FreeBSD Java mailing list' <freebsd-java@freebsd.org>
Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7523@l04.research.kpn.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-type: text/plain;	charset="iso-8859-1"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> 
> I do the cd work and untar the source and i am left with a jdk1.2.2
> directory in my work directory, but I have no build,src, or solaris
> directories or anything that looks close.  
> 
From this description, I gather that you have downloaded the wrong thing.

In my own source-jdk1.2.2 directory, I do the following:

bash-2.03$ ls -l jdk1.2.2-src.tar.gz 
-rw-r--r--  1 kjkoster  nis  19742229 May 15 07:40 jdk1.2.2-src.tar.gz
bash-2.03$ ls -l work
total 426
-rw-r--r--  1 kjkoster  nis    1604 May 25  1999 LegalReadme.html
-rw-r--r--  1 kjkoster  nis  399916 Jul  8  1999 OriginalCode.txt
-rw-r--r--  1 kjkoster  nis   19581 May 25  1999 README.html
drwxr-xr-x  6 kjkoster  nis     512 May 15 07:45 build
drwxr-xr-x  4 kjkoster  nis     512 Jul  8  1999 ext
drwxr-xr-x  6 kjkoster  nis     512 May 15 07:45 src
-rw-r--r--  1 kjkoster  nis     973 Jun 28  1999 zipnote

If this is not what you're seeing, let me know.

    Kees Jan

==============================================
 You are only young once,
      but you can stay immature all your life


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  0:18:13 2000
Delivered-To: freebsd-java@freebsd.org
Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32])
	by hub.freebsd.org (Postfix) with ESMTP id C336437BA50
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 00:18:10 -0700 (PDT)
	(envelope-from runge@rostock.zgdv.de)
Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145])
          by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6)
           with ESMTP id AAA53B4 for <freebsd-java@freebsd.org>;
          Tue, 16 May 2000 09:17:55 +0200
Message-ID: <3920F6B0.9E1DFD37@rostock.zgdv.de>
Date: Tue, 16 May 2000 09:20:16 +0200
From: Thomas Runge <runge@rostock.zgdv.de>
X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386)
X-Accept-Language: en, de
MIME-Version: 1.0
To: freebsd-java@freebsd.org
Subject: Motif and wchar's
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Well, after some tweaking motif compiles quite fine on my
FreeBSD 4 box.
Unfortunately, we don't have wchar-functions in libc and
I get link errors coming from TextF.c regarding:
wcschr, wcscpy, wcscat, wcslen, wcsncat. I know, these functions
are in glibc, why don't we have that?

And how can we solve that problem right now?

-- 
Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  0:53:23 2000
Delivered-To: freebsd-java@freebsd.org
Received: from naboo.ethz.ch (naboo.ethz.ch [129.132.71.62])
	by hub.freebsd.org (Postfix) with ESMTP id 1E26F37B58E
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 00:53:17 -0700 (PDT)
	(envelope-from carlo@vis.ethz.ch)
Received: by naboo.ethz.ch (Postfix, from userid 224)
	id 16BB0275B6; Tue, 16 May 2000 09:53:15 +0200 (CEST)
Subject: Re: Motif and wchar's
To: runge@rostock.zgdv.de (Thomas Runge)
Date: Tue, 16 May 2000 09:53:15 +0200 (CEST)
Cc: freebsd-java@freebsd.org
In-Reply-To: <3920F6B0.9E1DFD37@rostock.zgdv.de> from "Thomas Runge" at May 16, 2000 09:20:16 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000516075315.16BB0275B6@naboo.ethz.ch>
From: carlo@vis.ethz.ch (Carlo Dapor)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Dear Thomas

> I get link errors coming from TextF.c regarding:
> wcschr, wcscpy, wcscat, wcslen, wcsncat. I know, these functions
> are in glibc, why don't we have that?
> 
> And how can we solve that problem right now?

The sources of jikes (IBM's Open Source java compiler) include a working
way to have libc5 systems enable wchar functions. All is done in config.cpp
when defining USE_LIBC5 or something. Do panic, the functions are written in
plain C, despite the fact that they are in a C++ source file.

This is not THE solution, but as a work-around, extract the functions, save them
in wchar.c and don't forget to include libc5-fix.h (or similar) and You should be
fine.

Have a look at http://www10.software.ibm.com/developerworks/opensource/jikes/project/

Ciao, derweil,
--
Carlo


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  0:59:35 2000
Delivered-To: freebsd-java@freebsd.org
Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121])
	by hub.freebsd.org (Postfix) with ESMTP id 77DBA37B5BE
	for <freebsd-java@FreeBSD.ORG>; Tue, 16 May 2000 00:59:32 -0700 (PDT)
	(envelope-from narvi@haldjas.folklore.ee)
Received: from localhost (narvi@localhost)
	by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id JAA58068;
	Tue, 16 May 2000 09:59:27 +0200 (EET)
	(envelope-from narvi@haldjas.folklore.ee)
Date: Tue, 16 May 2000 09:59:27 +0200 (EET)
From: Narvi <narvi@haldjas.folklore.ee>
To: Thomas Runge <runge@rostock.zgdv.de>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: Motif and wchar's
In-Reply-To: <3920F6B0.9E1DFD37@rostock.zgdv.de>
Message-ID: <Pine.BSF.3.96.1000516095750.5152O-100000@haldjas.folklore.ee>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


On Tue, 16 May 2000, Thomas Runge wrote:

> 
> Well, after some tweaking motif compiles quite fine on my
> FreeBSD 4 box.
> Unfortunately, we don't have wchar-functions in libc and
> I get link errors coming from TextF.c regarding:
> wcschr, wcscpy, wcscat, wcslen, wcsncat. I know, these functions
> are in glibc, why don't we have that?
> 
> And how can we solve that problem right now?
> 

Make a header file that converts our "rune" system to wchar?

> -- 
> Tom
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  2:17:51 2000
Delivered-To: freebsd-java@freebsd.org
Received: from rzmail.uni-trier.de (dns.uni-trier.de [136.199.8.101])
	by hub.freebsd.org (Postfix) with ESMTP id 48BEB37B738
	for <freebsd-java@FreeBSD.ORG>; Tue, 16 May 2000 02:17:47 -0700 (PDT)
	(envelope-from blank@uni-trier.de)
Received: from blank.uni-trier.de (rzppp-79.uni-trier.de [136.199.4.79])
	by rzmail.uni-trier.de (8.9.3+Sun/8.9.3) with ESMTP id LAA08800;
	Tue, 16 May 2000 11:17:44 +0200 (MET DST)
Received: by blank.uni-trier.de (Postfix, from userid 1000)
	id B681B5E99; Tue, 16 May 2000 11:17:44 +0200 (CEST)
Date: Tue, 16 May 2000 11:17:44 +0200
From: Sascha Blank <blank@uni-trier.de>
To: Thomas Runge <runge@rostock.zgdv.de>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: Motif and wchar's
Message-ID: <20000516111744.A15749@blank.uni-trier.de>
References: <3920F6B0.9E1DFD37@rostock.zgdv.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <3920F6B0.9E1DFD37@rostock.zgdv.de>; from runge@rostock.zgdv.de on Tue, May 16, 2000 at 09:20:16AM +0200
Organization: Computer Center of the University of Trier, Germany
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hello,

On Tue, May 16, 2000 at 09:20:16AM +0200, Thomas Runge wrote:
> Well, after some tweaking motif compiles quite fine on my
> FreeBSD 4 box.
> Unfortunately, we don't have wchar-functions in libc and
> I get link errors coming from TextF.c regarding:
> wcschr, wcscpy, wcscat, wcslen, wcsncat. I know, these functions
> are in glibc, why don't we have that?
> 
> And how can we solve that problem right now?

There's a "wchar" implementation available on
http://www.cs.rpi.edu/~crossd/FreeBSD/wcs-19990606.tar.gz

I have tried it myself and it works as expected, meaning that I was able
to successfully link a Motif program.

-- 
             Sascha Blank            | FreeBSD -
   Student and System Administrator  |     that's where you want to go today!
 at the University of Trier, Germany | 
    mailto:blank@fox.uni-trier.de    | See http://www.freebsd.org for details


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  4:30:14 2000
Delivered-To: freebsd-java@freebsd.org
Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32])
	by hub.freebsd.org (Postfix) with ESMTP id 4426C37B84D
	for <freebsd-java@FreeBSD.ORG>; Tue, 16 May 2000 04:30:09 -0700 (PDT)
	(envelope-from runge@rostock.zgdv.de)
Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145])
          by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6)
           with ESMTP id AAA5F51 for <freebsd-java@FreeBSD.ORG>;
          Tue, 16 May 2000 13:30:03 +0200
Message-ID: <392131C8.5CF7069E@rostock.zgdv.de>
Date: Tue, 16 May 2000 13:32:24 +0200
From: Thomas Runge <runge@rostock.zgdv.de>
X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386)
X-Accept-Language: en, de
MIME-Version: 1.0
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: Motif and wchar's
References: <3920F6B0.9E1DFD37@rostock.zgdv.de> <20000516111744.A15749@blank.uni-trier.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Sascha Blank wrote:

> There's a "wchar" implementation available on
> http://www.cs.rpi.edu/~crossd/FreeBSD/wcs-19990606.tar.gz

Cool! Thats exactly what I was looking for! Thank you! :-)

-- 
Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  5:23: 2 2000
Delivered-To: freebsd-java@freebsd.org
Received: from relay01.chello.nl (smtp.chello.nl [212.83.68.144])
	by hub.freebsd.org (Postfix) with ESMTP id B838C37B700
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 05:22:54 -0700 (PDT)
	(envelope-from ernst@jollem.com)
Received: from jollem.com ([212.187.104.187]) by relay01.chello.nl
          (InterMail vK.4.02.00.00 201-232-116 license 2ee4e7c625482f2f2a1950a80f6c8d58)
          with ESMTP id <20000516122319.YUXS19755.relay01@jollem.com>;
          Tue, 16 May 2000 14:23:19 +0200
Message-ID: <39213D9D.105D2B70@jollem.com>
Date: Tue, 16 May 2000 14:22:53 +0200
From: Ernst de Haan <ernst@jollem.com>
Organization: Jollem
X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386)
X-Accept-Language: en, nl
MIME-Version: 1.0
To: FreeBSD Java mailing list <freebsd-java@freebsd.org>
Subject: J2EE on FreeBSD
Content-Type: multipart/mixed;
 boundary="------------5CD922998B890E276A569EC0"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

This is a multi-part message in MIME format.
--------------5CD922998B890E276A569EC0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,


Is ne1 else using J2EE on FreeBSD? I am currently setting up Orion
(http://www.orionserver.com/), writing an `Orion Primer' and writing a
decent generic Makefile.

If you have an application server that supports EJB working on FreeBSD,
please let me know. If you would like to hear my experiences, and perhaps
help with the Orion Primer, let me know :)

http://www.znerd.demon.nl/orion-primer/


Ernst
--
Ernst de Haan
Freelance Java Architect

"Come to me all who are weary and burdened,
and I will give you rest" -- Jesus Christ
--------------5CD922998B890E276A569EC0
Content-Type: text/x-vcard; charset=us-ascii;
 name="ernst.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ernst de Haan
Content-Disposition: attachment;
 filename="ernst.vcf"

begin:vcard 
n:de Haan;Ernst
tel;fax:+31 (0)26 3645634
tel;work:+31 (0)26 3623895
x-mozilla-html:FALSE
url:http://www.znerd.demon.nl/
org:Jollem
adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands
version:2.1
email;internet:ernst@jollem.com
title:Java Architect
fn:Ernst de Haan
end:vcard

--------------5CD922998B890E276A569EC0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  7:19:32 2000
Delivered-To: freebsd-java@freebsd.org
Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10])
	by hub.freebsd.org (Postfix) with ESMTP id AD5C137B93A
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 07:19:23 -0700 (PDT)
	(envelope-from jhopkins@rtci.com)
Received: from rtci.com (zags@shrink [208.11.244.10])
	by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id KAA57501;
	Tue, 16 May 2000 10:19:05 -0400 (EDT)
	(envelope-from jhopkins@rtci.com)
Message-ID: <392158D9.50322BD8@rtci.com>
Date: Tue, 16 May 2000 10:19:05 -0400
From: Jeremy Hopkins <jhopkins@rtci.com>
Organization: Research Triangle Commerce, Inc.
X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 5.0-CURRENT i386)
X-Accept-Language: en
MIME-Version: 1.0
To: "Koster, K.J." <K.J.Koster@kpn.com>
Cc: "'FreeBSD Java mailing list'" <freebsd-java@freebsd.org>,
	freebsd@unix-consult.com, glewis@trc.adelaide.edu.au
Subject: Re: Installing jdk1.2.2 on FreeBSD 3.4
References: <59063B5B4D98D311BC0D0001FA7E4522026D7523@l04.research.kpn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

"Koster, K.J." wrote:
> 
> >
> > I do the cd work and untar the source and i am left with a jdk1.2.2
> > directory in my work directory, but I have no build,src, or solaris
> > directories or anything that looks close.
> >
> >From this description, I gather that you have downloaded the wrong thing.

I believe you are correct. I was thinking i may not have the correct
source file.

> 
> In my own source-jdk1.2.2 directory, I do the following:
> 
> bash-2.03$ ls -l jdk1.2.2-src.tar.gz
> -rw-r--r--  1 kjkoster  nis  19742229 May 15 07:40 jdk1.2.2-src.tar.gz

Where did you download this file? I looked and looked with no luck. The
closest anyone ever really says is from sun's website. I couldn't find
it there though.

> bash-2.03$ ls -l work
> total 426
> -rw-r--r--  1 kjkoster  nis    1604 May 25  1999 LegalReadme.html
> -rw-r--r--  1 kjkoster  nis  399916 Jul  8  1999 OriginalCode.txt
> -rw-r--r--  1 kjkoster  nis   19581 May 25  1999 README.html
> drwxr-xr-x  6 kjkoster  nis     512 May 15 07:45 build
> drwxr-xr-x  4 kjkoster  nis     512 Jul  8  1999 ext
> drwxr-xr-x  6 kjkoster  nis     512 May 15 07:45 src
> -rw-r--r--  1 kjkoster  nis     973 Jun 28  1999 zipnote
> 
> If this is not what you're seeing, let me know.

I downloaded my file from sun on May 11.
In my source-jdk1.2. directory i'll repeat your steps similar to yours.

please note. in the following my reference to ../src is a directory i
made with my jdk source files in them. 

root@greyling (~/tmp/source-jdk1.2.2)$ ls -al ../src/jdk*gz
-rw-r--r--  1 jhopkins  wheel  21580986 May 11 15:00
../src/jdk1.2.2-linux-i386.tar.gz
root@greyling (~/tmp/source-jdk1.2.2)$ ls -l work/
total 1
drwxr-sr-x  8 root  wheel  512 May 16 09:59 jdk1.2.2
root@greyling (~/tmp/source-jdk1.2.2)$ ls -l work/jdk1.2.2/
total 4327
-rw-r--r--  1 root  wheel     4735 Jan 12 20:46 CHANGES
-r--r--r--  1 root  wheel      925 Jan 12 17:14 COPYRIGHT
-r--r--r--  1 root  wheel     8436 Jan 12 17:14 LICENSE
-r--r--r--  1 root  wheel    19065 Jan 12 17:14 README
-r--r--r--  1 root  wheel    23545 Jan 12 17:14 README.html
drwxr-sr-x  3 root  wheel      512 Jan 12 21:32 bin
drwxr-sr-x  4 root  wheel      512 Jan 12 20:57 demo
drwxr-sr-x  3 root  wheel      512 Jan 12 20:58 include
drwxr-sr-x  3 root  wheel     1024 Jan 12 20:58 include-old
drwxr-sr-x  4 root  wheel      512 Jan 12 20:54 jre
drwxr-sr-x  3 root  wheel      512 Jan 12 21:31 lib
-rw-r--r--  1 root  wheel  4357739 Jan 12 21:09 src.jar


I am almost certain I have the wrong darn file. 

Jeremy


-- 
*************************************************************************************** 
Jeremy Hopkins		   	|| 	Systems Administrator
http://zags.infopsyc.com/ 	||	Research Triangle Commerce, Inc.
zags@infopsyc.com	 	|| 	http://www.rtci.com
				||	jhopkins@rtci.com
***************************************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  7:26:12 2000
Delivered-To: freebsd-java@freebsd.org
Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8])
	by hub.freebsd.org (Postfix) with ESMTP id 7444737B93A
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 07:26:10 -0700 (PDT)
	(envelope-from K.J.Koster@kpn.com)
Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204])
 by research.kpn.com (PMDF V5.2-31 #42699)
 with ESMTP id <01JPH2YN9JKM00022S@research.kpn.com> for
 freebsd-java@freebsd.org; Tue, 16 May 2000 16:26:08 +0200
Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21)
	id <KC7MM88H>; Tue, 16 May 2000 16:26:04 +0100
Content-return: allowed
Date: Tue, 16 May 2000 16:25:58 +0100
From: "Koster, K.J." <K.J.Koster@kpn.com>
Subject: RE: Installing jdk1.2.2 on FreeBSD 3.4
To: 'Jeremy Hopkins' <jhopkins@rtci.com>
Cc: 'FreeBSD Java mailing list' <freebsd-java@freebsd.org>
Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7537@l04.research.kpn.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-type: text/plain;	charset="iso-8859-1"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

>
> ../src/jdk1.2.2-linux-i386.tar.gz
                  ^^^^^
> 
> I am almost certain I have the wrong darn file. 
> 
You do inded. Luckily, that's easily fixed:

  http://www.sun.com/software/java2/download.html

Make sure you download the top one of the three: Java 2 SDK 1.2.2 for
Solaris and Windows NT. *NOT* the source code for Linux!

I've just updated my website. I'm glad :) you had this problem, so that
others will not.

    Kees Jan

==============================================
 You are only young once,
      but you can stay immature all your life


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16  7:47: 2 2000
Delivered-To: freebsd-java@freebsd.org
Received: from shrink.infopsyc.com (shrink.infopsyc.com [208.11.244.10])
	by hub.freebsd.org (Postfix) with ESMTP id 40C0137B660
	for <freebsd-java@freebsd.org>; Tue, 16 May 2000 07:46:57 -0700 (PDT)
	(envelope-from jhopkins@rtci.com)
Received: from rtci.com (zags@shrink [208.11.244.10])
	by shrink.infopsyc.com (8.9.3/8.9.3) with ESMTP id KAA57658;
	Tue, 16 May 2000 10:46:51 -0400 (EDT)
	(envelope-from jhopkins@rtci.com)
Message-ID: <39215F5B.6694ACED@rtci.com>
Date: Tue, 16 May 2000 10:46:51 -0400
From: Jeremy Hopkins <jhopkins@rtci.com>
Organization: Research Triangle Commerce, Inc.
X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 5.0-CURRENT i386)
X-Accept-Language: en
MIME-Version: 1.0
To: "Koster, K.J." <K.J.Koster@kpn.com>
Cc: freebsd-java@freebsd.org
Subject: Re: Installing jdk1.2.2 on FreeBSD 3.4
References: <59063B5B4D98D311BC0D0001FA7E4522026D7537@l04.research.kpn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

"Koster, K.J." wrote:
> 
> >
> > ../src/jdk1.2.2-linux-i386.tar.gz
>                   ^^^^^
> >
> > I am almost certain I have the wrong darn file.
> >
> You do inded. Luckily, that's easily fixed:
> 
>   http://www.sun.com/software/java2/download.html

Ah, a new page. somehow, i never ran into this one. :)

> 
> Make sure you download the top one of the three: Java 2 SDK 1.2.2 for
> Solaris and Windows NT. *NOT* the source code for Linux!
> 
> I've just updated my website. I'm glad :) you had this problem, so that
> others will not.

Yes, i notice a link now from your page. thank you for that.  
I'm downloading the correct file now.  Thanks again for your help.
Hopefully everything will go smoothly from here.  BTW the freebsd
directories that i am to create. is that just a single directory called
freebsd that i will put everything into or are there a combonation of
directories i need to create.  I may figure this on out on my own when I
have the correct src file untarred.  Thanks again.

Jeremy

-- 
*************************************************************************************** 
Jeremy Hopkins		   	|| 	Systems Administrator
http://zags.infopsyc.com/ 	||	Research Triangle Commerce, Inc.
zags@infopsyc.com	 	|| 	http://www.rtci.com
				||	jhopkins@rtci.com
***************************************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Tue May 16 16:23:34 2000
Delivered-To: freebsd-java@freebsd.org
Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210])
	by hub.freebsd.org (Postfix) with ESMTP id AD7F537B69D
	for <freebsd-java@FreeBSD.ORG>; Tue, 16 May 2000 16:23:27 -0700 (PDT)
	(envelope-from shevlandj@kpi.com.au)
Received: from kpi.com.au (www.kpi.com.au [203.39.132.210])
	by www.kpi.com.au (8.9.3/8.9.3) with ESMTP id IAA11439;
	Wed, 17 May 2000 08:48:26 +1000 (EST)
	(envelope-from shevlandj@kpi.com.au)
Message-ID: <3921D21E.92E5FDF4@kpi.com.au>
Date: Wed, 17 May 2000 08:56:30 +1000
From: Joe Shevland <shevlandj@kpi.com.au>
Organization: KPI Logistics Pty Ltd
X-Mailer: Mozilla 4.72 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Ernst de Haan <ernst@jollem.com>
Cc: FreeBSD Java mailing list <freebsd-java@FreeBSD.ORG>
Subject: Re: J2EE on FreeBSD
References: <39213D9D.105D2B70@jollem.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi Ernst,

Have you looked at jBoss? http://www.ejboss.org

This project has support for 1.2.2, though it prefers 1.3. I've yet to have
this running under FreeBSD and the latest patchset, though it should be
OK. Famous last words perhaps :)

Regards,
Joe

Ernst de Haan wrote:
> 
> Hi,
> 
> Is ne1 else using J2EE on FreeBSD? I am currently setting up Orion
> (http://www.orionserver.com/), writing an `Orion Primer' and writing a
> decent generic Makefile.
> 
> If you have an application server that supports EJB working on FreeBSD,
> please let me know. If you would like to hear my experiences, and perhaps
> help with the Orion Primer, let me know :)
> 
> http://www.znerd.demon.nl/orion-primer/
> 
> Ernst
> --
> Ernst de Haan
> Freelance Java Architect
> 
> "Come to me all who are weary and burdened,
> and I will give you rest" -- Jesus Christ

-- 
Joe Shevland
Principal Consultant
KPI Logistics Pty Ltd
http://www.kpi.com.au
mailto:shevlandj@kpi.com.au

"I don't have any solution but I certainly admire the problem."
                -- Ashleigh Brilliant


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Wed May 17 16: 6:22 2000
Delivered-To: freebsd-java@freebsd.org
Received: from relay01.chello.nl (smtp.chello.nl [212.83.68.144])
	by hub.freebsd.org (Postfix) with ESMTP id E092937BAA0
	for <freebsd-java@freebsd.org>; Wed, 17 May 2000 16:06:08 -0700 (PDT)
	(envelope-from ernst@jollem.com)
Received: from jollem.com ([212.187.104.187]) by relay01.chello.nl
          (InterMail vK.4.02.00.00 201-232-116 license 2ee4e7c625482f2f2a1950a80f6c8d58)
          with ESMTP id <20000517230634.MSDB19755.relay01@jollem.com>;
          Thu, 18 May 2000 01:06:34 +0200
Message-ID: <392325E0.72040A2C@jollem.com>
Date: Thu, 18 May 2000 01:06:08 +0200
From: Ernst de Haan <ernst@jollem.com>
Organization: Jollem
X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386)
X-Accept-Language: en, nl
MIME-Version: 1.0
To: FreeBSD Java mailing list <freebsd-java@freebsd.org>
Subject: user.dir setting in JDK for Linux
Content-Type: multipart/mixed;
 boundary="------------6D338D3B9239BE9F2476E8BB"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

This is a multi-part message in MIME format.
--------------6D338D3B9239BE9F2476E8BB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

On my machine the System property "user.dir" has very strange values. I
noticed this, because I started using `Ant' (http://jakarta.apache.org/)
yesterday, and Ant relies on this property. I have packaged up a test case
myself. It is very small and can be downloaded as
http://www.znerd.demon.nl/SysProps.tgz. I have sent a bug report to
Blackdown.

But then I tested the same test case with the Sun JDK, and it gave a
different, but still erroneous result. And then I tried `our' :) FreeBSD
pre-alpha JDK, and guess what? It worked OK! Weeehooo!

So either linux-emu has a bug, or both the Blackdown and Sun/Linux JDK's
have a bug there.

Ernst

--
Ernst de Haan
Freelance Java Architect

"Come to me all who are weary and burdened,
and I will give you rest" -- Jesus Christ
--------------6D338D3B9239BE9F2476E8BB
Content-Type: text/x-vcard; charset=us-ascii;
 name="ernst.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ernst de Haan
Content-Disposition: attachment;
 filename="ernst.vcf"

begin:vcard 
n:de Haan;Ernst
tel;fax:+31 (0)26 3645634
tel;work:+31 (0)26 3623895
x-mozilla-html:FALSE
url:http://www.znerd.demon.nl/
org:Jollem
adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands
version:2.1
email;internet:ernst@jollem.com
title:Java Architect
fn:Ernst de Haan
end:vcard

--------------6D338D3B9239BE9F2476E8BB--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Thu May 18 20:17:15 2000
Delivered-To: freebsd-java@freebsd.org
Received: from seanreilly.com (209-9-223-139.sdsl.cais.net [209.9.223.139])
	by hub.freebsd.org (Postfix) with ESMTP id 634D837BA2F
	for <freebsd-java@freebsd.org>; Thu, 18 May 2000 20:17:11 -0700 (PDT)
	(envelope-from sreilly@seanreilly.com)
Received: from localhost (localhost [127.0.0.1])
	by seanreilly.com (8.9.3/8.9.3) with ESMTP id XAA62023
	for <freebsd-java@freebsd.org>; Thu, 18 May 2000 23:21:33 -0400 (EDT)
	(envelope-from sreilly@seanreilly.com)
Date: Thu, 18 May 2000 23:21:33 -0400 (EDT)
From: Sean Reilly <sreilly@seanreilly.com>
To: freebsd-java@freebsd.org
Subject: problem in 1.1.8
Message-ID: <Pine.BSF.4.10.10005181934260.61564-100000@seanreilly.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


I'm running into a problem on 4.0-RELEASE with the 1.1.8 JDK port. My
program freezes shortly after startup while trying to load an image as a
splash window.  Hitting Ctrl-\ results in the thread dump below.  Is the
X11Graphics.finalize supposed to be called from within String.<init> or am
I reading this wrong?

Any insight as to how I can avoid this is appreciated.

Thanks,
Sean


^\SIGQUIT   3*   quit

Full thread dump:
    "AWT-Finalizer" (TID:0x2869afc8, sys_thread_t:0x29528f00, state:CW)
prio=9
        java.lang.Object.wait(Object.java)
        sun.awt.AWTFinalizer.run(AWTFinalizer.java:40)
    "Image Animator 0" (TID:0x2869aab0, sys_thread_t:0x29507f00, state:MW)
prio=3
        sun.awt.image.ImageDecoder.close(ImageDecoder.java:163)

sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:290)

sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:257)
        sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:143)
        sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
    "AWT-Motif" (TID:0x2868fff0, sys_thread_t:0x294e4f00, state:CW) prio=5
        java.lang.Thread.run(Thread.java)
    "AWT-Input" (TID:0x28690010, sys_thread_t:0x294c3f00, state:CW) prio=5
    "AWT-EventQueue-0" (TID:0x28690028, sys_thread_t:0x294a2f00, state:CW)
prio=5
        java.awt.LightweightDispatcher.dispatchEvent(Container.java:1555)
        java.awt.Container.dispatchEventImpl(Container.java:933)
        java.awt.Window.dispatchEventImpl(Window.java:509)
        java.awt.Component.dispatchEvent(Component.java:1744)
        java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
    "Finalizer thread" (TID:0x2866f210, sys_thread_t:0x29473f00, state:CW)
prio=1
    "Async Garbage Collector" (TID:0x2866f258, sys_thread_t:0x29452f00,
state:CW) prio=1
    "Idle thread" (TID:0x2866f2a0, sys_thread_t:0x29431f00, state:R)
prio=0 *current thread*
    "Clock" (TID:0x2866f088, sys_thread_t:0x29410f00, state:CW) prio=12
    "main" (TID:0x2866f0b0, sys_thread_t:0x8124a00, state:MW) prio=5
        sun.awt.motif.X11Graphics.finalize(X11Graphics.java:109)
        java.lang.String.<init>(String.java)
        java.io.DataInputStream.readUTF(DataInputStream.java)
        java.io.DataInputStream.readUTF(DataInputStream.java)

com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readBankTransaction(MDV5DataReader.java)

com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readTransaction(MDV5DataReader.java)

com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readTransactions(MDV5DataReader.java)

com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readAccountsFromFile(MDV5DataReader.java)

com.seanreilly.apps.moneydance.model.io.FileUtils.readAccountsFromFile(FileUtils.java)

com.seanreilly.apps.moneydance.controller.Main.startApplication(Main.java)
        com.seanreilly.apps.moneydance.controller.Main.main(Main.java)
        Moneydance.main(Moneydance.java)
Monitor Cache Dump:
    sun.awt.image.GifImageDecoder@2869AE78/286FB0E8: owner "Image Animator
0" (0x29507f00, 1 entry)
    sun.awt.motif.MToolkit@286900B0/286DDD28: <unowned>
        Waiting to be notified:
            "AWT-Motif" (0x294e4f00)
    java.lang.Class@28699CD0/286F5140: owner "AWT-EventQueue-0"
(0x294a2f00, 1 entry)
    java.lang.Class@2869AE80/286FB070: owner "Image Animator 0"
(0x29507f00, 1 entry)
    java.lang.Class@28699EB8/286F58C8: owner "main" (0x8124a00, 1 entry)
    sun.awt.AWTFinalizer@2869AFC8/286DE6B0: <unowned>
        Waiting to be notified:
            "AWT-Finalizer" (0x29528f00)
    <unknown key> (0x29452f00): <unowned>
        Waiting to be notified:
            "Async Garbage Collector" (0x29452f00)
Registered Monitor Dump:
    Thread queue lock: <unowned>
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: owner "AWT-EventQueue-0" (0x294a2f00, 1 entry)
        Waiting to enter:
            "main" (0x8124a00)
            "Image Animator 0" (0x29507f00)
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
        Waiting to be notified:
            "AWT-EventQueue-0" (0x294a2f00)
            "Finalizer thread" (0x29473f00)
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: <unowned>
        Waiting to be notified:
            "AWT-Input" (0x294c3f00)
    Alarm monitor: <unowned>
        Waiting to be notified:
            "Clock" (0x29410f00)
    Memory allocation lock: <unowned>
    Monitor registry: owner "Idle thread" (0x29431f00, 1 entry)
Thread Alarm Q:
    sys_thread_t 0x294c3f00   [Timeout in 152 ms]
    sys_thread_t 0x29452f00   [Timeout in 652 ms]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Thu May 18 21:25:10 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by hub.freebsd.org (Postfix) with ESMTP id B824D37BDE1
	for <freebsd-java@FreeBSD.ORG>; Thu, 18 May 2000 21:25:02 -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 WAA25319;
	Thu, 18 May 2000 22:25:01 -0600 (MDT)
	(envelope-from nate@nomad.yogotech.com)
Received: (from nate@localhost)
	by nomad.yogotech.com (8.8.8/8.8.8) id WAA28735;
	Thu, 18 May 2000 22:25:00 -0600 (MDT)
	(envelope-from nate)
Date: Thu, 18 May 2000 22:25:00 -0600 (MDT)
Message-Id: <200005190425.WAA28735@nomad.yogotech.com>
From: Nate Williams <nate@yogotech.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Sean Reilly <sreilly@seanreilly.com>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: problem in 1.1.8
In-Reply-To: <Pine.BSF.4.10.10005181934260.61564-100000@seanreilly.com>
References: <Pine.BSF.4.10.10005181934260.61564-100000@seanreilly.com>
X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid
Reply-To: nate@yogotech.com (Nate Williams)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> I'm running into a problem on 4.0-RELEASE with the 1.1.8 JDK port. My
> program freezes shortly after startup while trying to load an image as a
> splash window.  Hitting Ctrl-\ results in the thread dump below.  Is the
> X11Graphics.finalize supposed to be called from within String.<init> or am
> I reading this wrong?

"finalize" should *NEVER* be called from external threads, and is the
domain of the GC thread.   Are you calling finalize by hand?

> Any insight as to how I can avoid this is appreciated.

See above.  How are you loading the image?  Can you give a bit more
details as to what exactly the program is doing.

> ^\SIGQUIT   3*   quit
> 
> Full thread dump:
>         sun.awt.AWTFinalizer.run(AWTFinalizer.java:40)
>     "Image Animator 0" (TID:0x2869aab0, sys_thread_t:0x29507f00, state:MW)
> prio=3
>         sun.awt.image.ImageDecoder.close(ImageDecoder.java:163)

Image Animator 0 is callig close and is waiting on the monitor.

>     "main" (TID:0x2866f0b0, sys_thread_t:0x8124a00, state:MW) prio=5
>         sun.awt.motif.X11Graphics.finalize(X11Graphics.java:109)
>         java.lang.String.<init>(String.java)
>         java.io.DataInputStream.readUTF(DataInputStream.java)
>         java.io.DataInputStream.readUTF(DataInputStream.java)

And the main thread is calling finalize, which is weird.

>     sun.awt.image.GifImageDecoder@2869AE78/286FB0E8: owner "Image Animator
> 0" (0x29507f00, 1 entry)
>     sun.awt.motif.MToolkit@286900B0/286DDD28: <unowned>
>         Waiting to be notified:
>             "AWT-Motif" (0x294e4f00)
>     java.lang.Class@28699CD0/286F5140: owner "AWT-EventQueue-0"
> (0x294a2f00, 1 entry)
>     java.lang.Class@2869AE80/286FB070: owner "Image Animator 0"
> (0x29507f00, 1 entry)
>     java.lang.Class@28699EB8/286F58C8: owner "main" (0x8124a00, 1 entry)
>     sun.awt.AWTFinalizer@2869AFC8/286DE6B0: <unowned>
>         Waiting to be notified:
>             "AWT-Finalizer" (0x29528f00)
>     <unknown key> (0x29452f00): <unowned>
>         Waiting to be notified:
>             "Async Garbage Collector" (0x29452f00)

Interesting.  Why is readObject() calling the GC?  You're not making any
explicity calls to the garbage collector, are you?

> Registered Monitor Dump:
>     Thread queue lock: <unowned>
>     Name and type hash table lock: <unowned>
>     String intern lock: <unowned>
>     JNI pinning lock: <unowned>
>     JNI global reference lock: <unowned>
>     BinClass lock: <unowned>
>     Class loading lock: owner "AWT-EventQueue-0" (0x294a2f00, 1 entry)
>         Waiting to enter:
>             "main" (0x8124a00)
>             "Image Animator 0" (0x29507f00)

Ahh, this is a clue.  It turns out that there are races in the Java
imaging code (which is a complete mess), and you may have stumbled on
them.  Sometimes moving the code around and/or adding sleeps in places
causes the races to go away.  *ESPECIALLY* when dealing with object
serialization.

You aren't using any static class locks by chance are you?

ie;

class foo {
    static synchronized void foo() {
        // Do something in here.
    }





Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Thu May 18 22:57:33 2000
Delivered-To: freebsd-java@freebsd.org
Received: from seanreilly.com (209-9-223-139.sdsl.cais.net [209.9.223.139])
	by hub.freebsd.org (Postfix) with ESMTP id 9557C37BA7B
	for <freebsd-java@FreeBSD.ORG>; Thu, 18 May 2000 22:57:24 -0700 (PDT)
	(envelope-from sreilly@seanreilly.com)
Received: from localhost (localhost [127.0.0.1])
	by seanreilly.com (8.9.3/8.9.3) with ESMTP id CAA62479;
	Fri, 19 May 2000 02:01:49 -0400 (EDT)
	(envelope-from sreilly@seanreilly.com)
Date: Fri, 19 May 2000 02:01:47 -0400 (EDT)
From: Sean Reilly <sreilly@seanreilly.com>
To: Nate Williams <nate@yogotech.com>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: problem in 1.1.8
In-Reply-To: <200005190425.WAA28735@nomad.yogotech.com>
Message-ID: <Pine.BSF.4.10.10005190128310.61564-100000@seanreilly.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


> "finalize" should *NEVER* be called from external threads, and is the
> domain of the GC thread.   Are you calling finalize by hand?

Nope, I'm not calling gc or finalize anywhere in the program.

> See above.  How are you loading the image?  Can you give a bit more
> details as to what exactly the program is doing.

No problem.  I'd send you the complete source code but it's probably too
big to be a useful example.  The program first loads a GIF file to be
displayed in a splash window.  I use something like:
  Image img = toolkit.getImage(someClass.getResource(...));
to load the image.  Then I create a MediaTracker, add the image to it,
then do a waitForID(..) to try to fully load the image:

      MediaTracker tracker = new MediaTracker(this);
      tracker.addImage(img,0);
      tracker.waitForID(0);

The next step is to set the window with the ImagePanel (my own simple
image component) to be visible, and then go to work loading the data file
for the program.  That's where the problem occurs... while the data file
is loading in the main thread (see the readUTF call) the image never
actually gets rendered to the screen.  I'm definitely not calling the
X11Graphics.finalize method (in the trace below it seems to be coming from
the String.<init> class which can't be right).

Is the stack getting screwed up?

> > Full thread dump:
> >         sun.awt.AWTFinalizer.run(AWTFinalizer.java:40)
> >     "Image Animator 0" (TID:0x2869aab0, sys_thread_t:0x29507f00, state:MW)
> > prio=3
> >         sun.awt.image.ImageDecoder.close(ImageDecoder.java:163)
> 
> Image Animator 0 is callig close and is waiting on the monitor.
> 
> >     "main" (TID:0x2866f0b0, sys_thread_t:0x8124a00, state:MW) prio=5
> >         sun.awt.motif.X11Graphics.finalize(X11Graphics.java:109)
> >         java.lang.String.<init>(String.java)
> >         java.io.DataInputStream.readUTF(DataInputStream.java)
> >         java.io.DataInputStream.readUTF(DataInputStream.java)
> 
> And the main thread is calling finalize, which is weird.
> 
> >     sun.awt.image.GifImageDecoder@2869AE78/286FB0E8: owner "Image Animator
> > 0" (0x29507f00, 1 entry)
> >     sun.awt.motif.MToolkit@286900B0/286DDD28: <unowned>
> >         Waiting to be notified:
> >             "AWT-Motif" (0x294e4f00)
> >     java.lang.Class@28699CD0/286F5140: owner "AWT-EventQueue-0"
> > (0x294a2f00, 1 entry)
> >     java.lang.Class@2869AE80/286FB070: owner "Image Animator 0"
> > (0x29507f00, 1 entry)
> >     java.lang.Class@28699EB8/286F58C8: owner "main" (0x8124a00, 1 entry)
> >     sun.awt.AWTFinalizer@2869AFC8/286DE6B0: <unowned>
> >         Waiting to be notified:
> >             "AWT-Finalizer" (0x29528f00)
> >     <unknown key> (0x29452f00): <unowned>
> >         Waiting to be notified:
> >             "Async Garbage Collector" (0x29452f00)
> 
> Interesting.  Why is readObject() calling the GC?  You're not making any
> explicity calls to the garbage collector, are you?

None at all.  readObject calling gc?  I don't have any readObject methods
in my code nor any type of object (de)serialization.

> > Registered Monitor Dump:
> >     Thread queue lock: <unowned>
> >     Name and type hash table lock: <unowned>
> >     String intern lock: <unowned>
> >     JNI pinning lock: <unowned>
> >     JNI global reference lock: <unowned>
> >     BinClass lock: <unowned>
> >     Class loading lock: owner "AWT-EventQueue-0" (0x294a2f00, 1 entry)
> >         Waiting to enter:
> >             "main" (0x8124a00)
> >             "Image Animator 0" (0x29507f00)
> 
> Ahh, this is a clue.  It turns out that there are races in the Java
> imaging code (which is a complete mess), and you may have stumbled on
> them.  Sometimes moving the code around and/or adding sleeps in places
> causes the races to go away.  *ESPECIALLY* when dealing with object
> serialization.
> 
> You aren't using any static class locks by chance are you?

Nope.  Maybe some of the underlying java.* classes do?  I already have a
one second sleep after the setVisible on the splash window before the app
starts to do its thing... taking that out doesn't seem to help.

It seems like the deadlock is between something in the
X11Graphics.finalize() method in the main thread and the
LightweightDispatcher.dispatchEvent() method in the AWT-EventQueue-0
thread.  The thing I don't understand is how the finalize method of
X11Graphics is getting called in the main thread when the nothing in
the stack trace up to that point ever calls it!

Thanks,
Sean





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Fri May 19  5:21:27 2000
Delivered-To: freebsd-java@freebsd.org
Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31])
	by hub.freebsd.org (Postfix) with SMTP id A6B8937B608
	for <freebsd-java@freebsd.org>; Fri, 19 May 2000 05:21:23 -0700 (PDT)
	(envelope-from T.Pagtzis@cs.ucl.ac.uk)
Received: from ginger.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP 
          id <g.18914-0@bells.cs.ucl.ac.uk>; Fri, 19 May 2000 13:21:17 +0100
Message-ID: <392531BD.E504DB43@cs.ucl.ac.uk>
Date: Fri, 19 May 2000 13:21:17 +0100
From: Theo PAGTZIS <T.Pagtzis@cs.ucl.ac.uk>
Reply-To: t.pagtzis@cs.ucl.ac.uk
Organization: UCL
X-Mailer: Mozilla 4.73 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: el, en
MIME-Version: 1.0
To: freebsd-java@freebsd.org
Subject: JDK1.2.2 port on fbsd fails at....
Content-Type: text/plain; charset=iso-8859-7
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi ,

  I've been having a problem with compiling the JDK1.2.2 port in
freebsd.

In particular, running Fbsd 3.4 during 'gmake world' time the build
fails returning

Rebuilding ../../../bin/i386/green_threads/java because of
obj/i386/java.o obj/i386/java_md.o
gcc   -L../../../lib/i386/green_threads -L../../../lib/i386
obj/i386/java.o obj/i386/java_md.o   -lhpi -L../../../lib/i386/classic
-ljvm -lgcc -lc -o ../../../bin/i386/green_threads/java
../../../lib/i386/classic/libjvm.so: undefined reference to
`getCustomInvoker'
gmake[4]: *** [../../../bin/i386/green_threads/java] Error 1
gmake[4]: Leaving directory
`/usr/pool/JDK1.2.2/build/freebsd/java/main/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory
`/usr/pool/JDK1.2.2/build/freebsd/java/main/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/pool/JDK1.2.2/build/freebsd/java/main'

gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/pool/JDK1.2.2/build/freebsd/java'
gmake: *** [all] Error 1


I have tried it repeatedly with clean installs but it keeps giving the
same error.

Has anyone been seen that or been able to do a build with no probs?

Any help is highly appreciated


Theo



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Fri May 19  6:25:33 2000
Delivered-To: freebsd-java@freebsd.org
Received: from euromail1.genrad.com (x40.genrad.co.uk [195.99.3.40])
	by hub.freebsd.org (Postfix) with ESMTP id CB75337BD03
	for <freebsd-java@freebsd.org>; Fri, 19 May 2000 06:25:28 -0700 (PDT)
	(envelope-from swindellsr@genrad.co.uk)
Received: from CDP437 (cdp437.uk.genrad.com [132.223.135.120]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id LBACQJSG; Fri, 19 May 2000 14:25:25 +0100
From: Robert Swindells <swindellsr@genrad.co.uk>
To: t.pagtzis@cs.ucl.ac.uk
Cc: freebsd-java@freebsd.org
In-reply-to: <392531BD.E504DB43@cs.ucl.ac.uk> (message from Theo PAGTZIS on
	Fri, 19 May 2000 13:21:17 +0100)
Subject: Re: JDK1.2.2 port on fbsd fails at....
Reply-To: rjs@fdy2.demon.co.uk
Message-Id: <20000519132528.CB75337BD03@hub.freebsd.org>
Date: Fri, 19 May 2000 06:25:28 -0700 (PDT)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


>  I've been having a problem with compiling the JDK1.2.2 port in
>freebsd.

>In particular, running Fbsd 3.4 during 'gmake world' time the build
>fails returning

>Rebuilding ../../../bin/i386/green_threads/java because of
>obj/i386/java.o obj/i386/java_md.o
>gcc   -L../../../lib/i386/green_threads -L../../../lib/i386
>obj/i386/java.o obj/i386/java_md.o   -lhpi -L../../../lib/i386/classic
>-ljvm -lgcc -lc -o ../../../bin/i386/green_threads/java
>../../../lib/i386/classic/libjvm.so: undefined reference to
>`getCustomInvoker'
>gmake[4]: *** [../../../bin/i386/green_threads/java] Error 1
>gmake[4]: Leaving directory
>`/usr/pool/JDK1.2.2/build/freebsd/java/main/java'
>gmake[3]: *** [optimized] Error 2
>gmake[3]: Leaving directory
>`/usr/pool/JDK1.2.2/build/freebsd/java/main/java'
>gmake[2]: *** [all] Error 1
>gmake[2]: Leaving directory `/usr/pool/JDK1.2.2/build/freebsd/java/main'

>gmake[1]: *** [all] Error 1
>gmake[1]: Leaving directory `/usr/pool/JDK1.2.2/build/freebsd/java'
>gmake: *** [all] Error 1

>I have tried it repeatedly with clean installs but it keeps giving the
>same error.

>Has anyone been seen that or been able to do a build with no probs?

Builds fine for me on 3.4-STABLE.

>Any help is highly appreciated

Have you got GNU m4 installed ?

Robert Swindells



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Fri May 19  6:47:17 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by hub.freebsd.org (Postfix) with ESMTP id 9AF1737BBD3
	for <freebsd-java@FreeBSD.ORG>; Fri, 19 May 2000 06:47:09 -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 HAA29520;
	Fri, 19 May 2000 07:47:07 -0600 (MDT)
	(envelope-from nate@nomad.yogotech.com)
Received: (from nate@localhost)
	by nomad.yogotech.com (8.8.8/8.8.8) id HAA02977;
	Fri, 19 May 2000 07:47:06 -0600 (MDT)
	(envelope-from nate)
Date: Fri, 19 May 2000 07:47:06 -0600 (MDT)
Message-Id: <200005191347.HAA02977@nomad.yogotech.com>
From: Nate Williams <nate@yogotech.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Sean Reilly <sreilly@seanreilly.com>
Cc: Nate Williams <nate@yogotech.com>, freebsd-java@FreeBSD.ORG
Subject: Re: problem in 1.1.8
In-Reply-To: <Pine.BSF.4.10.10005190128310.61564-100000@seanreilly.com>
References: <200005190425.WAA28735@nomad.yogotech.com>
	<Pine.BSF.4.10.10005190128310.61564-100000@seanreilly.com>
X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid
Reply-To: nate@yogotech.com (Nate Williams)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> It seems like the deadlock is between something in the
> X11Graphics.finalize() method in the main thread and the
> LightweightDispatcher.dispatchEvent() method in the AWT-EventQueue-0
> thread.  The thing I don't understand is how the finalize method of
> X11Graphics is getting called in the main thread when the nothing in
> the stack trace up to that point ever calls it!

Is there enough stack space allocated in the system?  Is is possible
that the system is doing a GC because it's out of space?


Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Fri May 19  7:20:19 2000
Delivered-To: freebsd-java@freebsd.org
Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3])
	by hub.freebsd.org (Postfix) with ESMTP id 7641637BDB4
	for <freebsd-java@FreeBSD.ORG>; Fri, 19 May 2000 07:20:15 -0700 (PDT)
	(envelope-from dieringe@sirius.physik.fu-berlin.de)
Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162])
	by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA27895
	for <freebsd-java@FreeBSD.ORG>; Fri, 19 May 2000 16:20:13 +0200 (MET DST)
Received: from localhost (dieringe@localhost)
	by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA08654
	for <freebsd-java@FreeBSD.ORG>; Fri, 19 May 2000 16:20:12 +0200 (MET DST)
Date: Fri, 19 May 2000 16:20:12 +0200 (MET DST)
From: Martin Dieringer <dieringe@physik.fu-berlin.de>
To: freebsd-java@FreeBSD.ORG
Subject: problem running jdk1.2.2
Message-ID: <Pine.OSF.4.10.10005191618140.8636-100000@sirius.physik.fu-berlin.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Hi,

I still have problems with the jdk1.2.2 


System is FreeBSD 4.0-STABLE FreeBSD 4.0-STABLE #1

XFree 4.0

cc --version 
2.95.2

deinstalled lesstif
installed OpenMotif binary package for fbsd

installed dgs-0.5.9
installed unixODBC-1.8.8

used jdk-1.2.2-RC4-linux-i386-glibc-2.1.2 for bootstrap

fetched patchset-latest yesterday

Compiled it with
HAVE_DPS=yes
ALT_DPSDIR=/usr/X11R6
HAVE_ODBC=yes
ALT_ODBCDIR=/usr/local/
ALT_BOOTDIR=/usr/local/lib/jdk1.2.2 
ALT_MOTIF_DIR=/usr/X11R6
OPENWINHOME=/usr/X11R6
unset CLASSPATH
unset JAVA_HOME
unset JAVA_COMPILER


it compiles perfectly.


running tests in demo/applets:

Animator: displays nothing, no sound
ArcTest: dumps core
BarChart: works
Blink: works
CardTest: works
Clock: works
DitherTest: Segmentation fault (core dumped)
DrawTest:  works 
Fractal: works
GraphLayout: no graphics, buttons ok
GraphicsTest: ok
ImageMap: image frames appear when moving over them,
          images appear when clicking into frames (not at startup)
JumpingBox: ok, but no sound
MoleculeViewer: nothing to see
NervousText: ok
SimpleGraph: ok
SortDemo: ok
SpreadSheet: ok
SymbolTest: Segmentation fault (core dumped)
TicTacToe: ok
WireFrame: ok

demo/jfc/*: nothing displayed


anybody has any idea? 


martin 






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Fri May 19 17:37:55 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5])
	by hub.freebsd.org (Postfix) with ESMTP id 9E88637B6DE
	for <freebsd-java@FreeBSD.ORG>; Fri, 19 May 2000 17:37:51 -0700 (PDT)
	(envelope-from glewis@ares.trc.adelaide.edu.au)
Received: (from glewis@localhost)
	by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA91179;
	Sat, 20 May 2000 10:07:40 +0930 (CST)
	(envelope-from glewis)
From: Greg Lewis <glewis@trc.adelaide.edu.au>
Message-Id: <200005200037.KAA91179@ares.trc.adelaide.edu.au>
Subject: Re: problem running jdk1.2.2
In-Reply-To: <Pine.OSF.4.10.10005191618140.8636-100000@sirius.physik.fu-berlin.de>
 from Martin Dieringer at "May 19, 2000 04:20:12 pm"
To: Martin Dieringer <dieringe@physik.fu-berlin.de>
Date: Sat, 20 May 2000 10:07:40 +0930 (CST)
Cc: freebsd-java@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL70 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Martin Dieringer wrote:
> deinstalled lesstif
> installed OpenMotif binary package for fbsd

I haven't compiled it with OpenMotif yet, so you're pretty much on your own
here unless other people on the list have tried it.

> DitherTest: Segmentation fault (core dumped)

This will be fixed in patchset 8.  I haven't tried many of the applets, so
there may well be problems with them.

> demo/jfc/*: nothing displayed

Do you have the same problem with Lesstif?  All the Swing demos work for me
using Lesstif.  Sounds like there might be a problem with OpenMotif.

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Fri May 19 17:52:49 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5])
	by hub.freebsd.org (Postfix) with ESMTP id 9A4C737BA6B
	for <freebsd-java@FreeBSD.ORG>; Fri, 19 May 2000 17:52:44 -0700 (PDT)
	(envelope-from glewis@ares.trc.adelaide.edu.au)
Received: (from glewis@localhost)
	by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA91426;
	Sat, 20 May 2000 10:22:14 +0930 (CST)
	(envelope-from glewis)
From: Greg Lewis <glewis@trc.adelaide.edu.au>
Message-Id: <200005200052.KAA91426@ares.trc.adelaide.edu.au>
Subject: Re: problem running jdk1.2.2
In-Reply-To: <Pine.OSF.4.10.10005191618140.8636-100000@sirius.physik.fu-berlin.de>
 from Martin Dieringer at "May 19, 2000 04:20:12 pm"
To: Martin Dieringer <dieringe@physik.fu-berlin.de>
Date: Sat, 20 May 2000 10:22:13 +0930 (CST)
Cc: freebsd-java@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL70 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Martin Dieringer wrote:
> demo/jfc/*: nothing displayed

Another thought.  Are you running X at 16bpp?

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Sat May 20  7:21:37 2000
Delivered-To: freebsd-java@freebsd.org
Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3])
	by hub.freebsd.org (Postfix) with ESMTP id BBE9D37B533
	for <freebsd-java@FreeBSD.ORG>; Sat, 20 May 2000 07:21:34 -0700 (PDT)
	(envelope-from dieringe@sirius.physik.fu-berlin.de)
Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162])
	by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA21253;
	Sat, 20 May 2000 16:21:33 +0200 (MET DST)
Received: from localhost (dieringe@localhost)
	by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA25197;
	Sat, 20 May 2000 16:21:32 +0200 (MET DST)
Date: Sat, 20 May 2000 16:21:32 +0200 (MET DST)
From: Martin Dieringer <dieringe@physik.fu-berlin.de>
To: Greg Lewis <glewis@trc.adelaide.edu.au>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: problem running jdk1.2.2
In-Reply-To: <200005200052.KAA91426@ares.trc.adelaide.edu.au>
Message-ID: <Pine.OSF.4.10.10005201620010.25129-100000@sirius.physik.fu-berlin.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Sat, 20 May 2000, Greg Lewis wrote:

> Martin Dieringer wrote:
> > demo/jfc/*: nothing displayed
> 
> Another thought.  Are you running X at 16bpp?

yes. is this a problem? how can it probably be fixed?
btw. lesstif has the same effects as openmotif.

martin




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Sat May 20  7:27:23 2000
Delivered-To: freebsd-java@freebsd.org
Received: from dnvrpop5.dnvr.uswest.net (dnvrpop5.dnvr.uswest.net [206.196.128.7])
	by hub.freebsd.org (Postfix) with SMTP id E2EAA37B6B4
	for <freebsd-java@FreeBSD.ORG>; Sat, 20 May 2000 07:27:20 -0700 (PDT)
	(envelope-from wolpert@methodsystems.com)
Received: (qmail 11766 invoked by alias); 20 May 2000 14:27:20 -0000
Delivered-To: fixup-freebsd-java@FreeBSD.ORG@fixme
Received: (qmail 11747 invoked by uid 0); 20 May 2000 14:27:20 -0000
Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195)
  by dnvrpop5.dnvr.uswest.net with SMTP; 20 May 2000 14:27:20 -0000
Content-Length: 683
Message-ID: <XFMail.000520082716.wolpert@methodsystems.com>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <200005200037.KAA91179@ares.trc.adelaide.edu.au>
Date: Sat, 20 May 2000 08:27:16 -0600 (MDT)
From: Edward Wolpert <wolpert@methodsystems.com>
To: Greg Lewis <glewis@trc.adelaide.edu.au>
Subject: Re: problem running jdk1.2.2
Cc: freebsd-java@FreeBSD.ORG,
	Martin Dieringer <dieringe@physik.fu-berlin.de>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


On 20-May-00 Greg Lewis wrote:
> Martin Dieringer wrote:
>> demo/jfc/*: nothing displayed
> 
> Do you have the same problem with Lesstif?  All the Swing demos work for me
> using Lesstif.  Sounds like there might be a problem with OpenMotif.
> 

I have the same problem with the swing releases... I'm using LessTif as well.
(FBSD 4.0 Release) Same problem in 8bits or 16bit color mode. Also, I'm using
two fbsd 4.0 systems. One the server, where the xserver is a second fbsd system.
(So I open an xterm on the server from my xserver, then run the java app.)
Specifically, running the swingset gives an empty gray window.

Virtually,
Edward Wolpert <wolpert@methodsystems.com>

4e75


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Sat May 20  8:30:58 2000
Delivered-To: freebsd-java@freebsd.org
Received: from dnvrpop2.dnvr.uswest.net (dnvrpop2.dnvr.uswest.net [206.196.128.4])
	by hub.freebsd.org (Postfix) with SMTP id DB0BB37BFEB
	for <freebsd-java@FreeBSD.ORG>; Sat, 20 May 2000 08:30:49 -0700 (PDT)
	(envelope-from wolpert@methodsystems.com)
Received: (qmail 73007 invoked by alias); 20 May 2000 15:30:48 -0000
Delivered-To: fixup-freebsd-java@FreeBSD.ORG@fixme
Received: (qmail 72983 invoked by uid 0); 20 May 2000 15:30:48 -0000
Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195)
  by dnvrpop2.dnvr.uswest.net with SMTP; 20 May 2000 15:30:48 -0000
Content-Length: 1354
Message-ID: <XFMail.000520093048.wolpert@methodsystems.com>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <XFMail.000520082716.wolpert@methodsystems.com>
Date: Sat, 20 May 2000 09:30:48 -0600 (MDT)
From: Edward Wolpert <wolpert@methodsystems.com>
To: freebsd-java@FreeBSD.ORG
Subject: Re: problem running jdk1.2.2
Cc: Martin Dieringer <dieringe@physik.fu-berlin.de>, 
Cc: Martin Dieringer <dieringe@physik.fu-berlin.de>,
	Greg Lewis <glewis@trc.adelaide.edu.au>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

-----BEGIN PGP SIGNED MESSAGE-----

I need to note that the problem for me only occurs when I run in this
environment. (Two systems, one running the app, the other displaying the
app.) When I run the Swing application on the same box as the xserver
display, it works fine. When I run the swing application on one box, but
the display is on another, it doesn't work.


On 20-May-00 Edward Wolpert wrote:
> 
> On 20-May-00 Greg Lewis wrote:
>> Martin Dieringer wrote:
>>> demo/jfc/*: nothing displayed
>> 
>> Do you have the same problem with Lesstif?  All the Swing demos work for me
>> using Lesstif.  Sounds like there might be a problem with OpenMotif.
>> 
> 
> I have the same problem with the swing releases... I'm using LessTif as well.
> (FBSD 4.0 Release) Same problem in 8bits or 16bit color mode. Also, I'm using
> two fbsd 4.0 systems. One the server, where the xserver is a second fbsd
> system.
> (So I open an xterm on the server from my xserver, then run the java app.)
> Specifically, running the swingset gives an empty gray window.

Virtually,
Edward Wolpert <wolpert@methodsystems.com>

4e75

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQB1AwUBOSavqK2tQW/xJRRFAQHlugMAuYcHO+VO/oB6l0zQfgamFPAB4G5grNHk
rd5myXk+DJk8Xmkjuvs45yvUVnglUjqmbi0W0hHgZ9yIzcqqUwna3MWOf06Y8jtO
iqPJ43sYKBsenBdnZLBgEB4RpkS06/Pr
=jGzn
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


From owner-freebsd-java  Sat May 20 15:50:47 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5])
	by hub.freebsd.org (Postfix) with ESMTP id F0C5B37B6C2
	for <freebsd-java@FreeBSD.ORG>; Sat, 20 May 2000 15:50:37 -0700 (PDT)
	(envelope-from glewis@ares.trc.adelaide.edu.au)
Received: (from glewis@localhost)
	by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA95904;
	Sun, 21 May 2000 08:20:29 +0930 (CST)
	(envelope-from glewis)
From: Greg Lewis <glewis@trc.adelaide.edu.au>
Message-Id: <200005202250.IAA95904@ares.trc.adelaide.edu.au>
Subject: Re: problem running jdk1.2.2
In-Reply-To: <Pine.OSF.4.10.10005201620010.25129-100000@sirius.physik.fu-berlin.de>
 from Martin Dieringer at "May 20, 2000 04:21:32 pm"
To: Martin Dieringer <dieringe@physik.fu-berlin.de>
Date: Sun, 21 May 2000 08:20:29 +0930 (CST)
Cc: Greg Lewis <glewis@trc.adelaide.edu.au>, freebsd-java@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL70 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > Martin Dieringer wrote:
> > > demo/jfc/*: nothing displayed
> > 
> > Another thought.  Are you running X at 16bpp?
> 
> yes. is this a problem? how can it probably be fixed?
> btw. lesstif has the same effects as openmotif.

Ok, good to hear that its not an OpenMotif problem (thanks for looking into
that).

The problem with 16 bpp displays will be fixed in patchset 8, due out in
the next day or two.  Its basically ready to go, I just need a chance to
sit down and actually roll it :).

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message