There was a weird error in Fedora 17 when I was trying to start up Nexus. I got this in my wrapper.log:
wrapper | Startup failed: Timed out waiting for signal from JVM.
wrapper | JVM did not exit on request, terminated
wrapper | JVM exited on its own while waiting to kill the application.
wrapper | JVM exited in response to signal SIGKILL (9).
wrapper | Reloading Wrapper configuration...
wrapper | Launching a JVM...
Basically this was telling me that my PC was heavy loaded until the JVM was not able to response in a short time. So how? To solve this issue, goto {nexus_root}/bin/jsw/conf/wrapper.conf, look for wrapper.startup.timeout, and increase the value.
At first I increase to 200, I still get the time out error. But at least I can see this in my log:
jvm 1 | -------------------------------------------------
jvm 1 |
jvm 1 | Initializing Nexus (OSS), Version 2.0.6
jvm 1 |
jvm 1 | -------------------------------------------------
Then I increase to 500, and I see this message:
jvm 1 | 2012-07-17 20:55:22.453:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8081
This message showing me that the nexus was successfully start-up. FYI, I am not running this in VM, I run this in a machine that make up of Intel i5 processor, 8GB ram, and Fedora 17 as host OS.
Tuesday, July 17, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment