From owner-freebsd-java@FreeBSD.ORG Thu May 13 07:51:31 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E21CF106567A for ; Thu, 13 May 2010 07:51:30 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 47F848FC0A for ; Thu, 13 May 2010 07:51:29 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o4D7pSbU010557 for ; Thu, 13 May 2010 10:51:28 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o4D7pRgv010556 for freebsd-java@freebsd.org; Thu, 13 May 2010 10:51:27 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org User-Agent: KMail/1.9.7 References: <4BE11114.5030306@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> <4BEAD448.7080309@gmail.com> In-Reply-To: <4BEAD448.7080309@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Date: Thu, 13 May 2010 10:51:27 +0300 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Message-Id: <201005131051.27922.achill@matrix.gatewaynet.com> Subject: Re: openjdk6 crashes - upd 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, 13 May 2010 07:51:31 -0000 =D3=F4=E9=F2 Wednesday 12 May 2010 19:16:08 =EF/=E7 Peter Palmreuther =DD= =E3=F1=E1=F8=E5: > 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 h= ow i could > > try to reproduce the problem in a fast way? >=20 > 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. >=20 > > I tried looking at sonatype nexus, but it looked a little bit chaotic a= t first glance. (commercial vs open source, etc..) >=20 > ;-) >=20 > > i have one recent FreeBSD box running 8.0-RELEASE-p2 on amd64. >=20 > That should be perfect. My 'uname -a' gives: >=20 > FreeBSD siliki.sunrise.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tu= e Jan > 5 21:11:58 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > What I've done: >=20 > 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 on= e line) >=20 > tomcat60_java_opts=3D-Xms128m\ -Xmx512m\ -Xss4m\ -d64\ -server\ > -Djava.net.preferIPv4Stack=3Dtrue\ -Dplexus.nexus-work=3D/path/to/sonatyp= e-work/ >=20 > 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 s= et 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" >=20 Its ok i set it to "All Repositories" Still it finishes instantly.... PS i run tomcat-6.0.24 instead of tomcat-6.0.26, but i doubt this has anything= to do.... Do you get the faulty behaviour in a fresh installation? > 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 ind= ex > refreshing, tomcat dies, core dumps and is gone. > Last log output in /usr/local/apache-tomcat-60/logs/stdout.log is >=20 > 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 mer= ge of > group indexes for group "public", where repository > "sonatype-sourceforge-releases" is member. >=20 > Hope it crashes at your side as well, for this would mean it's reproducib= le :-) =2D-=20 Achilleas Mantzios