sarxos / chaber

Chaber (pron. ˈxabɛr) is a biolerplate code composed of JAX-RS (Jersey and Jackson stack) integrated on top of JSR 317 (Java Persistence 2.0), Hibernate and JSR 303 (Bean Validation) aiming to allow developers create new REST webservices easily. All working in embeddable Jetty container.
0 stars 0 forks source link

java.net.BindException: Address already in use #1

Open sarxos opened 9 years ago

sarxos commented 9 years ago
java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_65]
    at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_65]
    at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_65]
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~[na:1.7.0_65]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.7.0_65]
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) ~[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) ~[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.2.5.v20141112.jar:9.2.5.v20141112]
    at org.eclipse.jetty.server.Server.doStart(Server.java:366) ~[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.2.5.v20141112.jar:9.2.5.v20141112]
    at com.github.sarxos.hbrs.rs.AbstractServer.run(AbstractServer.java:393) [chaber-1.5.8.jar:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
sarxos commented 9 years ago

We need to have some more descriptive message here (what port, bind address, etc)