Never mind.




On Mar 30, 2009, at 3:06 PM, David Leangen wrote:


Ok, some more bleeding...

Even using this, I can't get my provisioned bundle:


mavenBundle
().groupId( groupId ).artifactId( artifactId ).version( version )



I don't see any doc that tells me what port(s) I need to open up for
this. Looks like when using the maven resolver, it uses RMI that tries
to connect to localhost, but the connection is refused. Probably a port
that is not opened, I suspect.


helloFromEquinox [equinox](net.leangen.expedition.openjpa.it.Test1)
Time elapsed: 10.955 sec  <<< ERROR!
org.ops4j.pax.exam.spi.container.TestContainerException: Cannot get the
remote bundle context
       at
org .ops4j .pax .exam .rbc .client .RemoteBundleContextClient .getRemoteBundleContext(RemoteBundleContextClient.java
:256)
       at
org .ops4j .pax .exam .rbc .client .RemoteBundleContextClient.stop(RemoteBundleContextClient.java:201)
       at
org .ops4j .pax .exam .container .def .internal.PaxRunnerTestContainer.stop(PaxRunnerTestContainer.java:158)
       at
org .ops4j .pax .exam.junit.internal.JUnit4TestMethod.invoke(JUnit4TestMethod.java: 120)
       at
org .junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java: 98)

...

Caused by: java.rmi.ConnectException: Connection refused to host:
127.0.0.1; nested exception is:
       java.net.ConnectException: Connection refused
       at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
       at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
       at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
       at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)




_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to