From owner-freebsd-java  Mon Aug  5  6:20:11 2002
Delivered-To: freebsd-java@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 494A937B400
	for <freebsd-java@hub.freebsd.org>; Mon,  5 Aug 2002 06:20:03 -0700 (PDT)
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8827343EB1
	for <freebsd-java@hub.freebsd.org>; Mon,  5 Aug 2002 06:20:02 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g75DK2JU088203
	for <freebsd-java@freefall.freebsd.org>; Mon, 5 Aug 2002 06:20:02 -0700 (PDT)
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g75DK2lt088202;
	Mon, 5 Aug 2002 06:20:02 -0700 (PDT)
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A04937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Aug 2002 06:17:16 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 02A1D43E86
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Aug 2002 06:17:16 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g75DHFOT070891
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 5 Aug 2002 06:17:15 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g75DHFFf070890;
	Mon, 5 Aug 2002 06:17:15 -0700 (PDT)
Message-Id: <200208051317.g75DHFFf070890@www.freebsd.org>
Date: Mon, 5 Aug 2002 06:17:15 -0700 (PDT)
From: Kokits <vassili.kokits@fernuni-hagen.de>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-1.0
Subject: java/41340: install of jdk 1.3
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org


>Number:         41340
>Category:       java
>Synopsis:       install of jdk 1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 06:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kokits
>Release:        FreeBSD 4.6-STABLE (KERNEL46) #0: Thu Aug  1 14:19:38 CEST 2002
>Organization:
Fernuni Hagen
>Environment:
FreeBSD 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug  1 14:19:38 CEST 2002     root:/usr/obj/usr/src/sys/KERNEL46  i386
>Description:
................
   fi
/bin/mkdir -p ../../../build/bsd-i386/tmp/java/java.lang/jvm/CClassHeaders
/usr/local/linux-jdk1.3.1/bin/javah -old -bootclasspath ../../../build/bsd-i386/classes -d ../../
./build/bsd-i386/tmp/java/java.lang/jvm/CClassHeaders/ \
        java.io.InputStream java.lang.Boolean java.lang.Byte java.lang.Character java.lang.Class 
java.lang.ClassLoader java.lang.Double java.lang.Float java.lang.Integer java.lang.Long java.lang
.Object java.lang.Runtime java.lang.Short java.lang.StackOverflowError java.lang.String java.lang
.Thread java.lang.ThreadGroup java.lang.Throwable java.lang.ref.Reference java.lang.ref.SoftRefer
ence java.lang.reflect.Field java.lang.reflect.Method java.lang.reflect.Constructor java.lang.ref
lect.InvocationTargetException java.security.AccessControlContext java.util.Properties sun.io.Byt
eToCharConverter sun.io.CharToByteConverter sun.misc.VM   
gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm'
gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm'
gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java'
*** Error code 2

Stop in /usr/ports/java/jdk13.

>How-To-Repeat:
cd /usr/ports/java/jdk13
make install      
>Fix:
?      
>Release-Note:
>Audit-Trail:
>Unformatted:

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


From owner-freebsd-java  Mon Aug  5  9:42:13 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6693737B400
	for <java@FreeBSD.org>; Mon,  5 Aug 2002 09:42:12 -0700 (PDT)
Received: from columbus.cris.net (columbus.cris.net [212.110.128.65])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3F0A043E3B
	for <java@FreeBSD.org>; Mon,  5 Aug 2002 09:42:09 -0700 (PDT)
	(envelope-from phantom@ark.cris.net)
Received: from ark.cris.net (root@ark.cris.net [212.110.128.68])
	by columbus.cris.net (8.9.3/8.9.3) with ESMTP id TAA20430;
	Mon, 5 Aug 2002 19:41:53 +0300 (EEST)
Received: (from phantom@localhost)
	by ark.cris.net (8.11.1/8.11.1) id g75Gfrb74265;
	Mon, 5 Aug 2002 19:41:53 +0300 (EEST)
Date: Mon, 5 Aug 2002 19:41:53 +0300
From: Alexey Zelkin <phantom@FreeBSD.org>
To: java@FreeBSD.org
Cc: java-port@yogotech.com
Subject: status: native jdk 1.4.0 port
Message-ID: <20020805194153.A73363@ark.cris.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
X-Operating-System: FreeBSD 3.5-STABLE i386
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

hi,

Well... Well... Well...

Port is progressing... Now it's almost possible to build self-hosting j2sdk
and j2re. There's only one building issue left in org.omg.*, so it's just
disabled for now. Also I just silently disabled plug-in build, because have
no any interest in that (at least at this point). Except that jdk is
completely building with self-built java and javac.

I did not even try to make any tests, but slef-building is hard enough 
exercise (as for me) to show that we are almost reached first milestone.

My TODO list still very long, but I think additional attention from other
eyes would be helpful.

I expect to clean up patchset and provide it to developers comunity at
the end of this week (or maybe in the begining of next week)

Please make sure that you understand that it's developers' only patchset!
No guarantees, No warranty :-)


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


From owner-freebsd-java  Mon Aug  5 10: 6:40 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 7D0FD37B400; Mon,  5 Aug 2002 10:06:35 -0700 (PDT)
Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 0CD29441E8; Mon,  5 Aug 2002 09:53:29 -0700 (PDT)
	(envelope-from Ranjith.Mandala@Sun.COM)
Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.61])
	by nwkea-mail-2.sun.com (8.9.3+Sun/8.9.3) with ESMTP id JAA21787;
	Mon, 5 Aug 2002 09:51:32 -0700 (PDT)
Received: from cindercone (cindercone [129.145.132.179])
	by ha2sca-mail1.SFBay.Sun.COM (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g75GpWt26691;
	Mon, 5 Aug 2002 09:51:32 -0700 (PDT)
Date: Mon, 5 Aug 2002 09:51:32 -0700 (PDT)
Message-ID: <2215669.1028566292321.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com>
From: Ranjith Mandala <Ranjith.Mandala@Sun.COM>
To: java-port@freebsd.org, freebsd-java@freebsd.org
Subject: Re: (Review ID: 160325) Function name=parse_method__15ClassFileParserG18constantPoolHandleP11AccessFlags
Cc: Ranjith.Mandala@Sun.COM
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: postEmail @(#) PostEmail.java 1.14 00/01/27 13:51:40
X-IM-Review-ID: 160325
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Hi,

This Bug Report was submitted from  http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of msmouse@kittymail.com. If you would like to respond.  Please send an e-mail to the address listed at the end of this report.

Regards,
Ranjith
----------------- Original Bug Report-------------------

category : java
release : 1.3.1
subcategory : native_interface
type : bug
synopsis : Function name=parse_method__15ClassFileParserG18constantPoolHandleP11AccessFlags
description : FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)



FULL OPERATING SYSTEM VERSION :

FreeBSD 4.6-STABLE FreeBSD 4.6-STABLE #8: Sat Jul 20
17:32:13 PDT 2002    /usr/src/sys/compile/MOUSE_IV  i386


A DESCRIPTION OF THE PROBLEM :
None. The error message pretty much says it all.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Connect to chat.yahoo.com
2. select Java client on right side
3. wait.
4. crash.

EXPECTED VERSUS ACTUAL BEHAVIOR :
expected to be able to connect to yahoo chat but instead I
get an error and a msg that says submit a bug report.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Unexpected Signal : 11 occurred at PC=0x2812f82e
Function name=parse_method__15ClassFileParserG18constantPoolHandleP11AccessFlags
P6Thread
Library=/usr/local/lib/linux-netscape6-english/plugins/java2/lib/i386/client/lib
jvm.so

Current Java thread:
        at sun.misc.URLClassPath$2.run(URLClassPath.java:258)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:147)
        at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:864)
        at java.lang.ClassLoader.getResource(ClassLoader.java:768)
        at java.lang.ClassLoader.getResource(ClassLoader.java:766)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:932)
        at java.util.ResourceBundle$1.run(ResourceBundle.java:936)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.ResourceBundle.loadBundle(ResourceBundle.java:932)
        at java.util.ResourceBundle.findBundle(ResourceBundle.java:791)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:640)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
        at java.lang.ClassLoader.getResource(ClassLoader.java:768)
        at java.lang.ClassLoader.getResource(ClassLoader.java:766)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:932)
        at java.util.ResourceBundle$1.run(ResourceBundle.java:936)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.ResourceBundle.loadBundle(ResourceBundle.java:932)
        at java.util.ResourceBundle.findBundle(ResourceBundle.java:791)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:640)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
        at sun.plugin.navig.motif.Plugin.<clinit>(Plugin.java:793)

Dynamic libraries:
Can not get information for pid = 47978

Local Time = Sun Aug  4 12:11:50 2002
Elapsed Time = 1
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002C4
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
#



REPRODUCIBILITY :
This bug can be reproduced always.
workaround : 
suggested_val : 
cust_name : K Anderson
cust_email : msmouse@kittymail.com
jdcid : 
keyword : webbug
company : None
hardware : x86
OSversion : Linux
bugtraqID : 0
dateCreated : 2002-08-04 13:45:34.6
dateEvaluated : 2002-08-05 10:49:36.939


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


From owner-freebsd-java  Mon Aug  5 13:16:52 2002
Delivered-To: freebsd-java@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id C90BC37B400; Mon,  5 Aug 2002 13:16:51 -0700 (PDT)
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 7ED8743E6E; Mon,  5 Aug 2002 13:16:51 -0700 (PDT)
	(envelope-from glewis@FreeBSD.org)
Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1])
	by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g75KGpJU061534;
	Mon, 5 Aug 2002 13:16:51 -0700 (PDT)
	(envelope-from glewis@freefall.freebsd.org)
Received: (from glewis@localhost)
	by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g75KGphu061529;
	Mon, 5 Aug 2002 13:16:51 -0700 (PDT)
Date: Mon, 5 Aug 2002 13:16:51 -0700 (PDT)
From: Greg Lewis <glewis@FreeBSD.org>
Message-Id: <200208052016.g75KGphu061529@freefall.freebsd.org>
To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org
Subject: Re: java/41340: install of jdk 1.3
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Synopsis: install of jdk 1.3

Responsible-Changed-From-To: freebsd-java->glewis
Responsible-Changed-By: glewis
Responsible-Changed-When: Mon Aug 5 13:15:55 PDT 2002
Responsible-Changed-Why: 
Over to maintainer (aka me)

http://www.freebsd.org/cgi/query-pr.cgi?pr=41340

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


From owner-freebsd-java  Mon Aug  5 16: 2:18 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 7508537B400; Mon,  5 Aug 2002 16:02:17 -0700 (PDT)
Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2672D43E42; Mon,  5 Aug 2002 16:02:17 -0700 (PDT)
	(envelope-from billh@gnuppy.monkey.org)
Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian))
	id 17bqrg-0000qi-00; Mon, 05 Aug 2002 16:02:16 -0700
