Nexus does not ship with solaris-x86-64 Java Service Wrapper binaries, only solaris-sparc-32, solaris-sparc-64, solaris-x86-32.
For those customers who need to run Nexus on Solaris x86 64bit, we provide these optional Java Service Wrapper binaries.
Until these binaries are officially added to a Sonatype Nexus distribution, these binaries are use at your own risk.
These have undergone limited testing with Solaris 11, Java 1.7.0_45 only.
Install the Binaries in Nexus
Download the attached file to your Nexus application directory and extract.
cd nexus-professional-2.7.0-06 tar xzvf nexus-wrapper-3.2.3-solaris-x86-64.tar.gz
Force Nexus Control Script to Use the 64 bit Binaries
The existing nexus control script does not properly detect the 64 bit environment on Solaris 11 using uname. Therefore we need to trick it to use the 64 bit binaries by default.
bin/nexus control script, change:
Force Nexus JVM to 64 bit
... changing the 4 to the next available unused index. This forces the JVM into 64 bit mode.
Explicitly set the java used to a 64 bit java installation. This is optional if
java will always find the correct java 64bit install on the PATH. Example
You can rename the
bin/jsw/solaris-x86-32 directory to
solaris-x86-32-DISABLED to make sure the 32 bit JSW binaries are not used by accident.
If you set
bin/jsw/conf/wrapper.conf temporarily, then on startup you will see the the wrapper print the following, proving Nexus is using the 64 bit binaries and 64bit mode of Java.
Running a 64-bit JVM Loaded native library: libwrapper-solaris-x86-64.so
As a final check, make sure Nexus responds to system signals. After starting with
./bin/nexus console, CTRL-C to stop Nexus. Also test sending the process
kill -QUIT <pid> and make sure thread dump is put in wrapper log.