Sonatype JIRA | Nicolai Ødum | 1 year ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Nexus 3.0.0-03 startup on Ubuntu

    Stack Overflow | 10 months ago | Michał Schielmann
  2. 0

    There is a serious problem starting the m6 release on ubuntu server without X11 installed and the documentation is not up to date. After unpacking nexus-installer-3.0.0-m6-unix-archive.tar.gz on my server I changed run_as_user in nexus.rc. I tried to start it with *./nexus-3.0.0-b2015110601/bin/nexus run* su: invalid option -- 'D' Usage: su [options] [LOGIN] Options: -c, --command COMMAND pass COMMAND to the invoked shell -h, --help display this help message and exit -, -l, --login make the shell a login shell -m, -p, --preserve-environment do not reset environment variables, and keep the same shell -s, --shell SHELL use SHELL instead of the default in passwd After debuging the scipt I tried to start the Nexus server outside the script with nexus@node01:*/opt/nexus$ /usr/lib/jvm/java-8-oracle/jre/bin/java -server -Dinstall4j.jvmDir=/usr/lib/jvm/java-8-oracle/jre -Dexe4j.moduleName=/opt/nexus/nexus-3.0.0-b2015110601/bin/nexus -Dinstall4j.launcherId=245 -Dinstall4j.swt=false -Di4jv=0 -Di4jv=0 -Di4jv=0 -Di4jv=0 -Di4jv=0 -Xms256M -Xmx768M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dkaraf.home=. -Dkaraf.base=. -Dkaraf.etc=etc -Djava.util.logging.config.file=etc/ -Dkaraf.instances=data/instances -Dkaraf.startLocalConsole=false -Di4j.vpt=true -classpath /opt/nexus/nexus-3.0.0-b2015110601/.install4j/i4jruntime.jar:/opt/nexus/nexus-3.0.0-b2015110601/lib/karaf.jar:/opt/nexus/nexus-3.0.0-b2015110601/lib/karaf-org.osgi.core.jar:/opt/nexus/nexus-3.0.0-b2015110601/lib/karaf-jmx-boot.jar:/opt/nexus/nexus-3.0.0-b2015110601/lib/karaf-jaas-boot.jar:/opt/nexus/nexus-3.0.0-b2015110601/lib/karaf-nexus-branding.jar com.install4j.runtime.launcher.UnixLauncher run 9d17dc87 org.apache.karaf.main.Main* java.util.NoSuchElementException at java.util.LinkedList.removeFirst( at com.exe4j.runtime.util.ArgumentStack.popString( at com.install4j.runtime.launcher.UnixLauncher.main( java.util.NoSuchElementException Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless( at java.awt.Button.<init>( at com.exe4j.runtime.util.MessageBox.addChoice( at com.exe4j.runtime.util.MessageBox.addChoice( at com.install4j.runtime.launcher.ErrorHandler.displayGuiErrorMessage( at com.install4j.runtime.launcher.ErrorHandler.reportError( at com.install4j.runtime.launcher.UnixLauncher.main(

    Sonatype JIRA | 1 year ago | Nicolai Ødum
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 20#89799961

    GitHub | 2 years ago | robertpanzer

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.NoSuchElementException

      No message provided

      at java.util.LinkedList.removeFirst()
    2. Java RT
      1. java.util.LinkedList.removeFirst(
      1 frame
    3. com.exe4j.runtime
      1. com.exe4j.runtime.util.ArgumentStack.popString(
      1 frame
    4. com.install4j.runtime
      1. com.install4j.runtime.launcher.UnixLauncher.main(
      1 frame