From owner-freebsd-java Sun May 12 1: 9:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by hub.freebsd.org (Postfix) with ESMTP id 7E3B337B408; Sun, 12 May 2002 01:09:06 -0700 (PDT) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.62]) by nwkea-mail-2.sun.com (8.9.3+Sun/8.9.3) with ESMTP id BAA29059; Sun, 12 May 2002 01:09:01 -0700 (PDT) Received: from sr-cblr03-02 (sr-cblr03-02.India.Sun.COM [129.158.226.34]) by ha2sca-mail1.SFBay.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g4C88w029765; Sun, 12 May 2002 01:08:59 -0700 (PDT) Date: Sun, 12 May 2002 01:08:59 -0700 (PDT) Message-ID: <11729238.1021190943164.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: freebsd-java@freebsd.org Subject: Re: (Review ID: 146461) Error ID: 4F533F4C494E55580E43505002B9 Cc: java-port@freebsd.org, 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 16:16:48 X-IM-Review-ID: 146461 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of bugsy@leanox.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 : hotspot release : 1.4 subcategory : other type : bug synopsis : Error ID: 4F533F4C494E55580E43505002B9 description : FULL PRODUCT VERSION : # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505002B9 # FULL OPERATING SYSTEM VERSION : FreeBSD 4.5 (Linux emulation) A DESCRIPTION OF THE PROBLEM : # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505002B9 # ERROR MESSAGES/STACK TRACES THAT OCCUR : # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505002B9 # This bug can be reproduced always. workaround : suggested_val : cust_name : Bugsy Java cust_email : bugsy@leanox.com jdcid : keyword : webbug company : Leanox International hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2002-05-10 23:30:20.9 dateEvaluated : 2002-05-12 02:07:20.624 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 12 7:14:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 7BC1F37B400 for ; Sun, 12 May 2002 07:14:30 -0700 (PDT) Received: from fwd06.sul.t-online.de by mailout03.sul.t-online.com with smtp id 176ttD-00008r-0F; Sun, 12 May 2002 15:59:55 +0200 Received: from boss.home.folkerts-net.de (07031388170-0001@[217.81.157.171]) by fmrl06.sul.t-online.com with esmtp id 176ttA-2BFrTkC; Sun, 12 May 2002 15:59:52 +0200 Received: from localhost (localhost [127.0.0.1]) by boss.home.folkerts-net.de (8.11.6/8.9.3) with ESMTP id g4CDxor00331 for ; Sun, 12 May 2002 15:59:51 +0200 (CEST) (envelope-from ralf.folkerts@epost.de) Content-Transfer-Encoding: 7bit Content-Type: text/plain Date: 12 May 2002 15:59:16 +0200 From: Ralf Folkerts Message-Id: <1021211956.323.10.camel@beastie.home.folkerts-net.de> Mime-Version: 1.0 Received: from freebsd.home.folkerts-net.de (beastie.home.folkerts-net.de [10.0.0.6]) by pentium (AvMailGate-6.13.0.2) id 00327-27B75735; Sun, 12 May 2002 15:59:16 +0200 Subject: Forte for Java System.out - Problem To: java@freebsd.org X-AntiVirus: OK! AvMailGate Version 6.13.0.14 at boss.home.folkerts-net.de has not found any known virus in this email. X-Mailer: Ximian Evolution 1.0.4 X-Sender: 07031388170-0001@t-dialin.net Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm running Forte for Java 3.0 on FreeBSD 4.5-Stable with the Linux-JDk 1.3.1. It generally works fine; however, sometimes my System.outs get garbage in the "Output" Window. Unfortunately I don't have Linux installed, so I don't know if it's a FreeBSD-specific or a general FfJ-Problem. It seems to start generally, after an Exception is being "printStackTrace()"ed. However, after this problem occurs restarting FfJ doesn't solve the Problem. Oh, sometimes it gets into synch again after a while; see the sample below: Oh, I'm running FfJ on KDE 3.0, if this might cause some Problems. Here's some sample Output: ---<<<--- iInx AstttarritbDuotceu.mseenttB(I)S kzeTya(g Nfaamles_eA :) iIxxcAltatsrsiebsu tIen.dseextOBfI Sfkueeyr( zfTaylpsee: )j aIvxaA.tltarnigb.uStter.isnegt[BBIeSskcehyr(] fKallasses e) xIAntdterxiObfu tfeu.esre tzBTIySpkee:y (j afvaal.slea n)g .ISxtArtitnrgi[bTuetxet.]s eKtlBaIsSskee yI(x NfGaBl_sBee r)e cIhxtAitgturnigbsugtreu.pspeet BwIiSrkde yv(e rfaarlbseei t)e tI.x.A.t tIrnidbeuxtOef. sfeuteBrI SzkTeyyp(e :f ajlasvea .)l aInxgA.tSttrriibnugt[eI.Ds]e tIBnIdSekxeOyf( ffuaelrs ez T)y pIex:A tjtarviab.ultaen.gs.eSttBrIiSnkge[yW(e rfta0l1s]e I)n dexOf fuer zType: java.lang.String[AenBen] IndexOf fuer zType: java.lang.String[Text] IndexOf fuer zType: java.lang.String[DatenArt] --->>>--- Does anyone have a solution for this Problem? Would be great to get a solution :-) MTIA _ralf_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 12 23:13:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id C76EE37B405; Sun, 12 May 2002 23:13:30 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g4D6DS039949; Mon, 13 May 2002 09:13:28 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: Ernst de Haan Subject: Re: tomcat4 port and jvm arguments (and more) Date: Mon, 13 May 2002 09:12:34 +0300 X-Mailer: KMail [version 1.4] Cc: java@FreeBSD.org References: <200205101252.29496.ari@suutari.iki.fi> <200205101030.MAA13287@smtp.hccnet.nl> In-Reply-To: <200205101030.MAA13287@smtp.hccnet.nl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205130912.34663.ari@suutari.iki.fi> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Friday 10 May 2002 13:29, Ernst de Haan wrote: > At the moment it is not possible to pass arguments to the Java VM using= the > daemonctl program (of which tomcat4ctl is an instance). > > Please file a PR for this. I will look into it ASAP. > =09Done. PR number is ports/38018. I found also another problem which =09is related to tomcat shutdown. The daemonctl stops tomcat via kill -SI= GTERM =09which causes immediate exit so servlets are not properly unloaded =09(which causes problems if servlets have allocated external resources =09which need to be explicitly released in destroy-method). The =09PR number for this problem is ports/38020. =09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 13 2:53:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id D0EB837B404; Mon, 13 May 2002 02:53:20 -0700 (PDT) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g4DA0Mg72919; Mon, 13 May 2002 12:00:25 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Mon, 13 May 2002 12:00:22 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Request for review: Standardising Java library directory locations In-Reply-To: <200205101311.PAA08481@smtp.hccnet.nl> Message-ID: <20020513115139.V72814-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ernst, We discussed this few weeks ago, and your current proposal is quite different than what I thought but I think it is better your way so I agree with you on this proposal. On note however, about the dispatch of examples/javadoc/docs in different root directories. Again it is not what I would have thought first but it better match IMHO the standard BSD directory structure. Oh and what about the sources directory ? Just in case some user would like to use some JAVA_PORTSOURCES=YES like variable... Would it go in ${PREFIX}/src pr ${JAVAPREFIX}/src ? Regards, Herve On Fri, 10 May 2002, Ernst de Haan wrote: > Hi all, > > Please review the following proposal for standardising Java library > installation directories: > > http://people.freebsd.org/~znerd/javalibdirs.html > > Kind regards, > > Ernst > > 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 Mon May 13 9:14: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id C683A37B405; Mon, 13 May 2002 09:13:53 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4DGDZw49209; Mon, 13 May 2002 09:13:35 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Ari Suutari'" , "'Ernst de Haan'" Cc: Subject: RE: tomcat4 port and jvm arguments (and more) Date: Mon, 13 May 2002 09:13:36 -0700 Message-ID: <006001c1fa99$22b40d10$441814ac@newtim> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <200205130912.34663.ari@suutari.iki.fi> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Does the daemonctl problem apply to tomcat3 also? -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Ari Suutari Sent: Sunday, May 12, 2002 11:13 PM To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: tomcat4 port and jvm arguments (and more) Hi, On Friday 10 May 2002 13:29, Ernst de Haan wrote: > At the moment it is not possible to pass arguments to the Java VM using the > daemonctl program (of which tomcat4ctl is an instance). > > Please file a PR for this. I will look into it ASAP. > Done. PR number is ports/38018. I found also another problem which is related to tomcat shutdown. The daemonctl stops tomcat via kill -SIGTERM which causes immediate exit so servlets are not properly unloaded (which causes problems if servlets have allocated external resources which need to be explicitly released in destroy-method). The PR number for this problem is ports/38020. Ari S. 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 Mon May 13 11:19:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from web11305.mail.yahoo.com (web11305.mail.yahoo.com [216.136.131.208]) by hub.freebsd.org (Postfix) with SMTP id 6E7A037B40D for ; Mon, 13 May 2002 11:18:18 -0700 (PDT) Message-ID: <20020513181818.16354.qmail@web11305.mail.yahoo.com> Received: from [47.248.0.42] by web11305.mail.yahoo.com via HTTP; Mon, 13 May 2002 14:18:18 EDT Date: Mon, 13 May 2002 14:18:18 -0400 (EDT) From: Andrew Atrens Subject: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable To: java@freebsd.org, marcel@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi All, I'm running 4.5-stable (last updated on April 30) and am getting SIGBUS's with the new linux-ibm-jdk1.3.1 port. The problem only occurs when running as an ordinary user, when running the jvm as root, there's no problem. Both 1.3.1 and 1.3.1_1 both show the same behaviour. 1.3.0 on the other hand, works fine. I can duplicate the problem by simply - $ type java java is /usr/local/linux-ibm-jdk1.3.1/bin/java $ java Bus error $ su # type java java is /usr/local/linux-ibm-jdk1.3.1/bin/java # java Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version -showversion print product version and continue -? -help print this help message -X print help on non-standard options Here's a relevant snippet from linux_ktrace - linux ibm jdk1.3.1_1 run as joe user - 26966 java RET read 0 26966 java CALL close(0x3) 26966 java RET close 0 26966 java CALL munmap(0x28063000,0x1000) 26966 java RET munmap 0 26966 java CALL linux_brk(0x805c000) 26966 java RET linux_brk 134594560/0x805c000 26966 java CALL linux_brk(0x806d000) 26966 java RET linux_brk 134664192/0x806d000 26966 java CALL linux_mmap(0xbfbff7e8) 26966 java RET linux_mmap 674906112/0x283a4000 26966 java CALL linux_mmap(0xbfbff6c4) 26966 java RET linux_mmap 1211777024/0x483a4000 26966 java CALL linux_times(0xbfbff824) 26966 java RET linux_times 10103143/0x9a2967 26966 java CALL linux_time(0) 26966 java RET linux_time 1021312595/0x3cdffe53 26966 java CALL linux_mmap(0xbfbff804) 26966 java RET linux_mmap 1211916288/0x483c6000 26966 java CALL linux_mmap(0xbfbff804) 26966 java RET linux_mmap 1220308992/0x48bc7000 26966 java CALL gettimeofday(0xbfbff82c,0) 26966 java RET gettimeofday 0 26966 java CALL linux_mmap(0xbfbff7f8) 26966 java RET linux_mmap 1228701696/0x493c8000 26966 java CALL linux_modify_ldt(0,0x283641cc,0x8) 26966 java RET linux_modify_ldt 8 26966 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) 26966 java RET linux_modify_ldt 8190/0x1ffe 26966 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) 26966 java RET linux_sigaltstack 0 26966 java PSIG SIGBUS SIG_DFL 26966 java NAMI "java.core" linux ibm jdk1.3.1_1 run as root - 27019 java RET read 0 27019 java CALL close(0x3) 27019 java RET close 0 27019 java CALL munmap(0x28063000,0x1000) 27019 java RET munmap 0 27019 java CALL linux_brk(0x805c000) 27019 java RET linux_brk 134594560/0x805c000 27019 java CALL linux_brk(0x806d000) 27019 java RET linux_brk 134664192/0x806d000 27019 java CALL linux_mmap(0xbfbff7e8) 27019 java RET linux_mmap 674906112/0x283a4000 27019 java CALL linux_mmap(0xbfbff6c4) 27019 java RET linux_mmap 1211777024/0x483a4000 27019 java CALL linux_times(0xbfbff824) 27019 java RET linux_times 10119802/0x9a6a7a 27019 java CALL linux_time(0) 27019 java RET linux_time 1021312762/0x3cdffefa 27019 java CALL linux_mmap(0xbfbff804) 27019 java RET linux_mmap 1211916288/0x483c6000 27019 java CALL linux_mmap(0xbfbff804) 27019 java RET linux_mmap 1220308992/0x48bc7000 27019 java CALL gettimeofday(0xbfbff82c,0) 27019 java RET gettimeofday 0 27019 java CALL linux_mmap(0xbfbff7f8) 27019 java RET linux_mmap 1228701696/0x493c8000 27019 java CALL linux_modify_ldt(0,0x283641cc,0x8) 27019 java RET linux_modify_ldt 8 27019 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) 27019 java RET linux_modify_ldt 8190/0x1ffe 27019 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) 27019 java RET linux_sigaltstack 0 27019 java CALL mprotect(0xbfbc8000,0x1000,0) 27019 java RET mprotect 0 Any help/suggestions you folks can provide would be greatly appreciated. Cheers, Andrew. ______________________________________________________________________ Games, Movies, Music & Sports! http://entertainment.yahoo.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 13 12:16:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from palrel12.hp.com (palrel12.hp.com [156.153.255.237]) by hub.freebsd.org (Postfix) with ESMTP id 61E2837B403 for ; Mon, 13 May 2002 12:16:25 -0700 (PDT) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.244.96.175]) by palrel12.hp.com (Postfix) with ESMTP id E8151E009E1; Mon, 13 May 2002 12:16:04 -0700 (PDT) Received: from gauss.cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id MAA03224; Mon, 13 May 2002 12:16:00 -0700 (PDT) Received: (from marcel@localhost) by gauss.cup.hp.com (8.11.6/8.11.6) id g4DJFx466738; Mon, 13 May 2002 12:15:59 -0700 (PDT) (envelope-from marcel) Date: Mon, 13 May 2002 12:15:59 -0700 From: Marcel Moolenaar To: Andrew Atrens Cc: java@freebsd.org Subject: Re: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable Message-ID: <20020513191559.GA42806@gauss.cup.hp.com> References: <20020513181818.16354.qmail@web11305.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020513181818.16354.qmail@web11305.mail.yahoo.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, May 13, 2002 at 02:18:18PM -0400, Andrew Atrens wrote: > linux ibm jdk1.3.1_1 run as joe user - > > 26966 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) > 26966 java RET linux_modify_ldt 8190/0x1ffe > 26966 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) > 26966 java RET linux_sigaltstack 0 > 26966 java PSIG SIGBUS SIG_DFL > 26966 java NAMI "java.core" > > linux ibm jdk1.3.1_1 run as root - > > 27019 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) > 27019 java RET linux_modify_ldt 8190/0x1ffe > 27019 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) > 27019 java RET linux_sigaltstack 0 > 27019 java CALL mprotect(0xbfbc8000,0x1000,0) > 27019 java RET mprotect 0 Hi Andrew, The kernel trace does not indicate there's a problem with emulation per se. The SIGBUS is caused within java and unfortunately, there's no way a kernel trace can tell us if the SIGBUS is caused by how emulation works. I suspect it does, but it doesn't tell me where I need to look. The best thing to do now is to disassemble the code between the call to sigaltstack and the call to mprotect and figure out where exactly the SIGBUS is coming from. You can backtrace from there. I suspect the root of the problem to be prior to the sigaltstack though... Another approach would be to look at high risk syscalls (such as modify_ldt) and see if they behave differently for joe and root. I'm not surprised to see silent "adjustments" to parameters and/or results based on privileges. This is a more random approach, but if you have 1 or 2 strong suspects then it's the quickest way to remove any wandering doubts from your brain that may block real progress.. HTH, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 13 13:54:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 0D72C37B40B for ; Mon, 13 May 2002 13:54:27 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4DKsEw56589 for ; Mon, 13 May 2002 13:54:14 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "Java FreeBSD" Subject: FW: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable Date: Mon, 13 May 2002 13:54:14 -0700 Message-ID: <006d01c1fac0$5724aa10$441814ac@newtim> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am running 4.5 Release FreeBSD ldap.smf.intranet 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 Not having a problem starting linux-ibm-jdk-1.3.1_1 > /usr/local/linux-ibm-jdk1.3.1/bin/java Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version -showversion print product version and continue -? -help print this help message -X print help on non-standard options > Something change in stable? -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Andrew Atrens Sent: Monday, May 13, 2002 11:18 AM To: java@FreeBSD.ORG; marcel@FreeBSD.ORG Subject: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable Hi All, I'm running 4.5-stable (last updated on April 30) and am getting SIGBUS's with the new linux-ibm-jdk1.3.1 port. The problem only occurs when running as an ordinary user, when running the jvm as root, there's no problem. Both 1.3.1 and 1.3.1_1 both show the same behaviour. 1.3.0 on the other hand, works fine. I can duplicate the problem by simply - $ type java java is /usr/local/linux-ibm-jdk1.3.1/bin/java $ java Bus error $ su # type java java is /usr/local/linux-ibm-jdk1.3.1/bin/java # java Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version -showversion print product version and continue -? -help print this help message -X print help on non-standard options Here's a relevant snippet from linux_ktrace - linux ibm jdk1.3.1_1 run as joe user - 26966 java RET read 0 26966 java CALL close(0x3) 26966 java RET close 0 26966 java CALL munmap(0x28063000,0x1000) 26966 java RET munmap 0 26966 java CALL linux_brk(0x805c000) 26966 java RET linux_brk 134594560/0x805c000 26966 java CALL linux_brk(0x806d000) 26966 java RET linux_brk 134664192/0x806d000 26966 java CALL linux_mmap(0xbfbff7e8) 26966 java RET linux_mmap 674906112/0x283a4000 26966 java CALL linux_mmap(0xbfbff6c4) 26966 java RET linux_mmap 1211777024/0x483a4000 26966 java CALL linux_times(0xbfbff824) 26966 java RET linux_times 10103143/0x9a2967 26966 java CALL linux_time(0) 26966 java RET linux_time 1021312595/0x3cdffe53 26966 java CALL linux_mmap(0xbfbff804) 26966 java RET linux_mmap 1211916288/0x483c6000 26966 java CALL linux_mmap(0xbfbff804) 26966 java RET linux_mmap 1220308992/0x48bc7000 26966 java CALL gettimeofday(0xbfbff82c,0) 26966 java RET gettimeofday 0 26966 java CALL linux_mmap(0xbfbff7f8) 26966 java RET linux_mmap 1228701696/0x493c8000 26966 java CALL linux_modify_ldt(0,0x283641cc,0x8) 26966 java RET linux_modify_ldt 8 26966 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) 26966 java RET linux_modify_ldt 8190/0x1ffe 26966 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) 26966 java RET linux_sigaltstack 0 26966 java PSIG SIGBUS SIG_DFL 26966 java NAMI "java.core" linux ibm jdk1.3.1_1 run as root - 27019 java RET read 0 27019 java CALL close(0x3) 27019 java RET close 0 27019 java CALL munmap(0x28063000,0x1000) 27019 java RET munmap 0 27019 java CALL linux_brk(0x805c000) 27019 java RET linux_brk 134594560/0x805c000 27019 java CALL linux_brk(0x806d000) 27019 java RET linux_brk 134664192/0x806d000 27019 java CALL linux_mmap(0xbfbff7e8) 27019 java RET linux_mmap 674906112/0x283a4000 27019 java CALL linux_mmap(0xbfbff6c4) 27019 java RET linux_mmap 1211777024/0x483a4000 27019 java CALL linux_times(0xbfbff824) 27019 java RET linux_times 10119802/0x9a6a7a 27019 java CALL linux_time(0) 27019 java RET linux_time 1021312762/0x3cdffefa 27019 java CALL linux_mmap(0xbfbff804) 27019 java RET linux_mmap 1211916288/0x483c6000 27019 java CALL linux_mmap(0xbfbff804) 27019 java RET linux_mmap 1220308992/0x48bc7000 27019 java CALL gettimeofday(0xbfbff82c,0) 27019 java RET gettimeofday 0 27019 java CALL linux_mmap(0xbfbff7f8) 27019 java RET linux_mmap 1228701696/0x493c8000 27019 java CALL linux_modify_ldt(0,0x283641cc,0x8) 27019 java RET linux_modify_ldt 8 27019 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) 27019 java RET linux_modify_ldt 8190/0x1ffe 27019 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) 27019 java RET linux_sigaltstack 0 27019 java CALL mprotect(0xbfbc8000,0x1000,0) 27019 java RET mprotect 0 Any help/suggestions you folks can provide would be greatly appreciated. Cheers, Andrew. ______________________________________________________________________ Games, Movies, Music & Sports! http://entertainment.yahoo.ca 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 Mon May 13 23: 1:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id EED1137B407; Mon, 13 May 2002 23:01:18 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g4E610078809; Tue, 14 May 2002 09:01:05 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: "Tim E Schafer" , "'Ernst de Haan'" Subject: Re: tomcat4 port and jvm arguments (and more) Date: Tue, 14 May 2002 09:00:00 +0300 X-Mailer: KMail [version 1.4] Cc: References: <006001c1fa99$22b40d10$441814ac@newtim> In-Reply-To: <006001c1fa99$22b40d10$441814ac@newtim> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205140900.00170.ari@suutari.iki.fi> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Monday 13 May 2002 19:13, Tim E Schafer wrote: > Does the daemonctl problem apply to tomcat3 also? =09Looks like tomcat3 port is using the same daemonctl =09so the answer is yes.=20 =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 14 2: 8: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from s096-n062.tele2.cz (s096-n062.tele2.cz [213.246.96.62]) by hub.freebsd.org (Postfix) with ESMTP id 70B2A37B400; Tue, 14 May 2002 02:07:40 -0700 (PDT) Received: from localhost (plusik@localhost) by s096-n062.tele2.cz (8.11.6/8.11.6) with ESMTP id g4E96jX00332; Tue, 14 May 2002 11:06:54 +0200 (CEST) (envelope-from plusik@pohoda.cz) X-Authentication-Warning: s096-n062.tele2.cz: plusik owned process doing -bs Date: Tue, 14 May 2002 11:06:45 +0200 (CEST) From: Tomas Pluskal X-X-Sender: plusik@s096-n062.tele2.cz To: freebsd-stable@freebsd.org, , , , Cc: basit@basit.cc, , Subject: linux-jdk1.4.0 & linux_base7.1 Message-ID: <20020514104934.A276-100000@s096-n062.tele2.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am facing a problem that has already been reported several times. Follow this link for the older reports: http://www.freebsd.org/cgi/search.cgi?words=4F533F4C494E55580E43505002AB&max=25&sort=score&index=recent&source=freebsd-stable&source=freebsd-hackers&source=freebsd-java&source=freebsd-standards The problem is, that Sun Linux JDK 1.4.0 doesn't work correctly with linux_base 7.1 (it works with 6.1 for me). When I run it as root, it works OK, but under normal user it crashes immediately: # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # # Error ID: 4F533F4C494E55580E43505002AB # Abort trap All JDK commands (java, javac, java_vm..) behave the same. Locale settings doesn't help. As Andrew Houghton wrote, the problem is probably in the linux_sched_getscheduler call: linux_sched_getscheduler(0x8f34) ERR#1 'Operation not permitted' When I tried to downgrade libpthread.so to 0.8 (from linux_base6.1), java started, but Swing classes still didn't work and there were many error messages. No one has posted any solution yet. I would like to help debugging this, but I don't really know where to start... Thanks Tomas Pluskal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE84NOlqlO9Q2aZisoRAjkuAJoCabC+m9Vst5m8R836PU5pxr5miQCggBCg bAmGSm8UZWvkSol8VWG2AYg= =MCmg -----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 May 14 2:17:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns3.ideathcare.com (mail.allneo.com [216.185.96.68]) by hub.freebsd.org (Postfix) with ESMTP id 1E8D037B408 for ; Tue, 14 May 2002 02:17:13 -0700 (PDT) Received: (qmail 61423 invoked by uid 85); 14 May 2002 09:36:05 -0000 Received: from jps@funeralexchange.com by ns3.ideathcare.com with qmail-scanner-1.03 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.16963 secs); 14 May 2002 09:36:05 -0000 Received: from unknown (HELO funeralexchange.com) (127.0.0.1) by localhost.ideathcare.com with SMTP; 14 May 2002 09:36:05 -0000 Received: from 66.171.47.35 (SquirrelMail authenticated user jps@funeralexchange.com) by webmail.allneo.com with HTTP; Tue, 14 May 2002 04:36:05 -0500 (CDT) Message-ID: <3693.66.171.47.35.1021368965.squirrel@webmail.allneo.com> Date: Tue, 14 May 2002 04:36:05 -0500 (CDT) Subject: Re: linux-jdk1.4.0 & linux_base7.1 From: "Jeremy Suo-Anttila" To: In-Reply-To: <20020514104934.A276-100000@s096-n062.tele2.cz> References: <20020514104934.A276-100000@s096-n062.tele2.cz> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , , , , , , , Reply-To: jps@funeralexchange.com X-Mailer: SquirrelMail (version 1.2.4) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hello, > > I am facing a problem that has already been reported several times. > Follow this link for the older reports: > http://www.freebsd.org/cgi/search.cgi? words=4F533F4C494E55580E43505002AB&max=25&sort=score&index=recent &source=freebsd-stable&source=freebsd-hackers&source=freebsd- java&source=freebsd-standards > > The problem is, that Sun Linux JDK 1.4.0 doesn't work correctly with > linux_base 7.1 (it works with 6.1 for me). When I run it as root, it > works OK, but under normal user it crashes immediately: > > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) > # > # Error ID: 4F533F4C494E55580E43505002AB > # > Abort trap > > All JDK commands (java, javac, java_vm..) behave the same. > Locale settings doesn't help. > > As Andrew Houghton wrote, the problem is probably in the > linux_sched_getscheduler call: > > linux_sched_getscheduler(0x8f34) ERR#1 'Operation not permitted' > > When I tried to downgrade libpthread.so to 0.8 (from linux_base6.1), > java started, but Swing classes still didn't work and there were many > error messages. > > No one has posted any solution yet. I would like to help debugging > this, but I don't really know where to start... > > Thanks > > Tomas Pluskal > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (FreeBSD) > Comment: For info see http://www.gnupg.org > > iD8DBQE84NOlqlO9Q2aZisoRAjkuAJoCabC+m9Vst5m8R836PU5pxr5miQCggBC g > bAmGSm8UZWvkSol8VWG2AYg= > =MCmg > -----END PGP SIGNATURE----- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message Tomas, I am using 4.5-stable + Linux JDK 1.4 + Linux Tomcat 4.0.3 Binary + mod_webapps with both linux_base6 & 7. if you can send me any errors you get and also the settings in your shell (.cshrc) file that your using to set yourenviroments i would be more then happy to assist you. I can tell you that if you are trying to use Tomcat 4.0.* with any of the linux j2sdk1.4 you MUST use the Tomcat 4.0.*.LE binary. If you do not the java will core as soon as youstart it. Thanks Jeremy Suo-Anttila jps@funeralexchange.com There are only 00000010 types of people in this world: those who understand binary, and those who don't To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 14 18:15:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 0F9F537B404 for ; Tue, 14 May 2002 18:15:39 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4F1FXw84962 for ; Tue, 14 May 2002 18:15:37 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "Java FreeBSD" Subject: tomcat on linux-jdk14 VM dies Date: Tue, 14 May 2002 18:15:33 -0700 Message-ID: <011c01c1fbae$0618bb90$441814ac@newtim> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_011D_01C1FB73.59B9E390" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_011D_01C1FB73.59B9E390 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit FreeBSD 4.5 release with the stock Linux compatibility layer I've been running jakarta-tomcat-3.2.3 on linux-jdk-1.3.1.01_1 for quite a while in production with no problems I recently tried running on linux-jdk-1.4.0 The VM will eventually give me the following error: Unexpected Signal : 11 occurred at PC=0x2A0377B0 Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 53365 Local Time = Tue May 14 17:46:21 2002 Elapsed Time = 3983 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002D3 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- ------=_NextPart_000_011D_01C1FB73.59B9E390 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