Date: Mon, 5 Aug 2002 16:02:16 -0700
To: Alexey Zelkin <phantom@FreeBSD.org>
Cc: java@FreeBSD.org, java-port@yogotech.com
Subject: Re: status: native jdk 1.4.0 port
Message-ID: <20020805230216.GA3261@gnuppy.monkey.org>
References: <20020805194153.A73363@ark.cris.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020805194153.A73363@ark.cris.net>
User-Agent: Mutt/1.4i
From: Bill Huey (Hui) <billh@gnuppy.monkey.org>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Mon, Aug 05, 2002 at 07:41:53PM +0300, Alexey Zelkin wrote:
> Port is progressing... Now it's almost possible to build self-hosting j2sdk
> and j2re. There's only one building issue left in org.omg.*, so it's just
> disabled for now. Also I just silently disabled plug-in build, because have
> no any interest in that (at least at this point). Except that jdk is
> completely building with self-built java and javac.

Are you using the HotSpot patches in patchset 7 ?

bill


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


From owner-freebsd-java  Mon Aug  5 16:15:10 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AFB2637B400
	for <freebsd-java@freebsd.org>; Mon,  5 Aug 2002 16:15:02 -0700 (PDT)
Received: from wstutil12a.ml.com (wstutil12a-v.ml.com [209.65.19.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D391843E4A
	for <freebsd-java@freebsd.org>; Mon,  5 Aug 2002 16:15:01 -0700 (PDT)
	(envelope-from Michael_B_Allen@ml.com)
Received: from wstutil13a.ml.com (wstutil13a [146.125.185.11])
	by wstutil12a.ml.com (8.11.3/8.11.3/wstutil12a-1.2) with ESMTP id g75NF1W25115;
	Mon, 5 Aug 2002 19:15:01 -0400 (EDT)
Received: from ewstwt02.exchange.ml.com (ewstwt02.exchange.ml.com [146.125.249.152])
	by wstutil13a.ml.com (8.11.3/8.11.3/wstutil13a-1.1) with SMTP id g75NF0115143;
	Mon, 5 Aug 2002 19:15:00 -0400 (EDT)
Received: from 169.242.226.176 by ewstwt02.exchange.ml.com with ESMTP (
 Tumbleweed MMS SMTP Relay (MMS v4.7);); Mon, 05 Aug 2002 19:12:32 -0400
X-Server-Uuid: 3789b954-9c4e-11d3-af68-0008c73b0911
Received: by ehope09.hew.us.ml.com with Internet Mail Service (
 5.5.2653.19) id <PSS0T8V0>; Mon, 5 Aug 2002 19:14:41 -0400
Message-ID: <19B572CFAC42D211A20000805FA7875A05ADECFC@eat404.hew.us.ml.com>
From: "Allen, Michael B (RSCH)" <Michael_B_Allen@ml.com>
To: "'Dan Diephouse'" <diephouse@eastnode.com>,
	jcifs@lists.samba.org,
	"'freebsd-java@freebsd.org'" <freebsd-java@freebsd.org>
Subject: RE: [jcifs] Resolution problems
Date: Mon, 5 Aug 2002 19:14:39 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-WSS-ID: 1151D9EA105594-01-01
Content-Type: text/plain; 
 charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Ah, ok. Well that's not it then. It must be a Java on FreeBSD issue.

freebsd-java,

Please help Dan. He is getting:

Aug 5 16:46:20.962 - nbt name service send:
java.io.IOException: Permission denied
        at java.net.PlainDatagramSocketImpl.send(Native Method)
        at java.net.DatagramSocket.send(DatagramSocket.java:321)
        at jcifs.netbios.NameServiceClient.send(NameServiceClient.java:222)
        at jcifs.netbios.NameServiceClient.getByName(NameServiceClient.java:253)
        at jcifs.netbios.NbtAddress.doNameQuery(NbtAddress.java:311)
        at jcifs.netbios.NbtAddress.getByName(NbtAddress.java:390)
        at jcifs.UniAddress$QueryThread.run(UniAddress.java:77)

trying to send a datagram on the broadcast address. Is this a known issue?

Dan,

If this message doesn't get through because I'm not on their list, please follow
through at http://www.freebsd.org/java/.

Mike

> -----Original Message-----
> From:	Dan Diephouse [SMTP:diephouse@eastnode.com]
> Sent:	Monday, August 05, 2002 6:59 PM
> To:	jcifs@lists.samba.org
> Subject:	Re: [jcifs] Resolution problems
> 
> If you look at my message, you'l see my command line arguments.  Here is 
> what I executed:
> 
> ocean:70[/home/dan/WDev/jcifs_0.6.5/examples]$ java -classpath 
> $CLASSPATH:../jcifs-0.6.5.jar -Dbaddr=192.168.2.255 -Dlog=ALL List 
> smb://presario
> 
> I used the "baddr=192.168.2.255" option.  Did I not use it correctly?
> 
> Thanks,
> 
> Dan
> 
> Allen, Michael B (RSCH) wrote:
> 
> > Try setting baddr=192.168.2.255. On Linux if you don't set this you 
> > sometimes get a "Network is unreachable" message (see FAQ). The 
> > "Permission denied" message is new to me but that could just be the
> > equivalent message for FreeBSD. Ultimately Java doesn't provide a way 
> > to extract the broadcast address of a machine and trying to send a 
> > datagram on 255.255.255.255 can fail.
> >
> > I suppose it wouldn't be too difficult to determine a reasonable 
> > broadcast address based on the local host address and it's IP address 
> > classification.
> >  
> >
> -- 
> Dan Diephouse
> http://eastnode.com
> 
> 
> 


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


From owner-freebsd-java  Tue Aug  6  0:57:33 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 88BEA37B400
	for <java@FreeBSD.org>; Tue,  6 Aug 2002 00:57:32 -0700 (PDT)
Received: from columbus.cris.net (columbus.cris.net [212.110.128.65])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 468DB43E3B
	for <java@FreeBSD.org>; Tue,  6 Aug 2002 00:57:29 -0700 (PDT)
	(envelope-from phantom@phantom.cris.net)
Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74])
	by columbus.cris.net (8.9.3/8.9.3) with ESMTP id KAA63873;
	Tue, 6 Aug 2002 10:57:05 +0300 (EEST)
Received: (from phantom@localhost)
	by phantom.cris.net (8.12.2/8.12.2) id g76825sO070402;
	Tue, 6 Aug 2002 11:02:05 +0300 (EEST)
	(envelope-from phantom)
Date: Tue, 6 Aug 2002 11:02:04 +0300
From: Alexey Zelkin <phantom@FreeBSD.org>
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: java@FreeBSD.org, java-port@yogotech.com
Subject: Re: status: native jdk 1.4.0 port
Message-ID: <20020806110204.A70372@phantom.cris.net>
References: <20020805194153.A73363@ark.cris.net> <20020805230216.GA3261@gnuppy.monkey.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20020805230216.GA3261@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Aug 05, 2002 at 04:02:16PM -0700
X-Operating-System: FreeBSD 4.5-STABLE i386
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

hi,

On Mon, Aug 05, 2002 at 04:02:16PM -0700, Bill Huey wrote:
> On Mon, Aug 05, 2002 at 07:41:53PM +0300, Alexey Zelkin wrote:
> > Port is progressing... Now it's almost possible to build self-hosting j2sdk
> > and j2re. There's only one building issue left in org.omg.*, so it's just
> > disabled for now. Also I just silently disabled plug-in build, because have
> > no any interest in that (at least at this point). Except that jdk is
> > completely building with self-built java and javac.
> 
> Are you using the HotSpot patches in patchset 7 ?

Not, yet. Mostly my patches. I did not have a time to take a look on p7 yet.
 

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


From owner-freebsd-java  Tue Aug  6  0:59: 3 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BD27B37B400
	for <java@FreeBSD.org>; Tue,  6 Aug 2002 00:59:00 -0700 (PDT)
Received: from n2.nomadiclab.com (n2.nomadiclab.com [131.160.193.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7883143E86
	for <java@FreeBSD.org>; Tue,  6 Aug 2002 00:58:58 -0700 (PDT)
	(envelope-from phantom@phantom.cris.net)
Received: by n2.nomadiclab.com (Postfix, from userid 962)
	id 0CD0622E1B; Tue,  6 Aug 2002 11:00:06 +0300 (EEST)
Received: from d2.nomadiclab.com (bastion [131.160.194.2])
	by n2.nomadiclab.com (Postfix) with ESMTP id 99DDD22E13
	for <pnr@nomadiclab.com>; Tue,  6 Aug 2002 10:59:51 +0300 (EEST)
Received: from tml-gw.tml.hut.fi (tml.hut.fi [130.233.44.1])
	by d2.nomadiclab.com (Postfix) with ESMTP id 34D8B6CCAD
	for <pnr@nomadiclab.com>; Tue,  6 Aug 2002 08:00:07 +0300 (EEST)
Received: (from smap@localhost)
	by tml-gw.tml.hut.fi (8.8.7/8.8.7) id KAA25237
	for <pnr@nomadiclab.com>; Tue, 6 Aug 2002 10:58:29 +0300
Received: from mail.tml.hut.fi(130.233.45.70) by tml-gw.tml.hut.fi via smap (V2.0)
	id xma025233; Tue, 6 Aug 02 10:58:11 +0300
Received: from tml-gw.tml.hut.fi (tml-gw.tml.hut.fi [130.233.45.254])
	by mail.tml.hut.fi (8.12.2+Sun/8.12.2) with ESMTP id g767w4JY000068
	for <Pekka.Nikander@tcm.hut.fi>; Tue, 6 Aug 2002 10:58:06 +0300 (EEST)
Received: (from smap@localhost)
	by tml-gw.tml.hut.fi (8.8.7/8.8.7) id KAA25230
	for <Pekka.Nikander@tcm.hut.fi>; Tue, 6 Aug 2002 10:57:59 +0300
X-Authentication-Warning: tml-gw.tml.hut.fi: smap set sender to <phantom@phantom.cris.net> using -f
Received: from smtp-2.hut.fi(130.233.228.92) by tml-gw.tml.hut.fi via smap (V2.0)
	id xma025228; Tue, 6 Aug 02 10:57:37 +0300
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by smtp-2.hut.fi (8.12.3/8.12.3) with ESMTP id g767vaJN024091
	for <pekka.nikander@hut.fi>; Tue, 6 Aug 2002 10:57:37 +0300
Received: from columbus.cris.net (root@columbus.cris.net [212.110.128.65])
	by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id BAA21574
	for <java-port@yogotech.com>; Tue, 6 Aug 2002 01:57:21 -0600 (MDT)
	(envelope-from phantom@phantom.cris.net)
Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74])
	by columbus.cris.net (8.9.3/8.9.3) with ESMTP id KAA63873;
	Tue, 6 Aug 2002 10:57:05 +0300 (EEST)
