Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-10-01 Thread Tim Bain
Great, thank you! On Oct 1, 2015 11:01 AM, "gijsbert802" wrote: > Thanks Tim. > > I created an issue: https://issues.apache.org/jira/browse/AMQ-5995 > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-exits-on-startup-with-UTFDataFormatException-bad-strin

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-10-01 Thread gijsbert802
Thanks Tim. I created an issue: https://issues.apache.org/jira/browse/AMQ-5995 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-exits-on-startup-with-UTFDataFormatException-bad-string-tp4701955p4702535.html Sent from the ActiveMQ - User mailing list archive at N

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-23 Thread Tim Bain
I was hoping that one of the devs (Gary, Tim, Art, etc.) would jump into this discussion, but since they didn't, please submit a JIRA bug to bring this issue to their attention. If the problem is that the OpenWire versions aren't backwards-compatible, that's either a bug (I was under the impressio

RE: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-13 Thread gijsbert802
I did some more debugging and compared 5.11.1 to 5.12.0. What I noticed is that 5.11.1 uses v6.MessageIdMarshaller, while 5.12.0 uses v11. Is 5.11.1 supposed to use the v6 version? v6 doesn't have the line where the error occurs (info.setTextView(looseUnmarshalString(dataIn));). Let me know if yo

RE: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-12 Thread gijsbert802
I don't think there's a corrupt message, if I revert back to 5.11.1 then ActiveMQ starts normally. I ran ActiveMQ with a debugger and was able to reproduce the error. The byte array that is loaded by getAdapter().doGetMessageById(c, seq); is not empty, I dumped the complete content to a file and u

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-12 Thread gijsbert802
The error occurs on startup, so I don't get a chance to connect an external client. I tried replacing the client jar in activemq/lib (replaced activemq-client-5.12.0.jar with activemq-client-5.11.1.jar), but that logs another error. 2015-09-12 17:03:24,431 ERROR o.a.activemq.broker.BrokerService

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-12 Thread Christopher Shannon
OpenWire v11 was introduced in 5.12.0. Can you try using a 5.11.1 client with a 5.12.0 broker? I'm curious to see if the error still exists if the OpenWire version falls back to v10. On Sat, Sep 12, 2015 at 11:14 AM, Tim Bain wrote: > The interesting line in the stack trace is > > org.apache.a

RE: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-12 Thread Tim Bain
The interesting line in the stack trace is org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.getLastMessageBrokerSequenceId(). (The 5.11.1 version of that code is at http://grepcode.com/file/repo1.maven.org/maven2/org.apache.activemq/activemq-jdbc-store/5.11.1/org/apache/activemq/store/jdbc/JDB

RE: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-12 Thread Weatherby,Gerard
Total guess; I'd look at the encoding of your xml configuration files. What's the operating system? > -Original Message- > From: gijsbert802 [mailto:vandenbr...@zorgdomein.nl] > Sent: Saturday, September 12, 2015 8:07 AM > To: users@activemq.apache.org > Subject: ActiveMQ exits on startup