{"id":2162,"date":"2017-12-07T12:03:49","date_gmt":"2017-12-07T12:03:49","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2162"},"modified":"2020-01-09T09:30:55","modified_gmt":"2020-01-09T09:30:55","slug":"the-nexus-webapp-service-is-not-installed-the-specified-service-does","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/the-nexus-webapp-service-is-not-installed-the-specified-service-does\/","title":{"rendered":"The nexus-webapp service is not installed &#8211; The specified service does"},"content":{"rendered":"<p><strong>scmuser created the topic: The nexus-webapp service is not installed &#8211; The specified service does<\/strong><br \/>\nWhile installing Sonatype nexus in Windows 7, I get following error..<\/p>\n<p>wrapper | The nexus-webapp service is not installed &#8211; The specified service does not exist as an installed service. (0x424)<\/p>\n<p>I checked java version but no help..<br \/>\nC:\\tools\\nexus\\nexus-2.7.0-04\\bin>java -version<br \/>\njava version &#8220;1.7.0_45&#8221;<br \/>\nJava(TM) SE Runtime Environment (build 1.7.0_45-b18)<br \/>\nJava HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)<\/p>\n<p>Some Solution on Net but no help<br \/>\nThis happens when you run with JDK7 and is a problem with the XStream<br \/>\nversion in Nexus. This has been fixed in XStream itself, so you can<br \/>\ndonwload xstream-1.4.x and replace the xstream, xmlpull and xpp3 jars with<br \/>\nthe newer versions.<br \/>\nYou should only run Nexus on JDK7 if you have at least 7u1 or higher,<br \/>\notherwise Lucene may cause fireworks.<\/p>\n<p>Nexus Prerequisites<\/p>\n<p>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\u2019s 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.<\/p>\n<p>Any Solution for this problem?<\/p>\n<p><strong>scmuser replied the topic: The nexus-webapp service is not installed &#8211; The specified service does<\/strong><br \/>\nSolution:<\/p>\n<p>I was stratting the nexus using ..<br \/>\nC:\\tools\\nexus\\nexus-2.7.0-04\\bin\\nexus.bat start<br \/>\nBut i should be using as below;<\/p>\n<p>Change the wrapper.startup.timeout in C:\\tools\\nexus\\nexus-2.7.0-04\\bin\\jsw\\conf\\wrapper.prop<br \/>\n# How much to wait for application to start up (increase on slower machines if needed)<br \/>\nwrapper.startup.timeout=30<\/p>\n<p>Install Nexus&#8230;<br \/>\nC:\\tools\\nexus\\nexus-2.7.0-04\\bin\\jsw\\windows-x86-64\\install-nexus.bat<\/p>\n<p>Start Nexus<br \/>\nC:\\tools\\nexus\\nexus-2.7.0-04\\bin\\nexus.bat<\/p>\n<p>Run nexus<br \/>\nhttp:\/\/localhost:8081\/nexus<br \/>\nor<br \/>\nhttp:\/\/hostname:8081\/nexus<\/p>\n<p><strong>scmuser replied the topic: The nexus-webapp service is not installed &#8211; The specified service does<\/strong><br \/>\nStart Nexus<br \/>\nC:\\tools\\nexus\\nexus-2.7.0-04\\bin\\nexus.bat start<\/p>\n<p>and default user id n password is &#8211; admin \/ admin123<\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: The nexus-webapp service is not installed &#8211; The specified service does While installing Sonatype nexus in Windows 7, I get following error.. wrapper | The nexus-webapp&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[157],"tags":[426],"class_list":["post-2162","post","type-post","status-publish","format-standard","hentry","category-sonatype-nexus","tag-nexus"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2162"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2162\/revisions"}],"predecessor-version":[{"id":2163,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2162\/revisions\/2163"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}