Received: (from phantom@localhost)
	by phantom.cris.net (8.12.2/8.12.2) id g76825sO070402;
	Tue, 6 Aug 2002 11:02:05 +0300 (EEST)
	(envelope-from phantom)
Date: Tue, 6 Aug 2002 11:02:04 +0300
From: Alexey Zelkin <phantom@FreeBSD.org>
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: java@FreeBSD.org, java-port@yogotech.com
Subject: Re: status: native jdk 1.4.0 port
Message-ID: <20020806110204.A70372@phantom.cris.net>
References: <20020805194153.A73363@ark.cris.net> <20020805230216.GA3261@gnuppy.monkey.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20020805230216.GA3261@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Aug 05, 2002 at 04:02:16PM -0700
X-Operating-System: FreeBSD 4.5-STABLE i386
X-Spam-Status: No, hits=-4.1 required=5.0
	tests=IN_REP_TO,X_AUTH_WARNING
	version=2.31
X-Spam-Level: 
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

hi,

On Mon, Aug 05, 2002 at 04:02:16PM -0700, Bill Huey wrote:
> On Mon, Aug 05, 2002 at 07:41:53PM +0300, Alexey Zelkin wrote:
> > Port is progressing... Now it's almost possible to build self-hosting j2sdk
> > and j2re. There's only one building issue left in org.omg.*, so it's just
> > disabled for now. Also I just silently disabled plug-in build, because have
> > no any interest in that (at least at this point). Except that jdk is
> > completely building with self-built java and javac.
> 
> Are you using the HotSpot patches in patchset 7 ?

Not, yet. Mostly my patches. I did not have a time to take a look on p7 yet.
 

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


From owner-freebsd-java  Tue Aug  6  1: 0:47 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1617837B400
	for <java@FreeBSD.org>; Tue,  6 Aug 2002 01:00:45 -0700 (PDT)
Received: from n2.nomadiclab.com (n2.nomadiclab.com [131.160.193.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2965D43E5E
	for <java@FreeBSD.org>; Tue,  6 Aug 2002 01:00:43 -0700 (PDT)
	(envelope-from phantom@phantom.cris.net)
Received: by n2.nomadiclab.com (Postfix, from userid 962)
	id 6C27422E21; Tue,  6 Aug 2002 11:02:02 +0300 (EEST)
Received: from d2.nomadiclab.com (bastion [131.160.194.2])
	by n2.nomadiclab.com (Postfix) with ESMTP id 38F7222E1E
	for <pnr@nomadiclab.com>; Tue,  6 Aug 2002 11:01:50 +0300 (EEST)
Received: from tml-gw.tml.hut.fi (tml.hut.fi [130.233.44.1])
	by d2.nomadiclab.com (Postfix) with ESMTP id 6DA5D6CCAD
	for <pnr@nomadiclab.com>; Tue,  6 Aug 2002 08:02:06 +0300 (EEST)
Received: (from smap@localhost)
	by tml-gw.tml.hut.fi (8.8.7/8.8.7) id LAA25273
	for <pnr@nomadiclab.com>; Tue, 6 Aug 2002 11:00:29 +0300
Received: from mail.tml.hut.fi(130.233.45.70) by tml-gw.tml.hut.fi via smap (V2.0)
	id xma025269; Tue, 6 Aug 02 11:00:00 +0300
Received: from tml-gw.tml.hut.fi (tml-gw.tml.hut.fi [130.233.45.254])
	by mail.tml.hut.fi (8.12.2+Sun/8.12.2) with ESMTP id g767xxJY000082
	for <Pekka.Nikander@tcm.hut.fi>; Tue, 6 Aug 2002 10:59:59 +0300 (EEST)
Received: (from smap@localhost)
	by tml-gw.tml.hut.fi (8.8.7/8.8.7) id KAA25261
	for <Pekka.Nikander@tcm.hut.fi>; Tue, 6 Aug 2002 10:59:59 +0300
Received: from smtp-2.hut.fi(130.233.228.92) by tml-gw.tml.hut.fi via smap (V2.0)
	id xma025255; Tue, 6 Aug 02 10:59:43 +0300
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by smtp-2.hut.fi (8.12.3/8.12.3) with ESMTP id g767xgJN024167
	for <pekka.nikander@hut.fi>; Tue, 6 Aug 2002 10:59:43 +0300
Received: from n2.nomadiclab.com (n2.nomadiclab.com [131.160.193.2])
	by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id BAA21606
	for <java-port@yogotech.com>; Tue, 6 Aug 2002 01:59:34 -0600 (MDT)
	(envelope-from phantom@phantom.cris.net)
Received: by n2.nomadiclab.com (Postfix, from userid 962)
	id 0CD0622E1B; Tue,  6 Aug 2002 11:00:06 +0300 (EEST)
Received: from d2.nomadiclab.com (bastion [131.160.194.2])
	by n2.nomadiclab.com (Postfix) with ESMTP id 99DDD22E13
	for <pnr@nomadiclab.com>; Tue,  6 Aug 2002 10:59:51 +0300 (EEST)
Received: from tml-gw.tml.hut.fi (tml.hut.fi [130.233.44.1])
	by d2.nomadiclab.com (Postfix) with ESMTP id 34D8B6CCAD
	for <pnr@nomadiclab.com>; Tue,  6 Aug 2002 08:00:07 +0300 (EEST)
Received: (from smap@localhost)
	by tml-gw.tml.hut.fi (8.8.7/8.8.7) id KAA25237
	for <pnr@nomadiclab.com>; Tue, 6 Aug 2002 10:58:29 +0300
Received: from mail.tml.hut.fi(130.233.45.70) by tml-gw.tml.hut.fi via smap (V2.0)
	id xma025233; Tue, 6 Aug 02 10:58:11 +0300
Received: from tml-gw.tml.hut.fi (tml-gw.tml.hut.fi [130.233.45.254])
	by mail.tml.hut.fi (8.12.2+Sun/8.12.2) with ESMTP id g767w4JY000068
	for <Pekka.Nikander@tcm.hut.fi>; Tue, 6 Aug 2002 10:58:06 +0300 (EEST)
Received: (from smap@localhost)
	by tml-gw.tml.hut.fi (8.8.7/8.8.7) id KAA25230
	for <Pekka.Nikander@tcm.hut.fi>; Tue, 6 Aug 2002 10:57:59 +0300
X-Authentication-Warning: tml-gw.tml.hut.fi: smap set sender to <phantom@phantom.cris.net> using -f
Received: from smtp-2.hut.fi(130.233.228.92) by tml-gw.tml.hut.fi via smap (V2.0)
	id xma025228; Tue, 6 Aug 02 10:57:37 +0300
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by smtp-2.hut.fi (8.12.3/8.12.3) with ESMTP id g767vaJN024091
	for <pekka.nikander@hut.fi>; Tue, 6 Aug 2002 10:57:37 +0300
Received: from columbus.cris.net (root@columbus.cris.net [212.110.128.65])
	by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id BAA21574
	for <java-port@yogotech.com>; Tue, 6 Aug 2002 01:57:21 -0600 (MDT)
	(envelope-from phantom@phantom.cris.net)
Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74])
	by columbus.cris.net (8.9.3/8.9.3) with ESMTP id KAA63873;
	Tue, 6 Aug 2002 10:57:05 +0300 (EEST)
Received: (from phantom@localhost)
	by phantom.cris.net (8.12.2/8.12.2) id g76825sO070402;
	Tue, 6 Aug 2002 11:02:05 +0300 (EEST)
	(envelope-from phantom)
Date: Tue, 6 Aug 2002 11:02:04 +0300
From: Alexey Zelkin <phantom@FreeBSD.org>
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: java@FreeBSD.org, java-port@yogotech.com
Subject: Re: status: native jdk 1.4.0 port
Message-ID: <20020806110204.A70372@phantom.cris.net>
References: <20020805194153.A73363@ark.cris.net> <20020805230216.GA3261@gnuppy.monkey.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20020805230216.GA3261@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Aug 05, 2002 at 04:02:16PM -0700
X-Operating-System: FreeBSD 4.5-STABLE i386
X-Spam-Status: No, hits=-4.1 required=5.0
	tests=IN_REP_TO,X_AUTH_WARNING
	version=2.31
X-Spam-Level: 
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

hi,

On Mon, Aug 05, 2002 at 04:02:16PM -0700, Bill Huey wrote:
> On Mon, Aug 05, 2002 at 07:41:53PM +0300, Alexey Zelkin wrote:
> > Port is progressing... Now it's almost possible to build self-hosting j2sdk
> > and j2re. There's only one building issue left in org.omg.*, so it's just
> > disabled for now. Also I just silently disabled plug-in build, because have
> > no any interest in that (at least at this point). Except that jdk is
> > completely building with self-built java and javac.
> 
> Are you using the HotSpot patches in patchset 7 ?

Not, yet. Mostly my patches. I did not have a time to take a look on p7 yet.
 

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


From owner-freebsd-java  Tue Aug  6  1:18:53 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8383137B400
	for <java@FreeBSD.ORG>; Tue,  6 Aug 2002 01:18:51 -0700 (PDT)
Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA7443E6E
	for <java@FreeBSD.ORG>; Tue,  6 Aug 2002 01:18:50 -0700 (PDT)
	(envelope-from lev@serebryakov.spb.ru)
Received: from lev (ip92-185.dialup.wplus.net [195.131.92.185])
	(authenticated)
	by ftp.translate.ru (8.11.6/8.11.2) with ESMTP id g768ImW29684
	for <java@FreeBSD.ORG>; Tue, 6 Aug 2002 12:18:48 +0400 (MSD)
	(envelope-from lev@serebryakov.spb.ru)
Date: Tue, 6 Aug 2002 12:19:30 +0400
From: Lev Serebryakov <lev@serebryakov.spb.ru>
X-Mailer: The Bat! (v1.53d)
Reply-To: Lev Serebryakov <lev@serebryakov.spb.ru>
Organization: Home
X-Priority: 3 (Normal)
Message-ID: <44158392375.20020806121930@serebryakov.spb.ru>
To: java@FreeBSD.ORG
Subject: Could not download Patchset 7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Hello, java! How are you?

  I'm select "ACCEPT" button on
  http://www.eyesbeyond.com/freebsddom/java/JDK13SCSLConfirm.html and
  my browser go to index.html :(
  I've tried Links 2.0/FreeBSD and MSIE 5.5/Win2K

               Lev Serebryakov
/-----------------------------------------------\
| FIDONet: 2:5030/661.0                         |
| E-Mail:  lev@serebryakov.spb.ru               | 
| Page:    http://lev.serebryakov.spb.ru/       |
| ICQ UIN: 3670018                              |
| Phone:   You know, if you have world nodelist |
\===============================================/


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


From owner-freebsd-java  Tue Aug  6  2:11:47 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id A0F0937B400; Tue,  6 Aug 2002 02:11:45 -0700 (PDT)
Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 470B943E65; Tue,  6 Aug 2002 02:11:45 -0700 (PDT)
	(envelope-from billh@gnuppy.monkey.org)
Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian))
	id 17c0NU-00054t-00; Tue, 06 Aug 2002 02:11:44 -0700
