scmuser created the topic: The nexus-webapp service is not installed – The specified service does
While installing Sonatype nexus in Windows 7, I get following error..
wrapper | The nexus-webapp service is not installed – The specified service does not exist as an installed service. (0x424)
I checked java version but no help..
C:\tools\nexus\nexus-2.7.0-04\bin>java -version
java version “1.7.0_45”
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Some Solution on Net but no help
This happens when you run with JDK7 and is a problem with the XStream
version in Nexus. This has been fixed in XStream itself, so you can
donwload xstream-1.4.x and replace the xstream, xmlpull and xpp3 jars with
the newer versions.
You should only run Nexus on JDK7 if you have at least 7u1 or higher,
otherwise Lucene may cause fireworks.
Nexus Prerequisites
Nexus Open Source and Nexus Professional only have one prerequisite, a Java Runtime Environment (JRE) compatible with Java 7. Nexus is most often run with the JRE that is bundled with a Java Development Kit (JDK) installation, and it can be run with Oracle’s JDK for Java 7. To download the Oracle JDK, go to www.oracle.com/technetwork/java/javase/downloads/index.html . At a minium Java 7u2 is required, but we recommend tha latest available version.
Any Solution for this problem?
scmuser replied the topic: The nexus-webapp service is not installed – The specified service does
Solution:
I was stratting the nexus using ..
C:\tools\nexus\nexus-2.7.0-04\bin\nexus.bat start
But i should be using as below;
Change the wrapper.startup.timeout in C:\tools\nexus\nexus-2.7.0-04\bin\jsw\conf\wrapper.prop
# How much to wait for application to start up (increase on slower machines if needed)
wrapper.startup.timeout=30
Install Nexus…
C:\tools\nexus\nexus-2.7.0-04\bin\jsw\windows-x86-64\install-nexus.bat
Start Nexus
C:\tools\nexus\nexus-2.7.0-04\bin\nexus.bat
Run nexus
http://localhost:8081/nexus
or
http://hostname:8081/nexus
scmuser replied the topic: The nexus-webapp service is not installed – The specified service does
Start Nexus
C:\tools\nexus\nexus-2.7.0-04\bin\nexus.bat start
and default user id n password is – admin / admin123
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024