You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Krzysztof <h4...@gmail.com> on 2020/01/04 19:28:35 UTC

Re: Running Artemis locally from intellij

Just a heads up. I've tried to run the whole thing on Linux and it seems
that everything works as it should. All the tests that are failing on
Windows because of journal errors are passing. Not sure what's causing it,
but I think it's worth mentioning it in the docs, as it may save folks some
time.

On Tue, Dec 31, 2019 at 9:23 AM Krzysztof <h4...@gmail.com> wrote:

> Video chat sounds good. Please let me know when you are be back. Happy New
> Year!
>
> Krzysztof
>
> On Tue, Dec 31, 2019 at 3:37 AM Clebert Suconic <cl...@gmail.com>
> wrote:
>
>> I would need more details on how you're doing it.
>>
>> I'm traveling around New years and I won't have a computer (I'm
>> actually using an iphone right now)
>>
>> Perhaps we could do an open video chat (google hangouts)? we did this
>> in the past.
>>
>> On Mon, Dec 30, 2019 at 2:15 PM Krzysztof <h4...@gmail.com> wrote:
>> >
>> > Hi Clebert,
>> >
>> > I've switched to OpenJDK 8, but I still have problems when I try to run
>> > AMQP tests. What puzzles me the most is that most of OpenWire tests
>> pass.
>> > :/
>> >
>> > Most of the tests are failing with this error:
>> >
>> > ActiveMQShutdownException[errorType=SHUTDOWN_ERROR message=Journal must
>> be
>> > in state=LOADED, was [STARTED]
>> >
>> >
>> > On Mon, Dec 30, 2019 at 1:41 AM Clebert Suconic <
>> clebert.suconic@gmail.com>
>> > wrote:
>> >
>> > > It does not work with JDK 13.  Use jdk 8 to build.
>> > >
>> > > We need to bump the requirement this year.
>> > >
>> > > On Sun, Dec 29, 2019 at 4:52 PM Krzysztof <h4...@gmail.com> wrote:
>> > >
>> > > > As a matter of fact I work on windows box, and I'm using OpenJDK
>> 13.0.1
>> > > >
>> > > > On Sun, Dec 29, 2019 at 10:34 PM Jiri Daněk <jd...@redhat.com>
>> wrote:
>> > > >
>> > > > > On Sun, Dec 29, 2019, 20:19 Krzysztof <h4...@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 <h4...@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 <jdanek@redhat.com
>> >
>> > > > wrote:
>> > > > > > >
>> > > > > > >> On Sun, Dec 29, 2019, 16:50 Krzysztof <h4...@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.
>> > > > >
>> > > > > >
>> > > > >
>> > > >
>> > > --
>> > > Clebert Suconic
>> > >
>>
>>
>>
>> --
>> Clebert Suconic
>>
>

Re: Running Artemis locally from intellij

Posted by Justin Bertram <jb...@apache.org>.
For what it's worth a user reported an issue with a recent snapshot running
on Windows 10 [1]. This could be the root cause of the failures.


Justin

[1]
https://issues.apache.org/jira/browse/ARTEMIS-2583?focusedCommentId=17008030&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17008030

On Mon, Jan 6, 2020 at 12:23 PM Krzysztof <h4...@gmail.com> wrote:

> You're probably right. I am using Artemis on Windows on a regular basis and
> everything works fine. It would be nice, if I could debug the tests on
> windows as well, as my Linux VM is terribly slow.
>
> On Mon, Jan 6, 2020 at 7:02 PM Clebert Suconic <cl...@gmail.com>
> wrote:
>
> > Perhaps we need to fix something on path for the tests.  Those are
> probably
> > test issues.
> >
> > On Sat, Jan 4, 2020 at 12:28 PM Krzysztof <h4...@gmail.com> wrote:
> >
> > > Just a heads up. I've tried to run the whole thing on Linux and it
> seems
> > > that everything works as it should. All the tests that are failing on
> > > Windows because of journal errors are passing. Not sure what's causing
> > it,
> > > but I think it's worth mentioning it in the docs, as it may save folks
> > some
> > > time.
> > >
> > > On Tue, Dec 31, 2019 at 9:23 AM Krzysztof <h4...@gmail.com> wrote:
> > >
> > > > Video chat sounds good. Please let me know when you are be back.
> Happy
> > > New
> > > > Year!
> > > >
> > > > Krzysztof
> > > >
> > > > On Tue, Dec 31, 2019 at 3:37 AM Clebert Suconic <
> > > clebert.suconic@gmail.com>
> > > > wrote:
> > > >
> > > >> I would need more details on how you're doing it.
> > > >>
> > > >> I'm traveling around New years and I won't have a computer (I'm
> > > >> actually using an iphone right now)
> > > >>
> > > >> Perhaps we could do an open video chat (google hangouts)? we did
> this
> > > >> in the past.
> > > >>
> > > >> On Mon, Dec 30, 2019 at 2:15 PM Krzysztof <h4...@gmail.com> wrote:
> > > >> >
> > > >> > Hi Clebert,
> > > >> >
> > > >> > I've switched to OpenJDK 8, but I still have problems when I try
> to
> > > run
> > > >> > AMQP tests. What puzzles me the most is that most of OpenWire
> tests
> > > >> pass.
> > > >> > :/
> > > >> >
> > > >> > Most of the tests are failing with this error:
> > > >> >
> > > >> > ActiveMQShutdownException[errorType=SHUTDOWN_ERROR message=Journal
> > > must
> > > >> be
> > > >> > in state=LOADED, was [STARTED]
> > > >> >
> > > >> >
> > > >> > On Mon, Dec 30, 2019 at 1:41 AM Clebert Suconic <
> > > >> clebert.suconic@gmail.com>
> > > >> > wrote:
> > > >> >
> > > >> > > It does not work with JDK 13.  Use jdk 8 to build.
> > > >> > >
> > > >> > > We need to bump the requirement this year.
> > > >> > >
> > > >> > > On Sun, Dec 29, 2019 at 4:52 PM Krzysztof <h4...@gmail.com>
> > wrote:
> > > >> > >
> > > >> > > > As a matter of fact I work on windows box, and I'm using
> OpenJDK
> > > >> 13.0.1
> > > >> > > >
> > > >> > > > On Sun, Dec 29, 2019 at 10:34 PM Jiri Daněk <
> jdanek@redhat.com>
> > > >> wrote:
> > > >> > > >
> > > >> > > > > On Sun, Dec 29, 2019, 20:19 Krzysztof <h4...@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 <h4vret@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 <
> > > jdanek@redhat.com
> > > >> >
> > > >> > > > wrote:
> > > >> > > > > > >
> > > >> > > > > > >> On Sun, Dec 29, 2019, 16:50 Krzysztof <
> h4vret@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.
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > --
> > > >> > > Clebert Suconic
> > > >> > >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Clebert Suconic
> > > >>
> > > >
> > >
> > --
> > Clebert Suconic
> >
>

Re: Running Artemis locally from intellij

Posted by Krzysztof <h4...@gmail.com>.
You're probably right. I am using Artemis on Windows on a regular basis and
everything works fine. It would be nice, if I could debug the tests on
windows as well, as my Linux VM is terribly slow.

On Mon, Jan 6, 2020 at 7:02 PM Clebert Suconic <cl...@gmail.com>
wrote:

> Perhaps we need to fix something on path for the tests.  Those are probably
> test issues.
>
> On Sat, Jan 4, 2020 at 12:28 PM Krzysztof <h4...@gmail.com> wrote:
>
> > Just a heads up. I've tried to run the whole thing on Linux and it seems
> > that everything works as it should. All the tests that are failing on
> > Windows because of journal errors are passing. Not sure what's causing
> it,
> > but I think it's worth mentioning it in the docs, as it may save folks
> some
> > time.
> >
> > On Tue, Dec 31, 2019 at 9:23 AM Krzysztof <h4...@gmail.com> wrote:
> >
> > > Video chat sounds good. Please let me know when you are be back. Happy
> > New
> > > Year!
> > >
> > > Krzysztof
> > >
> > > On Tue, Dec 31, 2019 at 3:37 AM Clebert Suconic <
> > clebert.suconic@gmail.com>
> > > wrote:
> > >
> > >> I would need more details on how you're doing it.
> > >>
> > >> I'm traveling around New years and I won't have a computer (I'm
> > >> actually using an iphone right now)
> > >>
> > >> Perhaps we could do an open video chat (google hangouts)? we did this
> > >> in the past.
> > >>
> > >> On Mon, Dec 30, 2019 at 2:15 PM Krzysztof <h4...@gmail.com> wrote:
> > >> >
> > >> > Hi Clebert,
> > >> >
> > >> > I've switched to OpenJDK 8, but I still have problems when I try to
> > run
> > >> > AMQP tests. What puzzles me the most is that most of OpenWire tests
> > >> pass.
> > >> > :/
> > >> >
> > >> > Most of the tests are failing with this error:
> > >> >
> > >> > ActiveMQShutdownException[errorType=SHUTDOWN_ERROR message=Journal
> > must
> > >> be
> > >> > in state=LOADED, was [STARTED]
> > >> >
> > >> >
> > >> > On Mon, Dec 30, 2019 at 1:41 AM Clebert Suconic <
> > >> clebert.suconic@gmail.com>
> > >> > wrote:
> > >> >
> > >> > > It does not work with JDK 13.  Use jdk 8 to build.
> > >> > >
> > >> > > We need to bump the requirement this year.
> > >> > >
> > >> > > On Sun, Dec 29, 2019 at 4:52 PM Krzysztof <h4...@gmail.com>
> wrote:
> > >> > >
> > >> > > > As a matter of fact I work on windows box, and I'm using OpenJDK
> > >> 13.0.1
> > >> > > >
> > >> > > > On Sun, Dec 29, 2019 at 10:34 PM Jiri Daněk <jd...@redhat.com>
> > >> wrote:
> > >> > > >
> > >> > > > > On Sun, Dec 29, 2019, 20:19 Krzysztof <h4...@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 <h4...@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 <
> > jdanek@redhat.com
> > >> >
> > >> > > > wrote:
> > >> > > > > > >
> > >> > > > > > >> On Sun, Dec 29, 2019, 16:50 Krzysztof <h4...@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.
> > >> > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > > --
> > >> > > Clebert Suconic
> > >> > >
> > >>
> > >>
> > >>
> > >> --
> > >> Clebert Suconic
> > >>
> > >
> >
> --
> Clebert Suconic
>

Re: Running Artemis locally from intellij

Posted by Clebert Suconic <cl...@gmail.com>.
Perhaps we need to fix something on path for the tests.  Those are probably
test issues.

On Sat, Jan 4, 2020 at 12:28 PM Krzysztof <h4...@gmail.com> wrote:

> Just a heads up. I've tried to run the whole thing on Linux and it seems
> that everything works as it should. All the tests that are failing on
> Windows because of journal errors are passing. Not sure what's causing it,
> but I think it's worth mentioning it in the docs, as it may save folks some
> time.
>
> On Tue, Dec 31, 2019 at 9:23 AM Krzysztof <h4...@gmail.com> wrote:
>
> > Video chat sounds good. Please let me know when you are be back. Happy
> New
> > Year!
> >
> > Krzysztof
> >
> > On Tue, Dec 31, 2019 at 3:37 AM Clebert Suconic <
> clebert.suconic@gmail.com>
> > wrote:
> >
> >> I would need more details on how you're doing it.
> >>
> >> I'm traveling around New years and I won't have a computer (I'm
> >> actually using an iphone right now)
> >>
> >> Perhaps we could do an open video chat (google hangouts)? we did this
> >> in the past.
> >>
> >> On Mon, Dec 30, 2019 at 2:15 PM Krzysztof <h4...@gmail.com> wrote:
> >> >
> >> > Hi Clebert,
> >> >
> >> > I've switched to OpenJDK 8, but I still have problems when I try to
> run
> >> > AMQP tests. What puzzles me the most is that most of OpenWire tests
> >> pass.
> >> > :/
> >> >
> >> > Most of the tests are failing with this error:
> >> >
> >> > ActiveMQShutdownException[errorType=SHUTDOWN_ERROR message=Journal
> must
> >> be
> >> > in state=LOADED, was [STARTED]
> >> >
> >> >
> >> > On Mon, Dec 30, 2019 at 1:41 AM Clebert Suconic <
> >> clebert.suconic@gmail.com>
> >> > wrote:
> >> >
> >> > > It does not work with JDK 13.  Use jdk 8 to build.
> >> > >
> >> > > We need to bump the requirement this year.
> >> > >
> >> > > On Sun, Dec 29, 2019 at 4:52 PM Krzysztof <h4...@gmail.com> wrote:
> >> > >
> >> > > > As a matter of fact I work on windows box, and I'm using OpenJDK
> >> 13.0.1
> >> > > >
> >> > > > On Sun, Dec 29, 2019 at 10:34 PM Jiri Daněk <jd...@redhat.com>
> >> wrote:
> >> > > >
> >> > > > > On Sun, Dec 29, 2019, 20:19 Krzysztof <h4...@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 <h4...@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 <
> jdanek@redhat.com
> >> >
> >> > > > wrote:
> >> > > > > > >
> >> > > > > > >> On Sun, Dec 29, 2019, 16:50 Krzysztof <h4...@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.
> >> > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > > --
> >> > > Clebert Suconic
> >> > >
> >>
> >>
> >>
> >> --
> >> Clebert Suconic
> >>
> >
>
-- 
Clebert Suconic