Comments (6)
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.
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.
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.
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.
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.
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)
- Unexpected ACK received for message-id HOT 7
- multihost failover not really working HOT 1
- netio.rb:47:in `block (2 levels) in _receive': Connected, header read is nil, is this really a Stomp Server? (Stomp::Error::StompServerError) HOT 4
- Nasty-looking exception under jRuby HOT 3
- OpenSSL Deprecations HOT 2
- New Release request HOT 3
- Code for ENV keys not in release HOT 3
- Support Stomp+SSL Url Strings in non-failover case. HOT 4
- Header decode shortcoming HOT 1
- stdout polluted with stack trace HOT 1
- Amazon ActiveMQ drops connection for long running listeners HOT 3
- rspec3 - doubles or partial doubles from rspec-mocks outside .... HOT 6
- Warning: constant ::Fixnum is deprecated HOT 1
- Provide tagged 1.4.9 release HOT 1
- Is there any method to check if subscription is present? HOT 1
- Subscribers are not receiving all messages that we are publishing HOT 9
- Man pages Debian.
- URL options not supported when passing URL to client
- What range of ruby versions are supported?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stomp.