You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/04/15 20:54:15 UTC

[jira] [Closed] (AMQ-4381) Broker throwing exception "Failed to create directory 'activemq-data/amqProdBroker/tmp_storage'"

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

Timothy Bish closed AMQ-4381.
-----------------------------

    Resolution: Cannot Reproduce

Appears to be a network share issue. 
                
> 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