CC & Distributed Build Agents

"John Burrows" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
All,

 

I apologize if this has been covered, but in looking back through many
of the list subjects, I could not find what I was searching.

 

Does anyone have ideas on, or has anyone run into this type of issue
before?

 

I built the source distribution of Cruisecontrol as well as the
contrib/distributed items, and when I run the Agents on the same or
another machine as the Cruisecontrol Main application (from
contrib/distributed of course), I can get builds to kick off on the
remote Agents, but the results are having issues getting back to the
Cruisecontrol instance.

 

I have ensured that the lmhosts & hosts files on each machine contain
the machines true IP address and name, there are no firewalls running to
block ports, yet I receive the following:

 

On the Cruisecontrol machine:

 

 [Thread-1377] INFO  DistributedMasterBuilder - Found available agent
on: cltscm-dev01

 [Thread-1377] INFO  DistributedMasterBuilder - building on agent:
cltscm-dev01, project: ConnectFourA

 [Thread-1377] ERROR DistributedMasterBuilder - RemoteException from
agent on: cltscm-dev01 while building project: ConnectFourA

java.rmi.ServerException: RemoteException in server thread; nested
exception is: 

                java.rmi.ConnectException: connection refused or timed
out to
BasicObjectEndpoint[506ded90-67ce-4c60-851f-3dc470af5f0c,TcpEndpoint[10.
28.30.165:4156]]; nested exception is: 

                java.net.ConnectException: Connection refused: connect

                at
net.jini.jeri.BasicInvocationDispatcher.dispatch(BasicInvocationDispatch
er.java:644)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$6.run(ObjectTable.java:59
7)

                at
net.jini.export.ServerContext.doWithServerContext(ServerContext.java:103
)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch0(ObjectTa
ble.java:595)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.access$700(ObjectT
able.java:212)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$5.run(ObjectTable.java:56
8)

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

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTab
le.java:565)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTab
le.java:540)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$RD.dispatch(ObjectTable.j
ava:778)

                at
net.jini.jeri.connection.ServerConnectionManager$Dispatcher.dispatch(Ser
verConnectionManager.java:148)

                at
com.sun.jini.jeri.internal.mux.MuxServer$2.run(MuxServer.java:244)

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

                at
com.sun.jini.jeri.internal.mux.MuxServer$1.run(MuxServer.java:241)

                at
com.sun.jini.thread.ThreadPool$Worker.run(ThreadPool.java:136)

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

                at
com.sun.jini.jeri.internal.runtime.Util.__________EXCEPTION_RECEIVED_FRO
M_SERVER__________(Util.java:108)

                at
com.sun.jini.jeri.internal.runtime.Util.exceptionReceivedFromServer(Util
.java:101)

                at
net.jini.jeri.BasicInvocationHandler.unmarshalThrow(BasicInvocationHandl
er.java:1303)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocat
ionHandler.java:832)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationH
andler.java:659)

                at
net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:
528)

                at $Proxy5.doBuild(Unknown Source)

                at
net.sourceforge.cruisecontrol.builders.DistributedMasterBuilder.build(Di
stributedMasterBuilder.java:320)

                at
net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:169)

                at
net.sourceforge.cruisecontrol.Project.build(Project.java:226)

                at
net.sourceforge.cruisecontrol.Project.execute(Project.java:147)

                at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:4
02)

                at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)

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

Caused by: java.rmi.ConnectException: connection refused or timed out to
BasicObjectEndpoint[506ded90-67ce-4c60-851f-3dc470af5f0c,TcpEndpoint[10.
28.30.165:4156]]; nested exception is: 

                java.net.ConnectException: Connection refused: connect

                at
net.jini.jeri.BasicInvocationHandler.wrapSafeIOException(BasicInvocation
Handler.java:890)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocat
ionHandler.java:711)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationH
andler.java:659)

                at
net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:
528)

                at $Proxy3.setValueRemote(Unknown Source)

                at
net.sourceforge.cruisecontrol.distributed.BuildAgentServiceImpl.doBuild(
BuildAgentServiceImpl.java:438)

                at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown
Source)

                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:618)

                at
