On Sun, Dec 29, 2019, 20:19 Krzysztof <h4v...@gmail.com> wrote:

> When I run tests in debug mode I got quite of errors regarding these files
> missing:
>
>
> /C:/Users/havre/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-api.jar
>
> /C:/Users/havre/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-core.jar
>

And these files are genuinely missing? I'd've hoped they get downloaded by
maven or by Intellij when you click the button to refresh the project.

On Sun, Dec 29, 2019 at 8:08 PM Krzysztof <h4v...@gmail.com> wrote:
>
> > 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.
>

That path looks interesting, /C:/Users/havre/.m2/repository
/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-core.jar. The leading slash in /C:,
what is that about? Is this under WSL (the Windows subsystem for Linux, I
mean)? You have Java 13 installed and selected as project jdk in intellij?
The adoptopenjdk jdk version, or something else?

I never tried building Artemis on Windows myself, only running it when
already built.

>

Reply via email to