|
From: Leif M. <lei...@ta...> - 2010-09-30 14:20:36
|
Jeremy, The Java Service Wrapper is a tool that not only launches a Java process, but also has several features to guarantee that your application will stay up and running in case of a critical JVM error. It has 3 main components. 1) A "wrapper" binary which is what you are most likely launching when you start the application. 2) A "wrapper.jar" file which contains the Java side of the Wrapper. 3) A "libwrapper.so" or "libwrapper.jnilib" file which is the native component of the wrapper.jar. I do not know how Archiva is set up, you should really ask them about this issue so they fix their deployment. Most likely it is missing the libwrapper.jnilib file. Please try running your "bin/wrapper -v". This will tell you the version of the Wrapper being used. Then go to the following page to download the specific version of the 64-bit MacOSX release: http://wrapper.tanukisoftware.com/downloads Take a look in the apache-archiva-1.3.1/lib directory. Do you see a bunch of libwrapper-*.* platform specific files? Or a single libwrapper.so file? Unzip the downloaded distribution and then copy the lib/libwrapper.jnilib file into the apache-archiva-1.3.1/lib directory. If the other files have platform specific naming, then rename it libwrapper-macosx-universal-64.jnilib. That should fix it for you. Cheers, Leif On Thu, Sep 30, 2010 at 11:00 PM, Jeremy Flowers < jer...@ya...> wrote: > I downloaded Archiva 1.3.1 earlier today. (zip version). > It appears to be utilising your software and I get the following: > > WARNING - Unable to load the Wrapper's native library because none of the > following files: > > libwrapper-macosx-x86-64.jnilib > > libwrapper-macosx-universal-64.jnilib > > libwrapper.jnilib > > could be located on the following java.library.path: > > /opt/apache-archiva-1.3.1/lib > > Please see the documentation for the wrapper.java.library.path > configuration property. > System signals will not be handled correctly. > > > === > > > java -version yields:java version "1.6.0_20"Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)Java > HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) > > === > > > Java Preferences in Utilities section:It stipulates : Java Applications, > Web Start applications and command line tools use 'this order' to determine the most appropriate version to use..The panel has the 64 bit version listed above the 32 bit one. So I'd assume 64 bit was being chosen. > > > === > > Searching on the term wrapper.java.library.path yielded a file in the archiva conf folder called wrapper.conf.That has a slew of 20 jars and excludes > the ones the message relates to.Don't know where I'd get these (or why I need them) > > > === > > Can someone enlighten me? > === > > Also what's the deal with system signals? > Are some sort of event listeners supposed to make use of these? > > See this thread > > > http://mail-archives.apache.org/mod_mbox/archiva-users/201009.mbox/%3c4...@we...%3e > > > |