FreeBSD 4.5 release with the stock Linux = compatibility layer

 

I’ve been running

jakarta-tomcat-3.2.3<= /font>

on =

linux-jdk-1.3.1.01_1<= /font>

 

for quite a while in production with no problems

 

I recently tried running on = linux-jdk-1.4.0

 

The VM will eventually give me the following = error:

 

Unexpected Signal : 11 = occurred at PC=3D0x2A0377B0

Function=3D[Unknown.]

Library=3D(N/A)

 

NOTE: We are unable to locate the function name = symbol for the error

      just occurred. Please refer to release = documentation for possible

      reason and solutions.

 

 

Current Java thread:

 

Dynamic libraries:

Can not get information for pid =3D 53365

 

Local Time =3D Tue May 14 17:46:21 = 2002

Elapsed Time =3D 3983

#

# HotSpot Virtual Machine = Error : 11

# Error ID : = 4F530E43505002D3

# Please report this error = at

# = http://java.sun.com/cgi-bin/bugreport.cgi

#

# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)

#

 

--------------------------------------------=

Tim E Schafer       &nbs= p; tim_schafer@agship.com

Programmer

800-562-9915 x190 or = 916-376-6190

 

Associated Global Systems

3231 Evergreen = Ave

West Sacramento, CA 95691

