You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kevan Miller (JIRA)" <ji...@apache.org> on 2011/01/14 00:18:45 UTC

[jira] Created: (GERONIMO-5753) activemq-data directory being created in bin directory

activemq-data directory being created in bin directory
------------------------------------------------------

                 Key: GERONIMO-5753
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5753
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2.1
            Reporter: Kevan Miller
             Fix For: 2.2.2




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


[jira] Commented: (GERONIMO-5753) activemq-data directory being created in bin directory

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983553#action_12983553 ] 

Kevan Miller commented on GERONIMO-5753:
----------------------------------------

Two things going on, here. 

1) AMQ 5.4.1 changed their default, so that AMQ support is started by default
2) The scheduler is using the current directory, instead of the activemq data directory.

IIUC, AMQ 5.4.2 has returned the default back to false. If you want to avoid this problem, in a 2.2.1 server, you can update var/activemq/conf/activemq.xml to turn off scheduler support. Change:

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="${activemq.brokerName}" tmpDataDirectory="${activemq.data}/tmp_storage" useShutdownHook="false" start="false">

to

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="${activemq.brokerName}" tmpDataDirectory="${activemq.data}/tmp_storage" useShutdownHook="false" start="false" schedulerSupport="false">



> activemq-data directory being created in bin directory
> ------------------------------------------------------
>
>                 Key: GERONIMO-5753
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5753
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2.1
>            Reporter: Kevan Miller
>             Fix For: 2.2.2
>
>


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


[jira] [Commented] (GERONIMO-5753) activemq-data directory being created in bin directory

Posted by "Patrick Mahoney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128063#comment-13128063 ] 

Patrick Mahoney commented on GERONIMO-5753:
-------------------------------------------

I had success modifying the <broker> line to:

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="${activemq.brokerName}" dataDirectory="${activemq.data}" tmpDataDirectory="${activemq.data}/tmp_storage" useShutdownHook="false" start="false">

The difference is the addition of dataDirectory="${activemq.data}".  This causes the persistent data for the scheduler to go into "var/activemq/data/default/DefaultActiveMQBroker/scheduler/" on my system.

I've not tested that scheduled message are working, only that Geronimo 2.2.1 starts up.
                
> activemq-data directory being created in bin directory
> ------------------------------------------------------
>
>                 Key: GERONIMO-5753
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5753
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2.1
>            Reporter: Kevan Miller
>             Fix For: 2.2.2
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-5753) activemq-data directory being created in bin directory

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981550#action_12981550 ] 

Kevan Miller commented on GERONIMO-5753:
----------------------------------------

Heh. My day for hitting enter too soon...

If you start a 2.2.1 server, an activemq-data directory being created in the bin directory, not the var/activemq directory.

> activemq-data directory being created in bin directory
> ------------------------------------------------------
>
>                 Key: GERONIMO-5753
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5753
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2.1
>            Reporter: Kevan Miller
>             Fix For: 2.2.2
>
>


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


[jira] Closed: (GERONIMO-5753) activemq-data directory being created in bin directory

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

Kevan Miller closed GERONIMO-5753.
----------------------------------

    Resolution: Fixed

> activemq-data directory being created in bin directory
> ------------------------------------------------------
>
>                 Key: GERONIMO-5753
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5753
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2.1
>            Reporter: Kevan Miller
>             Fix For: 2.2.2
>
>


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