Recent activity
Subscribe to this feed
C.K. Jackson replied on October 03, 2008 17:31 to the question "Nexus: installed, but won't start" in Sonatype:
Dude.
What a pain-in-the-ass that was. I figured out that the default java executable on that Linux box was pointing to a JRE instead of a JDK. A significant difference between the two being that the JRE executable does not accept system property parameters on the command line. So, I changed wrapper.conf to point to the JDK java executable instead, and it started right up with no problems.
Sorry I didn't get to that in the first place, but I had made the incorrect assumption that the Linux box was set up correctly to begin with. A mistake I won't likely make again the future.
Thanks for your support.
C.K. Jackson replied on October 03, 2008 16:56 to the question "Nexus: installed, but won't start" in Sonatype:
Ok. I'm convinced now, that it has nothing to do with Nexus at all.
If I do the following:
$ java TestSystemProps
I get a printout of all the system properties as the Java program name suggests.
However, if I do it this way:
$ java -Dfoo=bar TestSystemProps
I get the same error I receive when trying to start Nexus using the script, or the command line. Something is wrong with either my Java installation, or the OS on the box. I will re-post when I've figured out the problem.
Thanks.
C.K. Jackson replied on October 03, 2008 16:01 to the question "Nexus: installed, but won't start" in Sonatype:
# uname -a
Linux XXX.probuild.com 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
# pwd
/usr/local/bin/nexus-webapp-1.0.2
Here was the output from the wrapper.log when debug was set to true:
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[0] : java
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[1] : -Dbasedir=../../..
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[2] : -Djava.io.tmpdir=../../../runtime/tmp
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[3] : -XX:+HeapDumpOnOutOfMemoryError
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[4] : -Dsun.net.inetaddr.ttl=3600
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[5] : -Djava.library.path=./lib
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[6] : -classpath
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[7] : ../../../lib/plexus-platform-jsw-1.5.jar:../../../conf/
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[8] : -Dwrapper.key=Avm93SxpLxlv8MwW
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[9] : -Dwrapper.port=32000
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[10] : -Dwrapper.jvm.port.min=31000
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[11] : -Dwrapper.jvm.port.max=31999
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[12] : -Dwrapper.debug=TRUE
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[13] : -Dwrapper.pid=15941
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[14] : -Dwrapper.version=3.2.3
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[15] : -Dwrapper.native_library=wrapper
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[16] : -Dwrapper.service=TRUE
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[17] : -Dwrapper.cpu.timeout=10
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[18] : -Dwrapper.jvmid=4
DEBUG | wrapper | 2008/10/03 10:10:08 | Command[19] : org.codehaus.plexus.classworlds.launcher.Launcher
C.K. Jackson replied to "Nexus: installed, but won't start", but it was removed. see the change log
C.K. Jackson replied on October 03, 2008 14:39 to the question "Nexus: installed, but won't start" in Sonatype:
C.K. Jackson replied on October 03, 2008 14:38 to the question "Nexus: installed, but won't start" in Sonatype:
STATUS | wrapper | 2008/10/02 15:12:03 | Launching a JVM...
ERROR | wrapper | 2008/10/02 15:12:03 | JVM exited while loading the application.
INFO | jvm 5 | 2008/10/02 15:12:03 | Usage: java [-options] class [args...]
INFO | jvm 5 | 2008/10/02 15:12:03 | (to execute a class)
INFO | jvm 5 | 2008/10/02 15:12:03 | or java [-options] -jar jarfile [args...]
INFO | jvm 5 | 2008/10/02 15:12:03 | (to execute a jar file)
INFO | jvm 5 | 2008/10/02 15:12:03 |
INFO | jvm 5 | 2008/10/02 15:12:03 | where options include:
INFO | jvm 5 | 2008/10/02 15:12:03 | -d32 use a 32-bit data model if available
INFO | jvm 5 | 2008/10/02 15:12:03 |
INFO | jvm 5 | 2008/10/02 15:12:03 | -d64 use a 64-bit data model if available
INFO | jvm 5 | 2008/10/02 15:12:03 | -server to select the "server" VM
INFO | jvm 5 | 2008/10/02 15:12:03 | The default VM is server.
INFO | jvm 5 | 2008/10/02 15:12:03 |
INFO | jvm 5 | 2008/10/02 15:12:03 | -cp <class />
INFO | jvm 5 | 2008/10/02 15:12:03 | -classpath <class />
INFO | jvm 5 | 2008/10/02 15:12:03 | A : separated list of directories, JAR archives,
INFO | jvm 5 | 2008/10/02 15:12:03 | and ZIP archives to search for class files.
INFO | jvm 5 | 2008/10/02 15:12:03 | -D<name>=<value>
INFO | jvm 5 | 2008/10/02 15:12:03 | set a system property
INFO | jvm 5 | 2008/10/02 15:12:03 | -verbose[:class|gc|jni]
INFO | jvm 5 | 2008/10/02 15:12:03 | enable verbose output
INFO | jvm 5 | 2008/10/02 15:12:03 | -version print product version and exit
INFO | jvm 5 | 2008/10/02 15:12:03 | -version:<value>
INFO | jvm 5 | 2008/10/02 15:12:03 | require the specified version to run
INFO | jvm 5 | 2008/10/02 15:12:03 | -showversion print product version and continue
INFO | jvm 5 | 2008/10/02 15:12:03 | -jre-restrict-search | -jre-no-restrict-search
INFO | jvm 5 | 2008/10/02 15:12:03 | include/exclude user private JREs in the version search
INFO | jvm 5 | 2008/10/02 15:12:03 | -? -help print this help message
INFO | jvm 5 | 2008/10/02 15:12:03 | -X print help on non-standard options
INFO | jvm 5 | 2008/10/02 15:12:03 | -ea[:<packagename>...|:<classname>]
INFO | jvm 5 | 2008/10/02 15:12:03 | -enableassertions[:<packagename>...|:<classname>]
INFO | jvm 5 | 2008/10/02 15:12:03 | enable assertions
INFO | jvm 5 | 2008/10/02 15:12:03 | -da[:<packagename>...|:<classname>]
INFO | jvm 5 | 2008/10/02 15:12:03 | -disableassertions[:<packagename>...|:<classname>]
INFO | jvm 5 | 2008/10/02 15:12:03 | disable assertions
INFO | jvm 5 | 2008/10/02 15:12:03 | -esa | -enablesystemassertions
INFO | jvm 5 | 2008/10/02 15:12:03 | enable system assertions
INFO | jvm 5 | 2008/10/02 15:12:03 | -dsa | -disablesystemassertions
INFO | jvm 5 | 2008/10/02 15:12:03 | disable system assertions
INFO | jvm 5 | 2008/10/02 15:12:03 | -agentlib:<libname>[=<options>]
INFO | jvm 5 | 2008/10/02 15:12:03 | load native agent library <libname>, e.g. -agentlib:hprof
INFO | jvm 5 | 2008/10/02 15:12:03 | see also, -agentlib:jdwp=help and -agentlib:hprof=help
INFO | jvm 5 | 2008/10/02 15:12:03 | -agentpath:<pathname>[=<options>]
INFO | jvm 5 | 2008/10/02 15:12:03 | load native agent library by full pathname
INFO | jvm 5 | 2008/10/02 15:12:03 | -javaagent:<jarpath>[=<options>]
INFO | jvm 5 | 2008/10/02 15:12:03 | load Java programming language agent, see java.lang.instrument
FATAL | wrapper | 2008/10/02 15:12:03 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2008/10/02 15:12:03 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2008/10/02 15:12:03 | <--></options></jarpath></options></pathname></libname></options></libname></classname></packagename></classname></packagename></classname></packagename></classname></packagename></value></value></name>
A comment on the question "Nexus: installed, but won't start" in Sonatype:
Thanks Brian, but no cigar. Same outcome. JVM usage information.
I got the same download to work fine on my windows box with no trouble at all, and I really like the interface, and the features Nexus offers. I'm evaluating it for my company as a potential replacement for Archiva. Any other ideas? – chanola, on October 02, 2008 21:02
chanola asked a question in Sonatype on October 02, 2008 19:59:
Nexus: installed, but won't startI just downloaded Nexus 1.0.2 and attempted install on a Linux Redhat Enterprise 64 bit box. I attempted the simplest out-of-the-box execution, and it will not start. The JVM is exiting with usage information. Any quick pointers?
Loading Profile...
