Have just installed the Nexus Repository Manager v3.29.2-02 on a RHEL 8.3 x86_64 physical server with plenty of RAM (124 GB) and plenty of CPU (16).
Followed the installation documentation and the install went without error. Also installed java thru dnf, which is v 1.8.0_282. However upon pointing my browser to localhost:8081, I get the Nexus Repo Manager Web UI, however it continues to show Initializing and does not proceed any further.
Upon inspecting the nexus.log, there are a lot of error entries and this one below occurs after starting Nexus
2021-02-26 11:21:42,020-0500 WARN [qtp506977302-195] *UNKNOWN org.sonatype.nexus.rapture.internal.state.StateComponent - Failed to get state from com.google.inject.internal.InjectorImpl$1 (ignored)
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) Error injecting constructor, java.io.FileNotFoundException: NONE (No such file or directory)
at com.sonatype.nexus.ssl.plugin.internal.TrustStoreImpl.<init>(TrustStoreImpl.java:84)
at / (via modules: org.sonatype.nexus.extender.modules.NexusBundleModule -> org.eclipse.sisu.space.SpaceModule)
while locating com.sonatype.nexus.ssl.plugin.internal.TrustStoreImpl
while locating java.lang.Object annotated with *
at org.eclipse.sisu.wire.LocatorWiring
while locating org.sonatype.nexus.ssl.TrustStore
for the 5th parameter of org.sonatype.nexus.ldap.internal.realms.EnterpriseLdapManager.<init>(EnterpriseLdapManager.java:91)
at / (via modules: org.sonatype.nexus.extender.modules.NexusBundleModule -> org.eclipse.sisu.space.SpaceModule)
while locating org.sonatype.nexus.ldap.internal.realms.EnterpriseLdapManager
while locating java.lang.Object annotated with *
at org.eclipse.sisu.wire.LocatorWiring
while locating org.sonatype.nexus.ldap.internal.realms.LdapManager
for the 1st parameter of org.sonatype.nexus.ldap.internal.LdapUserManager.<init>(LdapUserManager.java:40)
at / (via modules: org.sonatype.nexus.extender.modules.NexusBundleModule -> org.eclipse.sisu.space.SpaceModule)
while locating org.sonatype.nexus.ldap.internal.LdapUserManager
while locating java.lang.Object annotated with *
Because we have a lot of hardware resources, Iāve modified nexus.vmoptions for > 32 GB and still having the same issue.
Iāve also tried to set JAVA_HOME to the following: /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.282.b08-2.el8_3.x86_64
One thing note, this OS has been hardened, and not sure if that would be the root cause or not at this time. However searching online, donāt see anyone else having the exact issue.
thanks