Date: Tue, 6 Aug 2002 02:11:44 -0700
To: Alexey Zelkin <phantom@FreeBSD.org>
Cc: java@FreeBSD.org, "Bill Huey (Hui)" <billh@gnuppy.monkey.org>
Subject: Re: status: native jdk 1.4.0 port
Message-ID: <20020806091144.GA19437@gnuppy.monkey.org>
References: <20020805194153.A73363@ark.cris.net> <20020805230216.GA3261@gnuppy.monkey.org> <20020806110204.A70372@phantom.cris.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020806110204.A70372@phantom.cris.net>
User-Agent: Mutt/1.4i
From: Bill Huey (Hui) <billh@gnuppy.monkey.org>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Tue, Aug 06, 2002 at 11:02:04AM +0300, Alexey Zelkin wrote:
> Not, yet. Mostly my patches. I did not have a time to take a look on p7 yet.

Hey,

I looked at your patches and it'll work for the main thread (from main()), but
it will fail trying to spawn other threads. I had this happen when I was doing
the port at BSDi, where the compiler and other tools that don't spawn threads
worked pretty much flawlessly but blew up when I ran multithreaded GUI apps. 

Back then, newly created threads it were failing on asserts, because of a race
in pthreads that wouldn't suspend a thread within an signal/wait exchange in
a condition variable. The missing suspend operation would then allow for the
newly create thread run before the stack could be attached to the garbage
collector, therefore failing.

You'll eventually need to deal with that problem and I suggest that you migrate
to the current stuff in patch 7 and merge the changes in it into your bsd/ tree.
If you get that done, merged, commited, etc... I'll abandon my linux/ tree
and use your stuff. Signal handling in HotSpot is pretty hairy, so replicating
that work wouldn't be the most direct method of getting the HotSpot core
running. Use my stuff in other words. ;)

There isn't an immediately need to do this since you're still trying to get
1.4 to build, but you will need it or some how address these issues to be able
to run the environment correctly once that's done.

That's my suggestion. Open source communication is pretty crappy, so keep
in touch. ;)

bill


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


From owner-freebsd-java  Tue Aug  6 11: 7:26 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CC4A237B400
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 11:07:25 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6EB0A43E6A
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 11:07:25 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id E0447AB2A; Fri,  2 Aug 2002 10:17:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP id DE27EA947
	for <freebsd-java@freebsd.org>; Fri,  2 Aug 2002 10:17:49 -0700 (PDT)
Date: Fri, 2 Aug 2002 10:17:49 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: freebsd-java@freebsd.org
Subject: backporting libc_r changes
Message-ID: <20020802101552.Y62438-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Any estimates on how difficult this would be?  I wouldn't mind biting it
off if it would help us get a hotspot working under -stable and if it's
within my capability...

   Nick



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


From owner-freebsd-java  Tue Aug  6 11: 7:30 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D2CD637B405
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 11:07:26 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6ECA743E6E
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 11:07:25 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id 6F165AB35; Thu,  1 Aug 2002 09:52:41 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP id 6E52CA947
	for <freebsd-java@freebsd.org>; Thu,  1 Aug 2002 09:52:41 -0700 (PDT)
Date: Thu, 1 Aug 2002 09:52:36 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: freebsd-java@freebsd.org
Subject: native jvm arraycopy / corruption problem 
Message-ID: <20020801095035.O62438-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Apologies if this is a duplicate... been having some mail problems & this
didn't turn up in the archive...


I'm running Resin and a bunch of JSP stuffs under the FreeBSD JVM 1.3.1,
and running into a bit of trouble.  I'm hoping someone closer to the code
can point me in the right direction, or someone else may have seen this
problem and can verify it exists.

A certain piece of code (in this case an XSLT filter) calls
java.io.ByteArrayOutputStream.toByteArray.  Inside this bit of code, an
arraycopy is done from a byte[] to a byte[].  The problem is that at
times, this will throw an ArrayCopyException, which is really only
supposed to happen if there's an attempt to copy into an array of a
different type (like from a byte[] to an int[]).  As far as I can see,
there's no way for the arguments into arraycopy from toByteArray to be
anything but byte[].

I noticed that the code in the jvm for arraycopy checks the flags of the
objects passed in and then performs a different type of memcopy depending
on the types, so this suggests that somehow the flags for at least one of
the two byte[]'s are getting corrupted so that one of them appears to be
something other than byte[].

Tracking this down is probably going to be an incredible pain in the
behind :-(  In the meantime, it seems that running the Linux JVM with
Linux compat works fine.

   Nick


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9SWdZ6oaD7JHSxFYRApRCAJoDGNyE1FaZLSfK2DbHpcKaEsBIzgCgiqQj
oa4MpNi98Q5eDoF/gnOSqYw=
=3tJy
-----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  Tue Aug  6 12:30:19 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AAFFE37B400
	for <freebsd-java@FreeBSD.ORG>; Tue,  6 Aug 2002 12:30:15 -0700 (PDT)
Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E1DB343E5E
	for <freebsd-java@FreeBSD.ORG>; Tue,  6 Aug 2002 12:30:14 -0700 (PDT)
	(envelope-from eischen@pcnet1.pcnet.com)
Received: from localhost (eischen@localhost)
	by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g76JUDWP028548;
	Tue, 6 Aug 2002 15:30:13 -0400 (EDT)
Date: Tue, 6 Aug 2002 15:30:13 -0400 (EDT)
From: Daniel Eischen <eischen@pcnet1.pcnet.com>
To: Nick Johnson <freebsd@spatula.net>
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: backporting libc_r changes
In-Reply-To: <20020802101552.Y62438-100000@turing.morons.org>
Message-ID: <Pine.GSO.4.10.10208061521050.27161-100000@pcnet1.pcnet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Fri, 2 Aug 2002, Nick Johnson wrote:

> Any estimates on how difficult this would be?  I wouldn't mind biting it
> off if it would help us get a hotspot working under -stable and if it's
> within my capability...

It's not _that_ difficult for someone who understands the
code and the differences.  I wish I had time but I'm working
on the KSE stuff.  If I did have the time, I'd try to change
-current so that it would work in -stable with just a couple
of #ifdefs.

Notable differences between -current and -stable:

  o system calls are _thread_sys_* in -stable and
    __sys_* in -current.  The threads library could
    always use __SYS_* or something and conditionally
    define these to be the right thing depending on
    whether it was -stable or -current.

  o -current doesn't include libc, so there may be
    some differences due to that (cancellation
    points and weak definitions might have to be
    changed/removed for -stable).

-- 
Dan Eischen


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


From owner-freebsd-java  Tue Aug  6 14:40:12 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7EB7837B400
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 14:40:09 -0700 (PDT)
Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D09DC43E4A
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 14:40:08 -0700 (PDT)
	(envelope-from billh@gnuppy.monkey.org)
Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian))
	id 17cC3U-0000ci-00; Tue, 06 Aug 2002 14:39:52 -0700
Date: Tue, 6 Aug 2002 14:39:52 -0700
To: freebsd@spatula.net
Cc: freebsd-java@FreeBSD.ORG, eischen@pcnet1.pcnet.com,
	"Bill Huey (Hui)" <billh@gnuppy.monkey.org>
Subject: Re: backporting libc_r changes
Message-ID: <20020806213952.GA2381@gnuppy.monkey.org>
References: <20020802101552.Y62438-100000@turing.morons.org> <Pine.GSO.4.10.10208061521050.27161-100000@pcnet1.pcnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.10.10208061521050.27161-100000@pcnet1.pcnet.com>
User-Agent: Mutt/1.4i
From: Bill Huey (Hui) <billh@gnuppy.monkey.org>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org


Hey Nick,

On Tue, Aug 06, 2002 at 03:30:13PM -0400, Daniel Eischen wrote:
> It's not _that_ difficult for someone who understands the
> code and the differences.  I wish I had time but I'm working
> on the KSE stuff.  If I did have the time, I'd try to change
> -current so that it would work in -stable with just a couple
> of #ifdefs.
> 
> Notable differences between -current and -stable:
> 
>   o system calls are _thread_sys_* in -stable and
>     __sys_* in -current.  The threads library could
>     always use __SYS_* or something and conditionally
>     define these to be the right thing depending on
>     whether it was -stable or -current.

It's just like in that private mail I wrote to you a while back when you
asked that same question to me. Did you think I was lying or something 
like that ? ;)

>   o -current doesn't include libc, so there may be
>     some differences due to that (cancellation
>     points and weak definitions might have to be
>     changed/removed for -stable).

Sound like it's much the same stuff. :)

bill


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


From owner-freebsd-java  Tue Aug  6 14:56:14 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DAD1037B400
	for <freebsd-java@FreeBSD.ORG>; Tue,  6 Aug 2002 14:56:12 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 629BC43E65
	for <freebsd-java@FreeBSD.ORG>; Tue,  6 Aug 2002 14:56:12 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id 28206AB28; Tue,  6 Aug 2002 14:56:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP
	id 275C2A947; Tue,  6 Aug 2002 14:56:12 -0700 (PDT)
Date: Tue, 6 Aug 2002 14:56:12 -0700 (PDT)
From: freebsd@spatula.net
X-X-Sender: spatula@turing.morons.org
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: freebsd-java@FreeBSD.ORG, <eischen@pcnet1.pcnet.com>
Subject: Re: backporting libc_r changes
In-Reply-To: <20020806213952.GA2381@gnuppy.monkey.org>
Message-ID: <20020806145443.X13773-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Tue, 6 Aug 2002, Bill Huey wrote:

> It's just like in that private mail I wrote to you a while back when you
> asked that same question to me. Did you think I was lying or something
> like that ? ;)

Not at all.  Freebsd.org's mail servers, on the other hand, thought they
were not going to accept my email until my reverse DNS started working
properly, which happened earlier today :-)

   Nick


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


From owner-freebsd-java  Tue Aug  6 15:23:41 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 75F0337B400
	for <java@freebsd.org>; Tue,  6 Aug 2002 15:23:38 -0700 (PDT)
Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9178643E6A
	for <java@freebsd.org>; Tue,  6 Aug 2002 15:23:37 -0700 (PDT)
	(envelope-from parv@pair.com)
