Márcio, Yeah I'm quite sure it has something to do with an incompatibility of some sort between ActiveMQ and OpenJDK. To answer your question, yes I have tried it with the Sun JDK on both sides and it works perfectly. It also works when the client uses the Sun JDK and the server (where ActiveMQ is running) uses OpenJDK. It only doesn't work when the client uses OpenJDK. That leads me to believe that the problem is somewhere on the sending side of things. Perhaps some of the logic inside BlobMessage's send() method is the culprit?
Thanks, Marc 2010/3/12 Márcio Geovani Jasinski <marci...@gmail.com> > Hi Marc, > > Sorry by the misunderstood. Reading once more your first message I > understood better what you mean. > > By your description, I would think that the problem resides on OpenJDK side > cause your code looks fine. > Second, the same configuration works using Hot Spot version. > > If it's possible I would give a try using Sun JDK/JRE on both sides. Is it > possible? > > -- > Márcio Geovani Jasinski > Blumenau, Santa Catarina >