Error in WrapperListener.start callback. java.lang.StackOverflowError

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_runner] - org.sonatype.nexus.bootstrap.jsw.JswLauncher - Current directory: /apps/svr/nexus/nexus-2.6.3-01
jvm 1    | 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)

该异常是由JDK版本引起的,从1.8换到1.7,异常消失。

1.官方网站下载 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.设置环境变量Path ;D:\nexus-2.0.5-bundle\nexus-2.0.5\bin

3.修改nexus-2.0.5\bin\jsw\conf下的配置文件wrapper.conf
wrapper.java.command=${your jdk path}\java 例如
wrapper.java.command=C:\Java\jdk1.6.0_07\bin\java

3.启动命令窗口
输入nexus install 进行安装nexus服务(安装成功后可以在服务里可以看到)
输入nexus start 启动服务

4.输入http://localhost:8081/nexus

默认username:admin pwd:admin123

如果端口被占用,进入安装目录 :E:\software\nexus-latest-bundle\nexus-2.6.4-02\conf

编辑: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 of the Eclipse Public License Version 1.0,
# which accompanies this distribution and is 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 trademarks
# of Sonatype, Inc. Apache Maven 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

修改端口为8082 

application-port=8082

安装详细参考文档:

http://longzhun.iteye.com/blog/1745394


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

0X码上链

你的鼓将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值