I can bind to 5672 or 61616 on localhost (I can spin a simple http server on either port) but the tests are still failing. From the log it seems that some file is locked.
[main] 20:02:33,287 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.io.IOException: The process cannot access the file because another process has locked a portion of the file [main] 20:02:43,497 ERROR [org.apache.activemq.artemis.core.server] AMQ224068: Unable to stop component: org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation: java.io.IOException: The process cannot access the file because another process has locked a portion of the file On Sun, Dec 29, 2019 at 5:16 PM Jiri Daněk <jda...@redhat.com> wrote: > On Sun, Dec 29, 2019, 16:50 Krzysztof <h4v...@gmail.com> wrote: > > > Thanks Jiri, I think I'm getting onto sth. I was able to build the whole > > thing, and run the tests, but most of them are failing with this error: > > > > ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: > > Cannot connect to server(s). Tried with all available servers. > > > > I'm guessing firewall. Connect ions from localhost to localhost tcp port > 5672, 61616 and some other (depending on protocol tested) must be > permitted. > > Most JUnit tests in the project bring up the entire server then connect to > it (which is quite fast, actually.) > > There is a 'sudo ip route' command in the readme that might be necessary to > perform to run some clustering tests/examples. > > > >