Nexus and OpenJDK

An odd one tonight, using the Nexus Repository Manager with OpenJDK, the open source Java implementation. Nexus mostly works fine, but fails to re-index the public repository group with (according to the wrapper log) a JVM crash.

jvm 1    | 2010-06-21 20:55:11 INFO  [pool-1-thread-1] – o.s.n.i.DefaultInde~          – Cascading merge of group indexes for group “public”, where repository “releases” is member.
wrapper  | JVM exited unexpectedly.
wrapper  | JVM exited in response to signal UNKNOWN (11).

The problem manifested in the Eclipse IDE when the repositories view wouldn’t update, showing an empty folder under the Nexus public repo.

Switching out the OpenJDK implementation for the Sun implementation fixes the problem, and now re-indexing the public repository group works fine. Bug report NEXUS-3603 raised, but if you’re seeing this issue swapping the Java implementations seems to work.

The views expressed here are the personal views of the author.

Posted on June 21, 2010 at 10:27 pm by Paul Brabban · Permalink
In: Development

Leave a Reply