[ 
https://issues.apache.org/activemq/browse/AMQ-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Davies resolved AMQ-1357.
-----------------------------

    Fix Version/s: 5.1.0
                       (was: 5.2.0)
       Resolution: Fixed

This and similar issues were caused by non synchronized to 
InactivityMonitor.oneWay()

> fails to unmarshal openwire messages
> ------------------------------------
>
>                 Key: AMQ-1357
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1357
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.2.0
>         Environment: activemq_5.0-20070805-44
> Debian Linux
>            Reporter: Adrian Bridgett
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> We are running AMQ 4.1.1 and are being bitten by AMQ-1067.  To see if this 
> release might fix it, we tried the nightly snapshot.
> However this fails to start as it cannot unmarshal old messages from the 
> journal.  This seems to be as a result of SVN revision 546196.  (Left 
> priority as major since this will break upgrades AFAICT)
> INFO   | jvm 1    | 2007/08/07 15:19:38 | ERROR: java.lang.RuntimeException: 
> Failed to execute start task. Reason: 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in file 
> [/usr/share/activemq/activemq.xml]: Invocation of init method failed; nested 
> exception is java.lang.NegativeArraySizeException
> INFO   | jvm 1    | 2007/08/07 15:19:38 | java.lang.RuntimeException: Failed 
> to execute start task. Reason: 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in file 
> [/usr/share/activemq/activemq.xml]: Invocation of init method failed; nested 
> exception is java.lang.NegativeArraySizeException
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:70)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:105)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:77)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> java.lang.reflect.Method.invoke(Method.java:585)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.Main.runTaskClass(Main.java:213)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.Main.main(Main.java:102)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> java.lang.reflect.Method.invoke(Method.java:585)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:197)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> java.lang.Thread.run(Thread.java:595)
> INFO   | jvm 1    | 2007/08/07 15:19:38 | Caused by: 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in file 
> [/usr/share/activemq/activemq.xml]: Invocation of init method failed; nested 
> exception is java.lang.NegativeArraySizeException
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1174)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:95)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:65)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:51)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:82)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:47)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       ... 16 more
> INFO   | jvm 1    | 2007/08/07 15:19:38 | Caused by: 
> java.lang.NegativeArraySizeException
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.openwire.v3.MessageMarshaller.looseUnmarshal(MessageMarshaller.java:253)
> INFO   | jvm 1    | 2007/08/07 15:19:38 | 
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.openwire.v3.ActiveMQMessageMarshaller.looseUnmarshal(ActiveMQMessageMarshaller.java:101)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.openwire.v3.ActiveMQTextMessageMarshaller.looseUnmarshal(ActiveMQTextMessageMarshaller.java:101)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:351)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:206)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.store.journal.JournalPersistenceAdapter.recover(JournalPersistenceAdapter.java:476)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.store.journal.JournalPersistenceAdapter.start(JournalPersistenceAdapter.java:227)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:1415)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:1364)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:523)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.broker.BrokerService.start(BrokerService.java:425)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:47)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
> INFO   | jvm 1    | 2007/08/07 15:19:38 |       ... 31 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to