Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-6874

trial bundle uses wrong default temp dir

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.1
    • Fix Version/s: 2.9.2, 2.10
    • Component/s: Installer
    • Labels:
      None
    • Story Points:
      1
    • Release Note:
      Yes
    • Sprint:
      Sprint 26

      Description

      nexus.vmoptions contains

      -Xmx768m
      -Xms256m
      -XX:MaxPermSize=192m
      -Djava.net.preferIPv4Stack=true
      -Dcom.sun.jndi.ldap.connect.pool.protocol=plain ssl
      #-Dcom.sun.management.jmxremote.port=8086
      #-Dcom.sun.management.jmxremote.ssl=false
      #-Dcom.sun.management.jmxremote.authenticate=false
      #-Xdebug
      #-Xnoagent
      #-Djava.compiler=NONE
      #-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
      #-XX:+HeapDumpOnOutOfMemoryError
      

      This should include setting the java tmp dir

      Noticed this in one customer's trial bundle log:

      1) Error in custom provider, java.lang.RuntimeException: Cannot delete nexus-p2-bridge temporary directory C:\Windows\Temp\nexus-p2-bridge-plugin\runtime
      while locating org.sonatype.nexus.plugins.p2bridge.internal.HttpProxyProvider
      

      That is a very bad temporary directory location...if two nexuses are running on the same host especially.

      https://issues.sonatype.org/browse/NEXUS-6352

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title