[jira] Created: (CARGO-553) Allow users to specify runtime arguments via properties

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (CARGO-553) Allow users to specify runtime arguments via properties

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Allow users to specify runtime arguments via properties
-------------------------------------------------------

                 Key: CARGO-553
                 URL: http://jira.codehaus.org/browse/CARGO-553
             Project: Cargo
          Issue Type: New Feature
          Components: Core, Orion
    Affects Versions: 0.9
            Reporter: Andreas Knecht


It should be possible to specify command line arguments (NOT JVM args) via properties.  For example for Orion, it may be necessary to start the server with the {{-userThreads}} flag.  It's not possible to specify this flag via a JVM arg.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (CARGO-553) Allow users to specify runtime arguments via properties

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/CARGO-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Knecht updated CARGO-553:
---------------------------------

    Attachment: runtimeArgs.patch

This is a patch that allows one to specify command line args via the cargo.args property.

> Allow users to specify runtime arguments via properties
> -------------------------------------------------------
>
>                 Key: CARGO-553
>                 URL: http://jira.codehaus.org/browse/CARGO-553
>             Project: Cargo
>          Issue Type: New Feature
>          Components: Core, Orion
>    Affects Versions: 0.9
>            Reporter: Andreas Knecht
>         Attachments: runtimeArgs.patch
>
>
> It should be possible to specify command line arguments (NOT JVM args) via properties.  For example for Orion, it may be necessary to start the server with the {{-userThreads}} flag.  It's not possible to specify this flag via a JVM arg.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (CARGO-553) Allow users to specify runtime arguments via properties

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CARGO-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176634#action_176634 ]

Gary Murphy commented on CARGO-553:
-----------------------------------

I need this feature as well.  

I would be willing to write the code and submit it if there is a reasonable chance of it being accepted into the code base.  However, if I need to maintain a custom branch, I will approach the problem differently (i.e. less complete than the correct support of command line arguments, but less complex and less code for us to support).

Any thoughts?

> Allow users to specify runtime arguments via properties
> -------------------------------------------------------
>
>                 Key: CARGO-553
>                 URL: http://jira.codehaus.org/browse/CARGO-553
>             Project: Cargo
>          Issue Type: New Feature
>          Components: Core, Orion
>    Affects Versions: 0.9
>            Reporter: Andreas Knecht
>         Attachments: runtimeArgs.patch
>
>
> It should be possible to specify command line arguments (NOT JVM args) via properties.  For example for Orion, it may be necessary to start the server with the {{-userThreads}} flag.  It's not possible to specify this flag via a JVM arg.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (CARGO-553) Allow users to specify runtime arguments via properties

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CARGO-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177158#action_177158 ]

Matt Wringe commented on CARGO-553:
-----------------------------------

A patch has been applied to svn head.

Please use the cargo.runtime.args property to set the values.

It should now be available in the 1.0.1-SNAPSHOT release, and should be available in the next official release.

> Allow users to specify runtime arguments via properties
> -------------------------------------------------------
>
>                 Key: CARGO-553
>                 URL: http://jira.codehaus.org/browse/CARGO-553
>             Project: Cargo
>          Issue Type: New Feature
>          Components: Core, Orion
>    Affects Versions: 0.9
>            Reporter: Andreas Knecht
>         Attachments: runtimeArgs.patch
>
>
> It should be possible to specify command line arguments (NOT JVM args) via properties.  For example for Orion, it may be necessary to start the server with the {{-userThreads}} flag.  It's not possible to specify this flag via a JVM arg.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (CARGO-553) Allow users to specify runtime arguments via properties

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CARGO-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188832#action_188832 ]

Matt Tucker commented on CARGO-553:
-----------------------------------

I'm having a problem with this functionality. I am specifying a runtime arg that I need when starting JBoss, that works great.

However, this arg is also passed on shutdown. This particular argument is not a valid arg for the shutdown method so it is causing an error and preventing clean shutdown.

We should be able to specify startup and shutdown runtime arguments independently.

> Allow users to specify runtime arguments via properties
> -------------------------------------------------------
>
>                 Key: CARGO-553
>                 URL: http://jira.codehaus.org/browse/CARGO-553
>             Project: Cargo
>          Issue Type: New Feature
>          Components: Core, Orion
>    Affects Versions: 0.9
>            Reporter: Andreas Knecht
>         Attachments: runtimeArgs.patch
>
>
> It should be possible to specify command line arguments (NOT JVM args) via properties.  For example for Orion, it may be necessary to start the server with the {{-userThreads}} flag.  It's not possible to specify this flag via a JVM arg.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email