From owner-freebsd-java@FreeBSD.ORG Mon Oct 31 09:10:17 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4442616A422 for ; Mon, 31 Oct 2005 09:10:17 +0000 (GMT) (envelope-from taeshia@kti.co.kr) Received: from noc.kr.apan.net (noc.koren21.net [203.255.248.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C3F543D67 for ; Mon, 31 Oct 2005 09:10:10 +0000 (GMT) (envelope-from taeshia@kti.co.kr) Received: from ktikoren ([61.252.48.47]) by noc.kr.apan.net (8.12.6/8.12.6) with ESMTP id j9V9A56B021119; Mon, 31 Oct 2005 18:10:05 +0900 (KST) From: =?ks_c_5601-1987?B?w9bI8b3C?= To: Date: Mon, 31 Oct 2005 18:10:01 +0900 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcXd+t9HBtHVHDTzRLCrytRRfRw96g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ks_c_5601-1987?B?udrI8bvz?= , =?ks_c_5601-1987?B?wMzA58it?= , =?ks_c_5601-1987?B?sei09rDi?= , =?ks_c_5601-1987?B?sei55r/s?= Subject: We have a bug report X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 09:10:17 -0000 [FSC_SE.koren21.net:/home/flowscope/flowscope_svr/bin]# vi hs_err_pid59183.log Unexpected Signal : 11 occurred at PC=0x2845248C Function=_ZN16DefNewGeneration22copy_to_survivor_spaceEP7oopDescPS1_+0x18 Library=/usr/local/jdk1.4.2/jre/lib/i386/server/libjvm.so Dynamic libraries: 0x8048000 /usr/local/java/bin/java 0x2807b000 /usr/lib/libpthread.so.1 0x2809f000 /lib/libc.so.5 0x2817a000 /usr/local/jdk1.4.2/jre/lib/i386/server/libjvm.so 0x287b2000 /usr/lib/libstdc++.so.4 0x28884000 /lib/libm.so.3 0x2889f000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x288ad000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x288c2000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x288e0000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x6f460000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so 0x6f7fc000 /usr/local/jdk1.4.2/jre/lib/i386/librmi.so 0x6f80b000 /usr/local/jdk1.4.2/jre/lib/i386/libnio.so 0x2804e000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 5120K, used 5120K [0x2c680000, 0x2cc00000, 0x33590000) eden space 4608K, 100% used [0x2c680000, 0x2cb00000, 0x2cb00000) from space 512K, 100% used [0x2cb00000, 0x2cb80000, 0x2cb80000) to space 512K, 100% used [0x2cb80000, 0x2cc00000, 0x2cc00000) tenured generation total 44144K, used 31448K [0x33590000, 0x360ac000, 0x6ae80000) the space 44144K, 71% used [0x33590000, 0x35446300, 0x35446400, 0x360ac000) compacting perm gen total 16384K, used 6646K [0x6ae80000, 0x6be80000, 0x6ee80000) the space 16384K, 40% used [0x6ae80000, 0x6b4fd830, 0x6b4fda00, 0x6be80000) Local Time = Mon Oct 31 00:07:38 2005 Elapsed Time = 40776 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002F1 # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Server VM (1.4.2-p7-flowscope_07_sep_2005_00_21 mixed mode) From owner-freebsd-java@FreeBSD.ORG Mon Oct 31 11:02:32 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1BBC16A41F for ; Mon, 31 Oct 2005 11:02:32 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D64243D8F for ; Mon, 31 Oct 2005 11:02:21 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9VB2LCl008988 for ; Mon, 31 Oct 2005 11:02:21 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9VB2KIx008982 for freebsd-java@freebsd.org; Mon, 31 Oct 2005 11:02:20 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Oct 2005 11:02:20 GMT Message-Id: <200510311102.j9VB2KIx008982@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 11:02:32 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing o [2005/09/29] java/86700 java SIGSEGV in native jdk15 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters o [2005/10/01] java/86804 java [PATCH] Install a desktop icon for the ja o [2005/10/17] java/87552 java Enable multi-job builds for CPP files in 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Oct 31 12:07:18 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F8A716A41F for ; Mon, 31 Oct 2005 12:07:18 +0000 (GMT) (envelope-from g_glasson@amnet.net.au) Received: from smtp.amnet.net.au (203.161.105.192.dyn.amnet.net.au [203.161.105.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 931FB43D4C for ; Mon, 31 Oct 2005 12:07:11 +0000 (GMT) (envelope-from g_glasson@amnet.net.au) Received: from kosh.jimali.dyndns.org ([192.168.1.1]) by kosh.jimali.dyndns.org with esmtp (Exim 4.24; FreeBSD 4.8) id 1EWYRO-000CbM-BB for freebsd-java@freebsd.org; Mon, 31 Oct 2005 20:07:06 +0800 From: Geoff Glasson To: freebsd-java@freebsd.org Date: Mon, 31 Oct 2005 20:07:01 +0800 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510312007.03614.g_glasson@amnet.net.au> X-Spam-Score: -1.4 X-Spam-Report: Spam detection software, running on the system "kosh.jimali.dyndns.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Folks, Like a number of people before me, I need to specify some JVM arguments when starting Tomcat. It doesn't seem possible with the current version of tomcat50ctl. PR75143 deals with this issue, but it seems that nothing has happened on this defect since the middle of the year. What is the status of this defect? Has anyone tested the patches listed in the defect? Are there any plans to commit these patches? [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Subject: JVM command line arguments for tomcat X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 12:07:18 -0000 Folks, Like a number of people before me, I need to specify some JVM arguments when starting Tomcat. It doesn't seem possible with the current version of tomcat50ctl. PR75143 deals with this issue, but it seems that nothing has happened on this defect since the middle of the year. What is the status of this defect? Has anyone tested the patches listed in the defect? Are there any plans to commit these patches? Thanks in advance...Geoff BTW: I'm currently running 4.11, JDK 1.4.2-p7, and tomcat 5.0.30 -- Geoff Glasson g_glasson@amnet.net.au From owner-freebsd-java@FreeBSD.ORG Tue Nov 1 00:23:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D02016A41F for ; Tue, 1 Nov 2005 00:23:09 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9163D43D49 for ; Tue, 1 Nov 2005 00:23:06 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4) with ESMTP id jA1047x8097907; Tue, 1 Nov 2005 01:04:07 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4/Submit) id jA1041RE097701; Tue, 1 Nov 2005 01:04:01 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Tue, 1 Nov 2005 01:04:01 +0100 From: Herve Quiroz To: Geoff Glasson Message-ID: <20051101000401.GA93435@arabica.esil.univ-mrs.fr> Mail-Followup-To: Geoff Glasson , freebsd-java@freebsd.org References: <200510312007.03614.g_glasson@amnet.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510312007.03614.g_glasson@amnet.net.au> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: JVM command line arguments for tomcat X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 00:23:09 -0000 Hi Geoff, On Mon, Oct 31, 2005 at 08:07:01PM +0800, Geoff Glasson wrote: > Like a number of people before me, I need to specify some JVM arguments when > starting Tomcat. It doesn't seem possible with the current version of > tomcat50ctl. > > PR75143 deals with this issue, but it seems that nothing has happened on this > defect since the middle of the year. What is the status of this defect? Has > anyone tested the patches listed in the defect? Are there any plans to > commit these patches? > > Thanks in advance...Geoff > > BTW: I'm currently running 4.11, JDK 1.4.2-p7, and tomcat 5.0.30 All development (ports-wise) is hapenning in www/jakarta-tomcat55 at the moment. Issues related to JVM arguments that were addressed by several PRs have been worked on and improvements have been commited into this port. I am currently waiting for the maintainer to approve a recent patch posted to the list and then we can move on and merge all of these improvements to the other tomcat ports. Given the number of people actually requesting such features for other tomcat ports, I am about to handle these changes on my own (unless someone volunteers to takeover maintainership and to submit patches). Herve From owner-freebsd-java@FreeBSD.ORG Tue Nov 1 06:48:11 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3286816A41F for ; Tue, 1 Nov 2005 06:48:11 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE25043D48 for ; Tue, 1 Nov 2005 06:48:10 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 6668B4CB6B for ; Tue, 1 Nov 2005 06:48:30 +0000 (GMT) Received: from [192.168.0.2] (ppp157-158.static.internode.on.net [150.101.157.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id B25094CB69 for ; Tue, 1 Nov 2005 06:48:29 +0000 (GMT) Message-ID: <43670FA7.8030902@roq.com> Date: Tue, 01 Nov 2005 17:48:07 +1100 From: Michael VInce User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051019 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Tomcat jdk 1.4 crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 06:48:11 -0000 Hi guys, I have Tomcat based web app that crashed today and the log said post it to the mailing list so here it is :) I don't know what it is but I figured I should probably give the Java process more memory. Does any one believe using 1.5 Java would be better for Tomcat and what about using it on AMD64 ? Also what about using 6.0 Release the current machine is 5.4-STABLE on a Dual P4 Dell i386. Mike hs_err_pid68450.log Unexpected Signal : 11 occurred at PC=0x2834FC32 Function=_ZN15FastScanClosure6do_oopEPP7oopDesc+0x26 Library=/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so Dynamic libraries: 0x8048000 /usr/local/java/bin/java 0x2807b000 /usr/lib/libpthread.so.1 0x2809f000 /lib/libc.so.5 0x2817a000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so 0x2858f000 /usr/lib/libstdc++.so.4 0x28661000 /lib/libm.so.3 0x2867c000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x2868a000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x2869f000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x286bd000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x34bca000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so 0x2804e000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 4544K, used 4095K [0x2c570000, 0x2ca50000, 0x2ca50000) eden space 4096K, 99% used [0x2c570000, 0x2c96fff8, 0x2c970000) from space 448K, 0% used [0x2c9e0000, 0x2c9e0000, 0x2ca50000) to space 448K, 3% used [0x2c970000, 0x2c9737c8, 0x2c9e0000) tenured generation total 60544K, used 54149K [0x2ca50000, 0x30570000, 0x30570000) the space 60544K, 89% used [0x2ca50000, 0x2ff31508, 0x2ff31600, 0x30570000) compacting perm gen total 10240K, used 10183K [0x30570000, 0x30f70000, 0x34570000) the space 10240K, 99% used [0x30570000, 0x30f61fd0, 0x30f62000, 0x30f70000) Local Time = Tue Nov 1 17:19:05 2005 Elapsed Time = 86387 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002F1 # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p7-root_14_sep_2005_20_15 mixed mode) # From owner-freebsd-java@FreeBSD.ORG Tue Nov 1 07:59:06 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 226A216A41F for ; Tue, 1 Nov 2005 07:59:06 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA0C43D46 for ; Tue, 1 Nov 2005 07:59:04 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id jA17x39V098401; Tue, 1 Nov 2005 09:59:03 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jA17xFWa030774; Tue, 1 Nov 2005 09:59:15 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43672017.4080404@ebs.gr> Date: Tue, 01 Nov 2005 09:58:15 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael VInce References: <43670FA7.8030902@roq.com> In-Reply-To: <43670FA7.8030902@roq.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Tomcat jdk 1.4 crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 07:59:06 -0000 Michael VInce wrote: > Hi guys, > I have Tomcat based web app that crashed today and the log said post it > to the mailing list so here it is :) > I don't know what it is but I figured I should probably give the Java > process more memory. Definitely. There might have been some OutOfMemoryErrors shown prior to the crash. I've seen it once. > Does any one believe using 1.5 Java would be better > for Tomcat and what about using it on AMD64 ? jdk15 has many bugfixes and improvements from Sun, over jdk14. FreeBSD-wise they appear more or less equally stable from my experience. I can't comment on amd64 though. > Also what about using 6.0 > Release the current machine is 5.4-STABLE on a Dual P4 Dell i386. Although not related to the reported crash, that would also be a good plan. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Wed Nov 2 01:09:31 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF5CB16A41F for ; Wed, 2 Nov 2005 01:09:31 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80803.mail.yahoo.com (web80803.mail.yahoo.com [66.163.170.98]) by mx1.FreeBSD.org (Postfix) with SMTP id 82F3D43D46 for ; Wed, 2 Nov 2005 01:09:31 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 71555 invoked by uid 60001); 2 Nov 2005 01:09:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HPoC/qkpwb/lUaepuBaQw9zHvBtycnEmpV26V5/ZFwUvbL1d+oLaoEoZ/6P5B/2QfHKO0DcDR4OC9ZgbAUQBb811NoGP3EZx7HZYu3n1phjgMMonZ/3Z8QhoGHnCVcq5DUeHLRjDG66vZg25fTBA1VfSOuuSF7sdThrqm466nnM= ; Message-ID: <20051102010930.71553.qmail@web80803.mail.yahoo.com> Received: from [68.248.155.172] by web80803.mail.yahoo.com via HTTP; Tue, 01 Nov 2005 17:09:30 PST Date: Tue, 1 Nov 2005 17:09:30 -0800 (PST) From: Tanya N kessler To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: JDK 1.5 plugin for Firefox? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 01:09:31 -0000 Is there a JDK 1.5 plugin for firefox on FreeBSD 5.4 on AMD64? If so, how do is it installed? I checked the mailing list archives, but didn't find any info. Thanks, Tom From owner-freebsd-java@FreeBSD.ORG Wed Nov 2 06:40:52 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 428C916A41F for ; Wed, 2 Nov 2005 06:40:52 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C64DF43D45 for ; Wed, 2 Nov 2005 06:40:51 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EXCIf-0003So-Pz for freebsd-java@freebsd.org; Wed, 02 Nov 2005 07:40:45 +0100 Received: from 157.26.3.174 ([157.26.3.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Nov 2005 07:40:45 +0100 Received: from patrick.gelin by 157.26.3.174 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Nov 2005 07:40:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Patrick Gelin Date: Tue, 01 Nov 2005 16:31:53 +0100 Organization: OSIS Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 157.26.3.174 User-Agent: KNode/0.9.1 Sender: news Subject: Problem with assert compiling java 1.4 into Eclipse IDE... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: patrick.gelin@free.fr List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 06:40:52 -0000 hi, I'm compiling a JSP page including a JAVA scriptlet. I'm using eclipse IDE 3.1 with Java compiler 1.4. But into this page I've got the error code below: 2 cannot resolve symbol: symbol : method assert (boolean) index.jsp The line is: assert(request.getAttribute("org.portletapi.contextid") != null); What can I do? Thanks for your response. From owner-freebsd-java@FreeBSD.ORG Thu Nov 3 19:19:56 2005 Return-Path: X-Original-To: java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB43B16A41F for ; Thu, 3 Nov 2005 19:19:56 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0A53443D48 for ; Thu, 3 Nov 2005 19:19:55 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 03 Nov 2005 19:19:54 -0000 Received: from p54A7DA71.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.218.113] by mail.gmx.net (mp030) with SMTP; 03 Nov 2005 20:19:54 +0100 X-Authenticated: #5465401 Message-ID: <436A62D5.4080809@gmx.de> Date: Thu, 03 Nov 2005 20:19:49 +0100 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051020) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@FreeBSD.org X-Enigmail-Version: 0.93.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC24974B6100A3B572A618CE6" X-Y-GMX-Trusted: 0 Cc: Subject: javawrapper.sh chooses oldest vm X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 19:19:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC24974B6100A3B572A618CE6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Why is it that of all available choices the java vm wrapper script will always choose to use the oldest available version. I've got 1.4.2 and 1.5.0 installed and if I don't set any variables the script will always choose 1.4.2 no matter into which order I put the entries in /usr/local/etc/javavms . Also if I set JAVA_VERSION="1.5.0 1.4.2" or "1.4.2 1.5.0", the script will always choose 1.4.2 . Wouldn't it be more sensible to use the latest available vm if not specified differently, or the first one mentioned if possible? greetings - Kamikaze --------------enigC24974B6100A3B572A618CE6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDamLZfMDIb41/+S0RAqOfAJ41o2kP2O1AldAa6RD9Qm5yyT11WQCePniS zDcyQ3Myo7VW16rPt/Ip2jg= =3yPc -----END PGP SIGNATURE----- --------------enigC24974B6100A3B572A618CE6-- From owner-freebsd-java@FreeBSD.ORG Thu Nov 3 20:50:59 2005 Return-Path: X-Original-To: java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E5A316A41F for ; Thu, 3 Nov 2005 20:50:59 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C1C43D6E for ; Thu, 3 Nov 2005 20:50:54 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4) with ESMTP id jA3KorsW009791; Thu, 3 Nov 2005 21:50:53 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4/Submit) id jA3KoqrZ009790; Thu, 3 Nov 2005 21:50:52 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Thu, 3 Nov 2005 21:50:52 +0100 From: Herve Quiroz To: "[LoN]Kamikaze" Message-ID: <20051103205052.GA9619@arabica.esil.univ-mrs.fr> Mail-Followup-To: "[LoN]Kamikaze" , java@FreeBSD.org References: <436A62D5.4080809@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <436A62D5.4080809@gmx.de> User-Agent: Mutt/1.4.2.1i Cc: java@FreeBSD.org Subject: Re: javawrapper.sh chooses oldest vm X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 20:50:59 -0000 On Thu, Nov 03, 2005 at 08:19:49PM +0100, [LoN]Kamikaze wrote: > Why is it that of all available choices the java vm wrapper script will > always choose to use the oldest available version. I've got 1.4.2 and > 1.5.0 installed and if I don't set any variables the script will always > choose 1.4.2 no matter into which order I put the entries in > /usr/local/etc/javavms . > Also if I set JAVA_VERSION="1.5.0 1.4.2" or "1.4.2 1.5.0", the script > will always choose 1.4.2 . Wouldn't it be more sensible to use the > latest available vm if not specified differently, or the first one > mentioned if possible? I am not into this RTFM thing but here is a small excerpt from the manpage for javavm(1): JAVA_VERSION A space delimited list of versions of the Java VM that may be used. By appending a `+' to a version, any Java VM with a ver- sion greater than or equal to the given version will be used. Currently allowed versions are `1.1', `1.1+', `1.2', `1.2+', `1.3', `1.3+', `1.4', `1.4+', `1.5' and `1.5+'. So your JAVA_VERSION value is wrong. Furthermore, javavm(1) uses the logic from bsd.java.mk to pick up a JDK. As you may read from this file, java/jdk14 is the default JDK on all 5.x and later systems. Hence it is not the oldest JVM that gets picked up but rather java/jdk14 if present. Even if you had java/jdk13 installed, java/jdk14 would still be picked up. You may however override this default using JAVA_PREFERRED_PORT. For instance, you may set this into /etc/make.conf: JAVA_PREFERRED_PORTS?= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 Herve From owner-freebsd-java@FreeBSD.ORG Thu Nov 3 20:52:11 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 778D716A421 for ; Thu, 3 Nov 2005 20:52:11 +0000 (GMT) (envelope-from sebster@sebster.com) Received: from smtp.profdata.nl (server.profdata.nl [213.196.2.244]) by mx1.FreeBSD.org (Postfix) with SMTP id DDA9B43D45 for ; Thu, 3 Nov 2005 20:52:01 +0000 (GMT) (envelope-from sebster@sebster.com) Received: (qmail 82677 invoked from network); 3 Nov 2005 20:52:00 -0000 Received: from unknown (HELO ?10.0.0.6?) (80.126.244.3) by server.profdata.nl with SMTP; 3 Nov 2005 20:51:59 -0000 Message-ID: <436A786F.8040204@sebster.com> Date: Thu, 03 Nov 2005 21:51:59 +0100 From: Sebastiaan van Erk User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Content-Type: multipart/mixed; boundary="------------070005010501000803030903" Cc: Subject: Stack overflow causes hotspot crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 20:52:11 -0000 This is a multi-part message in MIME format. --------------070005010501000803030903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Just wanted to report a hotspot vm crash due to a stack overflow error. The overflow was a stupid completion error (2 methods that started with an A), but I don't think hotspot should crash. The log is attached. Greetings, Sebastiaan van Erk --------------070005010501000803030903 Content-Type: text/plain; name="hs_err_pid37542.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hs_err_pid37542.log" # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2b57af50, pid=37542, tid=0x8972200 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_03_nov_2005_16_31 mixed mode) # Problematic frame: # J java.lang.String.hashCode()I # --------------- T H R E A D --------------- Current thread (0x0873dc00): JavaThread "http-8080-Processor1" daemon [_thread_in_Java, id=144122368] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0xbf42aff4 Registers: EAX=0x326ec430, EBX=0x326ec1f0, ECX=0x2e3cd938, EDX=0x2b5d72a0 ESP=0xbf42dff4, EBP=0xbf42e010, ESI=0x2e3cd938, EDI=0x2e3bb038 EIP=0x2b57af50, EFLAGS=0x00010212 Top of Stack: (sp=0xbf42dff4) 0xbf42dff4: 2b5d72bf 2e3cd938 315f6e20 00000000 0xbf42e004: 00000000 00000000 00000000 bf42e030 0xbf42e014: 2b5a819d 2e3cd2a0 315f6e20 00000000 0xbf42e024: 00000000 bf42e048 2b5a819d bf42e068 0xbf42e034: 2b5ac23d 2e3cd2a0 32af9310 ffffffff 0xbf42e044: 2e45b9a8 bf42e080 2b5ac2b7 2e45b9a8 0xbf42e054: 2e3cd2a0 00000000 00000000 bf42e080 0xbf42e064: 2e3cd2a0 bf42e098 2b6efd09 2e3cd2a0 Instructions: (pc=0x2b57af50) 0x2b57af40: 90 90 90 90 90 90 90 3b 41 04 0f 85 30 b1 fe ff 0x2b57af50: 89 84 24 00 d0 ff ff 55 8b ec 83 ec 28 8b 55 08 Stack: [0xbf5f3000,0xbf633000), sp=0xbf42dff4, free space=-1813k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) J java.lang.String.hashCode()I J java.util.HashMap.hash(Ljava/lang/Object;)I J java.util.HashMap.get(Ljava/lang/Object;)Ljava/lang/Object; J org.apache.tapestry.services.impl.ComponentPropertySourceImpl.getSourceForComponent(Lorg/apache/tapestry/IComponent;)Lorg/apache/tapestry/engine/IPropertySource; J org.apache.tapestry.services.impl.ComponentPropertySourceImpl.getComponentProperty(Lorg/apache/tapestry/IComponent;Ljava/lang/String;)Ljava/lang/String; J $ComponentPropertySource_10757d04998.getComponentProperty(Lorg/apache/tapestry/IComponent;Ljava/lang/String;)Ljava/lang/String; J $Home_0.getAnonymousAccessAllowed()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z J com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z ...... --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x086eb600 JavaThread "TP-Monitor" daemon [_thread_blocked, id=141473792] 0x086eb200 JavaThread "TP-Processor4" daemon [_thread_in_native, id=141472768] 0x088b1e00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=141471744] 0x088a5800 JavaThread "TP-Processor2" daemon [_thread_blocked, id=141442560] 0x0873d200 JavaThread "TP-Processor1" daemon [_thread_blocked, id=141810176] 0x088b1200 JavaThread "http-8080-Monitor" [_thread_blocked, id=143332352] 0x08972800 JavaThread "http-8080-Processor2" daemon [_thread_in_native, id=144124928] =>0x0873dc00 JavaThread "http-8080-Processor1" daemon [_thread_in_Java, id=144122368] 0x088a5a00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=143285248] 0x08165a00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135683072] 0x08165400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135681536] 0x08165000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135680512] 0x0815c800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=135645696] 0x0815c400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=135644672] 0x0813d600 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=135518720] 0x0813d200 JavaThread "Finalizer" daemon [_thread_blocked, id=135517184] 0x0806be00 JavaThread "Reference Handler" daemon [_thread_blocked, id=135516160] 0x08060e00 JavaThread "main" [_thread_in_native, id=134610944] Other Threads: 0x08120300 VMThread [id=134659072] 0x0805ae00 WatcherThread [id=135737344] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 1792K, used 1504K [0x2d580000, 0x2d770000, 0x2da60000) eden space 1600K, 94% used [0x2d580000, 0x2d6f80d0, 0x2d710000) from space 192K, 0% used [0x2d710000, 0x2d710000, 0x2d740000) to space 192K, 0% used [0x2d740000, 0x2d740000, 0x2d770000) tenured generation total 23640K, used 14182K [0x2da60000, 0x2f176000, 0x31580000) the space 23640K, 59% used [0x2da60000, 0x2e839998, 0x2e839a00, 0x2f176000) compacting perm gen total 24832K, used 24818K [0x31580000, 0x32dc0000, 0x35580000) the space 24832K, 99% used [0x31580000, 0x32dbc870, 0x32dbca00, 0x32dc0000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/jdk1.5.0/bin/java 0x28080000 /usr/lib/libpthread.so.2 0x280a5000 /lib/libc.so.6 0x2817d000 /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so 0x285cf000 /lib/libm.so.4 0x285e6000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x285ef000 /usr/local/jdk1.5.0/jre/lib/i386/libjdwp.so 0x2862c000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x28639000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x28658000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x2d57a000 /usr/local/jdk1.5.0/jre/lib/i386/libdt_socket.so 0x36777000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so 0x28055000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Dcatalina.home=/usr/home/sebster/applications/jakarta-tomcat5.5 -Djava.endorsed.dirs=/usr/home/sebster/applications/jakarta-tomcat5.5/common/endorsed -Dcatalina.base=/usr/home/sebster/applications/jakarta-tomcat5.5 -Djava.io.tmpdir=/usr/home/sebster/applications/jakarta-tomcat5.5/temp -Dorg.apache.tapestry.enable-reset-service=true -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,suspend=y,address=localhost:52122 java_command: org.apache.catalina.startup.Bootstrap -config /usr/home/sebster/applications/jakarta-tomcat5.5/conf/server.xml start Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0 PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/sebster/bin:/usr/X11R6/bin:/home/sebster/bin LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386:/usr/X11R6/lib/mozilla::/usr/X11R6/lib/mozilla SHELL=/bin/tcsh DISPLAY=:0.0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 09:44:10 CET 2005 root@blauwoor.sebster.com:/usr/src/sys/i386/compile/GENERIC i386 rlimit: STACK 65536k, CORE infinity, NOFILE 10951 CPU:total 1 family 15, cmov, cx8, fxsr, mmx, ht Memory: 4k page, physical 654296k vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_03_nov_2005_16_31) for freebsd-x86, built on Nov 3 2005 19:08:21 by root with gcc 3.4.4 [FreeBSD] 20050518 --------------070005010501000803030903-- From owner-freebsd-java@FreeBSD.ORG Thu Nov 3 23:50:18 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C581B16A422 for ; Thu, 3 Nov 2005 23:50:18 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0748E43D5F for ; Thu, 3 Nov 2005 23:50:12 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-45.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.197.45]) by smtp01.mrf.mail.rcn.net with ESMTP; 03 Nov 2005 18:50:11 -0500 X-IronPort-AV: i="3.97,289,1125892800"; d="scan'208"; a="115798209:sNHT24987592" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17258.41554.833003.789377@jerusalem.litteratus.org> Date: Thu, 3 Nov 2005 18:50:42 -0500 To: java@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta23) "daikon" XEmacs Lucid Cc: Subject: reinstalling from point zero. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 23:50:19 -0000 For a variety of reasons, I need to reinstall java from the very beginning. Unfortunately: 1) running FreeBSD jerusalem.litteratus.org 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu Sep 29 12:05:58 EDT 2005 2) with /etc/libmap.conf # Added per /usr/src/UPDATING libc_r.so.5 libpthread.so.1 libc_r.so libpthread.so # added 2004/02/28 per instructions of www/linuxpluginwrapper port # changed 2005/06/13 per instructions of www/linuxpluginwrapper # upgrade # # changed 2005/09/09 after system upgrade to 6.0-beta3 [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so] libpthread.so.0 pluginwrapper/flash6.so libdl.so.2 pluginwrapper/flash6.so libz.so.1 libz.so.3 libstdc++-libc6.2-2.so.3 libstdc++.so.5 libm.so.6 libm.so.4 libc.so.6 pluginwrapper/flash6.so # # added 2005/10/20 per # /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 # # [ALPHA SUPPORT] Flash7 with Mozilla [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] libpthread.so.0 libpthread.so.2 libdl.so.2 pluginwrapper/flash7.so libz.so.1 libz.so.3 libm.so.6 libm.so.4 libc.so.6 pluginwrapper/flash7.so # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror [/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so # Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] libstdc++.so.5 libstdc++.so.5 libc.so.6 pluginwrapper/realplayer.so 3) and huff@jerusalem>> kldstat Id Refs Address Size Name 1 12 0xc0400000 3b0acc kernel 2 16 0xc07b1000 60b4c acpi.ko 3 1 0xc1c26000 6000 linprocfs.ko 4 1 0xc1c2c000 19000 linux.ko 5 1 0xc1c6a000 d000 if_de.ko 6 1 0xc1eaf000 21000 nfsserver.ko 4) and huff@jerusalem>> mount /dev/da0s1a on / (ufs, local, acls) devfs on /dev (devfs, local) /dev/da0s1d on /var (ufs, local, soft-updates, acls) /dev/da1s1d on /usr (ufs, local, soft-updates, acls) linprocfs on /usr/compat/linux/proc (linprocfs, local) 5) and a fresh install of linux-sun-jdk14 6) As root: huff@jerusalem>> java # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4F533F4C494E55583F491418160E435050038C), pid=25496, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode) # An error report file with more information is saved as hs_err_pid25496.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Abort (core dumped) The log file is appended, The core dump is available. Any idea what I've messed up? Robert Huff # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4F533F4C494E55583F491418160E435050038C), pid=25496, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode) --------------- T H R E A D --------------- Current thread is native thread Stack: [error occurred during error reporting, step 110, id 0xe0000000] [error occurred during error reporting, step 120, id 0xb] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: VM state:not at safepoint (not fully initilizated) VM Mutex/Monitor currently owned by a thread: None Heap [error occurred during error reporting, step 190, id 0xb] Dynamic libraries: 08048000-08056000 r-xp 00010000 VM Arguments: java_command: Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/linux-sun-jdk1.4.2 PATH=/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/root:/usr/X11R6/bin:/root LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client:/usr/local/linux-sun-jdk1.4.2/jre/lib/i386:/usr/local/linux-sun-jdk1.4.2/jre/../lib/i386 SHELL=/bin/csh DISPLAY=:0.0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 --------------- S Y S T E M --------------- OS:Red Hat Linux release 8.0 (Psyche) uname:Linux 2.4.2 FreeBSD 7.0-CURRENT #1: Thu Sep 29 12:05:58 EDT 2005 i686 libc:glibc 2.3.2 linuxthreads-0.10 (floating stack) rlimit: STACK 2044k, CORE infinity, NPROC 3632, NOFILE 7264, AS 7k load average:0.00 4701099795014399489389371966364966604103084524931260758624169931369341508829845165398119923901913548704374568764363022330506064087116971168727978016953887481258844521567076680204288.00 0.00 CPU:total 1 Memory: 4k page, physical 515540k(411008k free), swap 2097152k(2016960k free) vm_info: Java HotSpot(TM) Client VM (1.4.2_10-b03) for linux-x86, built on Oct 10 2005 15:31:45 by unknown with unknown compiler From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 05:39:22 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B55A516A420 for ; Fri, 4 Nov 2005 05:39:22 +0000 (GMT) (envelope-from ncoelle@gmx.de) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 017CD43D45 for ; Fri, 4 Nov 2005 05:39:21 +0000 (GMT) (envelope-from ncoelle@gmx.de) Received: (qmail invoked by alias); 04 Nov 2005 05:39:19 -0000 Received: from p5496A9E5.dip0.t-ipconnect.de (EHLO localhost) [84.150.169.229] by mail.gmx.net (mp006) with SMTP; 04 Nov 2005 06:39:19 +0100 X-Authenticated: #3587294 Date: Fri, 04 Nov 2005 06:39:24 -0000 To: freebsd-java@freebsd.org From: =?iso-8859-15?Q?Niels_C=F6lle?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.50 (FreeBSD, build 1358) X-Y-GMX-Trusted: 0 Subject: JDK15: Cipher.getInstance throws UnsupportedOperationException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 05:39:22 -0000 Hello, are there any known restrictions in the JCE implementation of jdk-1.5.0p2_1? If I use the native jdk15 I get the Exception below. On other platforms my code works: - FreeBSD linux-jdk15 - Windows XP jdk1.5.0_05 - RedHat EE 3.x jdk1.5.0_05 - Solaris 8 jdk1.5.0_05 - Solaris 9 jdk1.5.0_05 I checked jce.jar with jarsigner -verify : OK. I installed the jce_policy files for 1.5.0 : failed. I replaced the jce.jar and the security directory with files from one of the working platforms : failed (of course?) Maybe I am searching in the wrong direction, but if I formerly got these "java.lang.SecurityException: Cannot set up certs for trusted CAs" errors, there was something wrong with the certificates/signatures/policy in jre/lib jre/lib/security. Has anybody new ideas? Thanks in advance Niels java.lang.ExceptionInInitializerError at javax.crypto.Cipher.getInstance(DashoA12275) at javax.crypto.Cipher.getInstance(DashoA12275) at com.coelle_online.Token.init(IAIKToken.java:253) at com.coelle_online.GenerateMasterKey.run(GenerateMasterKey.java:59) at com.coelle_online.GenerateMasterKey.main(GenerateMasterKey.java:91) Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.SunJCE_b.(DashoA12275) ... 5 more Caused by: java.lang.UnsupportedOperationException at java.security.cert.CertificateFactorySpi.engineGenerateCertPath(CertificateFactorySpi.java:162) at java.security.cert.CertificateFactory.generateCertPath(CertificateFactory.java:353) at sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:464) at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:208) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:282) at java.util.jar.JarVerifier.update(JarVerifier.java:194) at java.util.jar.JarFile.initializeVerifier(JarFile.java:317) at java.util.jar.JarFile.getInputStream(JarFile.java:382) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:119) at javax.crypto.SunJCE_d.a(DashoA12275) at javax.crypto.SunJCE_b.g(DashoA12275) at javax.crypto.SunJCE_b.e(DashoA12275) at javax.crypto.SunJCE_q.run(DashoA12275) at java.security.AccessController.doPrivileged(Native Method) ... 6 more From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 09:03:04 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17FEC16A420 for ; Fri, 4 Nov 2005 09:03:04 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A9843D45 for ; Fri, 4 Nov 2005 09:03:00 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id jA492v9V011174; Fri, 4 Nov 2005 11:02:57 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jA4937lA057791; Fri, 4 Nov 2005 11:03:13 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <436B238C.7080703@ebs.gr> Date: Fri, 04 Nov 2005 11:02:04 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Niels_C=F6lle?= References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Re: JDK15: Cipher.getInstance throws UnsupportedOperationException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 09:03:04 -0000 Niels Cölle wrote: > Hello, > > are there any known restrictions in the JCE implementation of > jdk-1.5.0p2_1? > > If I use the native jdk15 I get the Exception below. On other platforms > my code works: > - FreeBSD linux-jdk15 > - Windows XP jdk1.5.0_05 > - RedHat EE 3.x jdk1.5.0_05 > - Solaris 8 jdk1.5.0_05 > - Solaris 9 jdk1.5.0_05 > > I checked jce.jar with jarsigner -verify : OK. > I installed the jce_policy files for 1.5.0 : failed. > I replaced the jce.jar and the security directory with files from one > of the working platforms : failed (of course?) > > Maybe I am searching in the wrong direction, but if I formerly got > these "java.lang.SecurityException: Cannot set up certs for trusted > CAs" errors, there was something wrong with the > certificates/signatures/policy in jre/lib jre/lib/security. > Has anybody new ideas? > > Thanks in advance > Niels > > java.lang.ExceptionInInitializerError > at javax.crypto.Cipher.getInstance(DashoA12275) > at javax.crypto.Cipher.getInstance(DashoA12275) > at com.coelle_online.Token.init(IAIKToken.java:253) > at com.coelle_online.GenerateMasterKey.run(GenerateMasterKey.java:59) > at com.coelle_online.GenerateMasterKey.main(GenerateMasterKey.java:91) > Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs > at javax.crypto.SunJCE_b.(DashoA12275) > ... 5 more > Caused by: java.lang.UnsupportedOperationException > at > java.security.cert.CertificateFactorySpi.engineGenerateCertPath(CertificateFactorySpi.java:162) > > at > java.security.cert.CertificateFactory.generateCertPath(CertificateFactory.java:353) > > at > sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:464) > > at > sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:208) > > at > sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176) > > at java.util.jar.JarVerifier.processEntry(JarVerifier.java:282) > at java.util.jar.JarVerifier.update(JarVerifier.java:194) > at java.util.jar.JarFile.initializeVerifier(JarFile.java:317) > at java.util.jar.JarFile.getInputStream(JarFile.java:382) > at > sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:119) > > at javax.crypto.SunJCE_d.a(DashoA12275) > at javax.crypto.SunJCE_b.g(DashoA12275) > at javax.crypto.SunJCE_b.e(DashoA12275) > at javax.crypto.SunJCE_q.run(DashoA12275) > at java.security.AccessController.doPrivileged(Native Method) > ... 6 more Have you replaced the installed cacerts file with the one from a working Sun JDK (say Linux)? You can find the installed file in /usr/local/jdk1.5.0/jre/lib/security/cacerts. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 09:34:45 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 975B116A420 for ; Fri, 4 Nov 2005 09:34:45 +0000 (GMT) (envelope-from NCoelle@gmx.de) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C92FF43D48 for ; Fri, 4 Nov 2005 09:34:44 +0000 (GMT) (envelope-from NCoelle@gmx.de) Received: (qmail 29728 invoked by uid 0); 4 Nov 2005 09:34:42 -0000 Received: from 213.68.205.168 by www46.gmx.net with HTTP; Fri, 4 Nov 2005 10:34:43 +0100 (MET) Date: Fri, 4 Nov 2005 10:34:43 +0100 (MET) From: =?ISO-8859-1?Q?=22Niels_C=F6lle=22?= To: Panagiotis Astithas MIME-Version: 1.0 References: <436B238C.7080703@ebs.gr> X-Priority: 3 (Normal) X-Authenticated: #3587294 Message-ID: <6785.1131096883@www46.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JDK15: Cipher.getInstance throws UnsupportedOperationException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 09:34:45 -0000 Hello Panagiotis, > Have you replaced the installed cacerts file with the one from a working > Sun JDK (say Linux)? You can find the installed file in > /usr/local/jdk1.5.0/jre/lib/security/cacerts. Yes, but it did not resolve the problem. May be it is a problem with name of the algorithm: I do Cipher mAesCipher = Cipher.getInstance(AES_ALGORITHM); where AES_ALGORITHM is: public static final String AES_ALGORITHM = "AES/CBC/NoPadding"; Security.getProviders gets [IAIK, SUN version 1.5, SunRsaSign version 1.5, SunJSSE version 1.5, SunJCE version 1.5, SunJGSS version 1.0, SunSASL version 1.5] cu Niels From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 09:42:01 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B88E16A428 for ; Fri, 4 Nov 2005 09:42:01 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12EEE43D4C for ; Fri, 4 Nov 2005 09:41:59 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id jA49fv9V011316; Fri, 4 Nov 2005 11:41:57 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jA49gDbs058520; Fri, 4 Nov 2005 11:42:13 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <436B2CB6.8080205@ebs.gr> Date: Fri, 04 Nov 2005 11:41:10 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Niels_C=F6lle?= References: <436B238C.7080703@ebs.gr> <6785.1131096883@www46.gmx.net> In-Reply-To: <6785.1131096883@www46.gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Re: JDK15: Cipher.getInstance throws UnsupportedOperationException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 09:42:01 -0000 Niels Cölle wrote: > Hello Panagiotis, > > >>Have you replaced the installed cacerts file with the one from a working >>Sun JDK (say Linux)? You can find the installed file in >>/usr/local/jdk1.5.0/jre/lib/security/cacerts. > > > Yes, but it did not resolve the problem. > > May be it is a problem with name of the algorithm: > I do > Cipher mAesCipher = Cipher.getInstance(AES_ALGORITHM); > > where AES_ALGORITHM is: > public static final String AES_ALGORITHM = "AES/CBC/NoPadding"; > > Security.getProviders gets > [IAIK, SUN version 1.5, SunRsaSign version 1.5, SunJSSE version 1.5, SunJCE > version 1.5, SunJGSS version 1.0, SunSASL version 1.5] Could you post a small example program that demonstrates the issue? That would help a lot, I think. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 12:52:48 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57EA616A41F for ; Fri, 4 Nov 2005 12:52:48 +0000 (GMT) (envelope-from NCoelle@gmx.de) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CC23A43D58 for ; Fri, 4 Nov 2005 12:52:45 +0000 (GMT) (envelope-from NCoelle@gmx.de) Received: (qmail 22076 invoked by uid 0); 4 Nov 2005 12:52:44 -0000 Received: from 213.68.205.168 by www53.gmx.net with HTTP; Fri, 4 Nov 2005 13:52:44 +0100 (MET) Date: Fri, 4 Nov 2005 13:52:44 +0100 (MET) From: =?ISO-8859-1?Q?=22Niels_C=F6lle=22?= To: Panagiotis Astithas MIME-Version: 1.0 References: <436B2CB6.8080205@ebs.gr> X-Priority: 3 (Normal) X-Authenticated: #3587294 Message-ID: <4978.1131108764@www53.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Re: JDK15: Cipher.getInstance throws UnsupportedOperationException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 12:52:48 -0000 Hello Panagiotis, > Could you post a small example program that demonstrates the issue? That > would help a lot, I think. I think, I found the problem. We are using the IAIK-Provider. If it is inserted at the first position, the exception is thrown. If it is added as last Provider, the test works (See my example below). I am not sure if it is a problem of the IAIK Provider or the JDK. On the other platforms I mentioned, the code works with IAIK as the first provider in the list. Without the strong encryption policy! Setting the strong encryption policy for jdk15 does not help... Strange. Thanks. Niels *** snip *** import iaik.security.provider.IAIK; import java.security.GeneralSecurityException; import java.security.Provider; import java.security.Security; import javax.crypto.Cipher; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; public class TokenTest { // ------------------------------------------------------------------------- // ATTRIBUTES // ------------------------------------------------------------------------- public static final String AES_ALGORITHM = "AES/CBC/NoPadding"; // Token attributes private static Logger mLog = null; private Cipher mAesCipher; /** * Constructor, which adds the IAIK Provider at the end of the provider * list. * * @throws Exception * If anything goes wrong, thrown an exception. */ public TokenTest() throws Exception { init(false); } /** * Constructor which puts the IAIK Provider at the end or beginning of the * provider list. * * @param pInsertProvider * true puts the provider at position 1 of the * provider list; false adds the provider at the * end of the provider list. * @throws Exception * If anything goes wrong, thrown an exception. */ public TokenTest(final boolean pInsertProvider) throws Exception { init(pInsertProvider); } public Cipher getAesCipher() { return mAesCipher; } /** * Does the initialization of the TokenTest. It adds the IAIK Provider to * the provider list and creates an AES-Cipher. * * @param pInsertProvider * true puts the provider at position 1 of the * provider list; false adds the provider at the * end of the provider list. * @throws Exception * If anything goes wrong, thrown an exception. */ private void init(boolean pInsertProvider) throws Exception { mLog.debug("Function -init- called"); // Check, if the IAIK Provider is already in the provider list. If so, // remove it. String providerName = (new IAIK()).getName(); Provider[] aprovider = Security.getProviders(); for (int i = 0; i < aprovider.length; i++) { Provider provider = aprovider[i]; if (provider.getName().equals(providerName)) { mLog.info("Removing provider '" + providerName + "'"); Security.removeProvider(providerName); } } // Add the IAIK provider to the provider list depending on // pInsertProvider. mLog.info("Adding IAIK Provider as default"); if (pInsertProvider) { Security.insertProviderAt(new IAIK(), 1); } else { Security.addProvider(new IAIK()); } // Create the AES-Cipher try { mAesCipher = Cipher.getInstance(AES_ALGORITHM); } catch (GeneralSecurityException e) { mLog.error("Error getting AES cipher object: " + e.getMessage()); throw new Exception("Error getting AES cipher object: " + e.getMessage()); } // Debug mLog.debug("Token object initialized"); } public static void main(String pArgs[]) { // Configure Log4J logging without a properties file. mLog = Logger.getLogger("TokenTest"); BasicConfigurator.configure(); // Do the test. try { // TokenTest(false) works fine, TokenTest(true) throws an exception. TokenTest TokenError = new TokenTest(false); // TokenTest TokenError = new TokenTest(true); mLog.info("Using " + TokenError.getAesCipher().getAlgorithm()); } catch (Throwable t) { mLog.fatal("An exception was thrown: ", t); } mLog.info("Finished."); } } *** snap *** -- Niels Cölle Hauptstr. 30 85586 Poing +49-(0)8121-71620 From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 19:37:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 437A016A424 for ; Fri, 4 Nov 2005 19:37:47 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from admin.cablespeed.com (admin.cablespeed.com [216.15.205.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DEA243D67 for ; Fri, 4 Nov 2005 19:37:44 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from [66.235.9.146] (account schilling@cablespeed.com HELO [192.168.2.2]) by admin.cablespeed.com (CommuniGate Pro SMTP 4.2.10) with ESMTP id 57694764 for freebsd-java@freebsd.org; Fri, 04 Nov 2005 13:37:42 -0600 Message-ID: <436BB93E.5000700@rsmba.biz> Date: Fri, 04 Nov 2005 11:40:46 -0800 From: Richard Schilling Organization: Richard Schilling, MBA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050318 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: new error building jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 19:37:47 -0000 I've been having quit a bit of difficulty getting jdk14 built on my new machine. I think this is a heretofore unreported error. uname -a output: FreeBSD new.cognitiongroup.biz 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 07:00:26 UTC 2005 root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 The build crashes when it tries to compile interpreterRT_i486.cpp because it has some ABSTRACT methods defined. I'm shocked that the build would break because it generates code that can't be compiled. But, I suspect it's a setting, configuration file, or something simple because others seem to be getting their jdk14 compiled fine. Here's the abridged build output: ============================================================== ===> Vulnerability check disabled, database not found LIBC_R TEST PASSED: All Ok IMPORTANT: To build JDK 1.4.2 port, you should have at least 1.7Gb of free disk space in build area! IMPORTANT: To build JDK 1.4.2 port, you should have linux emulation enabled in the kernel and linux procfs (linprocfs) filesystem mounted. Following port compile time options are available: WITH_DEBUG - install JDK binaries and libraries with debuging support MINIMAL - don't build/install mozilla java plugin, javaws and JDK demos WITH_IPV6 - enable JDK IPv6 support ===> Extracting for jdk-1.4.2p7 => Checksum OK for j2sdk-1_4_2-src-scsl.zip. => Checksum OK for j2sdk-1_4_2-bin-scsl.zip. => Checksum OK for bsd-jdk14-patches-7.tar.gz. ===> jdk-1.4.2p7 depends on executable: zip - found ===> jdk-1.4.2p7 depends on executable: unzip - found ===> Patching for jdk-1.4.2p7 Hmm... Looks like a unified diff to me... The text leading up to this was: WARNING: Your build environment has the variable DEV_ONLY defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build and installation bundles. Sanity check passed. /bin/mkdir -p ../build/bsd-amd64/hotspot-amd64/tmp (cd ./../build/bsd-amd64/hotspot-amd64/tmp; \ gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \ HOTSPOT_BUILD_VERSION=1.4.2-p7-rschilling_04_nov_2005_11_18 LP64=1 GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-amd64/hotspot-amd64/tmp' sh /usr/ports/java/jdk14/work/hotspot/build/bsd/makefiles/buildATree.sh compiler2 /usr/ports/java/jdk14/work/hotspot bsd i486 (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-amd64/hotspot-amd64/tmp/bsd_i486_compiler2/product' Removing ../generated/includeDB.current to force regeneration. cd ../generated; cat /usr/ports/java/jdk14/work/hotspot/src/share/vm/includeDB_core /usr/ports/java/jdk14/work/hotspot/src/share/vm/includeDB_gc /usr/ports/java/jdk14/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge /usr/ports/java/jdk14/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_shared /usr/ports/java/jdk14/work/hotspot/src/share/vm/includeDB_ci /usr/ports/java/jdk14/work/hotspot/src/share/vm/includeDB_compiler2 > includeDB cd ../generated; if [ ! -r incls ] ; then \ mkdir incls ; \ fi cd ../generated; /usr/local/linux-sun-jdk1.4.2/bin/java -classpath . MakeDeps diffs UnixPlatform platform.current includeDB.current /usr/ports/java/jdk14/work/hotspot/build/bsd/platform_i486 includeDB -firstFile functionAtStart.cpp -lastFile functionAtEnd.cpp Old database: computing closures New database: reading database: includeDB computing closures Deltas: updating output files The order of .c or .s has changed, or the grand include file has changed. writing individual include files creating functionAtStart.cpp creating accessFlags.cpp creating allocation.cpp creating aprofiler.cpp creating arguments.cpp creating functionAtEnd.cpp writing grand include file writing dependencies file cd ../generated; cp includeDB includeDB.current cd ../generated; cp /usr/ports/java/jdk14/work/hotspot/build/bsd/platform_i486 platform.current gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-amd64/hotspot-amd64/tmp/bsd_i486_compiler2/product' Compiling /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interp_masm_i486.cpp Compiling /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp: In static member function `static void SignatureHandlerLibrary::add(methodHandle)': /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp:83: error: cannot allocate an object of type `InterpreterRuntime::SignatureHandlerGenerator' /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp:83: error: because the following virtual functions are abstract: /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/signature.hpp:283: error: virtual void NativeSignatureIterator::pass_float() /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/signature.hpp:284: error: virtual void NativeSignatureIterator::pass_double() /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp: In static member function `static u_char* InterpreterRuntime::slow_signature_handler(JavaThread*, methodOopDesc*, jint*, jint*)': /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp:156: error: cannot allocate an object of type `SlowSignatureHandler' /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/interpreterRT_i486.cpp:156: error: because the following virtual functions are abstract: /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/signature.hpp:283: error: virtual void NativeSignatureIterator::pass_float() /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/signature.hpp:284: error: virtual void NativeSignatureIterator::pass_double() gmake[3]: *** [interpreterRT_i486.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-amd64/hotspot-amd64/tmp/bsd_i486_compiler2/product' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-amd64/hotspot-amd64/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-amd64/hotspot-amd64/tmp' gmake: *** [product] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. ============================================================== From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 19:46:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0A4F16A41F for ; Fri, 4 Nov 2005 19:46:42 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A60A43D48 for ; Fri, 4 Nov 2005 19:46:42 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id EDA6AF240E; Fri, 4 Nov 2005 11:46:41 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42970-07; Fri, 4 Nov 2005 11:46:41 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 6A36DF21CB; Fri, 4 Nov 2005 11:46:41 -0800 (PST) From: Sean McNeil To: Richard Schilling In-Reply-To: <436BB93E.5000700@rsmba.biz> References: <436BB93E.5000700@rsmba.biz> Content-Type: text/plain Organization: Sean McNeil Consulting, Inc Date: Fri, 04 Nov 2005 11:46:41 -0800 Message-Id: <1131133601.41510.4.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-java@freebsd.org Subject: Re: new error building jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sean@mcneil.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 19:46:42 -0000 On Fri, 2005-11-04 at 11:40 -0800, Richard Schilling wrote: > I've been having quit a bit of difficulty getting jdk14 built on my new > machine. I think this is a heretofore unreported error. > > uname -a output: > > FreeBSD new.cognitiongroup.biz 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun > May 8 07:00:26 UTC 2005 > root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 So you have an AMD64 machine. I do not see how you could possibly build 1.4 on an amd64 machine. It is marked as i386 only and doesn't work. There is something wrong with either your setup or your ports collection. For amd64, you must use java 1.5. This is the only version available for that platform. I have been using jdk1.5 for a long time now and it works very well for me. Also, you should consider moving to 6-current. 5.4 has issues with the linux emulation that cause building jdk1.5 a bit of a headache. There are no such issues with 6-current. Cheers, Sean From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 20:06:05 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD71216A41F for ; Fri, 4 Nov 2005 20:06:05 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from admin.cablespeed.com (admin.cablespeed.com [216.15.205.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE6543D70 for ; Fri, 4 Nov 2005 20:06:05 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from [66.235.9.146] (account schilling@cablespeed.com HELO [192.168.2.2]) by admin.cablespeed.com (CommuniGate Pro SMTP 4.2.10) with ESMTP id 57706380 for freebsd-java@freebsd.org; Fri, 04 Nov 2005 14:06:04 -0600 Message-ID: <436BBFE6.70205@rsmba.biz> Date: Fri, 04 Nov 2005 12:09:10 -0800 From: Richard Schilling Organization: Richard Schilling, MBA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050318 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Fwd: Re: new error building jdk14] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 20:06:05 -0000 Sean McNeil wrote: > > For amd64, you must use java 1.5. This is the only version available > for that platform. I have been using jdk1.5 for a long time now and it > works very well for me. I think I'll take that advice to heart.... :-) I forced the build, thinking that the ONLY_FOR_ARCHS setting was overlooked. The reasoning being that the i386 code should compile fine under gcc. Lesson learned..... > > Also, you should consider moving to 6-current. 5.4 has issues with the > linux emulation that cause building jdk1.5 a bit of a headache. There > are no such issues with 6-current. Is 6-current stable enough to be used in production? I'm having issues getting a kernel compiled in 5.4 as well. Was kind of worried about jumping to 6 until I knew what was wrong. Thanks! -- Richard From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 20:32:21 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3531316A41F for ; Fri, 4 Nov 2005 20:32:21 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7EC743D49 for ; Fri, 4 Nov 2005 20:32:20 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 77842F242A; Fri, 4 Nov 2005 12:32:20 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42970-10; Fri, 4 Nov 2005 12:32:20 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 03029F1C72; Fri, 4 Nov 2005 12:32:19 -0800 (PST) From: Sean McNeil To: Richard Schilling In-Reply-To: <436BBFE6.70205@rsmba.biz> References: <436BBFE6.70205@rsmba.biz> Content-Type: text/plain Organization: Sean McNeil Consulting, Inc Date: Fri, 04 Nov 2005 12:32:19 -0800 Message-Id: <1131136339.41725.3.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-java@freebsd.org Subject: Re: [Fwd: Re: new error building jdk14] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sean@mcneil.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 20:32:21 -0000 On Fri, 2005-11-04 at 12:09 -0800, Richard Schilling wrote: > Sean McNeil wrote: > > > > > For amd64, you must use java 1.5. This is the only version available > > for that platform. I have been using jdk1.5 for a long time now and it > > works very well for me. > > I think I'll take that advice to heart.... :-) > > I forced the build, thinking that the ONLY_FOR_ARCHS setting was > overlooked. The reasoning being that the i386 code should compile fine > under gcc. Lesson learned..... > > > > > > Also, you should consider moving to 6-current. 5.4 has issues with the > > linux emulation that cause building jdk1.5 a bit of a headache. There > > are no such issues with 6-current. > > Is 6-current stable enough to be used in production? I'm having issues > getting a kernel compiled in 5.4 as well. Was kind of worried about > jumping to 6 until I knew what was wrong. Please excuse the mistake, but it is no longer 6-current. 6-STABLE is what I mean. Many issues with 5.4 have been resolved in 6-STABLE. It has been my experience that 6 is much better on AMD64 than 5.4. I have an Athlon 2X on a Gigabyte motherboard that has been my primary machine for several weeks now. It has been very stable with the exception of TCP NFS. I would highly recommend the move. Cheers, Sean From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 20:38:36 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D92616A421 for ; Fri, 4 Nov 2005 20:38:36 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 832F643D66 for ; Fri, 4 Nov 2005 20:38:35 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id jA4KcX5r076923; Fri, 4 Nov 2005 13:38:34 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id jA4KcXUQ076922; Fri, 4 Nov 2005 13:38:33 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 4 Nov 2005 13:38:32 -0700 From: Greg Lewis To: Richard Schilling Message-ID: <20051104203832.GA76906@misty.eyesbeyond.com> References: <436BBFE6.70205@rsmba.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <436BBFE6.70205@rsmba.biz> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: [Fwd: Re: new error building jdk14] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 20:38:36 -0000 On Fri, Nov 04, 2005 at 12:09:10PM -0800, Richard Schilling wrote: > Sean McNeil wrote: > >For amd64, you must use java 1.5. This is the only version available > >for that platform. I have been using jdk1.5 for a long time now and it > >works very well for me. > > I think I'll take that advice to heart.... :-) > > I forced the build, thinking that the ONLY_FOR_ARCHS setting was > overlooked. The reasoning being that the i386 code should compile fine > under gcc. Lesson learned..... You could probably do it with a lot of messing around, but it would be very painful. > >Also, you should consider moving to 6-current. 5.4 has issues with the > >linux emulation that cause building jdk1.5 a bit of a headache. There > >are no such issues with 6-current. > > Is 6-current stable enough to be used in production? I'm having issues > getting a kernel compiled in 5.4 as well. Was kind of worried about > jumping to 6 until I knew what was wrong. 6.0 has just been released and is almost universally being reported as more stable than 5.4. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Nov 5 02:49:05 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CBE16A420 for ; Sat, 5 Nov 2005 02:49:05 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from admin.cablespeed.com (admin.cablespeed.com [216.15.205.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF1543D45 for ; Sat, 5 Nov 2005 02:49:04 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from [66.235.9.146] (account schilling@cablespeed.com HELO [192.168.2.2]) by admin.cablespeed.com (CommuniGate Pro SMTP 4.2.10) with ESMTP id 57845319; Fri, 04 Nov 2005 20:49:04 -0600 Message-ID: <436C1E5A.5080908@rsmba.biz> Date: Fri, 04 Nov 2005 18:52:10 -0800 From: Richard Schilling Organization: Richard Schilling, MBA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050318 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sean@mcneil.com References: <436BBFE6.70205@rsmba.biz> <1131136339.41725.3.camel@server.mcneil.com> In-Reply-To: <1131136339.41725.3.camel@server.mcneil.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: [Fwd: Re: new error building jdk14] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 02:49:05 -0000 Sean McNeil wrote: > > > Please excuse the mistake, but it is no longer 6-current. 6-STABLE is > what I mean. > > Many issues with 5.4 have been resolved in 6-STABLE. It has been my > experience that 6 is much better on AMD64 than 5.4. I have an Athlon 2X > on a Gigabyte motherboard that has been my primary machine for several > weeks now. It has been very stable with the exception of TCP NFS. I > would highly recommend the move. > I'm making the transition this weekend, but I have a lot of dependencies to take into account ... it's going to continue to be painful in my case, unfortunately. Having trouble getting RELENG_6 to build at the moment..... :-( Richard > Cheers, > Sean > > > > >