You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Robert Schweikert (JIRA)" <ji...@apache.org> on 2010/12/17 16:35:02 UTC

[jira] Created: (AXIS2C-1512) Servers should respect ENV setting when looking for config file

Servers should respect ENV setting when looking for config file
---------------------------------------------------------------

                 Key: AXIS2C-1512
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1512
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http, transport/tcp
    Affects Versions: 1.6.0
         Environment: built on openSUSE 11.3
            Reporter: Robert Schweikert
            Priority: Minor


The simple server implementation provided with axis2c (http and tcp) assume that the axis2.xml configuration file is located on directory level up from the server binary. This is not correct if the server binaries are located on the system in a FHS compliant fashion.

The implementation should respect the AXIS2C_HOME setting as it is used for dynamically loading libraries it is better to assume that the configuration file will also be found in this location.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[jira] Resolved: (AXIS2C-1512) Servers should respect ENV setting when looking for config file

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

Nandika Jayawardana resolved AXIS2C-1512.
-----------------------------------------

    Resolution: Fixed

Fixed on the trunk.

> Servers should respect ENV setting when looking for config file
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1512
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1512
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http, transport/tcp
>    Affects Versions: 1.6.0
>         Environment: built on openSUSE 11.3
>            Reporter: Robert Schweikert
>            Assignee: Nandika Jayawardana
>            Priority: Minor
>         Attachments: axis2c_useENV_as_repopath.patch
>
>
> The simple server implementation provided with axis2c (http and tcp) assume that the axis2.xml configuration file is located on directory level up from the server binary. This is not correct if the server binaries are located on the system in a FHS compliant fashion.
> The implementation should respect the AXIS2C_HOME setting as it is used for dynamically loading libraries it is better to assume that the configuration file will also be found in this location.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[jira] Assigned: (AXIS2C-1512) Servers should respect ENV setting when looking for config file

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

Nandika Jayawardana reassigned AXIS2C-1512:
-------------------------------------------

    Assignee: Nandika Jayawardana

> Servers should respect ENV setting when looking for config file
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1512
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1512
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http, transport/tcp
>    Affects Versions: 1.6.0
>         Environment: built on openSUSE 11.3
>            Reporter: Robert Schweikert
>            Assignee: Nandika Jayawardana
>            Priority: Minor
>         Attachments: axis2c_useENV_as_repopath.patch
>
>
> The simple server implementation provided with axis2c (http and tcp) assume that the axis2.xml configuration file is located on directory level up from the server binary. This is not correct if the server binaries are located on the system in a FHS compliant fashion.
> The implementation should respect the AXIS2C_HOME setting as it is used for dynamically loading libraries it is better to assume that the configuration file will also be found in this location.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[jira] Updated: (AXIS2C-1512) Servers should respect ENV setting when looking for config file

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

Robert Schweikert updated AXIS2C-1512:
--------------------------------------

    Attachment: axis2c_useENV_as_repopath.patch

The attached patch addresses the problem.

First see if AXIS2C_HOME is set, if yes use it as repo_path, else fall back to the default path (../)

> Servers should respect ENV setting when looking for config file
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1512
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1512
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http, transport/tcp
>    Affects Versions: 1.6.0
>         Environment: built on openSUSE 11.3
>            Reporter: Robert Schweikert
>            Priority: Minor
>         Attachments: axis2c_useENV_as_repopath.patch
>
>
> The simple server implementation provided with axis2c (http and tcp) assume that the axis2.xml configuration file is located on directory level up from the server binary. This is not correct if the server binaries are located on the system in a FHS compliant fashion.
> The implementation should respect the AXIS2C_HOME setting as it is used for dynamically loading libraries it is better to assume that the configuration file will also be found in this location.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org