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-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

ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-12 Thread gijsbert802
Hi all, I'm trying to upgrade ActiveMQ from 5.11.1 to 5.12, but I'm getting an error when ActiveMQ is starting. It seems to come from the JDBCPersistenceAdapter. We're using an Oracle database as persistent storage. Other than the ActiveMQ version, nothing changed. Here's the relevant logging:

Re: "ERROR: Compilation error" in web-console with Java 1.8

2015-08-10 Thread gijsbert802
Ah thanks. I searched Jira, but not good enough apparently.. I'll await the new release. -- View this message in context: http://activemq.2283324.n4.nabble.com/ERROR-Compilation-error-in-web-console-with-Java-1-8-tp4700651p4700712.html Sent from the ActiveMQ - User mailing list archive at Nabbl

"ERROR: Compilation error" in web-console with Java 1.8

2015-08-10 Thread gijsbert802
I'm trying to run ActiveMQ with java 1.8 (1.8.0_45 to be precise), but I get errors in the web console when trying to view a message (url /admin/message.jsp?id=ID...) The error: ERROR: Compilation error org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException at org.eclipse.jdt.in

Re: Brokerservice stops on DB failure

2015-04-26 Thread gijsbert802
Replying to my own post. I found that 5.11 has a LeaseLockerIOExceptionHandler that seems to be designed to fix this problem. The use of lease-database-locker on the persistance adapter and the LeaseLockerIOExceptionHandler on the brokerService fixed the problem. -- View this message in context

Brokerservice stops on DB failure

2015-04-19 Thread gijsbert802
Hi, We're currently runnning an ActiveMQ instance with a jdbcPersistenceAdapter backed by an Oracle database. Now when Oracle becomes unavailable, ActiveMQ shuts down. I've added an IoExceptionHandler to prevent this, with ignoreSQLExceptions set to false and stopStartConnectors set to true. I c

Re: Message is moved to DLQ without clear cause

2015-01-16 Thread gijsbert802
Thanks for the tip. Though I'm not sure if I can reproduce this in my development environment. I'll let you know if I find anything. -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-is-moved-to-DLQ-without-clear-cause-tp4689889p4690053.html Sent from the ActiveMQ -

Re: Message is moved to DLQ without clear cause

2015-01-16 Thread gijsbert802
I added logging error handlers to my routes and also enabled debug logging. When I search the logs for messages that have been moved to ActiveMQ.DLQ (by grepping on the messageId or breadcrumbId) there are no errors or warnings. I do see these two debug messages, but they also show up for message

Re: Message is moved to DLQ without clear cause

2015-01-14 Thread gijsbert802
I tried that, but I only see that a message is being sent to my "incoming" queue and then some time later it is sent to the DLQ. There are no other references to that message-id in the logs. Something like this: 2015-01-14 14:18:39,473 DEBUG o.a.activemq.broker.region.Queue - localhost Message ID

Message is moved to DLQ without clear cause

2015-01-14 Thread gijsbert802
I'm using camel to consume messages from an ActiveMQ queue. We don't want automatic redeliveries, so I've set MaximumRedeliveries on the activemq connection to 0 (by setting a RedeliveryPolicy on ActiveMQConnectionFactory). This works except that occasionally a message is now moved to the DLQ with