我在崩溃后在RHEL 6(openjdk 1.7)上重新启动Nexus(2.11.4.01)时遇到此错误,我无法重启我的连接而且我不知道为什么会有java.io.EOFException 任何的想法 ?
jvm 1 | 2015-09-30 15:32:25 ERROR [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jsw.JswLauncher - Failed to start
jvm 1 | java.lang.RuntimeException: java.io.EOFException: input contained no data
jvm 1 | at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[na:na]
jvm 1 | at org.sonatype.nexus.NxApplication.doStart(NxApplication.java:181) ~[na:na]
jvm 1 | at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70) ~[na:na]
jvm 1 | at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255) ~[na:na]
jvm 1 | at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57) ~[na:na]
jvm 1 | at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129) ~[na:na]
jvm 1 | at org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:168) ~[na:na]
jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) ~[jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) ~[jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) ~[jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) ~[jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) ~[jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) ~[jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) ~[jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:282) ~[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) ~[jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903]
jvm 1 | at org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247) ~[nexus-bootstrap-2.11.4-01.jar:2.11.4-01]
jvm 1 | Caused by: java.io.EOFException: input contained no data
jvm 1 | at org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:3005) ~[na:na]
jvm 1 | at org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3048) ~[na:na]
jvm 1 | at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1422) ~[na:na]
jvm 1 | at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407) ~[na:na]
jvm 1 | at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2458) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:814) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:828) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:99) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:306) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:156) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:54) ~[na:na]
jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:222) ~[na:na]
jvm 1 | at org.sonatype.nexus.NxApplication.doStart(NxApplication.java:135) ~[na:na]
jvm 1 | ... 21 common frames omitted
wrapper | <-- Wrapper Stopped
答案 0 :(得分:5)
MXParser错误似乎表明Nexus的基于XML的配置文件为空/空。