Changing any one setting will require adjusting all 3 settings. If configuration is needed before first start then manually create $data-dir/etc/nexus.properties and add customizations there.Ī directory to put keystores when configuring HTTPS Configuring Memoryīefore changing the default memory settings, review our memory guidelines. The file $data-dir/etc/nexus.properties is created the first time NXRM is started. A sample of default property values are listed in this file such as the main HTTP connector port and the webapp context path.Ĭhange or add new configuration properties in $data-dir/etc/nexus.properties. See Logging and Log Viewer for more information on repository manager logging and the recommended approach for adjusting the logging configuration to meet your needs. logback-access.xml - Contains the default logger definition for the log file name, log level, pattern layout and rotation rules for the request.log file.logback.xml - Contains default logger definitions for log file names, log levels, pattern layouts and rotation rules for the nexus.log and tasks/*.log files.system.properties- system properties used for the JVM and application start upĬonfiguration files for logback including:.org.apache.* and org.ops4j.*- various Karaf and OSGi related configuration files.This file can be used to pass additional parameters to the Apache Karaf container. custom.properties - Customizable configuration used by Apache Karaf.config.properties - The main configuration for the Apache Karaf runtime.It includes one properties file and a number of nested directories: $ ls -1 nexus-/etcĬonfiguration files for Ehcache, Elasticsearch, and OrientDBĬonfiguration files for Apache Karaf, including: The main location for configuration files is the etc directory. Djava.io.tmpdir=./sonatype-work/nexus3/tmp XX:LogFile=./sonatype-work/nexus3/log/jvm.log
The application startup loads JVM arguments from the Java properties file $install-dir/bin/nexus.vmoptions: -Xms2703m The startup of the JVM running the repository manager is managed via files in the $install-dir/bin directory within the installation.
This section details these and provides recipes for specific tasks. Configuring the specifics of the repository manager runtime involves configuration for all components in various configuration files and startup scripts.