Re: buildloop error

"Nandakumar, Sureshkumar" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <93AA4057F8E088429316B8ECDF9BD2890B253FE1@INOMRXMB101V.zone1.scb.net>
Hi

 

I have tried to install the Cruise control. But I am facing the below
mentioned issue.

Could you please advice on this issue?

 

And also while I am trying to access the RSS FEED and CCTRAY tool, I am
getting the error

 

 

 

CCTRAY:

 

 

 

 

 

 

 java.net.BindException: Address already in use

        at java.net.PlainSocketImpl.socketBind(Native Method)

        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398)

        at java.net.ServerSocket.bind(ServerSocket.java:331)

        at java.net.ServerSocket.<init>(ServerSocket.java:197)

        at
mx4j.tools.adaptor.PlainAdaptorServerSocketFactory.createServerSocket(Pl
ainAdaptorServerSocketFactory.java:24)

        at
mx4j.tools.adaptor.http.HttpAdaptor.createServerSocket(HttpAdaptor.java:
672)

        at
mx4j.tools.adaptor.http.HttpAdaptor.start(HttpAdaptor.java:478)

        at
net.sourceforge.cruisecontrol.jmx.CruiseControlControllerAgent.start(Cru
iseControlControllerAgent.java:172)

        at
net.sourceforge.cruisecontrol.Main.startJmxAgent(Main.java:137)

        at net.sourceforge.cruisecontrol.Main.start(Main.java:115)

        at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)

        at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)

[cc]May-12 17:31:19 ontrollerAgent- starting rmiRegistry

[cc]May-12 17:31:19 ontrollerAgent- Port 1099 is already in use, so no
new rmiRegistry is started

[cc]May-12 17:31:19 ontrollerAgent- starting connectorServer

[cc]May-12 17:31:21 ontrollerAgent- Exception starting connectorServer

java.io.IOException: Cannot bind to URL [jrmp]:
javax.naming.NameAlreadyBoundException: jrmp [Root exception is
java.rmi.AlreadyBoundException: jrmp]

        at
javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnect
orServer.java:829)

        at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.
java:446)

        at
net.sourceforge.cruisecontrol.jmx.CruiseControlControllerAgent.start(Cru
iseControlControllerAgent.java:190)

        at
net.sourceforge.cruisecontrol.Main.startJmxAgent(Main.java:137)

        at net.sourceforge.cruisecontrol.Main.start(Main.java:115)

        at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)

        at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)

Caused by: javax.naming.NameAlreadyBoundException: jrmp [Root exception
is java.rmi.AlreadyBoundException: jrmp]

        at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:133)

        at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:142)

        at javax.naming.InitialContext.bind(InitialContext.java:371)

        at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.j
ava:650)

        at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.
java:442)

        ... 5 more

Caused by: java.rmi.AlreadyBoundException: jrmp

        at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:138)

        at
sun.rmi.registry.RegistryImpl_Skel.dispatch(RegistryImpl_Skel.java:46)

        at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:390)

        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:255)

        at sun.rmi.transport.Transport$1.run(Transport.java:168)

        at
java.security.AccessController.doPrivileged(AccessController.java:274)

        at sun.rmi.transport.Transport.serviceCall(Transport.java:164)

        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:506)

        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTr
ansport.java:838)

        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:912)

        at java.lang.Thread.run(Thread.java:797)

        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
oteCall.java:263)

        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:239
)

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:358)

        at
sun.rmi.registry.RegistryImpl_Stub.bind(RegistryImpl_Stub.java:43)

        at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:131)

        ... 9 more

2010-05-12 17:31:21.883::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog

2010-05-12 17:31:21.014::INFO:  jetty-6.1.11

2010-05-12 17:31:23.600:/dashboard:INFO:  Initializing Spring root
WebApplicationContext

2010-05-12 17:31:24.861:/dashboard:INFO:  Set web app root system
property: 'webapp.root' = [/etc/rc.d/init.d/webapps/dashboard/]

2010-05-12 17:31:24.925:/dashboard:INFO:  Initializing Spring
FrameworkServlet 'spring-ajax'

2010-05-12 17:31:24.121:/dashboard:INFO:  Initializing Spring
FrameworkServlet 'spring-exceptions'

2010-05-12 17:31:24.425:/dashboard:INFO:  Initializing Spring
FrameworkServlet 'spring-pages'

2010-05-12 17:31:25.569:/dashboard:INFO:  Initializing Spring
FrameworkServlet 'spring-tabs'

2010-05-12 17:31:26.958::INFO:  Opened
/etc/rc.d/init.d/logs/2010_05_12.request.log

2010-05-12 17:31:26.989::WARN:  failed
[email protected]:8080

java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind(Native Method)

        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:136
)

        at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:87)

        at
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector
.java:205)

        at
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnec
tor.java:304)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at org.mortbay.jetty.Server.doStart(Server.java:233)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at
net.sourceforge.cruisecontrol.web.EmbeddedJettyServer.start(EmbeddedJett
yServer.java:105)

        at
net.sourceforge.cruisecontrol.Main.startEmbeddedServer(Main.java:175)

        at net.sourceforge.cruisecontrol.Main.start(Main.java:118)

        at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)

        at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)

2010-05-12 17:31:26.992::WARN:  failed Server@153e153e

java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind(Native Method)

        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:136
)

        at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:87)

        at
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector
.java:205)

        at
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnec
tor.java:304)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at org.mortbay.jetty.Server.doStart(Server.java:233)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at
net.sourceforge.cruisecontrol.web.EmbeddedJettyServer.start(EmbeddedJett
yServer.java:105)

        at
net.sourceforge.cruisecontrol.Main.startEmbeddedServer(Main.java:175)

        at net.sourceforge.cruisecontrol.Main.start(Main.java:118)

        at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)

        at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)

[cc]May-12 17:31:26 dedJettyServer- Unable to start embedded Jetty
server: Address already in use

java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind(Native Method)

        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:136
)

        at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:87)

        at
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector
.java:205)

        at
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnec
tor.java:304)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at org.mortbay.jetty.Server.doStart(Server.java:233)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at
net.sourceforge.cruisecontrol.web.EmbeddedJettyServer.start(EmbeddedJett
yServer.java:105)

        at
net.sourceforge.cruisecontrol.Main.startEmbeddedServer(Main.java:175)

        at net.sourceforge.cruisecontrol.Main.start(Main.java:118)

        at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)

        at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)

java.lang.RuntimeException: Unable to start embedded Jetty server:
Address already in use

        at
net.sourceforge.cruisecontrol.web.EmbeddedJettyServer.start(EmbeddedJett
yServer.java:109)

        at
net.sourceforge.cruisecontrol.Main.startEmbeddedServer(Main.java:175)

        at net.sourceforge.cruisecontrol.Main.start(Main.java:118)

        at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)

        at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)

Caused by: java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind(Native Method)

        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:136
)

        at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:87)

        at
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector
.java:205)

        at
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnec
tor.java:304)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at org.mortbay.jetty.Server.doStart(Server.java:233)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

        at
net.sourceforge.cruisecontrol.web.EmbeddedJettyServer.start(EmbeddedJett
yServer.java:105)

        ... 4 more

 

 

Suresh

______________________________________________________

 

Sureshkumar Nandakumar

Configuration Analyst, Software Configuration Management

 

Scope International Pvt. Ltd.

Phone:     +91 44 304 31325
Cell:         +91-9787122770
Email:       [email protected]           
Address: 2nd Floor, Digi Zone II, 79, Rajiv Gandhi Salai, Karapakkam,
Chennai, India 
Website: http://scm.global.standardchartered.com
______________________________________________________

 

________________________________

From: [email protected] [mailto:[email protected]] 
Sent: Tuesday, May 18, 2010 8:45 AM
To: [email protected]
Subject: [Cruisecontrol-user] buildloop error

 


Hello, 

I'm new to cruisecontrol and already very impressed by it's efficacity.
But I 
have some problem on it that you can maybe help me to resolve. 

1. 
The first problem is that I have an error message showing in the console

each 5 seconds (the message is shown later). 

My server environment is: 
FreeBSD 6.3
Java 1.6.0.07.02 (Diablo Java)
CruiseControl 2.8.3 


The error message: 
=============================================================== 
2010-05-18 10:52:00.060::WARN:  /dashboard/buildloop/listener 
com.thoughtworks.xstream.converters.ConversionException: Cannot
construct net.sourceforge.cruisecontrol.BuildLoopInformation as it does
not have a no-args constructor 
---- Debugging information ---- 
message             : Cannot construct
net.sourceforge.cruisecontrol.BuildLoopInformation as it does not have a
no-args constructor 
cause-exception     :
com.thoughtworks.xstream.converters.reflection.ObjectAccessException 
cause-message       : Cannot construct
net.sourceforge.cruisecontrol.BuildLoopInformation as it does not have a
no-args constructor 
class               : net.sourceforge.cruisecontrol.BuildLoopInformation

required-type       : net.sourceforge.cruisecontrol.BuildLoopInformation

path                : /buildloop 
line number         : 1 
------------------------------- 
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
java:63) 
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
ractReferenceUnmarshaller.java:45) 
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
haller.java:46) 
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.ja
va:117) 
        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmars
hal(ReferenceByXPathMarshallingStrategy.java:29) 
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846) 
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833) 
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781) 
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:773) 
        at
net.sourceforge.cruisecontrol.util.BuildInformationHelper.toObject(Build
InformationHelper.java:32) 
        at
net.sourceforge.cruisecontrol.dashboard.web.BuildLoopController.handleRe
questInternal(BuildLoopController.java:28) 
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:153) 
        at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:48) 
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:858) 
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:792) 
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:476) 
        at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:441) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) 
        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:2
16) 
        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(ContextHandler
Collection.java:206) 
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a: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.content(HttpConnection.j
ava:843) 
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) 
        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) 
Caused by:
com.thoughtworks.xstream.converters.reflection.ObjectAccessException:
Cannot construct net.sourceforge.cruisecontrol.BuildLoopInformation as
it does not have a no-args constructor 
        at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvide
r.newInstance(PureJavaReflectionProvider.java:59) 
        at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConvert
er.instantiateNewInstance(AbstractReflectionConverter.java:257) 
        at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConvert
er.unmarshal(AbstractReflectionConverter.java:124) 
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
java:56) 
        ... 35 more 

2. 
Another problem is that how could I configure to make CruiseControl to
trigger build each commit for svn. 
I tried to use <modificationset> and <schedule> element and failed. 

Here is my config.xml: 
========================================================== 
<project name="MFO_JAPAN"> 
        <listeners> 
            <currentbuildstatuslistener
file="logs/${project.name}/status.txt"/> 
        </listeners> 

        <bootstrappers> 
              <svnbootstrapper
localWorkingCopy="/usr/home/build/ccproject/mfo/japan"/> 
        </bootstrappers> 

        <modificationset quietperiod="30"> 
            <svn localWorkingCopy="/usr/home/build/ccproject/mfo/japan"
/> 
        </modificationset> 

        <schedule interval="43200"> 
                <ant anthome="apache-ant-1.8.1"
buildfile="/usr/home/build/ccproject/mfo/japan/build.xml"/> 
        </schedule> 

        <log> 
            <merge dir="projects/${project.name}/target/test-results"/> 
        </log> 

        <publishers> 
        </publishers> 
</project>


This email and any attachments are confidential and may also be privileged.  If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments.  If received in error, notify the sender immediately and delete this email and any attachments from your system.  Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended.  Standard Chartered PLC and its subsidiaries do not accept liability for damage caused by this email or any attachments and may monitor email traffic.

 

Standard Chartered PLC is incorporated in England with limited liability under company number 966425 and has its registered office at 1 Aldermanbury Square, London, EC2V 7SB.

 

Standard Chartered Bank ("SCB") is incorporated in England with limited liability by Royal Charter 1853, under reference ZC18.  The Principal Office of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the Financial Services Authority under FSA register number 114276.

 

If you are receiving this email from SCB outside the UK, please click http://www.standardchartered.com/global/email_disclaimer.html to refer to the information on other jurisdictions.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
image001.jpg (image/jpeg, 33.1 KB) - not displayed
image002.jpg (image/jpeg, 19 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.