{"id":2341,"date":"2022-08-30T15:24:03","date_gmt":"2022-08-30T15:24:03","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/jenkins-wont-start-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:03","modified_gmt":"2022-08-30T15:24:03","slug":"jenkins-wont-start-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/jenkins-wont-start-collection-of-common-programming-errors\/","title":{"rendered":"Jenkins won&#39;t start-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m using:<\/p>\n<ul>\n<li>Jenkins 1.541.<\/li>\n<li>Java JDK 7u45 (tried 64 and 32 bit versions).<\/li>\n<li>XAMPP 1.8.2<\/li>\n<\/ul>\n<p>I have downloaded the default MSI installation from http:\/\/mirrors.jenkins-ci.org\/windows\/latest, and I have installed it. Jenkins tries to run the first time, telling me <em>Please wait while Jenkins is getting ready to work&#8230;<\/em><\/p>\n<p>I wait but then the server, located at <code>http:\/\/localhost:8080\/<\/code> is down. The logs don&#8217;t tell much:<\/p>\n<p><strong>jenkins.err.log<\/strong><\/p>\n<pre><code>nov 26, 2013 5:58:20 PM org.eclipse.jetty.util.log.JavaUtilLog info\nINFO: jetty-8.y.z-SNAPSHOT\nnov 26, 2013 5:58:23 PM org.eclipse.jetty.util.log.JavaUtilLog info\nINFO: Extract jar:file:\/C:\/Program%20Files%20(x86)\/Jenkins\/jenkins.war!\/ to C:\\Windows\\Temp\\jetty-0.0.0.0-8080-jenkins.war--any-\\webapp\nnov 26, 2013 5:58:45 PM org.eclipse.jetty.util.log.JavaUtilLog info\nINFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet\nnov 26, 2013 5:58:46 PM org.eclipse.jetty.util.log.JavaUtilLog info\nINFO: Started SelectChannelConnector@0.0.0.0:8080\nnov 26, 2013 5:58:46 PM winstone.Logger logInternal\nINFO: Winstone Servlet Engine v2.0 running: controlPort=disabled\nnov 26, 2013 5:58:46 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Started initialization\nnov 26, 2013 5:58:46 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Listed all plugins\nnov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Prepared all plugins\nnov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Started all plugins\nnov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Augmented all extensions\nnov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Loaded all jobs\nnov 26, 2013 5:58:52 PM org.jenkinsci.main.modules.sshd.SSHD start\nINFO: Started SSHD at port 54677\nnov 26, 2013 5:58:52 PM jenkins.InitReactorRunner$1 onAttained\nINFO: Completed initialization\nnov 26, 2013 5:58:52 PM hudson.TcpSlaveAgentListener \nINFO: JNLP slave agent listener started on TCP port 54678\nnov 26, 2013 5:58:52 PM hudson.WebAppMain$3 run\nINFO: Jenkins is fully up and running\n<\/code><\/pre>\n<p>After that, the server never initiates (at localhost:8080), and the Jenkins <strong>service<\/strong> is stopped.<\/p>\n<p>I have also tried using <strong>XAMPP<\/strong> with <strong>Tomcat<\/strong>, trying both <strong>32<\/strong> and <strong>64 bit Java JDK<\/strong> versions to no avail, since after starting <strong>Jenkins<\/strong>, <strong>Java<\/strong> crashes. I was trying to look for a crash log but can&#8217;t find any.<\/p>\n<p>These are the error events from the <strong>Event Viewer<\/strong>:<\/p>\n<pre><code>Faulting application name: java.exe, version: 7.0.250.17, time stamp: 0x51c4b3fd\nFaulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521ea8e7\nException code: 0xc0000374\nFault offset: 0x000ce753\nFaulting process id: 0x15bc\nFaulting application start time: 0x01ceeaee5b2a96ab\nFaulting application path: C:\\Program Files (x86)\\Jenkins\\jre\\bin\\java.exe\nFaulting module path: C:\\Windows\\SysWOW64\\ntdll.dll\nReport Id: a49749d3-56e1-11e3-b08d-00155d011200\n<\/code><\/pre>\n<p>And<\/p>\n<pre><code>Child process [5564 - C:\\Program Files (x86)\\Jenkins\\jre\\bin\\java -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar \"C:\\Program Files (x86)\\Jenkins\\jenkins.war\" --httpPort=8080] terminated with 255\n<\/code><\/pre>\n<p>Is there any other log I can provide to track the source problem?<\/p>\n<ol>\n<li>\n<p>you can enable debug mode in java to get more details&#8230;. you may have to up the memory allocation available to java&#8230;.<\/p>\n<blockquote>\n<p>-Xmx256m<\/p>\n<\/blockquote>\n<p>also, as jenkins creates a huge number of files, check to make sure you didnt run out of inodes<\/p>\n<blockquote>\n<p>df -i<\/p>\n<\/blockquote>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-01-05 21:58:02. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using: Jenkins 1.541. Java JDK 7u45 (tried 64 and 32 bit versions). XAMPP 1.8.2 I have downloaded the default MSI installation from http:\/\/mirrors.jenkins-ci.org\/windows\/latest, and I have installed it. Jenkins tries to run the first time, telling me Please wait while Jenkins is getting ready to work&#8230; I wait but then the server, located at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2341","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2341"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2341\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}