Date: Thu, 13 May 2010 10:51:27 +0300 From: Achilleas Mantzios <achill@matrix.gatewaynet.com> To: freebsd-java@freebsd.org Subject: Re: openjdk6 crashes - upd Message-ID: <201005131051.27922.achill@matrix.gatewaynet.com> In-Reply-To: <4BEAD448.7080309@gmail.com> References: <4BE11114.5030306@gmail.com> <201005121212.46848.achill@matrix.gatewaynet.com> <4BEAD448.7080309@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Στις Wednesday 12 May 2010 19:16:08 ο/η Peter Palmreuther έγραψε: > 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" > 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 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 :-) -- Achilleas Mantzios
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005131051.27922.achill>
