Muralidaran
Would you be able to replicate this on your side and let me know whether this 
parameter is actually used by synapse at all?
Yes, I just tried the released 1.1.1 binary zip on my local machine, and started Synapse default configuration, and I get

[EMAIL PROTECTED]:~/java/synapse-1.1.1/bin$ netstat -na | grep 8080
tcp6       0      0 :::8080                 :::*                    LISTEN

Now I edited the axis2.xml as:
<transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
       <parameter name="port">8080</parameter>
       <parameter name="non-blocking">true</parameter>
       <parameter name="bind-address">10.0.0.5</parameter>
   </transportReceiver>

Now when I restart I see:
[EMAIL PROTECTED]:~/java/synapse-1.1.1/bin$ netstat -na | grep 8080
tcp6       0      0 ::ffff:10.0.0.5:8080    :::*                    LISTEN

And when I try to telnet:
[EMAIL PROTECTED]:~/java/synapse-1.1.1/bin$ telnet localhost 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[EMAIL PROTECTED]:~/java/synapse-1.1.1/bin$ telnet 127.0.0.1 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[EMAIL PROTECTED]:~/java/synapse-1.1.1/bin$ telnet 10.0.0.5 8080
Trying 10.0.0.5...
Connected to 10.0.0.5.
Escape character is '^]'.

I am wondering if there is a problem in your environment which I believe is Solaris 2.6? Basically what we do is in HttpCoreNIOListener line 123:
ioReactor.listen(new InetSocketAddress(
                   InetAddress.getByName(bindAddress), port));
So one thing you could do is write a single line Java class to show whats returned by "new InetSocketAddress(InetAddress.getByName("192.168.0.17"), 6673)"

Your log should show an INFO level message as:
"[main] INFO HttpCoreNIOListener HTTP Listener starting on address : 10.0.0.5 port : 8080"

Do you see this message?

asankha

Reply via email to