activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4381) Broker throwing exception "Failed to create directory 'activemq-data/amqProdBroker/tmp_storage'"
Date Thu, 21 Mar 2013 09:49:15 GMT

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

Bhanu commented on AMQ-4381:
----------------------------

Yep, permissions were all fine. Yep it was on a network drive. Another interesting thing was
broker did not die after throwing this.
                
> Broker throwing exception "Failed to create directory 'activemq-data/amqProdBroker/tmp_storage'"
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4381
>                 URL: https://issues.apache.org/jira/browse/AMQ-4381
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>         Environment: Linux
>            Reporter: Bhanu
>
> We saw the below reported exception with broker today. The interesting thing was the
directory "activemq-data/amqProdBroker/tmp_storage" was already present and accessible by
broker. Can anyone shed a little light on this weird broker behavior?
> Async error occurred: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException:
Failed to create direc
> tory 'activemq-data/amqProdBroker/tmp_storage' | org.apache.activemq.broker.TransportConnection.Service
| ActiveMQ Transport: tcp:///10.77.27.214:37710
> java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Failed to
create directory 'activemq-data/amqProdBroker/tmp_storage'
>         at org.apache.activemq.broker.region.cursors.FilePendingMessageCursor.tryAddMessageLast(FilePendingMessageCursor.java:239)
>         at org.apache.activemq.broker.region.TopicSubscription.add(TopicSubscription.java:136)
>         at org.apache.activemq.broker.region.policy.SimpleDispatchPolicy.dispatch(SimpleDispatchPolicy.java:48)
>         at org.apache.activemq.broker.region.Topic.dispatch(Topic.java:669)
>         at org.apache.activemq.broker.region.Topic.doMessageSend(Topic.java:481)
>         at org.apache.activemq.broker.region.Topic.send(Topic.java:417)
>         at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:407)
>         at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:503)
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:305)
>         at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:533)
>         at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:464)
>         at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:459)
>         at org.apache.activemq.advisory.AdvisoryBroker.addDestinationInfo(AdvisoryBroker.java:182)
>         at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
>         at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
>         at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217)
>         at org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223)
>         at org.apache.activemq.broker.util.LoggingBrokerPlugin.addDestinationInfo(LoggingBrokerPlugin.java:476)
>         at org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223)
>         at org.apache.activemq.broker.TransportConnection.processAddDestination(TransportConnection.java:477)
>         at org.apache.activemq.command.DestinationInfo.visit(DestinationInfo.java:122)
>         at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
>         at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:150)
>         at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:45)
>         at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:229)
>         at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:87)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:126)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.createTempDestination(ProtocolConverter.java:742)
>         at org.apache.activemq.transport.stomp.LegacyFrameTranslator.convertDestination(LegacyFrameTranslator.java:189)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.onStompSubscribe(ProtocolConverter.java:448)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommand(ProtocolConverter.java:176)
>         at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:76)
>         at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
>         at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:222)
>         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.RuntimeException: java.io.IOException: Failed to create directory
'activemq-data/amqProdBroker/tmp_storage'
>         at org.apache.activemq.broker.region.cursors.FilePendingMessageCursor.getDiskList(FilePendingMessageCursor.java:463)
>         at org.apache.activemq.broker.region.cursors.FilePendingMessageCursor.tryAddMessageLast(FilePendingMessageCursor.java:232)
>         ... 35 more
> Caused by: java.io.IOException: Failed to create directory 'activemq-data/amqProdBroker/tmp_storage'
>         at org.apache.activemq.util.IOHelper.mkdirs(IOHelper.java:250)
>         at org.apache.activemq.store.kahadb.plist.PListStore.intialize(PListStore.java:278)
>        at org.apache.activemq.store.kahadb.plist.PListStore.getPList(PListStore.java:224)
>         at org.apache.activemq.broker.region.cursors.FilePendingMessageCursor.getDiskList(FilePendingMessageCursor.java:460)
>         ... 36 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message