[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to