Wrapper |--> wrapper started as Daemon
wrapper | Launching a JVM ...
JVM 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
JVM 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
JVM 1 |
JVM 1 | 2015-05-04 14:48:46 INFO [Wrapperlistener_start_runner]- org.sonatype.nexus.bootstrap.jsw.jswlauncher-starting with arguments: [./conf/jetty.xml]
JVM 1 | 2015-05-04 14:48:46 INFO [Wrapperlistener_start_runner]-ORG.SONATYPE.NEXUS.BOOTSTRAP.JSW.JSWLAUNCHER-JVM ID: 1, JVM pid:17601, wrapper pid:17599, User:root
JVM 1 | 2015-05-04 14:48:46 INFO [Wrapperlistener_start_r Unner]-org.sonatype.nexus.bootstrap.jsw.jswlauncher-current directory:/apps/svr/nexus/nexus-2.6.3-01
JVM 1< c21/>| Error in Wrapperlistener.start callback. Java.lang.StackOverflowError
JVM 1 | java.lang.StackOverflowError
JVM 1 | at Org.sonatype.appcontext.internal.HierarchicalMap.get (hierarchicalmap.java:131)
The exception was caused by the JDK version, changing from 1.8 to 1.7 and disappearing.
1. The official website downloads http://www.sonatype.org/nexus/go?__utma=246996102.742154246.1339420708.1339420708.1339420708.1&__ Utmb=246996102.9.9.1339421096593&__utmc=246996102&__utmx=-&__utmz=246996102.1339420708.1.1.utmcsr= google|utmccn= (Organic) |utmcmd=organic|utmctr=maven%20nexus&__utmv=-&__utmk=54210219
2. Set environment variable path;D: \nexus-2.0.5-bundle\nexus-2.0.5\bin
3. Modify the configuration file under Nexus-2.0.5\bin\jsw\conf wrapper.conf
Wrapper.java.command=${your JDK Path}\java For example
Wrapper.java.command=c:\java\jdk1.6.0_07\bin\java
3. Start Command Window
Enter Nexus install to install the Nexus service (you can see it in the service after the installation is successful)
Enter Nexus start service
4. Input Http://localhost:8081/nexus
Default Username:admin pwd:admin123
If the port is occupied, enter the installation directory: E:\software\nexus-latest-bundle\nexus-2.6.4-02\conf
Editor: Nexus.properties
# # Sonatype Nexus (TM) Open Source Version # Copyright (c) 2007-2013 Sonatype, Inc. # All rights reserved.
Includes the Third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. # This program and the accompanying materials are made available under the terms to the Eclipse public License Version 1
.0, # which accompanies this distribution and are available at http://www.eclipse.org/legal/epl-v10.html. # # Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are Trademar KS # of Sonatype, Inc. Apache is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the # Eclipse Foundation.
All other trademarks are the property of their respective owners.
# # Sonatype Nexus # ============== # This is the most basic configuration of Nexus.
# Jetty Section application-port=8082 application-host=0.0.0.0 Nexus-webapp=${bundlebasedir}/nexus Nexus-webapp-context-path=/nexus # Nexus Section NExus-work=${bundlebasedir}/.. /sonatype-work/nexus Runtime=${bundlebasedir}/nexus/web-inf
Modify Port to 8082
application-port=8082
To install a detailed reference document:
http://longzhun.iteye.com/blog/1745394