You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2008/05/10 22:17:55 UTC

[jira] Created: (SYNAPSE-302) Reduce dependence on System properties

Reduce dependence on System properties
--------------------------------------

                 Key: SYNAPSE-302
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-302
             Project: Synapse
          Issue Type: Improvement
          Components: Core
    Affects Versions: NIGHTLY
            Reporter: Asankha C. Perera
            Assignee: Asankha C. Perera
            Priority: Minor
             Fix For: 1.2


As per http://marc.info/?l=synapse-dev&m=121030348512674&w=2

Synapse has heavily used System properties within many places of the code.. and to make Synapse more embeddable and behave better within an application server (WAR container), its better to avoid depending on system properties.

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-302) Reduce dependence on System properties

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-302.
---------------------------------------

    Resolution: Fixed

The ServerManager now requires the 
- axis2 repository
- axis2.xml path
- synapse home
- synapse.xml path
- resolve root
as parameters to start Synapse. 

All unwanted uses of system properties have been removed from the core module

TODO: Need to test on Windows (including running samples)


> Reduce dependence on System properties
> --------------------------------------
>
>                 Key: SYNAPSE-302
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-302
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Asankha C. Perera
>            Assignee: Asankha C. Perera
>            Priority: Minor
>             Fix For: 1.2
>
>
> As per http://marc.info/?l=synapse-dev&m=121030348512674&w=2
> Synapse has heavily used System properties within many places of the code.. and to make Synapse more embeddable and behave better within an application server (WAR container), its better to avoid depending on system properties.

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-302) Reduce dependence on System properties

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-302.
---------------------------------------

    Resolution: Fixed

Made the 5th argument (Resolve root) optional, and made it to default to the SYNAPSE_HOME + Fil.separator + "repository" - since with a default Synapse installation, we typically keep resources under repository/conf/sample/resources etc..

I think we can close this now?

> Reduce dependence on System properties
> --------------------------------------
>
>                 Key: SYNAPSE-302
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-302
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Asankha C. Perera
>            Assignee: Asankha C. Perera
>            Priority: Minor
>             Fix For: 1.2
>
>
> As per http://marc.info/?l=synapse-dev&m=121030348512674&w=2
> Synapse has heavily used System properties within many places of the code.. and to make Synapse more embeddable and behave better within an application server (WAR container), its better to avoid depending on system properties.

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Reopened: (SYNAPSE-302) Reduce dependence on System properties

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

Andreas Veithen reopened SYNAPSE-302:
-------------------------------------


I modified SynapseServer so that the old way of starting it (one argument + system properties) is still supported. Indeed, if the first thing users have to do after upgrading to Synapse 1.2 is to change all their custom scripts, Eclipse launch configurations, etc., they will not be very happy. SynapseServer now issues a warning message when used in this "compatibility mode". We should support this at least for release 1.2 and remove it in 1.3.

Also, I don't like the resolve root as mandatory fifth argument. Indeed this setting is only used by WSDLEndpointFactory and even there it is not considered as mandatory. I commented the check in ServerManager#validate so that when starting SynapseServer the old way it doesn't complain. I think we should find a better way to provide this setting to WSDLEndpointFactory, maybe by allowing the user to specify it synapse.xml or by making it an optional argument to SynapseServer.

> Reduce dependence on System properties
> --------------------------------------
>
>                 Key: SYNAPSE-302
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-302
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Asankha C. Perera
>            Assignee: Asankha C. Perera
>            Priority: Minor
>             Fix For: 1.2
>
>
> As per http://marc.info/?l=synapse-dev&m=121030348512674&w=2
> Synapse has heavily used System properties within many places of the code.. and to make Synapse more embeddable and behave better within an application server (WAR container), its better to avoid depending on system properties.

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org