itests on OpenCIT

0 views
Skip to first unread message

Christoph Gritschenberger

unread,
Mar 24, 2011, 4:51:54 AM3/24/11
to OpenEngSB
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OpenCIT cannot run the itests of the openengsb right now.
They just freeze.

How do we handle that?

kind regards,
christoph

09:34:17.726 [main] DEBUG o.o.p.e.c.d.i.PaxRunnerTestContainer -
Starting test bundle with ID 138
[CM Configuration Updater (ManagedService Update:
pid=org.ops4j.pax.web)] WARN
org.ops4j.pax.web.service.jetty.internal.NIOSocketConnectorWrapper -
Connection on port 8090 cannot be open. Reason: Address already in use
Exception in thread "JMX Connector Thread
[service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-root]" java.lang.RuntimeException:
Could not start JMX connector server
at
org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:104)
Caused by: java.io.IOException: Cannot bind to URL
[rmi://localhost:1099/karaf-root]:
javax.naming.NameAlreadyBoundException: karaf-root [Root exception is
java.rmi.AlreadyBoundException: karaf-root]
at
javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
at
org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102)
Caused by: javax.naming.NameAlreadyBoundException: karaf-root [Root
exception is java.rmi.AlreadyBoundException: karaf-root]
at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
at
com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
at javax.naming.InitialContext.bind(InitialContext.java:400)
at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
... 1 more
Caused by: java.rmi.AlreadyBoundException: karaf-root
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.java:790)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.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)
... 5 more
09:34:18.211 [main] DEBUG o.o.p.e.c.d.i.PaxRunnerTestContainer - Started
test bundle with ID 138
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LBikACgkQe4RGyaH3y3L8bQCgqdsinT1Jz2CR5mmNShyDQ9QM
dTUAoJPFGek7xjb793Fc/ZFMAGs31DNG
=FbNk
-----END PGP SIGNATURE-----

Andreas Pieber

unread,
Mar 24, 2011, 5:37:47 AM3/24/11
to openen...@googlegroups.com
IMHO the easiest way should be to change this port in the opencit
[service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-root]?

Kind regards,
Andreas

Reply all
Reply to author
Forward
0 new messages