New Setup issues of CruseControl

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 got following issues, plz guide me.

HTTP ERROR: 500

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: epc-rajesh-wxp.chordiant-epc.com; nested exception is:
java.net.ConnectException: Connection refused: connect]

RequestURI=/cruisecontrol/config.jspa
Caused by:

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:
java.net.ConnectException: Connection refused: connect]
at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)
at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)
at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)
at net.sourceforge.cruisecontrol.Configuration.(Configuration.java:91)
at net.sourceforge.cruisecontrol.interceptor.ConfigurationInterceptor.createConfiguration(ConfigurationInterceptor.java:76)
at net.sourceforge.cruisecontrol.interceptor.ConfigurationInterceptor.getConfiguration(ConfigurationInterceptor.java:86)
at net.sourceforge.cruisecontrol.interceptor.ConfigurationInterceptor.before(ConfigurationInterceptor.java:64)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:237)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

Powered by Jetty://

scmuser replied the topic: Re:New Setup issues of CruseControl
I’m using Cruisecontrol 2.6.2 and I’m having problems with the JMX Control Panel.

First off, the URL for the Control Panel contains the hostname of the computer, which can’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’t work; it still uses the host name. As a workaround I’ve now entered the host name and the corresponding IP adress in my Hosts file, but I don’t want to do that for every computer, so is there a way to do this within cruisecontrol?

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:

“There is no/ style /i/nformation/ connected to this /XML file/. Subsequent the /Tree/-/View/ of the //document// is /shown/.”

….

Does anybody know how to fix this? Thanks.

Tagged :