From owner-freebsd-java@FreeBSD.ORG Wed May 12 16:16:12 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA5971065676 for ; Wed, 12 May 2010 16:16:12 +0000 (UTC) (envelope-from pitpalme@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 75E768FC23 for ; Wed, 12 May 2010 16:16:12 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so100252eyd.9 for ; Wed, 12 May 2010 09:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Ytk1ttQZ+vb7603qeHKqSBnY5W8DDN2awF268tCzoe8=; b=afPtfpTtfkJTOVTRYb7hRN51rd5DXphE4G9/DBizWrrqyXwCQP4wvLTLZV37VyrN+p xFV2nBXOCFchhG5um1964EWjui9j1dCqsBE6+Em9Q/38jAFNAMvyf+9qp1MUKZ1qzWFv vyhHSMWnTiqreNaopz02A0Nh0qOGEijbMNEjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=GNmtxy6je833EFg1tNLZGgfIJb3a7O5W5yNdxW+mHgM4n56JcsqQ1zSLmW8XUhK4Nm SH9iWbS6k/ywyci0PuCgJhEU508Ux0kCq24sQaSNv5ZdMgfCTrqg+P/iB9hGJL/o4SX9 1vi3OJT3iqJNQhU0MkfewAzlxIIv7DtiTHETw= Received: by 10.213.98.197 with SMTP id r5mr3334801ebn.14.1273680971229; Wed, 12 May 2010 09:16:11 -0700 (PDT) Received: from silverbox.sunrise.local (i577B6AE7.versanet.de [87.123.106.231]) by mx.google.com with ESMTPS id 14sm173088ewy.14.2010.05.12.09.16.09 (version=SSLv3 cipher=RC4-MD5); Wed, 12 May 2010 09:16:09 -0700 (PDT) Message-ID: <4BEAD448.7080309@gmail.com> Date: Wed, 12 May 2010 18:16:08 +0200 From: Peter Palmreuther User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BE11114.5030306@gmail.com> <201005121050.41217.achill@matrix.gatewaynet.com> <4BEA662E.9040108@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> In-Reply-To: <201005121212.46848.achill@matrix.gatewaynet.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: openjdk6 crashes 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, 12 May 2010 16:16:13 -0000 On 12.05.10 11:12, Achilleas Mantzios wrote: > Peter, > i think a have some spare time slots today. Can you point to me as to how i could > try to reproduce the problem in a fast way? thanks for your offer. I hope it's fast enough, for your spare time. I'll try to describe the shortest path I'm aware of. > I tried looking at sonatype nexus, but it looked a little bit chaotic at first glance. (commercial vs open source, etc..) ;-) > i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. That should be perfect. My 'uname -a' gives: FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 What I've done: 1. Install openjdk6-b17_2 2. Install apache-tomcat-6.0.26 3. Download http://nexus.sonatype.org/downloads/older/nexus-webapp-1.4.1.war 4. mkdir /usr/local/apache-tomcat-6.0/webapps/nexus 5. chown www:www /usr/local/apache-tomcat-6.0/webapps/nexus 6. cd /usr/local/apache-tomcat-6.0/webapps/nexus 7. unzip -q /path/to/nexus-webapp-1.4.1.war 8. In /etc/rc.conf (or /etc/rc.conf.d/tomcat60 like I did) set (all on one line) tomcat60_java_opts=-Xms128m\ -Xmx512m\ -Xss4m\ -d64\ -server\ -Djava.net.preferIPv4Stack=true\ -Dplexus.nexus-work=/path/to/sonatype-work/ 9. mkdir /path/to/sonatype-work/ 10. chown www /path/to/sonatype-work/ 11. Enable tomcat60 start (rc.conf, ...) 12. Start Tomcat using OpenJDK (i.e. by setting JAVA_HOME before calling start script) 13. Open Nexus web page (http://host:8080/nexus/, or whatever tomcat is set to) 14. Log in to Nexus (user: admin, pass: admin123) 15. Go to "Scheduled Tasks" in navigation on the left 16. Create task I named it "Refresh Indicies", it's of type "Download Indexes" for "All Repositories". Recurrence over here is "daily" at 1:15am. I'm not sure this matters, as I get the crash even when manually starting the task. 17. Right click task in task list, "Run" It'll now take some time, depending on repositories initially set up and download speed for index files. Over here it crashes in the middle of index refreshing, tomcat dies, core dumps and is gone. Last log output in /usr/local/apache-tomcat-60/logs/stdout.log is 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Remote indexes updated successfully for repository sonatype-sourceforge-releases 2010-05-05 19:57:11 INFO - o.s.n.i.IndexerMana~ - Cascading merge of group indexes for group "public", where repository "sonatype-sourceforge-releases" is member. Hope it crashes at your side as well, for this would mean it's reproducible :-) -- Thanks and best regards, Peter Palmreuther Lesen ist eine Tugend, die man erst einmal lernen muss. Textverständnis ist hierbei kein zwingendes Erfordernis.