activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil Singh (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (AMQ-3617) Unable to start broker after KahaDB crash
Date Sat, 03 Dec 2011 01:25:40 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161991#comment-13161991
] 

Sunil Singh edited comment on AMQ-3617 at 12/3/11 1:25 AM:
-----------------------------------------------------------

Will deleting the db.data file help?
                
      was (Author: ksunilsingh):
    Will deleting the .data file help?
                  
> Unable to start broker after KahaDB crash
> -----------------------------------------
>
>                 Key: AMQ-3617
>                 URL: https://issues.apache.org/jira/browse/AMQ-3617
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: Linux/Tomcat6/JDK 1.6/Spring 3
>            Reporter: Sunil Singh
>
> Disk space was 100% full. We stopped Tomcat, freed space on the disk, and tried to start
tomcat after that. We have activemq broker configuration in a spring beans configuration file.
The broker service should be able to start when spring configuration file is loaded but it
giving the following error:
> Failed to start ActiveMQ JMS Message Broker. Reason: org.apache.activemq.protobuf.InvalidProtocolBufferException:
Protocol message contained an invalid tag (zero).
> org.apache.activemq.protobuf.InvalidProtocolBufferException: Protocol message contained
an invalid tag (zero).
>         at org.apache.activemq.protobuf.InvalidProtocolBufferException.invalidTag(InvalidProtocolBufferException.java:48)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.protobuf.CodedInputStream.readTag(CodedInputStream.java:75)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.data.KahaAddMessageCommand.mergeUnframed(KahaAddMessageCommand.java:110)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.data.KahaAddMessageCommand.mergeUnframed(KahaAddMessageCommand.java:7)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.protobuf.BaseMessage.mergeUnframed(BaseMessage.java:184)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.protobuf.BaseMessage.mergeUnframed(BaseMessage.java:213)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.protobuf.BaseMessage.mergeFramed(BaseMessage.java:237)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:825)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:464)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:327)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:374)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:223)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:180)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53) ~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:186)
~[activemq-core-5.5.0.jar:5.5.0]
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:493) ~[activemq-core-5.5.0.jar:5.5.0]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
~[na:1.6.0_24]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_24]
>         at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_24]
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1529)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1468)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
[spring-beans-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
[spring-context-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
[spring-context-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
[spring-web-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
[spring-web-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
[spring-web-3.0.0.RELEASE.jar:3.0.0.RELEASE]
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
[catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina-6.0.26.jar:6.0.26]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
~[na:1.6.0_24]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_24]
>         at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_24]
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap-6.0.26.jar:6.0.26]
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap-6.0.26.jar:6.0.26]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message