Hi,

I have installed "apache-wave-bin-0.4-incubating" in amazon EC2.

Then I generated the configuration with this setting:

$ ant -f server-config.xml -Dwave_server_domain=myec2domain.com
-Dhttp_frontend_public_address=54.172.45.42:9898

The 54.172.45.42 is the public ip address of the EC2 instance. Note: for
privacy, the above setting value are not real.

Then I run the server and I got this error:

WARN:oejuc.AbstractLifeCycle:FAILED SelectChannelConnector@54.172.45.42:9898:
> java.net.BindException: Cannot assign requested
> addressjava.net.BindException: Cannot assign requested address
>         at sun.nio.ch.Net.bind0(Native Method)
>         at sun.nio.ch.Net.bind(Net.java:444)
>         at sun.nio.ch.Net.bind(Net.java:436)
>         at
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
>         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>         at
> org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
>         at
> org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
>         at
> org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:274)



But if I use this configuration:

$ ant -f server-config.xml -Dwave_server_domain=myec2domain.com
-Dhttp_frontend_public_address=myec2domain.com:9898

It is running well, but it listens to EC2 instance's private ip address so
I can't access the webclient externally from browser.

Anyone know the solution?


Regards,
WM

Reply via email to