You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bhanu (JIRA)" <ji...@apache.org> on 2013/06/26 14:03:19 UTC

[jira] [Created] (AMQ-4603) Errors while creating directory tmp_storage

Bhanu created AMQ-4603:
--------------------------

             Summary: 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'.
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

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