Received: from sdn-ar-007dcwashp310.dialsprint.net ([63.178.90.176] helo=moo.holy.cow)
	by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 17cCjc-0005wa-00; Tue, 06 Aug 2002 15:23:24 -0700
Received: by moo.holy.cow (Postfix, from userid 1001)
	id 0F9CD50BBA; Tue,  6 Aug 2002 18:25:19 -0400 (EDT)
Date: Tue, 6 Aug 2002 18:25:18 -0400
From: parv <parv_fm@emailgroups.net>
To: Lev Serebryakov <lev@serebryakov.spb.ru>
Cc: java@FreeBSD.ORG
Subject: Re: Could not download Patchset 7
Message-ID: <20020806222518.GA24744@moo.holy.cow>
Mail-Followup-To: Lev Serebryakov <lev@serebryakov.spb.ru>,
	java@FreeBSD.ORG
References: <44158392375.20020806121930@serebryakov.spb.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <44158392375.20020806121930@serebryakov.spb.ru>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

in message <44158392375.20020806121930@serebryakov.spb.ru>,
wrote Lev Serebryakov thusly...
>
> Hello, java! How are you?
>
>   I'm select "ACCEPT" button on
>   http://www.eyesbeyond.com/freebsddom/java/JDK13SCSLConfirm.html and
>   my browser go to index.html :(
>   I've tried Links 2.0/FreeBSD and MSIE 5.5/Win2K

i had/have the similar problem (it was like a loop) when i tried/try
w/ junkbuster *proxy*.  there was/is no problem downloading w/o that
proxy.  so make sure there is no proxy like software interfering.

actual problem may not lie w/ the junkbuster proxy but the server
and/or server software which directs the browser (linux netscape in
my case) to start downloading.


  - parv

--


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


From owner-freebsd-java  Tue Aug  6 21:29: 3 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 224CE37B400
	for <freebsd-java@FreeBSD.ORG>; Tue,  6 Aug 2002 21:28:58 -0700 (PDT)
Received: from ongs.co.jp (ns.ongs.co.jp [202.216.232.58])
	by mx1.FreeBSD.org (Postfix) with SMTP id E362D43E5E
	for <freebsd-java@FreeBSD.ORG>; Tue,  6 Aug 2002 21:28:55 -0700 (PDT)
	(envelope-from daichi@jp.freebsd.org)
Received: (qmail 1978 invoked from network); 7 Aug 2002 04:30:15 -0000
Received: from unknown (HELO parancell.ongs.co.jp) (202.216.232.62)
  by ns.ongs.co.jp with SMTP; 7 Aug 2002 04:30:15 -0000
Date: Wed, 7 Aug 2002 13:30:01 +0900
From: daichi <daichi@jp.freebsd.org>
To: freebsd-java@FreeBSD.ORG
Subject: JDK131 patchset7: Working report of HotSpot on -stable
Message-Id: <20020807133001.628c5d23.daichi@jp.freebsd.org>
Organization: ONGS Inc.
X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i386-portbld-freebsd4.6)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

I built HotSpot on -stable in response to Mr. Maruyama's advice.
I report the contents which worked here(These contents of a 
report were already reported on Japan FreeBSD JavaML. Please 
refer to those who can read Japanese. 
http://home.jp.freebsd.org/cgi-bin/showmail/java/155).

System(uname -a)
----------------
  FreeBSD parancell.ongs.co.jp 4.6-PRERELEASE-20020511-JPSNAP 
    FreeBSD 4.6-PRERELEASE-20020511-JPSNAP #0: 
    Thu Aug  1 19:53:25 JST 2002

Preparation
-----------
  o You need source code in /usr/src/lib/libc_r/uthread/.
    Install it by /stand/sysinstall.
  o You need Linux JDK131(/usr/ports/java/linux-sun-jdk13/).
    (I use linux_base6)
  o I use open-motif-2.1.30_3(/usr/ports/x11-toolkits/open-motif)
  o I use ja-kochi-ttfonts-20020727(/usr/ports/japanese/kochi-ttfonts)
  o I use gcc-3.1.1_20020726(/usr/ports/lang/gcc31)
  o I use jdk13 ports updated at 2002/08/06(/usr/ports/java/jdk13).
  
Build
-----
  It is assumed that a patch is in /tmp/.

Maruyama_san-os_linux.cpp.diff: 
--- hotspot1.3.1/src/os/linux/vm/os_linux.cpp   14 Jul 2002 03:02:53 -0000
+++ hotspot1.3.1/src/os/linux/vm/os_linux.cpp   26 Jul 2002 10:36:11 -0000
@@ -68,6 +68,16 @@
 
 // Port Specific Routines
 //
+#if defined(__FreeBSD__) && __FreeBSD_version <= 500000
+static int
+pthread_main_np()
+{
+       if (!_thread_initial)
+               return (-1);
+       else
+               return (pthread_equal(pthread_self(), _thread_initial) ? 1 : 0);
+}
+#endif
 
 extern "C"
 {

pthread_private.h.diff:
--- pthread_private.h.orig  Mon Aug  5 21:01:59 2002
+++ pthread_private.h       Mon Aug  5 22:30:32 2002
@@ -1004,6 +1004,7 @@
 #endif
 
 /* Default thread attributes: */
+#undef pthread_attr_default
 SCLASS struct pthread_attr pthread_attr_default
 #ifdef GLOBAL_PTHREAD_PRIVATE
 = { SCHED_RR, 0, TIMESLICE_USEC, PTHREAD_DEFAULT_PRIORITY, PTHREAD_CREATE_RUNNI
NG,
@@ -1013,6 +1014,7 @@
 #endif
 
 /* Default mutex attributes: */
+#undef pthread_mutexattr_default
 SCLASS struct pthread_mutex_attr pthread_mutexattr_default
 #ifdef GLOBAL_PTHREAD_PRIVATE
 = { PTHREAD_MUTEX_DEFAULT, PTHREAD_PRIO_NONE, 0, 0 };
@@ -1021,6 +1023,7 @@
 #endif
 
 /* Default condition variable attributes: */
+#undef pthread_condattr_default
 SCLASS struct pthread_cond_attr pthread_condattr_default
 #ifdef GLOBAL_PTHREAD_PRIVATE
 = { COND_TYPE_FAST, 0 };

    # cd /usr/ports/java/jdk13/
    # make patch
    # cd work
    # patch < /tmp/Maruyama_san-os_linux.cpp.diff
    # cd /usr/src/lib/libc_r/uthread/
    # patch < /tmp/pthread_private.h.diff
    # cd /usr/ports/java/jdk13/
    # make WITH_NATIVE_THREADS=yes install
    # cd hotspot1.3.1/build/linux/
    # setenv ALT_BOOTDIR /usr/local/linux-jdk1.3.1/
    # gmake core
    # gmake compiler1
    # gmake compiler2 
    # mkdir -p /usr/local/jdk1.3.1/jre/lib/i386/hotspot/

Usage
-----
  Three HotSpots are built. It is performed as follows for using, 
  respectively.

  [core HotSpot]
    # cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/
    # cp linux_i486_core/product/libjvm.so /usr/local/jdk1.3.1/jre/lib/i386/hotspot/
    # cp linux_i486_core/jvmg/libjvm_g.so /usr/local/jdk1.3.1/jre/lib/i386/hotspot/

  [compiler1 HotSpot]
    # cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/
    # cp linux_i486_compiler1/product/libjvm.so /usr/local/jdk1.3.1/jre/lib/i386/hotspot/
    # cp linux_i486_compiler1/jvmg/libjvm_g.so /usr/local/jdk1.3.1/jre/lib/i386/hotspot/

  [compiler2 HotSpot]
    # cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/
    # cp linux_i486_compiler2/product/libjvm.so /usr/local/jdk1.3.1/jre/lib/i386/hotspot/
    # cp linux_i486_compiler2/jvmg/libjvm_g.so /usr/local/jdk1.3.1/jre/lib/i386/hotspot/

  for example,
    > java -version
    java version "1.3.1-p7"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-root-020806-17:02)
    Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode)

Comparison of execution speed
-----------------------------
  The comparison of exeuciont speed by CaffeineMark 3.0.

        Caffeine-JDK118-nojit                   score = 2519
        Caffeine-JDK122-nojit                   score = 2490
        Caffeine-JDK131-hotspot-compiler1       score = 26949
        Caffeine-JDK131-hotspot-core            score = 2217
        Caffeine-JDK131-nohotspot               score = 2495
        Caffeine-LinuxBDJDK131-hotspot          score = 28304
        Caffeine-LinuxBDJDK131-nohotspot        score = 2471
        Caffeine-LinuxIBMJDK131-jit             score = 144050
        Caffeine-LinuxSunJDK122-nojit           score = 2491
        Caffeine-LinuxSunJDK131-hotspot         score = 28499
        Caffeine-LinuxSunJDK131-nohotspot       score = 2481
        Caffeine-LinuxSunJDK140-clienthotspot   score = 26947

  A summary of a result shows the characteristic which the FreeBSD 
  version and Linux version also resembled(However, Linux IBM JDK131 
  is outside. Has not it used the source code of Sun as the base?
  The characteristic is considerably different. And it operates 
  quickly wonderfully.). That's right since the code base is the same, 
  if it is called a natural result.
  The usefulness of HotSpot can be reconfirmed as a result.

Bug
---
  A Java2D demonstration carries out a strange motion. If it passes 
  fixed time, processing will stop temporarily. 
  A source code is not displayed in SwingSet2 demonstration.
  Heavy JFC/Swing, such as Forte and ArgoUML, -- an application does 
  not start, etc.

--
Daichi GOTO
    http://www.ongs.net/daichi, daichi@jp.freebsd.org

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


From owner-freebsd-java  Tue Aug  6 22:53:56 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E7EED37B400
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 22:53:53 -0700 (PDT)
Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 883C043E42
	for <freebsd-java@freebsd.org>; Tue,  6 Aug 2002 22:53:53 -0700 (PDT)
	(envelope-from billh@gnuppy.monkey.org)
Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian))
	id 17cJlL-0005pz-00; Tue, 06 Aug 2002 22:53:39 -0700
Date: Tue, 6 Aug 2002 22:53:39 -0700
To: daichi <daichi@jp.freebsd.org>
Cc: freebsd-java@FreeBSD.ORG,
	"Bill Huey (Hui)" <billh@gnuppy.monkey.org>
