GithubHelp home page GithubHelp logo

Comments (6)

gmallard avatar gmallard commented on July 24, 2024 1

OooooooK.

If you have ever looked closely at gem code you will notice a lot of checks for '@jruby'. To adjust code to allow for all the differences between JRuby and other Ruby implementations.

The 1.4.5 gem inadvertently broke some of the JRuby specific code. Do not use this gem version with JRuby!!

I will get 1.4.6 out in the next day or two with fix(es) for this mess.

Again, my apologies.

from stomp.

gmallard avatar gmallard commented on July 24, 2024

The code is in lib/connection/netio.rb, lines 67-70. If you do not see that .... I think you are looking at the wrong code.

It means that we are trying to read a frame from the wire. But the frame name we just read is not one of: CONNECTED, MESSAGE, RECEIPT, or ERROR. Those are the only frames a broker should ever send.

Do this for further diagnosis:

Before you start a test, do:

export DRDBG=true

Then recreate the error you see, and show me additional output.

from stomp.

gmallard avatar gmallard commented on July 24, 2024

Apologies, I do not need further analysis from you.

I can recreate most of this here.

The gem at 1.4.5 is apparently broken badly with JRuby. This has nothing to do with RabbitMQ.

We will start to look at this in more detail.

Thanks for the heads up.

from stomp.

andy-twosticks avatar andy-twosticks commented on July 24, 2024

No apology necessary -- I'm aware that keeping your code working against multiple targets is difficult, and that's a really quick turnaround! Thank you!

from stomp.

gmallard avatar gmallard commented on July 24, 2024

Gem version 1.4.6 is available on Rubygems. Lets try that.

JRuby tests were run with:

  • 9.1.12.0
  • 9.1.17.0

from stomp.

gmallard avatar gmallard commented on July 24, 2024

I am going to close this as I believe that 1.4.6 fixes this issue.

If you disagree, please re-open with additional documentation.

from stomp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.