You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Vesa Varimo (JIRA)" <ji...@apache.org> on 2008/01/09 08:20:36 UTC

[jira] Reopened: (SYNAPSE-220) Synapse doesn't support virtual hosting

     [ https://issues.apache.org/jira/browse/SYNAPSE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vesa Varimo reopened SYNAPSE-220:
---------------------------------


The fix that you made on main branch of Synapse fixed the problem correctly in binding to virtual interfaces.

I found another problem with using same port numbers on multiple virtual interfaces, for example 10.0.0.1:9080 and 10.0.0.2:9080.
Synapse checks on startup if port 9080 is used, without using bind-address as an argument, this will result choosing of port 9081 for the second instance.

The problem is in class org.apache.synapse.ServerManager on method private static void selectPort(ConfigurationContext configCtx);. This method doesn't use bind-address as an argument when it resolves port numbers used.

BR,

Vesa

> Synapse doesn't support virtual hosting
> ---------------------------------------
>
>                 Key: SYNAPSE-220
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-220
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1
>            Reporter: Vesa Varimo
>            Assignee: Asankha C. Perera
>             Fix For: 1.1.1-QA-B2
>
>
> I have environment which has multiple virtual network interfaces. 
> I'm unable to specify the ip address that I'm willing to use for Synapse.
> It would be great to have this feature implemented.

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