You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dave Stanley (JIRA)" <ji...@apache.org> on 2007/09/06 18:39:22 UTC

[jira] Created: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
-----------------------------------------------------------------------------------

                 Key: AMQ-1382
                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
             Project: ActiveMQ
          Issue Type: Bug
         Environment: NA
            Reporter: Dave Stanley
             Fix For: 5.0.0


With AMQ 5.0 everytime AMQ runs the following directory structure is created:

/activemq-data/localhost/tmp_storage.

This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.

As persistent messages are not being used, AMQ should not be creating this directory. 




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Dmitry Tsigelnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43557#action_43557 ] 

Dmitry Tsigelnik commented on AMQ-1382:
---------------------------------------

the same thing 
tmp_storage creator ignores  "directory" attribute
I've just added "cd /var/lib/activemq" to my startup script

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-1382.
-----------------------------

    Resolution: Working as Designed

setting dataDirectoryFile or tmpDataDirectory  (both of which take File object) in spring xml config will allow the temp directory to be specified in 5.3.
An alternative is to specify the System Property ,
'org.apache.activemq.default.directory.prefix' which will be prefixed to the default data directory location activemq-data

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.3.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "bill graham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45788#action_45788 ] 

bill graham commented on AMQ-1382:
----------------------------------

FYI, the workaround mentioned above does not work in AMQ 5.1 or the latest activemq-core-5.3-20080911.231559-3 build. the settings for both dataDirectory and brokerName get ignored, regardless of whether I configure them on the broker or on the persistanceAdapter.

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.3.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated AMQ-1382:
-------------------------------

    Description: 
With AMQ 5.0 everytime AMQ runs the following directory structure is created:

/activemq-data/localhost/tmp_storage.

This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.

Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 




  was:
With AMQ 5.0 everytime AMQ runs the following directory structure is created:

/activemq-data/localhost/tmp_storage.

This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.

As persistent messages are not being used, AMQ should not be creating this directory. 





> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies updated AMQ-1382:
----------------------------

    Fix Version/s: 5.3.0
                       (was: 5.0.0)

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.3.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AMQ-1382 started by Hiram Chirino.

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Dave Stanley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45789#action_45789 ] 

Dave Stanley commented on AMQ-1382:
-----------------------------------

As a workaround, I think changing the tmpDataDirectory in your spring configuration should allow you to configure the location of this directory @ a friendly location. 

{code}
<broker ... tmpDataDirectory="/somplace/tmp_storage" >
  ...
</broker>
{code}



> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.3.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Yuriy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuriy reopened AMQ-1382:
------------------------


This issue is reproduced in activemq 5.1.0

The directory structure "activemq-data\localhost\tmp_storage" is created within current directory after starting of ActiveMQ.
Persistent mode is used. Location of created directories is not controlled by "directory" attribute of amqPersistenceAdapter:
directory structure is always created in current directory and "tmp_storage" folder remains empty.

XML Configuration file:
  <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" persistent="true">
  ...
    <persistenceAdapter>
        <amqPersistenceAdapter syncOnWrite="false" directory="${MYROOTl}/jmsserver/data" maxFileLength="100 mb"/>
    </persistenceAdapter>  
  ...


> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Alex Burgel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44738#action_44738 ] 

Alex Burgel commented on AMQ-1382:
----------------------------------

this still exists in 5.2-20080803.231633-64.

a work around is to specify dataDirectory in your xml config like so:

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" persistent="true" dataDirectory="/var/lib/activemq/">

the tmp directory will be created within dataDirectory.

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino reassigned AMQ-1382:
----------------------------------

    Assignee: Hiram Chirino

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "David Newcomb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52877#action_52877 ] 

David Newcomb commented on AMQ-1382:
------------------------------------

Hiram Chirino said the issue was fixed on 06/Sep/07, but the comments suggest that the issue has reoccurred. This issue is marked as "Working as Designed" but the comments seem to say you should set the tmp Directory to something nicer.
Has the original issue been fixed or not? I've got 5.2 and its still creating <somewhere>\activemq-data\localhost\tmp_storage. Has the code been fixed so that this folder is not created?

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.3.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved AMQ-1382.
--------------------------------

    Resolution: Fixed

fixed in rev 573397

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.