net.jini.jeri.BasicInvocationDispatcher.invoke(BasicInvocationDispatcher
.java:1126)

                at
net.jini.jeri.BasicInvocationDispatcher.dispatch(BasicInvocationDispatch
er.java:608)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$6.run(ObjectTable.java:59
7)

                at
net.jini.export.ServerContext.doWithServerContext(ServerContext.java:103
)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch0(ObjectTa
ble.java:595)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.access$700(ObjectT
able.java:212)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$5.run(ObjectTable.java:56
8)

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

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTab
le.java:565)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTab
le.java:540)

                at
com.sun.jini.jeri.internal.runtime.ObjectTable$RD.dispatch(ObjectTable.j
ava:778)

                at
net.jini.jeri.connection.ServerConnectionManager$Dispatcher.dispatch(Ser
verConnectionManager.java:148)

                at
com.sun.jini.jeri.internal.mux.MuxServer$2.run(MuxServer.java:244)

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

                at
com.sun.jini.jeri.internal.mux.MuxServer$1.run(MuxServer.java:241)

                at
com.sun.jini.thread.ThreadPool$Worker.run(ThreadPool.java:136)

                ... 1 more

Caused by: java.net.ConnectException: Connection refused: connect

                at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)

                at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)

                at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)

                at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)

                at java.net.Socket.connect(Socket.java:543)

                at
net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connectToSocketAddr
ess(TcpEndpoint.java:678)

                at
net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connectToHost(TcpEn
dpoint.java:608)

                at
net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connect(TcpEndpoint
.java:543)

                at
net.jini.jeri.connection.ConnectionManager.connect(ConnectionManager.jav
a:228)

                at
net.jini.jeri.connection.ConnectionManager$ReqIterator.next(ConnectionMa
nager.java:629)

                at
net.jini.jeri.BasicObjectEndpoint$1.next(BasicObjectEndpoint.java:371)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocat
ionHandler.java:708)

                ... 24 more

 

On the CC Agent machine, even if it is the same machine as the
Cruisecontrol machine:

 

 [AgentUI updateAgentInfoUI-data] INFO  BuildAgentServiceImpl - Error
reading remote progress

java.rmi.ConnectException: connection refused or timed out to
BasicObjectEndpoint[3e0904b0-4a2c-4956-a767-9be40c681019,TcpEndpoint[10.
28.30.165:4197]]; nested exception is: 

                java.net.ConnectException: Connection refused: connect

                at
net.jini.jeri.BasicInvocationHandler.wrapSafeIOException(BasicInvocation
Handler.java:890)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocat
ionHandler.java:711)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationH
andler.java:659)

                at
net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:
528)

                at $Proxy3.getLastUpdatedRemote(Unknown Source)

                at
net.sourceforge.cruisecontrol.distributed.BuildAgentServiceImpl.asString
(BuildAgentServiceImpl.java:952)

                at
net.sourceforge.cruisecontrol.distributed.BuildAgentUI.doUpdateAgentInfo
UI(BuildAgentUI.java:184)

                at
net.sourceforge.cruisecontrol.distributed.BuildAgentUI.access$500(BuildA
gentUI.java:37)

                at
net.sourceforge.cruisecontrol.distributed.BuildAgentUI$6.run(BuildAgentU
I.java:175)

Caused by: java.net.ConnectException: Connection refused: connect

                at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)

                at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)

                at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)

                at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)

                at java.net.Socket.connect(Socket.java:543)

                at
net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connectToSocketAddr
ess(TcpEndpoint.java:678)

                at
net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connectToHost(TcpEn
dpoint.java:608)

                at
net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connect(TcpEndpoint
.java:543)

                at
net.jini.jeri.connection.ConnectionManager.connect(ConnectionManager.jav
a:228)

                at
net.jini.jeri.connection.ConnectionManager$ReqIterator.next(ConnectionMa
nager.java:629)

                at
net.jini.jeri.BasicObjectEndpoint$1.next(BasicObjectEndpoint.java:371)

                at
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocat
ionHandler.java:708)

                ... 7 more

 

Any help would be greatly appreciated.

 

Thank you,

John

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
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.