Re: Artemis client can't connect to Artemis server

2023-06-29 Thread David Hoffer
I have more info...it seems the bug is in artemis-commons.jar (I'm using v2.22.0). In the ByteUtil.uncheckedZeros(final ByteBuffer buffer, int offset, int bytes) method it is using the else condition (slow path comment). for (int i = 0; i < bytes; i++) { buffer.put(i + offset, zero); // buffe

Re: Artemis client can't connect to Artemis server

2023-06-29 Thread David Hoffer
I have more information on this issue. It turns out that we also added this dependency to our Quarkus build. io.quarkus quarkus-infinispan-client We have proven that this breaks the Embedded Artemis in the Quarkus app. We don't know why but with quarkus-infinispan-client included in th

Re: Artemis client can't connect to Artemis server

2023-06-29 Thread Clebert Suconic
Btw It is probably related to dynamic class loading added in 2.28 (broker connections) On Thu, Jun 29, 2023 at 3:52 PM Clebert Suconic wrote: > I know tests are done with the clients thought. > > On Thu, Jun 29, 2023 at 3:51 PM Clebert Suconic > wrote: > >> We don’t have any tests of artemis em

Re: Artemis client can't connect to Artemis server

2023-06-29 Thread Clebert Suconic
I know tests are done with the clients thought. On Thu, Jun 29, 2023 at 3:51 PM Clebert Suconic wrote: > We don’t have any tests of artemis embedded as a server in quarkus. I > didn’t even know it worked. > > It would be required to have some tests. > > As none of the devs tried it. We would ne

Re: Artemis client can't connect to Artemis server

2023-06-29 Thread Clebert Suconic
We don’t have any tests of artemis embedded as a server in quarkus. I didn’t even know it worked. It would be required to have some tests. As none of the devs tried it. We would need to add tests in order to say it works. On Thu, Jun 29, 2023 at 2:08 PM David Hoffer wrote: > Hi, > > We have a

Artemis client can't connect to Artemis server

2023-06-29 Thread David Hoffer
Hi, We have a Quarkus app where we embed an Artemis server, we were using 2.27.1. We were connecting to it via quarkus-artemis-jms 1.0.3 which I see now is very old. This stopped working and strangely it stopped working when it tried to create the activemq working directories. I have tried upgr