-------------------------------------------- =

 

------=_NextPart_000_011D_01C1FB73.59B9E390-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 14 20:41:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 37B7637B401 for ; Tue, 14 May 2002 20:41:38 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4F3faw86295 for ; Tue, 14 May 2002 20:41:37 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Java FreeBSD'" Subject: RE: tomcat on linux-jdk14 VM dies more info Date: Tue, 14 May 2002 20:41:37 -0700 Message-ID: <012301c1fbc2$6b4b51d0$441814ac@newtim> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <011c01c1fbae$0618bb90$441814ac@newtim> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Found one source of grief StringTokenizer st = new StringTokenizer(somestring, ","); Will crash the linux-jdk14 VM everytime if somestring is null This only throws a NullPointerException in linux-jdk13 (as it should AFAIK) -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Tim E Schafer Sent: Tuesday, May 14, 2002 6:16 PM To: Java FreeBSD Subject: tomcat on linux-jdk14 VM dies FreeBSD 4.5 release with the stock Linux compatibility layer I've been running jakarta-tomcat-3.2.3 on linux-jdk-1.3.1.01_1 for quite a while in production with no problems I recently tried running on linux-jdk-1.4.0 The VM will eventually give me the following error: Unexpected Signal : 11 occurred at PC=0x2A0377B0 Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 53365 Local Time = Tue May 14 17:46:21 2002 Elapsed Time = 3983 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002D3 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 0:19:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by hub.freebsd.org (Postfix) with ESMTP id 19F1537B403 for ; Wed, 15 May 2002 00:19:31 -0700 (PDT) Received: from mail.ntua.gr (mail.ntua.gr [147.102.222.65]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g4F7JNA59828 for ; Wed, 15 May 2002 10:19:24 +0300 (EEST) Received: from netmode.ece.ntua.gr (localhost [127.0.0.1]) by mail.ntua.gr (Netscape Messaging Server 4.15) with SMTP id GW55OB00.0CS for ; Wed, 15 May 2002 10:19:23 +0300 Date: Wed, 15 May 2002 07:19:22 -0000 To: java@freebsd.org Subject: Fwd: J2SE 1.4 Sun Community source From: Panagiotis Astithas X-Mailer: TWIG 2.3.2 X-Client-IP: 194.219.93.53 Message-ID: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Forwarded From: Calvin Austin > Release News > ============ > > The source code to Java(tm) 2 Standard Edition 1.4.0 is now available. > This releases contains the sources to the Windows, Solaris and Linux > products. > > http://developer.java.sun.com/developer/products/java2cs/ > > ========================================================= > > Calvin Austin > Java 2 Community Source > > ------------------------------------------------------------------ > The JAVA2COMMUNITY email list is for Java 2 Source Licensees only. > Please do not redistribute or post to non-licensees. > ------------------------------------------------------------------ > To unsubscribe, send email to listserv@java.sun.com and include in the body > of the message "signoff JAVA2COMMUNITY". For general help, send email to > listserv@java.sun.com and include in the body of the message "help". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 0:35:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 67DC837B403 for ; Wed, 15 May 2002 00:35:29 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4F7ZUmq071797; Wed, 15 May 2002 09:35:30 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4F7ZTCW071796; Wed, 15 May 2002 09:35:29 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Panagiotis Astithas , java@freebsd.org Subject: Re: Fwd: J2SE 1.4 Sun Community source Date: Wed, 15 May 2002 09:35:29 +0200 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205150935.29812.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > The JAVA2COMMUNITY email list is for Java 2 Source Licensees only. > > Please do not redistribute or post to non-licensees. Hmm, I wonder what this text is all about ;-) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 9:32:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 1738E37B409 for ; Wed, 15 May 2002 09:32:36 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4FGWKw95527; Wed, 15 May 2002 09:32:20 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Andrew Gerweck'" , "Java FreeBSD" Subject: RE: tomcat on linux-jdk14 VM dies more info Date: Wed, 15 May 2002 09:32:21 -0700 Message-ID: <015b01c1fc2e$172f5e40$441814ac@newtim> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <3CE1E04E.2000006@presedia.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the tip. However the idiosyncrasities of StringTokenizer aren't the issue The problem is that the linux-jdk14 crashes while running on FreeBSD 4.5 release with the stock linux compatibility This is just one example of code that can make the bug rear it's ugly head Still need to test this on Linux But my guess is that it'll work fine on Linux And that the bug is in the compatibility layer Which based on some other recent posts is getting worse Since 4.5 stable with 7.1-base is having problems running The linux-jdk14 as a non-root user If there is any info that would help the code genuis that can track this down I'd be happy to try tests Got FreeBSD 4.3 release and 4.5 release and Redhat 7.1 and 7.3 boxes to test stuff on -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- -----Original Message----- From: Andrew Gerweck [mailto:andrew.gerweck@presedia.com] Sent: Tuesday, May 14, 2002 9:13 PM To: Tim E Schafer Subject: Re: tomcat on linux-jdk14 VM dies more info Tim E Schafer wrote: > Found one source of grief > > StringTokenizer st = new StringTokenizer(somestring, ","); Just a friendly warning--if you have something like "a,,b" you won't get an empty token. The tokenizer treats multiple commas like multiple spaces and combines sequential separators. You also won't get a token after a trailing separator. I was bitten by this evil behavior once, so I thought I'd warn you. I always do my own tokenizing or use org.apache.regexp.RE's split method. Check out jakarta.apache.org if you haven't seen their regexp stuff. Good luck getting jdk 1.4 going! --Andy Gerweck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 11:23:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 33A5837B407; Wed, 15 May 2002 11:23:32 -0700 (PDT) Received: from there by smtp.hccnet.nl via uds6-45.dial.hccnet.nl [62.251.45.6] with SMTP id UAA07978 (8.8.8/1.13); Wed, 15 May 2002 20:23:27 +0200 (MET DST) Message-Id: <200205151823.UAA07978@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Jay Sachs Subject: Re: Request for review: Standardising Java library directory locations Date: Wed, 15 May 2002 20:23:16 +0200 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG References: <200205101311.PAA08481@smtp.hccnet.nl> <3CDBD919.5000308@eziba.com> In-Reply-To: <3CDBD919.5000308@eziba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jay, > While it will work, it seems unfortunate to use directories with ',' > characters in them (in the case that PORTEPOCH is defined). What > motivates the need to support multiple instances of the same version of > a port differing only by the "port epoch"? Okay, perhaps the PORTEPOCH is not a good idea. You have a point. I will change the proposal for this. Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 11:34:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 4C51837B430 for ; Wed, 15 May 2002 11:34:02 -0700 (PDT) Received: from there by smtp.hccnet.nl via uds6-45.dial.hccnet.nl [62.251.45.6] with SMTP id UAA11165 (8.8.8/1.13); Wed, 15 May 2002 20:33:36 +0200 (MET DST) Message-Id: <200205151833.UAA11165@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Herve Quiroz Subject: Re: Request for review: Standardising Java library directory locations Date: Wed, 15 May 2002 20:33:26 +0200 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: <20020513115139.V72814-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020513115139.V72814-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Herve! > We discussed this few weeks ago, and your current proposal is quite > different than what I thought but I think it is better your way so I agree > with you on this proposal. Yeah, this is the reason I wanted to take one step at a time. If we take a step I want it to be one in the good direction. Your input definitely was one stage in the whole process, though. Thanks again for that. If you can find any possible errors or weaknesses in the current proposal, please let me know! > On note however, about the dispatch of examples/javadoc/docs in different > root directories. Again it is not what I would have thought first but it > better match IMHO the standard BSD directory structure. Yeah, but I agree that it doesn't really feel very good. Perhaps we should have yet some more symlinks to directories here and there... > Oh and what about the sources directory ? Just in case some user would > like to use some JAVA_PORTSOURCES=YES like variable... Would it go in > ${PREFIX}/src pr ${JAVAPREFIX}/src ? The latter. There is no ${PREFIX}/src on a normal FreeBSD system. Sincerely, Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 11:50:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id D4DBF37B407; Wed, 15 May 2002 11:50:24 -0700 (PDT) Received: from there by smtp.hccnet.nl via uds6-45.dial.hccnet.nl [62.251.45.6] with SMTP id UAA16937 (8.8.8/1.13); Wed, 15 May 2002 20:49:45 +0200 (MET DST) Message-Id: <200205151849.UAA16937@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Andrew Atrens , java@freebsd.org, marcel@freebsd.org Subject: Re: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable Date: Wed, 15 May 2002 20:49:35 +0200 X-Mailer: KMail [version 1.3.2] References: <20020513181818.16354.qmail@web11305.mail.yahoo.com> In-Reply-To: <20020513181818.16354.qmail@web11305.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Andrew, > I'm running 4.5-stable (last updated on April 30) and am getting > SIGBUS's with the new linux-ibm-jdk1.3.1 port. The problem only > occurs when running as an ordinary user, when running the jvm > as root, there's no problem. > > Both 1.3.1 and 1.3.1_1 both show the same behaviour. 1.3.0 on the > other hand, works fine. Do you have USER_LDT enabled in your kernel ? Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 12: 1:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id B5F3537B40A; Wed, 15 May 2002 12:01:42 -0700 (PDT) Received: from there by smtp.hccnet.nl via uds6-45.dial.hccnet.nl [62.251.45.6] with SMTP id VAA20698 (8.8.8/1.13); Wed, 15 May 2002 21:01:39 +0200 (MET DST) Message-Id: <200205151901.VAA20698@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Jay Sachs Subject: Re: Request for review: Standardising Java library directory locations Date: Wed, 15 May 2002 21:01:30 +0200 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG References: <200205101311.PAA08481@smtp.hccnet.nl> <3CDBD919.5000308@eziba.com> <200205151823.UAA07978@smtp.hccnet.nl> In-Reply-To: <200205151823.UAA07978@smtp.hccnet.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 15 May 2002 20:23, Ernst de Haan wrote: > Jay, > > > While it will work, it seems unfortunate to use directories with ',' > > characters in them (in the case that PORTEPOCH is defined). What > > motivates the need to support multiple instances of the same version of > > a port differing only by the "port epoch"? > > Okay, perhaps the PORTEPOCH is not a good idea. You have a point. I will > change the proposal for this. Changed in revision 1.2. Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 12: 4: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 147D337B405 for ; Wed, 15 May 2002 12:03:56 -0700 (PDT) Received: from there by smtp.hccnet.nl via uds6-45.dial.hccnet.nl [62.251.45.6] with SMTP id VAA21371 (8.8.8/1.13); Wed, 15 May 2002 21:03:46 +0200 (MET DST) Message-Id: <200205151903.VAA21371@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: mcclain@looneys.net, java@freebsd.org Subject: Re: Request for review: Standardising Java library directory locations Date: Wed, 15 May 2002 21:03:36 +0200 X-Mailer: KMail [version 1.3.2] References: <200205101311.PAA08481@smtp.hccnet.nl> <200205100920.58261.mcclain@looneys.net> In-Reply-To: <200205100920.58261.mcclain@looneys.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Friday 10 May 2002 16:20, Mcclain Looney wrote: > I'm not sure a centralized storage model for libraries is such a good idea. > It's been my experience that many java apps are shipped with old, outdated > or incompatible "support" jar files (old versions of xalan or some such). > In addition to this, I've even seen jars shipped which contain the contents > of 4 or five other jars inside (several of which were old)!. This is why I would like all Java library ports to build from source and _depend_ on other Java library ports. First the ports that do not have any other Java library dependencies should be identified, added to the ports tree, and then we can start building up the tree from the bottom up :-) > I'm afraid centralized storage of java libs might lead to a "jarfile hell" > situation. Perhaps a versioned approach could be developed (similar to .so > links). Hmm, what exactly would you have in mind? I will think this over a bit more... Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 17:33:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f261.law7.hotmail.com [216.33.236.139]) by hub.freebsd.org (Postfix) with ESMTP id BCDF837B401 for ; Wed, 15 May 2002 17:33:38 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 15 May 2002 17:33:38 -0700 Received: from 202.156.2.154 by lw7fd.law7.hotmail.msn.com with HTTP; Thu, 16 May 2002 00:33:38 GMT X-Originating-IP: [202.156.2.154] From: "Ganesh Rangamani" To: freebsd-java@freebsd.org Subject: Linux-JDK1.4 dies Date: Thu, 16 May 2002 00:33:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 May 2002 00:33:38.0708 (UTC) FILETIME=[52672540:01C1FC71] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Refer to Tim Schafer's post. I have the same problem with FreeBSD4.5. If it is of any help at all, Jetty4RC2 runs fine with same config. rgds Ganesh _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 22:33:45 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id 54BEE37B40C for ; Wed, 15 May 2002 22:33:40 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g4G5Xc058608 for ; Thu, 16 May 2002 08:33:38 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="us-ascii" From: Ari Suutari Organization: Syncron Tech Oy To: java@freebsd.org Subject: tomcat ports and daemonctl.c suggestion Date: Thu, 16 May 2002 08:32:25 +0300 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205160832.25618.ari.suutari@syncrontech.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Would it be a good idea to change daemonctl program (which us used to start tomcat installed via ports) so that instead of editing the source automatically during port install (for adding information about JAVA_HOME, APP_HOME etc) these values would be written to a .conf file in /usr/local/etc ? Then, it would be easy the change these values after installation if necessary (to add jvm parameters, to change to different jdk etc) (If daemonctl is installed as tomcat4ctl, the config file could automagically be tomcat4ctl.conf) I volunteer to do the coding if this makes sense. =09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 15 23:53:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id DD9A537B403 for ; Wed, 15 May 2002 23:53:03 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4G6r4mq077609; Thu, 16 May 2002 08:53:04 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4G6qu7t077603; Thu, 16 May 2002 08:52:56 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Ari Suutari , java@freebsd.org Subject: Re: tomcat ports and daemonctl.c suggestion Date: Thu, 16 May 2002 08:52:56 +0200 X-Mailer: KMail [version 1.4] References: <200205160832.25618.ari.suutari@syncrontech.com> In-Reply-To: <200205160832.25618.ari.suutari@syncrontech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205160852.56738.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Would it be a good idea to change daemonctl program > (which us used to start tomcat installed via ports) so that > instead of editing the source automatically during port > install (for adding information about JAVA_HOME, APP_HOME etc) > these values would be written to a .conf file in /usr/local/etc ? Yeah. This sounds like a good idea. We would then have configuration files named: o jakarta-tomcat3.conf, o jakarta-tomcat4.conf o jboss2.conf o orion.conf etc... Right ? > Then, it would be easy the change these values after installation > if necessary (to add jvm parameters, to change to different jdk etc) > (If daemonctl is installed as tomcat4ctl, the config file could > automagically be tomcat4ctl.conf) Yeah, sounds very good! > I volunteer to do the coding if this makes sense. That would be great. I would really appreciate that. If you really want to do so, then lets discuss the exact details a bit further... Regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 0: 3:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 15B6037B4EF for ; Thu, 16 May 2002 00:02:26 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4G72Rmq077661; Thu, 16 May 2002 09:02:28 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4G72Rla077660; Thu, 16 May 2002 09:02:27 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Ari Suutari , java@freebsd.org Subject: Re: tomcat ports and daemonctl.c suggestion Date: Thu, 16 May 2002 09:02:27 +0200 X-Mailer: KMail [version 1.4] References: <200205160832.25618.ari.suutari@syncrontech.com> <200205160852.56738.ernsth@nl.euro.net> In-Reply-To: <200205160852.56738.ernsth@nl.euro.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205160902.27296.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It would be nice if we could set this up in a way to we could switch to XML config files in the future, without having to rewrite all of the code. We could factor the loading of the configuration settings out into a different source file. Ernst On Thursday 16 May 2002 08:52, Ernst de Haan wrote: > > Would it be a good idea to change daemonctl program > > (which us used to start tomcat installed via ports) so that > > instead of editing the source automatically during port > > install (for adding information about JAVA_HOME, APP_HOME etc) > > these values would be written to a .conf file in /usr/local/etc ? > > Yeah. This sounds like a good idea. We would then have configuration files > named: > o jakarta-tomcat3.conf, > o jakarta-tomcat4.conf > o jboss2.conf > o orion.conf > etc... > > Right ? > > > Then, it would be easy the change these values after installation > > if necessary (to add jvm parameters, to change to different jdk etc) > > (If daemonctl is installed as tomcat4ctl, the config file could > > automagically be tomcat4ctl.conf) > > Yeah, sounds very good! > > > I volunteer to do the coding if this makes sense. > > That would be great. I would really appreciate that. If you really want to > do so, then lets discuss the exact details a bit further... > > > Regards, > > > Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 2:44:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by hub.freebsd.org (Postfix) with ESMTP id B2D6D37B408 for ; Thu, 16 May 2002 02:44:25 -0700 (PDT) Received: from mail.ntua.gr (mail.ntua.gr [147.102.222.65]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g4G9iGA63335 for ; Thu, 16 May 2002 12:44:17 +0300 (EEST) Received: from netmode.ece.ntua.gr (localhost [127.0.0.1]) by mail.ntua.gr (Netscape Messaging Server 4.15) with SMTP id GW771R00.QDQ; Thu, 16 May 2002 12:44:15 +0300 Date: Thu, 16 May 2002 09:44:15 -0000 To: Ernst de Haan , Panagiotis Astithas , java@freebsd.org Subject: Re: Fwd: J2SE 1.4 Sun Community source From: Panagiotis Astithas X-Mailer: TWIG 2.3.2 X-Client-IP: 194.219.93.53 Message-ID: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ernst de Haan said: > > > The JAVA2COMMUNITY email list is for Java 2 Source Licensees only. > > > Please do not redistribute or post to non-licensees. > > Hmm, I wonder what this text is all about ;-) Paranoia? Apologies, Panagiotis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 3: 2:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from piggy.mdstud.chalmers.se (piggy.mdstud.chalmers.se [129.16.234.10]) by hub.freebsd.org (Postfix) with ESMTP id ED4CB37B400 for ; Thu, 16 May 2002 03:02:20 -0700 (PDT) Received: from fraggel6.mdstud.chalmers.se (fraggel6.mdstud.chalmers.se [129.16.234.207]) by piggy.mdstud.chalmers.se (8.8.5/8.8.5) with ESMTP id MAA28620 for ; Thu, 16 May 2002 12:02:19 +0200 (MET DST) Received: from localhost (md0corso@localhost) by fraggel6.mdstud.chalmers.se (8.8.5/8.8.5) with ESMTP id MAA13465 for ; Thu, 16 May 2002 12:02:16 +0200 (MET DST) X-Authentication-Warning: fraggel6.mdstud.chalmers.se: md0corso owned process doing -bs Date: Thu, 16 May 2002 12:02:16 +0200 (MET DST) From: Raphael Korsoski To: Subject: Update on native java sought Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi there. I've been looking for some sort of status-report on where the native jdk (with the license from Sun) is at present. Most information I find on the web dates back to the dec 2001 announcement of inclusion in 4.5-RELEASE. I've been lurking here as well, but haven't seen much on this. I was wondering if someone could fill me in. Thanks aforehand, Raphael Corsoski |hack mode n. | | A Zen-like state of total focus on The Problem | | that may be achieved when one is hacking. | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 3:24:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 28F6937B409 for ; Thu, 16 May 2002 03:24:11 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4GAOBmq079514; Thu, 16 May 2002 12:24:11 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4GAOAkg079513; Thu, 16 May 2002 12:24:10 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Panagiotis Astithas , java@freebsd.org Subject: Re: Fwd: J2SE 1.4 Sun Community source Date: Thu, 16 May 2002 12:24:10 +0200 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205161224.10043.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Panagiotis, > > Hmm, I wonder what this text is all about ;-) > > Paranoia? Hehe, yeah, probably :-) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 8:34:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 40EE837B404 for ; Thu, 16 May 2002 08:34:25 -0700 (PDT) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 178NGq-0002fy-00; Thu, 16 May 2002 09:34:24 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g4GFYJU24630; Fri, 17 May 2002 01:04:19 +0930 (CST) (envelope-from glewis) Date: Fri, 17 May 2002 01:04:19 +0930 From: Greg Lewis To: Raphael Korsoski Cc: freebsd-java@FreeBSD.ORG Subject: Re: Update on native java sought Message-ID: <20020517010419.A24611@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from md0corso@mdstud.chalmers.se on Thu, May 16, 2002 at 12:02:16PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, May 16, 2002 at 12:02:16PM +0200, Raphael Korsoski wrote: > > I've been looking for some sort of status-report on where the native jdk > (with the license from Sun) is at present. Most information I find on the > web dates back to the dec 2001 announcement of inclusion in 4.5-RELEASE. > I've been lurking here as well, but haven't seen much on this. > > I was wondering if someone could fill me in. > > Thanks aforehand, Raphael Corsoski Compiler testing essentially complete, I just need to do one more run with some fixes in. Runtime testing is proving more problematic. Some bogus failures are occurring and I can't quite figure out why yet. Once that is solved I imagine there will be a few actual problems to deal with. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 15:12:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by hub.freebsd.org (Postfix) with ESMTP id 38BE237B40F for ; Thu, 16 May 2002 15:12:06 -0700 (PDT) Received: from C39 (hadic039a.hadiko.uni-karlsruhe.de [172.20.46.159]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.33 #1) id 178TTh-0007jV-00; Fri, 17 May 2002 00:12:05 +0200 From: "Amir Bukhari" To: Subject: RMI and Thread with jdk1.3.1 Date: Fri, 17 May 2002 00:14:08 +0200 Message-ID: <000001c1fd27$0012f9c0$3b00a8c0@C39> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C1FD37.C39D5060" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C1FD37.C39D5060 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am a new user of FreeBSD; therefore I have no experience with FreeBSD fundamental. Ok, I have Install Java 1.3.1 and I have tested it with a program, which I have written under Linux, But It seem to it is not working, this program implement RMI and Thread in Java. It Contain Server and Client program. Under windows, Linux, Solaris work very good, but under FreeBSD not work correctly "this mean it run but not give any output which I wait for it" If someone has an idea about this or similar, please E-Mail me. Amir ------=_NextPart_000_0001_01C1FD37.C39D5060 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I am a new user of = FreeBSD; therefore I have no experience with FreeBSD = fundamental.

Ok, I have Install = Java 1.3.1 and I have tested it with a program, which I have written under = Linux,

But It seem to it is = not working, this program implement RMI and Thread in Java. It Contain = Server and Client program.

Under windows, Linux, = Solaris work very good, but under FreeBSD not work correctly “this mean it = run but not give any output which  = I wait for it”

 

 

If someone has an idea = about this or similar, please E-Mail me.

 

Amir<= /font>

 

------=_NextPart_000_0001_01C1FD37.C39D5060-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 16: 5:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id B08CD37B40B for ; Thu, 16 May 2002 16:05:37 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4GN5aw27698 for ; Thu, 16 May 2002 16:05:36 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "Java FreeBSD" Subject: linux-jdk14 dies on 4.3 release but not on 4.5 release Date: Thu, 16 May 2002 16:05:37 -0700 Message-ID: <021f01c1fd2e$30f39fc0$441814ac@newtim> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In an earlier post I reported that linux-jdk14 dies from the following code: StringTokenizer st = new StringTokenizer(null, ","); This is only true on FreeBSD 4.3 release I thought I had seen this on 4.5 release but I tried the test again and only run into problems on 4.3 release I used beanshell 1.2b5 to test the one-liner On 4.5 I don't seem to get a problem at all On 4.3 sometimes I get a VM crash, especially if I do it repeatedly But regardless bsh won't exit properly with a ^D even if the VM doesn't crash So this shows that tomcat (which is where I originally ran into linux-jdk1.4.0 crashes) isn't necessarily related to the problem So my questions are: Is the problem just less likely to occur on 4.5? Does 4.3 have a known problem with linux compatibility that was fixed in 4.5 ? Does the fact that I swear I saw this problem happen on 4.5 once before just mean I'm going insane? -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 16 16:37:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 1D1F237B408 for ; Thu, 16 May 2002 16:37:38 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4GNbbw28433 for ; Thu, 16 May 2002 16:37:37 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Java FreeBSD'" Subject: RE: linux-jdk14 dies on 4.3 release and 4.5 release I'm not insane! Date: Thu, 16 May 2002 16:37:37 -0700 Message-ID: <022601c1fd32$a9c42240$441814ac@newtim> 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, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <021f01c1fd2e$30f39fc0$441814ac@newtim> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok ... tried it again on 4.5 release It will crash the VM Just had to repeat it several times I'm not going insane ... I did see the problem before on 4.5 Also I tried it with linux-jdk1.3.1 with hotspot turned on and it also dies On 4.5 and 4.3 This is for both the -server and -client options So I went back to redhat 7.1 and tried the bsh test on jdk 1.4.0 I tried repeating the line over 200 times ... no crash So if the problem happens on linux at all it's a lot less likely So this really seems to point to a problem in the Linux compatibility layer on FreeBSD. Should I post this to another list? -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Tim E Schafer Sent: Thursday, May 16, 2002 4:06 PM To: Java FreeBSD Subject: linux-jdk14 dies on 4.3 release but not on 4.5 release In an earlier post I reported that linux-jdk14 dies from the following code: StringTokenizer st = new StringTokenizer(null, ","); This is only true on FreeBSD 4.3 release I thought I had seen this on 4.5 release but I tried the test again and only run into problems on 4.3 release I used beanshell 1.2b5 to test the one-liner On 4.5 I don't seem to get a problem at all On 4.3 sometimes I get a VM crash, especially if I do it repeatedly But regardless bsh won't exit properly with a ^D even if the VM doesn't crash So this shows that tomcat (which is where I originally ran into linux-jdk1.4.0 crashes) isn't necessarily related to the problem So my questions are: Is the problem just less likely to occur on 4.5? Does 4.3 have a known problem with linux compatibility that was fixed in 4.5 ? Does the fact that I swear I saw this problem happen on 4.5 once before just mean I'm going insane? -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- 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 Thu May 16 23:41:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 8FC6237B401 for ; Thu, 16 May 2002 23:41:34 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4H6fZmq097151; Fri, 17 May 2002 08:41:35 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4H6fYjK097150; Fri, 17 May 2002 08:41:34 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: "Amir Bukhari" , Subject: Re: RMI and Thread with jdk1.3.1 Date: Fri, 17 May 2002 08:41:34 +0200 X-Mailer: KMail [version 1.4] References: <000001c1fd27$0012f9c0$3b00a8c0@C39> In-Reply-To: <000001c1fd27$0012f9c0$3b00a8c0@C39> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205170841.34641.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Amir, If you want people to help you, you will need to provide more detailed information: 1) FreeBSD version (Use 'uname -a') 2) Java version (Use 'java -version') 3) A test case, if possible. Perhaps you can provide the source code to the server and client programs with an Ant build file or so? Ernst On Friday 17 May 2002 00:14, Amir Bukhari wrote: > Hi, > I am a new user of FreeBSD; therefore I have no experience with FreeBSD > fundamental. > Ok, I have Install Java 1.3.1 and I have tested it with a program, which > I have written under Linux, > But It seem to it is not working, this program implement RMI and Thread > in Java. It Contain Server and Client program. > Under windows, Linux, Solaris work very good, but under FreeBSD not work > correctly "this mean it run but not give any output which I wait for > it" > > > If someone has an idea about this or similar, please E-Mail me. > > Amir -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 17 0:15:45 2002 Delivered-To: freebsd-java@freebsd.org Received: from central.caverock.net.nz (central.caverock.net.nz [210.55.207.1]) by hub.freebsd.org (Postfix) with ESMTP id 4BD4437B437 for ; Fri, 17 May 2002 00:15:40 -0700 (PDT) Received: (from uucp@localhost) by central.caverock.net.nz (8.11.6/8.11.0) with UUCP id g4H7C7616495 for java@FreeBSD.org; Fri, 17 May 2002 19:12:07 +1200 Received: from ubana.labworks.co.nz (dialup.labworks.co.nz [192.168.7.4]) by billy.labworks.co.nz (8.9.3/8.9.3) with ESMTP id TAA20837 for ; Fri, 17 May 2002 19:33:18 +1200 (NZST) (envelope-from calvin@labworks.co.nz) To: java@FreeBSD.org Subject: Port locations From: Calvin Varney Date: Fri, 17 May 2002 16:03:13 +1200 Message-ID: <86it5nmnem.fsf@ubana.labworks.co.nz> User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 47 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm new to the java port process (in fact ports in general) and after some reading I'm still unclear on whether to install into PREFIX (/usr/local by default) or JAVAPREFIX (${PREFIX}/share/java by default) From http://people.freebsd.org/~znerd/javalibdirs.html we have: "A Java library is in this proposal defined as a Java archive that is primarily intended to be used by other Java programs. A Java library may include executable programs, but these are always secondary, like examples. Java Development Kits are excluded in this definition." This covers libraries but what about applications? Currently we have apps that are clearly not intended to be used by other java programs (e.g. ant, forte) installed under JAVAPREFIX and others (tomcat, jboss) directly under PREFIX. Is there some compelling reason to install apps under JAVAPREFIX? Firstly why under a share directory. According to hier(7) share is for architecture-independent files. Java apps are not necessarily architecture independent as they can use jni or make other assumptions about their environment. (the same can be said about java libraries). Secondarily, why under a java subdirectory. Other ports (non java) aren't installed by their implementation language are they? Also, the phrase "primarily intended" in this proposal may be too restrictive. I currently only use apache fop as a stand alone app though know other integrate it into their own applications, what it is primarily intended for is a little subjective. Same can be said about saxon and no doubt others. I think the important thing here is that if a jar contains components that have been designed to be imported into anything external to that jar then it should be installed in some common location. Splitting hairs but may help others in my situation. My goal is to develop a port for the EJB server JOnAS, though cutting my teeth on the UML modeller ArgoUML as it should be a lot simpler. Any guidance/comments appreciated. Regards, Calvin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 17 9:28:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by hub.freebsd.org (Postfix) with ESMTP id 6845F37B40B for ; Fri, 17 May 2002 09:28:21 -0700 (PDT) Received: from C39 (hadic039a.hadiko.uni-karlsruhe.de [172.20.46.159]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.33 #1) id 178kaZ-0005al-00; Fri, 17 May 2002 18:28:19 +0200 From: "Amir Bukhari" To: "'Ernst de Haan'" , Subject: AW: RMI and Thread with jdk1.3.1 Date: Fri, 17 May 2002 18:30:23 +0200 Message-ID: <000001c1fdc0$250be810$3b00a8c0@C39> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <200205170841.34641.ernsth@nl.euro.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I use freebsd 4.5 StABLE. this the java version I use linux-jdk1.3.1 : java version "1.3.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Classic VM (build 1.3.1_02-b02, green threads, nojit). Note : I have also tried the port jdk1.3.1p5 Sorry but I cant put the source code, because it very big ( more than 3000 lines), but I can put the main class, which provide RMI. I have build it with javac I know that java is independet plattform, therefor my programm should work also under freebsd, that mean there something wrong with my installation or I have missing to install something, there is a configuration I must do before using java, but I have installed java from the port collection, which install also dependeries. My main Program (Server) do the following: 1- run RMI Regestry at port 1099 2- then wait for a connection from the client, which a specified command. 3- when it received command from the client it then start the simulation Program, which should be run as Thread. Clien Site: the client only send the command to the server. Source code : import java.rmi.*; import java.rmi.server.*; import java.rmi.registry.*; import java.util.*; import java.net.*; class RMISimServerImpl extends UnicastRemoteObject implements RMISimServerInterface { int STOP =3D 1, START =3D 2 , PAUSE =3D 3, QUIT =3D 4, CONTINUE =3D 5; RMISimProtokol protokol =3D new RMISimProtokol(); EventSimPar arg =3D new EventSimPar(); String modell; int cmd =3D -1; public RMISimServerImpl() throws RemoteException {} public RMISimServerImpl(String filename, EventSimPar argument) throws RemoteException { modell =3D filename; arg =3D argument; } public void SendCommand(int command) throws RemoteException { cmd =3D command; System.out.println("Command was Send"); // as Tes, but this was not displayed when i have sended a command !! } public void SendEvent(RMIEvent rmievent) throws RemoteException { protokol.SetEvent(rmievent); } public void prozessCommand() { int command =3D -1; //System.out.println("Waiting for command"); while(command =3D=3D -1) { if (cmd =3D=3D START) { protokol.SetCommand(cmd); EventSim evtSim =3D new EventSim(modell, arg); // this is The Simulation Programm which run as Thread evtSim.start(); cmd =3D -1; } else if (cmd =3D=3D QUIT) { protokol.SetCommand(cmd); command =3D 0; } else if (cmd =3D=3D STOP) { protokol.SetCommand(cmd); }else if (cmd =3D=3D PAUSE) { protokol.SetCommand(cmd); }else if (cmd =3D=3D CONTINUE) { protokol.SetCommand(cmd); } } System.exit(0); } public void runRMI() { //System.out.println("Ready for RMI's "); //System.setSecurityManager(new RMISecurityManager()); try { System.out.print("Registering RMISimServer"); //RMISimServerImpl rmiserver =3D new RMISimServerImpl(); LocateRegistry.createRegistry(1099); Naming.bind("rmi://:1099/RMISimServerImpl",this); System.out.println(" Done."); } catch (Exception e) { System.out.println(e.toString()); System.exit(1); } prozessCommand(); } } class RMISimProtokol { static int command =3D -1; int STOP =3D 1, START =3D 2 , PAUSE =3D 3, QUIT=3D 4; RMIEvent rmiEvent; static Queue inputVectors =3D new Queue(); public RMISimProtokol() {} public void SetCommand(int cmd) { command =3D cmd; } public void SetEvent(RMIEvent rmievnt) { rmiEvent =3D rmievnt; inputVectors.enqueue(rmievnt); } public RMIEvent GetEvent() { RMIEvent result =3D null; try { if(!inputVectors.isQueueEmpty()) result =3D (RMIEvent) inputVectors.dequeue(); } catch (Exception e) { System.out.println("GetEvent error: " + e.toString()); } return result; } public int getCommand() { return command; } } > -----Urspr=FCngliche Nachricht----- > Von: Ernst de Haan [mailto:ernsth@nl.euro.net] > Gesendet: 17 May, 2002 08:42 =D5 > An: Amir Bukhari; freebsd-java > Betreff: Re: RMI and Thread with jdk1.3.1 >=20 > Amir, >=20 > If you want people to help you, you will need to provide more detailed > information: > 1) FreeBSD version (Use 'uname -a') > 2) Java version (Use 'java -version') > 3) A test case, if possible. Perhaps you can provide the source code to > the > server and client programs with an Ant build file or so? >=20 > Ernst >=20 > On Friday 17 May 2002 00:14, Amir Bukhari wrote: > > Hi, > > I am a new user of FreeBSD; therefore I have no experience with FreeBSD > > fundamental. > > Ok, I have Install Java 1.3.1 and I have tested it with a program, which > > I have written under Linux, > > But It seem to it is not working, this program implement RMI and Thread > > in Java. It Contain Server and Client program. > > Under windows, Linux, Solaris work very good, but under FreeBSD not work > > correctly "this mean it run but not give any output which I wait for > > it" > > > > > > If someone has an idea about this or similar, please E-Mail me. > > > > Amir >=20 > -- > Ernst de Haan > EuroNet Internet B.V. >=20 > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 17 13:12:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from smg.is.titech.ac.jp (smg.is.titech.ac.jp [131.112.35.1]) by hub.freebsd.org (Postfix) with ESMTP id 8BC9337B404 for ; Fri, 17 May 2002 13:12:48 -0700 (PDT) Received: from tripper.private (smg [131.112.35.1]) by smg.is.titech.ac.jp (Postfix) with ESMTP id 4ED4C2B0E6; Sat, 18 May 2002 05:12:47 +0900 (JST) Date: Sat, 18 May 2002 05:12:29 +0900 Message-ID: <55661mfs9e.wl@dittohead.is.titech.ac.jp> From: Fuyuhiko Maruyama To: "Amir Bukhari" Cc: freebsd-java@freebsd.org Subject: Re: AW: RMI and Thread with jdk1.3.1 In-Reply-To: <000001c1fdc0$250be810$3b00a8c0@C39> References: <200205170841.34641.ernsth@nl.euro.net> <000001c1fdc0$250be810$3b00a8c0@C39> User-Agent: Wanderlust/2.9.9 (Unchained Melody) on XEmacs/21.5.5 (beets) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Fri, 17 May 2002 18:30:23 +0200, Amir Bukhari wrote: > > I use freebsd 4.5 StABLE. > > this the java version I use linux-jdk1.3.1 : > java version "1.3.1_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) > Classic VM (build 1.3.1_02-b02, green threads, nojit). > > Note : I have also tried the port jdk1.3.1p5 > > Sorry but I cant put the source code, because it very big ( more than > 3000 lines), but I can put > the main class, which provide RMI. I have build it with javac > > I know that java is independet plattform, therefor my programm should > work also under freebsd, > that mean there something wrong with my installation or I have missing > to install something, there is a > configuration I must do before using java, > but I have installed java from the port collection, which install also > dependeries. > > My main Program (Server) do the following: > 1- run RMI Regestry at port 1099 > 2- then wait for a connection from the client, which a specified > command. > 3- when it received command from the client it then start the simulation > Program, which should be run as Thread. > > Clien Site: > the client only send the command to the server. > > Source code : > import java.rmi.*; > import java.rmi.server.*; > import java.rmi.registry.*; > import java.util.*; > import java.net.*; > > class RMISimServerImpl extends UnicastRemoteObject > implements RMISimServerInterface > { > int STOP = 1, START = 2 , PAUSE = 3, QUIT = 4, CONTINUE = 5; > RMISimProtokol protokol = new RMISimProtokol(); > EventSimPar arg = new EventSimPar(); > String modell; > int cmd = -1; > > public RMISimServerImpl() throws RemoteException {} > > public RMISimServerImpl(String filename, EventSimPar argument) throws > RemoteException { > modell = filename; > arg = argument; > } > > public void SendCommand(int command) throws RemoteException > { > cmd = command; > > System.out.println("Command was Send"); // as Tes, but this was not > displayed when i have sended a command !! > } > > public void SendEvent(RMIEvent rmievent) throws RemoteException > { > protokol.SetEvent(rmievent); > } > public void prozessCommand() { > int command = -1; > //System.out.println("Waiting for command"); > while(command == -1) { > > if (cmd == START) { > protokol.SetCommand(cmd); > EventSim evtSim = new EventSim(modell, arg); // this is The > Simulation Programm which run as Thread > evtSim.start(); > cmd = -1; > } else if (cmd == QUIT) { > protokol.SetCommand(cmd); > command = 0; > } else if (cmd == STOP) { > protokol.SetCommand(cmd); > }else if (cmd == PAUSE) { > protokol.SetCommand(cmd); > }else if (cmd == CONTINUE) { > protokol.SetCommand(cmd); > } I think your program is stacking in this loop. This program seems to expect other thread will have a thread of control during the thread executing prozessCommand() is looping. However Java doesn't guarantee that and our current JDK uses green_threads that doesn't perform preemption so that your EventSim thread have a thread of control. If you place a Thread.yield() here, your program will start simulation. This kind of polling loop shouldn't be written without special reason for any programs including non-Java program. It only eats CPU but produces nothing. > > } > System.exit(0); > } -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 17 13:19:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from s096-n062.tele2.cz (s096-n062.tele2.cz [213.246.96.62]) by hub.freebsd.org (Postfix) with ESMTP id 9D4A637B404; Fri, 17 May 2002 13:19:10 -0700 (PDT) Received: from localhost (plusik@localhost) by s096-n062.tele2.cz (8.11.6/8.11.6) with ESMTP id g4HKItj00265; Fri, 17 May 2002 22:18:59 +0200 (CEST) (envelope-from plusik@pohoda.cz) X-Authentication-Warning: s096-n062.tele2.cz: plusik owned process doing -bs Date: Fri, 17 May 2002 22:18:55 +0200 (CEST) From: Tomas Pluskal X-X-Sender: plusik@s096-n062.tele2.cz To: Jan Grant Cc: freebsd-bugs@freebsd.org, , , , Subject: Re: linux-jdk1.4.0 & linux_base7.1 In-Reply-To: Message-ID: <20020517221445.D258-100000@s096-n062.tele2.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I'm still looking into this - but if you have any luck with the route > I've suggested let me know. Success. When I removed this condition: - ------------------------------------------ if (CAN_AFFECT(p, p->p_cred, other_proc)) - ------------------------------------------ from p31b_proc() in src/sys/posix4/p1003_1b.c, Linux JDK 1.4 works again for non-root user! Tomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE85WWvqlO9Q2aZisoRAj//AJ9MKDy31X0CYcYPDlmh0R7LVUn++gCfZ3Zz 5sdLZRWW1BQtTEiCrs6CEcw= =j9xU -----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 Fri May 17 18: 9:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from orthanc.dolmant.net (12-253-176-33.client.attbi.com [12.253.176.33]) by hub.freebsd.org (Postfix) with ESMTP id 0CA8637B40F for ; Fri, 17 May 2002 18:09:39 -0700 (PDT) Received: from mythran.dolmant.net (mythran.dolmant.net [10.0.0.3]) by orthanc.dolmant.net (8.12.3/8.12.2) with ESMTP id g4I1BGjh030762 for ; Fri, 17 May 2002 19:11:17 -0600 (MDT) (envelope-from dolmant@dolmant.net) Content-Type: text/plain; charset="us-ascii" From: Matt Jibson Reply-To: dolmant@dolmant.net To: freebsd-java@freebsd.org Subject: linux-jdk14 locale problems Date: Fri, 17 May 2002 19:09:35 -0600 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205171909.35795.dolmant@dolmant.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I saw a thread on this problem a few weeks back, with no resolution. =20 This happened to me just a few days ago. After a portupgrade -ra earlier this week (my first one ever), my java=20 app I am developing stopped running. Here's the error: > root@mythran:/home/dolmant/Newmark/Java# rn > current locale is not supported in X11, locale is set to CX locale=20 modifiers are not supported, using defaultMay 17, 2002 6:59:03 PM=20 java.util.prefs.FileSystemPreferences$2 run > INFO: Recreated system preferences directory in=20 /etc/.java/.systemPrefs > Exception in thread "main" java.lang.InternalError: Current locale is=20 not supported > at sun.awt.motif.MWindowPeer.pSetTitle(Native Method) > at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:98) > at sun.awt.motif.MFramePeer.(MFramePeer.java:58) > at sun.awt.motif.MToolkit.createFrame(MToolkit.java:192) > at java.awt.Frame.addNotify(Frame.java:469) > at java.awt.Window.show(Window.java:433) > at java.awt.Component.show(Component.java:1128) > at java.awt.Component.setVisible(Component.java:1083) > at newmark.Main.main(Main.java:13) > May 17, 2002 6:59:33 PM java.util.prefs.FileSystemPreferences=20 unlockFile > WARNING: Could not drop file-lock on system preferences.Unix error=20 code 22. Then this last warning keeps trying to do something, times out, and=20 repeats. When I ^C'd it: > An unexpected exception has been detected in native code outside the=20 VM. > Unexpected Signal : 4 occurred at PC=3D0x281A43F8 > Function=3D__morecore+0x338 > Library=3D/lib/libc.so.6 >=20 > Current Java thread: > at java.lang.Shutdown.halt(Native Method) > at java.lang.Shutdown.exit(Shutdown.java:192) > - locked <0x2c617618> (a java.lang.Shutdown$Lock) > at java.lang.Terminator$1.handle(Terminator.java:35) > at sun.misc.Signal$1.run(Signal.java:195) > at java.lang.Thread.run(Thread.java:536) >=20 > Dynamic libraries: > Can not get information for pid =3D 21267 >=20 > Local Time =3D Fri May 17 19:00:37 2002 > Elapsed Time =3D 104 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) > # > # An error report file has been saved as hs_err_pid21267.log. > # Please refer to the file for further information. > # Note that this only worked as root. If I tried the same command as non=20 root: > dolmant@mythran:/home/dolmant/Newmark/Java% rn > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) > # > # Error ID: 4F533F4C494E55580E43505002AB > # > Abort trap - core dumped Version info of things I think might be relevant: java -version java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 Build Operating System: FreeBSD 4.6 i386 [ELF] Module Loader present root@mythran:/var/db/pkg# pkg_info |grep jdk linux-jdk-1.4.0 Sun's Java Developers Kit for Linux, version 1.4 root@mythran:/var/db/pkg# pkg_info |grep linux_base linux_base-7.1_2 The base set of packages needed in Linux mode FreeBSD 4.6-PRERELEASE (MYTHRAN) #1: Tue May 7 13:10:00 MDT 2002 -- This is a -STABLE system from about two weeks ago. Thanks much for the=20 help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat May 18 23:55:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from orthanc.dolmant.net (12-253-176-33.client.attbi.com [12.253.176.33]) by hub.freebsd.org (Postfix) with ESMTP id 8E96737B41F for ; Sat, 18 May 2002 23:55:36 -0700 (PDT) Received: from mythran.dolmant.net (mythran.dolmant.net [10.0.0.3]) by orthanc.dolmant.net (8.12.3/8.12.2) with ESMTP id g4J6vTjh036708 for ; Sun, 19 May 2002 00:57:29 -0600 (MDT) (envelope-from dolmant@dolmant.net) Content-Type: text/plain; charset="iso-8859-1" From: Matt Jibson Reply-To: dolmant@dolmant.net To: freebsd-java@freebsd.org Subject: Re: linux-jdk14 locale problems Date: Sun, 19 May 2002 00:55:34 -0600 X-Mailer: KMail [version 1.4] References: <200205171909.35795.dolmant@dolmant.net> In-Reply-To: <200205171909.35795.dolmant@dolmant.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205190055.35016.dolmant@dolmant.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org More things I've found: Downgrading to X 4.1.0 made it stop complaining about the locale thing,=20 but root was still the only user who could run anything without the=20 insta-crash. Downgrading to linux_base-6.1_1 fixed that problem. I'm still in the dark about why these problems are happening, though. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message