2

In Chapter 16.2 of the Sonatype books for Nexus 3 it is stated that you can start the Karaf console by pressing enter after the nexus run command:

Bundles can be loaded via the Karaf console. To enable the console, set karaf.startLocalConsole in bin\nexus.vmoptions to true. This allows you to access the Karaf console by pressing enter after starting the repository manager with the run option.

However doing so results in a

java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at com.exe4j.runtime.WinLauncher$1.run(WinLauncher.java:80)

and the system is shutting down immediately. Turning on the Karaf debug logging does not reveal any further hints.

  • 1
    I can guess you are on Windows machine (it would probably help to provide some more details about your environment) and it sounds like something OS specific. I can run the nexus that way on my mac. Have you tried to run Karaf 4.0.8 on the same machine to see if you get the same error? – Milen Dyankov Feb 28 '17 at 23:26
  • Any luck on getting this to work on windows? – Pytry Aug 07 '17 at 20:29
  • I am sorry I have nothing new. I resigned. – user3460906 Aug 15 '17 at 07:42

0 Answers0