Subject: Re: JDK131 patchset7: Working report of HotSpot on -stable
Message-ID: <20020807055339.GA20311@gnuppy.monkey.org>
References: <20020807133001.628c5d23.daichi@jp.freebsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020807133001.628c5d23.daichi@jp.freebsd.org>
User-Agent: Mutt/1.4i
From: Bill Huey (Hui) <billh@gnuppy.monkey.org>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Wed, Aug 07, 2002 at 01:30:01PM +0900, daichi wrote:
>         Caffeine-JDK118-nojit                   score = 2519
>         Caffeine-JDK122-nojit                   score = 2490
>         Caffeine-JDK131-hotspot-compiler1       score = 26949
>         Caffeine-JDK131-hotspot-core            score = 2217
>         Caffeine-JDK131-nohotspot               score = 2495
>         Caffeine-LinuxBDJDK131-hotspot          score = 28304
>         Caffeine-LinuxBDJDK131-nohotspot        score = 2471

That's good that we're on par with Linux's HotSpot. ;)

>   A summary of a result shows the characteristic which the FreeBSD 
>   version and Linux version also resembled(However, Linux IBM JDK131 
>   is outside. Has not it used the source code of Sun as the base?
>   The characteristic is considerably different. And it operates 
>   quickly wonderfully.). That's right since the code base is the same, 
>   if it is called a natural result.
>   The usefulness of HotSpot can be reconfirmed as a result.
 
> Bug
> ---
>   A Java2D demonstration carries out a strange motion. If it passes 
>   fixed time, processing will stop temporarily. 
>   A source code is not displayed in SwingSet2 demonstration.
>   Heavy JFC/Swing, such as Forte and ArgoUML, -- an application does 
>   not start, etc.

I didn't make any guarantees for -stable and I was hoping patches like
that wouldn't get publically posted or else we might get flooding with
senseless bug reports. It should only be tested under -current and I
suggest running those program under it.

bill


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


From owner-freebsd-java  Wed Aug  7  6:36: 1 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1E45F37B400
	for <freebsd-java@freebsd.org>; Wed,  7 Aug 2002 06:36:00 -0700 (PDT)
Received: from veldy.net (veldy-host33.dsl.visi.com [209.98.200.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B7FF843E42
	for <freebsd-java@freebsd.org>; Wed,  7 Aug 2002 06:35:59 -0700 (PDT)
	(envelope-from veldy@veldy.net)
Received: from VELDYLT (localhost.veldy.net [127.0.0.1])
	by veldy.net (Postfix) with SMTP id 3001A1FD30
	for <freebsd-java@freebsd.org>; Wed,  7 Aug 2002 08:35:58 -0500 (CDT)
Message-ID: <009d01c23e17$6ccd77d0$8204dca7@northamerica.corp.microsoft.com>
From: "Thomas T. Veldhouse" <veldy@veldy.net>
To: <freebsd-java@freebsd.org>
Subject: connectors for tomcat-4?
Date: Wed, 7 Aug 2002 08:36:23 -0500
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 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Is there a port to build the connectors (mod_jk) for tomcat-4.0.4?  I am
having trouble getting the source to build against apache 2 and mod_jk wants
to build against tomcat 3.

Thanks in advance,

Tom Veldhouse


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


From owner-freebsd-java  Wed Aug  7  7:13: 7 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4ACF037B400; Wed,  7 Aug 2002 07:13:03 -0700 (PDT)
Received: from swansea.cableinet.net (swansea.cableinet.net [194.117.135.69])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id EB03043E77; Wed,  7 Aug 2002 07:13:02 -0700 (PDT)
	(envelope-from bnazir@swansea.cableinet.net)
Received: by swansea.cableinet.net (Postfix, from userid 1001)
	id 7947211893; Wed,  7 Aug 2002 15:10:41 +0100 (BST)
Date: Wed, 7 Aug 2002 15:10:41 +0100
From: Burhan Nazir <burhan@blueyonder.co.uk>
To: freebsd-java@freebsd.org, freebsd-questions@freebsd.org
Subject: JRUN4 installation trouble
Message-ID: <20020807141041.GC83493@swansea.cableinet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.1i
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Hello chaps,

I have this wish to run everything on FreeBSD, however, I'm having difficulty
getting JRun4 to work.

When using the linux binary of JRun4 and linux-sun-jdk1.3, I get the
following error when I try and start the server:

swansea$ ./jrun -start admin &
[1] 83705
swansea$ Error: failed
/usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so, because
/usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so: undefined symbol:
jdk_sem_post

When using the linux binary of JRun4 and the native FreeBSD jdk1.3, I get the
following error:

swansea$ ./jrun -start admin &
[1] 83711
swansea$ Error: failed /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so,
because /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so: ELF file OS ABI
invalid

I'm using linux-base-7 and the linux module is loaded.

I am a bit new to all of this.  What can I do to progress this?

Many thanks
-Burhan

-- 
 FreeBSD 4.6-STABLE | http://www.freebsd.org
 3:05PM  up  4:28, 5 users, load averages: 0.00, 0.00, 0.00

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


From owner-freebsd-java  Wed Aug  7  9:19:39 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id DEE5737B400; Wed,  7 Aug 2002 09:19:27 -0700 (PDT)
Received: from swansea.cableinet.net (swansea.cableinet.net [194.117.135.69])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 67CCC43E65; Wed,  7 Aug 2002 09:19:27 -0700 (PDT)
	(envelope-from bnazir@swansea.cableinet.net)
Received: by swansea.cableinet.net (Postfix, from userid 1001)
	id 1C90511893; Wed,  7 Aug 2002 17:17:03 +0100 (BST)
Date: Wed, 7 Aug 2002 17:17:02 +0100
From: Burhan Nazir <burhan@blueyonder.co.uk>
To: freebsd-java@freebsd.org, freebsd-questions@freebsd.org
Subject: Re: JRUN4 installation trouble
Message-ID: <20020807161702.GF83493@swansea.cableinet.net>
References: <20020807141041.GC83493@swansea.cableinet.net> <OAEOLDPOMIMMJMKEBFHCKEGKCPAA.jps@funeralexchange.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OAEOLDPOMIMMJMKEBFHCKEGKCPAA.jps@funeralexchange.com>
User-Agent: Mutt/1.5.1i
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Jeremy, 

Many thanks for this, it all works now!

-Burhan


Jeremy Suo-Anttila wrote:

> I am running JRUN 4 under the native jdk1.3.1 and its great the only problem
> i had is whenever i would try and execute any of the binaries located in the
> /bin dir of Jrun it would send my jdk/jrun processes to 99% and hang so my
> work around was to cd to the jrun/lib/ dir and start the servers manually.
> 
> 
> java -jar jrun.jar -start admin &
> java -jar jrun.jar -start default &
> java -jar jrun.jar -start samples &
> java -jar jrun.jar -start yourservername &
> 
> you can also run
> 
> java -jar jrun.jar -stop admin &
> 
> to stop the admin server. The rest should be pretty obvious from there. I
> would love to know if anyone has been able to get Jrun to work with
> jdk1.4.01 under linux emulation.  Also if you want to build your own
> binaries for the jrun to start and stop with i would suggest you download
> the jrun-sdk.zip and docs. This will allow you build all your own binaries
> and also your own custom mod_jrun.so for use with apache. The ones that are
> included with the jrun installer are for linux only and do not work with the
> native jdk1.3.1. Or you can hack it and just create some simple wrapper
> scripts to start and stop jrun and then replace the binaires with the
> wrappers to allow you use the web admin without any hassles.
> 
> 
> Thanks
> 
> Jeremy Suo-Anttila
> jps@funeralexchange.com
> ALLNEO Network Operations
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: owner-freebsd-java@FreeBSD.ORG
> [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Burhan Nazir
> Sent: Wednesday, August 07, 2002 9:11 AM
> To: freebsd-java@freebsd.org; freebsd-questions@freebsd.org
> Subject: JRUN4 installation trouble
> 
> 
> Hello chaps,
> 
> I have this wish to run everything on FreeBSD, however, I'm having
> difficulty
> getting JRun4 to work.
> 
> When using the linux binary of JRun4 and linux-sun-jdk1.3, I get the
> following error when I try and start the server:
> 
> swansea$ ./jrun -start admin &
> [1] 83705
> swansea$ Error: failed
> /usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so, because
> /usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so: undefined symbol:
> jdk_sem_post
> 
> When using the linux binary of JRun4 and the native FreeBSD jdk1.3, I get
> the
> following error:
> 
> swansea$ ./jrun -start admin &
> [1] 83711
> swansea$ Error: failed /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so,
> because /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so: ELF file OS ABI
> invalid
> 
> I'm using linux-base-7 and the linux module is loaded.
> 
> I am a bit new to all of this.  What can I do to progress this?
> 
> Many thanks
> -Burhan
> 
> --
>  FreeBSD 4.6-STABLE | http://www.freebsd.org
>  3:05PM  up  4:28, 5 users, load averages: 0.00, 0.00, 0.00
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message

-- 
 FreeBSD 4.6-STABLE | http://www.freebsd.org
 5:14PM  up  6:37, 9 users, load averages: 0.25, 0.28, 0.21

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


From owner-freebsd-java  Wed Aug  7 13:25:44 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1685637B400; Wed,  7 Aug 2002 13:25:42 -0700 (PDT)
Received: from localhost.jollem.com (uds94-45.dial.hccnet.nl [62.251.45.94])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 5142F43E7B; Wed,  7 Aug 2002 13:25:40 -0700 (PDT)
	(envelope-from ernst@localhost.jollem.com)
Received: (from ernst@localhost)
	by localhost.jollem.com (8.11.6/8.11.6) id g77KPXi04699;
	Wed, 7 Aug 2002 22:25:33 +0200 (CEST)
	(envelope-from ernst)
Date: Wed, 7 Aug 2002 22:25:33 +0200 (CEST)
Message-Id: <200208072025.g77KPXi04699@localhost.jollem.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Java SDK (JDK) installation directories should be unified
From: Ernst de Haan <znerd@freebsd.org>
Reply-To: Ernst de Haan <znerd@freebsd.org>
Cc: java@freebsd.org
X-send-pr-version: 3.113
X-GNATS-Notify: 
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org


>Submitter-Id:	current-users
>Originator:	Ernst de Haan
>Organization:	FreeBSD
>Confidential:	no 
>Synopsis:	Java SDK (JDK) installation directories should be unified
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 4.5-RELEASE i386
>Environment:
System: FreeBSD heinz 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Sat Mar 2 13:27:29 CET 2002 root@heinz:/usr/src/sys/compile/HEINZ i386
>Description:
Currently, the JDK port directories have been unified, but the JDK
installation directories have not:

$ grep ^_JAVA_HOME_ /usr/ports/Mk/bsd.java.mk
_JAVA_HOME_FREEBSD_1_1=         ${LOCALBASE}/jdk1.1.8
_JAVA_HOME_FREEBSD_1_2=         ${LOCALBASE}/jdk1.2.2
_JAVA_HOME_FREEBSD_1_3=         ${LOCALBASE}/jdk1.3.1
_JAVA_HOME_BLACKDOWN_LINUX_1_2= ${LOCALBASE}/linux-jdk1.2.2
_JAVA_HOME_SUN_LINUX_1_2=       ${LOCALBASE}/linux-sun-jdk1.2.2.012
_JAVA_HOME_BLACKDOWN_LINUX_1_3= ${LOCALBASE}/linux-blackdown-jdk1.3.1
_JAVA_HOME_IBM_LINUX_1_3=       ${LOCALBASE}/linux-ibm-jdk1.3.1
_JAVA_HOME_SUN_LINUX_1_3=       ${LOCALBASE}/linux-jdk1.3.1
_JAVA_HOME_SUN_LINUX_1_4=       ${LOCALBASE}/linux-jdk1.4.0
$

Suggested change:

Blackdown (Linux) 1.2 ==> linux-blackdown-jdk1.2.2
Sun (Linux) 1.3       ==> linux-sun-jdk1.3.1
Sun (Linux) 1.4       ==> linux-sun-jdk1.4.0

Also, it seems a bit odd that the Sun (Linux) JDK 1.2 installation directory
includes '.012' at the end. That should be removed from the installation
directory. So additionally:

Sun (Linux) 1.2       ==> linux-sun-jdk1.2.2

I will make these changes if noone objects against them.

I'm putting this in GNATS for several reasons:
* My plan is clear to the outside world, if people object or are in favor,
  then I will probably hear so (at least in the first case :> )
* It helps me manage my FreeBSD time :)
* Now we have a history
>How-To-Repeat:
>Fix:

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


From owner-freebsd-java  Thu Aug  8  1: 9:51 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3EBD737B400
	for <freebsd-java@FreeBSD.ORG>; Thu,  8 Aug 2002 01:09:49 -0700 (PDT)
Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4381443E84
	for <freebsd-java@FreeBSD.ORG>; Thu,  8 Aug 2002 01:09:48 -0700 (PDT)
	(envelope-from ernst@zaphod.euronet.nl)
Received: from zaphod.euronet.nl (localhost [127.0.0.1])
	by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7889bYU010667;
	Thu, 8 Aug 2002 10:09:37 +0200 (CEST)
	(envelope-from ernst@zaphod.euronet.nl)
Received: (from ernst@localhost)
	by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7889Xf4010666;
	Thu, 8 Aug 2002 10:09:33 +0200 (CEST)
Content-Type: text/plain;
  charset="iso-8859-1"
From: Ernst de Haan <znerd@FreeBSD.ORG>
To: daichi <daichi@jp.freebsd.org>, freebsd-java@FreeBSD.ORG,
	Greg Lewis <glewis@eyesbeyond.com>,
	Bill Huey (Hui) <billh@gnuppy.monkey.org>
Subject: Re: JDK131 patchset7: Working report of HotSpot on -stable
Date: Thu, 8 Aug 2002 10:09:33 +0200
User-Agent: KMail/1.4.2
References: <20020807133001.628c5d23.daichi@jp.freebsd.org>
In-Reply-To: <20020807133001.628c5d23.daichi@jp.freebsd.org>
X-Address: Muiderstraat 1, Amsterdam, Netherlands
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200208081009.33018.znerd@FreeBSD.org>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

>         Caffeine-JDK118-nojit                   score = 2519
>         Caffeine-JDK122-nojit                   score = 2490
>         Caffeine-JDK131-hotspot-compiler1       score = 26949
>         Caffeine-JDK131-hotspot-core            score = 2217
>         Caffeine-JDK131-nohotspot               score = 2495
>         Caffeine-LinuxBDJDK131-hotspot          score = 28304
>         Caffeine-LinuxBDJDK131-nohotspot        score = 2471
>         Caffeine-LinuxIBMJDK131-jit             score = 144050
>         Caffeine-LinuxSunJDK122-nojit           score = 2491
>         Caffeine-LinuxSunJDK131-hotspot         score = 28499
>         Caffeine-LinuxSunJDK131-nohotspot       score = 2481
>         Caffeine-LinuxSunJDK140-clienthotspot   score = 26947

This is AMAZING !!! Isn't this what we've all been eagerly waiting for? This 
certainly is a big leap forward, not only in terms of performance, but in 
terms of the position of FreeBSD in the community of Java-supporting OSes.

Bill, Greg and all others who made this possible, I really owe you guys one! 
You're welcome to come and get it :-)

C O N G R A T U L A T I O N S   ! ! ! !


Ernst
(Netherlands)

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


From owner-freebsd-java  Thu Aug  8  7:48: 3 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 94E0137B400
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 07:48:02 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B5B6643E86
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 07:48:01 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id 7B9AAAB40; Thu,  8 Aug 2002 07:48:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP id 7A9B6AB36
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 07:48:01 -0700 (PDT)
Date: Thu, 8 Aug 2002 07:48:01 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: freebsd-java@freebsd.org
Subject: Thread.sleep implementation
Message-ID: <20020808074233.T13773-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

I've noticed that in threads which are trying to make locks or wait to
retry on some failure condition, the JVM tends to suddenly begin using
tons of CPU, despite the presense of a Thread.sleep() call inside the
loop.

What seems to also happen is starvation of the other threads, almost as
though Thread.sleep were implemented as a busy loop (?).  I'll try to come
up with a test case for this.  I bring it up here in case someone closer
to the JVM's internals might know what I'm talking about...

   Nick



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


From owner-freebsd-java  Thu Aug  8  9:32:36 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B497D37B405
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 09:32:33 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DE32F43E6A
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 09:32:31 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id 812B9AB28; Thu,  8 Aug 2002 09:32:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP id 806BEA947
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 09:32:26 -0700 (PDT)
Date: Thu, 8 Aug 2002 09:32:26 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: freebsd-java@freebsd.org
Subject: segv in RandomAccessFile native method
Message-ID: <20020808093049.T13773-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Lucene keeps bombing periodically, and always in this same place.  If I
have some spare time I'll see if I can hunt down what's happening.  Has
anyone else had something similar happen?

    "tcpConnection-6802-12" (TID:0x2c0ece00, sys_thread_t:0x8b4a080,
state:R) prio=5
        at java.io.RandomAccessFile.length(Native Method)
        at org.apache.lucene.store.FSInputStream.<init>(Unknown Source)
        at org.apache.lucene.store.FSDirectory.openFile(Unknown Source)
        at org.apache.lucene.index.TermInfosReader.<init>(Unknown Source)
        at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
        at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
        at org.apache.lucene.index.IndexReader$1.doBody(Unknown Source)
        at org.apache.lucene.store.Lock$With.run(Unknown Source)
        at org.apache.lucene.index.IndexReader.open(Unknown Source)
        at org.apache.lucene.index.IndexReader.open(Unknown Source)
        at org.apache.lucene.search.IndexSearcher.<init>(Unknown Source)



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


From owner-freebsd-java  Thu Aug  8 12: 7:20 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 045C037B400
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 12:07:19 -0700 (PDT)
Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B823043E6E
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 12:07:18 -0700 (PDT)
	(envelope-from billh@gnuppy.monkey.org)
Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian))
	id 17cscu-0000im-00; Thu, 08 Aug 2002 12:07:16 -0700
