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

Bhanu updated AMQ-4603:
-----------------------

    Description: 
Hi,

I am time and again running into this error which says that Failed to create 
directory 'activemq-data/amqProdBroker/tmp_storage'.
Even though the reported error says cannot create 
activemq-data/amqProdBroker/tmp_storage' directory but actually the Directory 
that its not able to create is activemq-data/delayedDB. Now I have no clue 
about this delayedDB directory.

Attaching detailed error log in a moment.

Thanks,
Bhanu

  was:
Hi,

I am time and again running into this error which says that Failed to create 
directory 'activemq-data/amqProdBroker/tmp_storage'.
I went into the code and it seems like a bug to me. In IOHelper.mkdirs, broker 
simply throws an exception based on the return value of Java.io.File.mkdirs 
function. The java mkdirs returns false if the directory is already present. In 
my case activemq-data/<broker-name>/tmp_storage is already present. So I run 
into this exception. Can this be handled more gracefully please.

Attaching detailed error log in a moment.

Thanks,
Bhanu

    
> Errors while creating directory tmp_storage
> -------------------------------------------
>
>                 Key: AMQ-4603
>                 URL: https://issues.apache.org/jira/browse/AMQ-4603
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.8.0
>         Environment: Linux
>            Reporter: Bhanu
>
> Hi,
> I am time and again running into this error which says that Failed to create 
> directory 'activemq-data/amqProdBroker/tmp_storage'.
> Even though the reported error says cannot create 
> activemq-data/amqProdBroker/tmp_storage' directory but actually the Directory 
> that its not able to create is activemq-data/delayedDB. Now I have no clue 
> about this delayedDB directory.
> Attaching detailed error log in a moment.
> Thanks,
> Bhanu

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

Reply via email to