{"id":2174,"date":"2017-12-07T12:19:12","date_gmt":"2017-12-07T12:19:12","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2174"},"modified":"2025-02-01T22:51:50","modified_gmt":"2025-02-01T22:51:50","slug":"new-setup-issues-of-crusecontrol","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/new-setup-issues-of-crusecontrol\/","title":{"rendered":"New Setup issues of CruseControl"},"content":{"rendered":"<p><strong>scmuser created the topic: New Setup issues of CruseControl<\/strong><br \/>\nConnectforu Config Tab Issues<\/p>\n<p>Hi,<\/p>\n<p>I have cruise contriol and when i navigated to Connectforu and click in Config Tab, i got following issues, plz guide me.<\/p>\n<p><code>HTTP ERROR: 500<\/p>\n<p>javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: epc-rajesh-wxp.chordiant-epc.com; nested exception is:<br \/>\n\tjava.net.ConnectException: Connection refused: connect]<\/p>\n<p>RequestURI=\/cruisecontrol\/config.jspa<br \/>\nCaused by:<\/p>\n<p>java.io.IOException: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: epc-rajesh-wxp.chordiant-epc.com; nested exception is:<br \/>\n\tjava.net.ConnectException: Connection refused: connect]<br \/>\n\tat mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)<br \/>\n\tat mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)<br \/>\n\tat mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)<br \/>\n\tat javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)<br \/>\n\tat javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)<br \/>\n\tat net.sourceforge.cruisecontrol.Configuration.(Configuration.java:91)<br \/>\n\tat net.sourceforge.cruisecontrol.interceptor.ConfigurationInterceptor.createConfiguration(ConfigurationInterceptor.java:76)<br \/>\n\tat net.sourceforge.cruisecontrol.interceptor.ConfigurationInterceptor.getConfiguration(ConfigurationInterceptor.java:86)<br \/>\n\tat net.sourceforge.cruisecontrol.interceptor.ConfigurationInterceptor.before(ConfigurationInterceptor.java:64)<br \/>\n\tat com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34)<br \/>\n\tat com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)<br \/>\n\tat com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)<br \/>\n\tat com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)<br \/>\n\tat com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:237)<br \/>\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:820)<br \/>\n\tat org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br \/>\n\tat org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br \/>\n\tat org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br \/>\n\tat org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br \/>\n\tat org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br \/>\n\tat org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br \/>\n\tat org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)<br \/>\n\tat org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)<br \/>\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br \/>\n\tat org.mortbay.jetty.Server.handle(Server.java:324)<br \/>\n\tat org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br \/>\n\tat org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)<br \/>\n\tat org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)<br \/>\n\tat org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br \/>\n\tat org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br \/>\n\tat org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br \/>\n\tat org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)<\/p>\n<p>Powered by Jetty:\/\/<\/code><\/p>\n<p><strong>scmuser replied the topic: Re:New Setup issues of CruseControl<\/strong><br \/>\nI&#8217;m using Cruisecontrol 2.6.2 and I&#8217;m having problems with the JMX Control Panel.<\/p>\n<p>First off, the URL for the Control Panel contains the hostname of the computer, which can&#8217;t be resolved over the network. I have tried setting the jmxhost parameter in the web.xml file to its IP adress, but it doesn&#8217;t work; it still uses the host name. As a workaround I&#8217;ve now entered the host name and the corresponding IP adress in my Hosts file, but I don&#8217;t want to do that for every computer, so is there a way to do this within cruisecontrol?<\/p>\n<p>With the above workaround the host name can be resolved, but all that I get when I click the button for the control panel is an XML file:<\/p>\n<p>&#8220;There is no\/ style \/i\/nformation\/ connected to this \/XML file\/. Subsequent the \/Tree\/-\/View\/ of the \/\/document\/\/ is \/shown\/.&#8221;<\/p>\n<p><MBean classname=\"net.sourceforge.cruisecontrol.jmx.ProjectController\" description=\"Information on the management interface of the MBean\" objectname=\"CruiseControl Project:name=prod-m3-nightly\"> <Attribute availability=\"RW\" description=\"Attribute exposed for management\" isnull=\"false\" name=\"BuildInterval\" strinit=\"true\" type=\"long\" value=\"300000\"\/> &#8230;.<\/p>\n<p>Does anybody know how to fix this? Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: New Setup issues of CruseControl Connectforu Config Tab Issues Hi, I have cruise contriol and when i navigated to Connectforu and click in Config Tab, i&#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":[2],"tags":[452],"class_list":["post-2174","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-crusecontrol"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2174","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=2174"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2174\/revisions"}],"predecessor-version":[{"id":2175,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2174\/revisions\/2175"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}