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/07/20 02:23:58 UTC

[jira] [Created] (GERONIMO-6086) geronimo commands to not configure the java.io.tmp directory properly

geronimo commands to not configure the java.io.tmp directory properly
---------------------------------------------------------------------

                 Key: GERONIMO-6086
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6086
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
            Reporter: Kevan Miller


The geronimo commands are currently configuring GERONIMO_TMPDIR=var/temp. Since the current directory is the bin directory, that means our temp files end up in $GERONIMO_HOME/bin/tmp -- which is certainly not where they are intended to be...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GERONIMO-6086) geronimo commands to not configure the java.io.tmp directory properly

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

Kevan Miller commented on GERONIMO-6086:
----------------------------------------

I guess that's not quite right. java.io.tmpdir is configured properly. Just that somebody (activemq, i assume) is writing into $GERONIMO_HOME/bin/tmp.

> geronimo commands to not configure the java.io.tmp directory properly
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-6086
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6086
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Kevan Miller
>
> The geronimo commands are currently configuring GERONIMO_TMPDIR=var/temp. Since the current directory is the bin directory, that means our temp files end up in $GERONIMO_HOME/bin/tmp -- which is certainly not where they are intended to be...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GERONIMO-6086) geronimo commands to not configure the java.io.tmp directory properly

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

Jarek Gawor updated GERONIMO-6086:
----------------------------------

          Component/s: startup/shutdown
    Affects Version/s: 3.0
             Assignee: Jarek Gawor

> geronimo commands to not configure the java.io.tmp directory properly
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-6086
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6086
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>            Assignee: Jarek Gawor
>
> The geronimo commands are currently configuring GERONIMO_TMPDIR=var/temp. Since the current directory is the bin directory, that means our temp files end up in $GERONIMO_HOME/bin/tmp -- which is certainly not where they are intended to be...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (GERONIMO-6086) geronimo commands to not configure the java.io.tmp directory properly

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

Jarek Gawor resolved GERONIMO-6086.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

The java.io.tmp directory is computed / set correctly in the launcher code. The launcher code also performs some validations on the temporary directory (to see if it exists, is a directory). However, it wasn't checking if the directory is readable or writable. I added that check in revision 1148620.


> geronimo commands to not configure the java.io.tmp directory properly
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-6086
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6086
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>            Assignee: Jarek Gawor
>             Fix For: 3.0
>
>
> The geronimo commands are currently configuring GERONIMO_TMPDIR=var/temp. Since the current directory is the bin directory, that means our temp files end up in $GERONIMO_HOME/bin/tmp -- which is certainly not where they are intended to be...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GERONIMO-6086) geronimo commands to not configure the java.io.tmp directory properly

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

Kevan Miller commented on GERONIMO-6086:
----------------------------------------

I was thinking that particular problem would be fixed under GERONIMO-6087, but that's fine. I'll open a new Jira for the issue I was seeing...

> geronimo commands to not configure the java.io.tmp directory properly
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-6086
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6086
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>            Assignee: Jarek Gawor
>             Fix For: 3.0
>
>
> The geronimo commands are currently configuring GERONIMO_TMPDIR=var/temp. Since the current directory is the bin directory, that means our temp files end up in $GERONIMO_HOME/bin/tmp -- which is certainly not where they are intended to be...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira