Hello all-- I'm having a problem with my Jenkins install which has me scratching my head.
I'm getting the "Jenkins detected that you appear to be running more than one instance of Jenkins that share the same directoryu '/var/lib/jenkins' error. The "This Jenkins" and the "Other Jenkins" lines are: This Jenkins: 29118089 contextPath="/jenkins" at 23707@ric-ci01 Other Jenkins: 3818530 contextPath="/jenkins" at 23797@ric-ci01 I am running the Jenkins webapp (v1.539) in a Tomcat 7 server under Ubuntu 12.04 LTS, and am using an Apache2 server listening on port 80, and proxying via AJP to Tomcat. The javatime is openjdk-6 As you can see above, the 'contextPath' values matches, as does the JVM info. The hashcode() values are different, indicating there are two instances of the Jenkins singleton. I recently added a build trigger based on a schedule, and the build is kicked off twice, with the same build number!!. The build tool in this job (bitbake) uses a lock file to prevent concurrent builds. So build script fails, and the other runs to completion. The failed build will always "finish" first, the build is marked as failed, even though the other build results in a successful build. There are two emails sent, one indicating the build failed, and the other showing the build was successful. If a manually initiate the build, the build is successful, but the scheduled build results in the above behavior. If I use jmap to dump the heap of the tomcat JVM, and examine it with jhat, I only find one instance of the jenkins.model.Jenkins object. I'm at a loss on how to debug this further. Any suggestions or pointers? -- Paul Stath -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.