Re: Cruise Control Error..

"Florin Vancea" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <132701c9d2c2$265b5d20$0b6fa8c0@jazz>
Looks like the default port CC uses for JMX is already in use by some other
app.

Move the other app to other port or use -jmxport option when starting CC to
move the CC JMX port to some other value.
If you use -jmxport make sure you also adjust the JMX port in the reporting
app and/or dashboard.

----- Original Message ----- 
From: <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 05, 2009 9:28 AM
Subject: [Cruisecontrol-user] Cruise Control Error..


Hi all,

I am getting the below error when i am running cruisecontrol.bat,can
anyone resolve it for me.

Below is the error message.

2009-05-05 11:22:47,593 [main     ] INFO  CruiseControlControllerAgent -
Starting HttpAdaptor with CC-Stylesheets
2009-05-05 11:22:47,609 [main     ] INFO  CruiseControlControllerAgent -
starting httpAdaptor
2009-05-05 11:22:47,625 [main     ] ERROR CruiseControlControllerAgent -
Exception starting httpAdaptor
java.net.BindException: Address already in use: JVM_Bind
 at java.net.PlainSocketImpl.socketBind(Native Method)
 at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
 at java.net.ServerSocket.bind(ServerSocket.java:319)
 at java.net.ServerSocket.<init>(ServerSocket.java:185)
 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:150)
 at net.sourceforge.cruisecontrol.Main.start(Main.java:128)
 at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)
 at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)
2009-05-05 11:22:47,640 [main     ] INFO  CruiseControlControllerAgent -
starting rmiRegistry
2009-05-05 11:22:47,781 [main     ] WARN  CruiseControlControllerAgent -
Port 1099 is already in use, so no new rmiRegistry is started
2009-05-05 11:22:47,781 [main     ] INFO  CruiseControlControllerAgent -
starting connectorServer
2009-05-05 11:22:47,906 [main     ] ERROR CruiseControlControllerAgent -
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:804)
 at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.
java:417)
 at
net.sourceforge.cruisecontrol.jmx.CruiseControlControllerAgent.start(Cru
iseControlControllerAgent.java:190)
 at net.sourceforge.cruisecontrol.Main.startJmxAgent(Main.java:150)
 at net.sourceforge.cruisecontrol.Main.start(Main.java:128)
 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:122)
 at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:131)
 at javax.naming.InitialContext.bind(InitialContext.java:400)
 at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.j
ava:625)
 at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.
java:412)
 ... 5 more
Caused by: java.rmi.AlreadyBoundException: jrmp
 at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:123)
 at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
 at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
 at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
 at sun.rmi.transport.Transport$1.run(Transport.java:159)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.j
ava:790)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:649)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:885)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:907)
 at java.lang.Thread.run(Thread.java:619)
 at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
oteCall.java:255)
 at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233
)
 at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
 at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
 at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
 ... 9 more


Regards
-Arjun.



----------------------------------------------------------------------------
----


> --------------------------------------------------------------------------
----
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com


----------------------------------------------------------------------------
----


> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
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.