Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2010 10:44:49 +0300
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-java@freebsd.org
Subject:   Re: openjdk6 crashes
Message-ID:  <201005131044.50068.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
=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

I am to this task now, running it.

i have two issues:

a) I could not set type "Download Indexes" for "All Repositories".
Task Type is ok set to Download Indexes, but Repository/Group has only two =
options:
=2D Public Repositories (Group)
=2D Public Snapshot Repositories (Group)

i set it to the first choice (Public Repositories (Group))

b) in the log file i get
2010-05-13 10:32:09 INFO  - o.s.n.f.FeedRecorder:default  - Downloading ind=
exes for repository group Public Repositories (group) : Process started on =
Thu May 13 10:32:09 EEST 2010, not yet finished.
2010-05-13 10:32:09 INFO  - o.s.n.f.FeedRecorder:default  - Downloading ind=
exes for repository group Public Repositories (group) : Process started on =
Thu May 13 10:32:09 EEST 2010, finished successfully on Thu May 13 10:32:09=
 EEST 2010

so i presume its finished?

i run it again and it finished very fast....

did i miss smth?

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005131044.50068.achill>