Date: Thu, 8 Aug 2002 12:07:16 -0700
To: Nick Johnson <freebsd@spatula.net>
Cc: freebsd-java@freebsd.org
Subject: Re: Thread.sleep implementation
Message-ID: <20020808190716.GA2757@gnuppy.monkey.org>
References: <20020808074233.T13773-100000@turing.morons.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020808074233.T13773-100000@turing.morons.org>
User-Agent: Mutt/1.4i
From: Bill Huey (Hui) <billh@gnuppy.monkey.org>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Thu, Aug 08, 2002 at 07:48:01AM -0700, Nick Johnson wrote:
> I've noticed that in threads which are trying to make locks or wait to
> retry on some failure condition, the JVM tends to suddenly begin using
> tons of CPU, despite the presense of a Thread.sleep() call inside the
> loop.
> 
> What seems to also happen is starvation of the other threads, almost as
> though Thread.sleep were implemented as a busy loop (?).  I'll try to come
> up with a test case for this.  I bring it up here in case someone closer
> to the JVM's internals might know what I'm talking about...

Under what threading model ?

bill


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


From owner-freebsd-java  Thu Aug  8 13: 8:16 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7242337B400
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 13:08:14 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0739343E3B
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 13:08:14 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id AE57DAB28; Thu,  8 Aug 2002 13:08:08 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP
	id AD8FDA947; Thu,  8 Aug 2002 13:08:08 -0700 (PDT)
Date: Thu, 8 Aug 2002 13:08:08 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: freebsd-java@freebsd.org
Subject: Re: Thread.sleep implementation
In-Reply-To: <20020808190716.GA2757@gnuppy.monkey.org>
Message-ID: <20020808130530.K13773-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Thu, 8 Aug 2002, Bill Huey wrote:

> On Thu, Aug 08, 2002 at 07:48:01AM -0700, Nick Johnson wrote:
> > I've noticed that in threads which are trying to make locks or wait to
> > retry on some failure condition, the JVM tends to suddenly begin using
> > tons of CPU, despite the presense of a Thread.sleep() call inside the
> > loop.
> >
> > What seems to also happen is starvation of the other threads, almost as
> > though Thread.sleep were implemented as a busy loop (?).  I'll try to come
> > up with a test case for this.  I bring it up here in case someone closer
> > to the JVM's internals might know what I'm talking about...
>
> Under what threading model ?

Green threads with the native JVM (not hotspot), although now I'm
beginning to wonder if the problem is related more to my second post; this
particular thread is using Lucene, and reliably causing the JVM to spin
its wheels in the native method RandomAccessFile.length.  I suspect the
problem may actually be there.  That's the trouble with threads :/

   Nick


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


From owner-freebsd-java  Thu Aug  8 14:41:53 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 13C8C37B400
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 14:41:50 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B014643E4A
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 14:41:49 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id 7A5F8AB28; Thu,  8 Aug 2002 14:41:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP id 7974BA947
	for <freebsd-java@freebsd.org>; Thu,  8 Aug 2002 14:41:49 -0700 (PDT)
Date: Thu, 8 Aug 2002 14:41:49 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: freebsd-java@freebsd.org
Subject: More information about segv in RandomAccessFile native method
In-Reply-To: <20020808093049.T13773-100000@turing.morons.org>
Message-ID: <20020808141034.X13773-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Here's some more information... I finally got a core file that was worth
something:

#0  0x280b4b0c in kill () from /usr/lib/libc.so.4
#1  0x280f4eea in abort () from /usr/lib/libc.so.4
#2  0x281623d9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#3  0x28189596 in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#4  0x28077874 in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#5  0x28077834 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#6  0x28070a51 in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#7  0xbfbfffac in ?? ()
#8  0x28076068 in sysSeek () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#9  0x28175976 in JVM_Lseek () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#10 0x3c6fd734 in Java_java_io_RandomAccessFile_length () from /usr/local/freebsd-jdk1.3.1-p7-gcc31/jre/lib/i386/libjava.so
#11 0x3d75550e in dispatchJNINativeMethod () from /usr/local/freebsd-jdk1.3.1-p7-gcc31/jre/lib/i386/libOpenJIT.so

sysSeek seems to be defined in sys_api_td.c, and my best guess about
what's going on is that this is failing:

    mon = fdmon[fd];
    sysAssert(mon != NULL);

Since that would be the one thing in that block of code that strikes me as
an obvious candidate for something which might cause a panic.

So I guess the question now is this: under what circumstances would
fdmon[fd] turn up null when trying to do a seek?

   Nick


On Thu, 8 Aug 2002, Nick Johnson wrote:

> Lucene keeps bombing periodically, and always in this same place.  If I
> have some spare time I'll see if I can hunt down what's happening.  Has
> anyone else had something similar happen?
>
>     "tcpConnection-6802-12" (TID:0x2c0ece00, sys_thread_t:0x8b4a080,
> state:R) prio=5
>         at java.io.RandomAccessFile.length(Native Method)
>         at org.apache.lucene.store.FSInputStream.<init>(Unknown Source)
>         at org.apache.lucene.store.FSDirectory.openFile(Unknown Source)
>         at org.apache.lucene.index.TermInfosReader.<init>(Unknown Source)
>         at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
>         at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
>         at org.apache.lucene.index.IndexReader$1.doBody(Unknown Source)
>         at org.apache.lucene.store.Lock$With.run(Unknown Source)
>         at org.apache.lucene.index.IndexReader.open(Unknown Source)
>         at org.apache.lucene.index.IndexReader.open(Unknown Source)
>         at org.apache.lucene.search.IndexSearcher.<init>(Unknown Source)
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message
>


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


From owner-freebsd-java  Fri Aug  9 19:58: 2 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9D87537B400
	for <freebsd-java@freebsd.org>; Fri,  9 Aug 2002 19:57:56 -0700 (PDT)
Received: from ns3.ideathcare.com (mail.allneo.com [216.185.96.68])
	by mx1.FreeBSD.org (Postfix) with SMTP id BD2C143E3B
	for <freebsd-java@freebsd.org>; Fri,  9 Aug 2002 19:57:55 -0700 (PDT)
	(envelope-from jps@funeralexchange.com)
Received: (qmail 83673 invoked by uid 85); 7 Aug 2002 16:23:19 -0000
Received: from jps@funeralexchange.com by ns3.ideathcare.com with qmail-scanner-1.03 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.179434 secs); 07 Aug 2002 16:23:19 -0000
Received: from unknown (HELO pimpin) (216.138.114.143)
  by mail.allneo.com with SMTP; 7 Aug 2002 16:23:19 -0000
Reply-To: <jps@funeralexchange.com>
From: "Jeremy Suo-Anttila" <jps@funeralexchange.com>
To: "Burhan Nazir" <burhan@blueyonder.co.uk>,
	<freebsd-java@freebsd.org>, <freebsd-questions@freebsd.org>
Subject: RE: JRUN4 installation trouble
Date: Wed, 7 Aug 2002 11:18:06 -0500
Message-ID: <OAEOLDPOMIMMJMKEBFHCKEGKCPAA.jps@funeralexchange.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
In-Reply-To: <20020807141041.GC83493@swansea.cableinet.net>
Importance: Normal
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

I am running JRUN 4 under the native jdk1.3.1 and its great the only problem
i had is whenever i would try and execute any of the binaries located in the
/bin dir of Jrun it would send my jdk/jrun processes to 99% and hang so my
work around was to cd to the jrun/lib/ dir and start the servers manually.


java -jar jrun.jar -start admin &
java -jar jrun.jar -start default &
java -jar jrun.jar -start samples &
java -jar jrun.jar -start yourservername &

you can also run

java -jar jrun.jar -stop admin &

to stop the admin server. The rest should be pretty obvious from there. I
would love to know if anyone has been able to get Jrun to work with
jdk1.4.01 under linux emulation.  Also if you want to build your own
binaries for the jrun to start and stop with i would suggest you download
the jrun-sdk.zip and docs. This will allow you build all your own binaries
and also your own custom mod_jrun.so for use with apache. The ones that are
included with the jrun installer are for linux only and do not work with the
native jdk1.3.1. Or you can hack it and just create some simple wrapper
scripts to start and stop jrun and then replace the binaires with the
wrappers to allow you use the web admin without any hassles.


Thanks

Jeremy Suo-Anttila
jps@funeralexchange.com
ALLNEO Network Operations






-----Original Message-----
From: owner-freebsd-java@FreeBSD.ORG
[mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Burhan Nazir
Sent: Wednesday, August 07, 2002 9:11 AM
To: freebsd-java@freebsd.org; freebsd-questions@freebsd.org
Subject: JRUN4 installation trouble


Hello chaps,

I have this wish to run everything on FreeBSD, however, I'm having
difficulty
getting JRun4 to work.

When using the linux binary of JRun4 and linux-sun-jdk1.3, I get the
following error when I try and start the server:

swansea$ ./jrun -start admin &
[1] 83705
swansea$ Error: failed
/usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so, because
/usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so: undefined symbol:
jdk_sem_post

When using the linux binary of JRun4 and the native FreeBSD jdk1.3, I get
the
following error:

swansea$ ./jrun -start admin &
[1] 83711
swansea$ Error: failed /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so,
because /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so: ELF file OS ABI
invalid

I'm using linux-base-7 and the linux module is loaded.

I am a bit new to all of this.  What can I do to progress this?

Many thanks
-Burhan

--
 FreeBSD 4.6-STABLE | http://www.freebsd.org
 3:05PM  up  4:28, 5 users, load averages: 0.00, 0.00, 0.00

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


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


From owner-freebsd-java  Fri Aug  9 21: 5:40 2002
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 877D737B400
	for <freebsd-java@freebsd.org>; Fri,  9 Aug 2002 21:05:34 -0700 (PDT)
Received: from turing.morons.org (turing.morons.org [209.237.229.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E8CB343E4A
	for <freebsd-java@freebsd.org>; Fri,  9 Aug 2002 21:05:32 -0700 (PDT)
	(envelope-from freebsd@spatula.net)
Received: by turing.morons.org (Postfix, from userid 1001)
	id 6F4C2AB28; Fri,  9 Aug 2002 21:05:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by turing.morons.org (Postfix) with ESMTP
	id 6E3BBA947; Fri,  9 Aug 2002 21:05:23 -0700 (PDT)
Date: Fri, 9 Aug 2002 21:05:23 -0700 (PDT)
From: Nick Johnson <freebsd@spatula.net>
X-X-Sender: spatula@turing.morons.org
To: Greg Lewis <glewis@eyesbeyond.com>
Cc: freebsd-java@freebsd.org
Subject: Re: More information about segv in RandomAccessFile native method
In-Reply-To: <20020810132304.A21235@misty.eyesbeyond.com>
Message-ID: <20020809205406.E13773-100000@turing.morons.org>
X-what-happen: someone set up us the bomb
X-Message-Flags: Spatula
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

Before you go to the trouble, I have some more information still which may
be useful.

The problem completely went away after I fixed a bug in my Java code, so
this is probably a JVM bug, not a JVM-freebsd bug.  What was happening was
I was keeping a Lucene IndexSearcher object and Hits object in a Bean with
session scope, so stuff was getting serialized out to disk including this
RandomAccessFile, or at least some information about some file(s).  I
believe what was happening was the file was getting closed after a while
when the GC ran, and then later when the bean was deserialized, it thought
the file would still be there and consequently the FD would still be good,
when in fact the FD had been closed and the entry in the fdmon array was
nulled.

So arguably what should be happening is the JVM should notice this broken
deserialization and flip whatever bits are necessary such that the class
causes a java.io.IOException to be thrown the next time something tries to
access that file or use that FD, rather than causing an assertion failure
somewhere inside the JVM core.  But that's Sun's problem :)  I'll file a
bug report later.

Another, less elegant solution would be to change the assert to an if and
have it return EBADF if the fdmon entry is null.

My solution was to fix my bad assumption that the Hits object was just a
container of data (which would have gone away sooner had I properly closed
the IndexSearcher object) and instead make my own local data copy of the
values contained in the object and then close the IndexSearcher, thereby
keeping it from getting any foolish ideas about open FDs that were in fact
closed (and nonexistent).  The problem didn't turn up consistently when I
was troubleshooting because I was never waiting long enough for the
session to be committed to disk and for the GC to run in between tests,
and if I was, it didn't occur to me what I was doing :)

   Nick

On Sat, 10 Aug 2002, Greg Lewis wrote:

> Hi Nick,
>
> On Thu, Aug 08, 2002 at 02:41:49PM -0700, Nick Johnson wrote:
> > Here's some more information... I finally got a core file that was worth
> > something:
>
> Sure did :).
>
> > #0  0x280b4b0c in kill () from /usr/lib/libc.so.4
> > #1  0x280f4eea in abort () from /usr/lib/libc.so.4
> > #2  0x281623d9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> > #3  0x28189596 in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> > #4  0x28077874 in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> > #5  0x28077834 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> > #6  0x28070a51 in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> > #7  0xbfbfffac in ?? ()
> > #8  0x28076068 in sysSeek () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> > #9  0x28175976 in JVM_Lseek () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> > #10 0x3c6fd734 in Java_java_io_RandomAccessFile_length () from /usr/local/freebsd-jdk1.3.1-p7-gcc31/jre/lib/i386/libjava.so
> > #11 0x3d75550e in dispatchJNINativeMethod () from /usr/local/freebsd-jdk1.3.1-p7-gcc31/jre/lib/i386/libOpenJIT.so
> >
> > sysSeek seems to be defined in sys_api_td.c, and my best guess about
> > what's going on is that this is failing:
> >
> >     mon = fdmon[fd];
> >     sysAssert(mon != NULL);
>
> Can you get the same core with java_g?  If so you should even be able
> to get line numbers, which would confirm your suspicions (either that
> or rebuild after putting a trace statement in at that line).
>
> > Since that would be the one thing in that block of code that strikes me as
> > an obvious candidate for something which might cause a panic.
> >
> > So I guess the question now is this: under what circumstances would
> > fdmon[fd] turn up null when trying to do a seek?
>
> Been too long since I looked at that code, I'll try and dig into it a bit.
>
> --
> Greg Lewis                          Email   : glewis@eyesbeyond.com
> Eyes Beyond                         Web     : http://www.eyesbeyond.com
> Information Technology              FreeBSD : glewis@FreeBSD.org
>


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