|
From: Jeremy F. <jer...@ya...> - 2010-09-30 15:16:41
|
Hi LeifThanks for clarifying where I can get things and the lie of the land.. To start Archiva - which was your option 1 I type: archiva consoleThere is a wrapper.jar as you indicate in the lib folder (86K)There are .so/.jni files. But it appears the 64 bit OSX files are missing One think I omitted was the fact that Archiva 1.3.1 uses wrapper 3.2.3From looking here:http://wrapper.tanukisoftware.com/downloads/3.2.3/it appears Archiva is using an old edition of the JSW >From this I can infer they ought to be using 3.3.0 or later...http://wrapper.tanukisoftware.com/downloads/3.3.0/ I'll post a thread back on Archiva forum linking to this message. Many thanks for your help.Jeremy --- On Thu, 30/9/10, Leif Mortenson <lei...@ta...> wrote: From: Leif Mortenson <lei...@ta...> Subject: Re: [Wrapper-user] Where do I get the Mac OS X jni libraries? To: wra...@li... Date: Thursday, 30 September, 2010, 15:20 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.jniliblibwrapper-macosx-universal-64.jniliblibwrapper.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 -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -----Inline Attachment Follows----- _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |