java.net.SocketException:Unrecognized Windows Sockets Error:0:jvm_bin ...

Source: Internet
Author: User
java.net.SocketException:Unrecognized Windows Sockets error:0: Jvm_bind
At Java.net.PlainSocketImpl.socketBind (Native method)
At Java.net.PlainSocketImpl.bind (plainsocketimpl.java:359)
At Java.net.ServerSocket.bind (serversocket.java:319)
At Java.net.serversocket.<init> (serversocket.java:185)
At Java.net.serversocket.<init> (serversocket.java:141)
At Org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket (defaultserversocketfactory.java:50)
At Org.apache.tomcat.util.net.JIoEndpoint.init (jioendpoint.java:496)
At Org.apache.coyote.http11.Http11Protocol.init (http11protocol.java:176)
At Org.apache.catalina.connector.Connector.initialize (connector.java:1058)
At Org.apache.catalina.core.StandardService.initialize (standardservice.java:677)
At Org.apache.catalina.core.StandardServer.initialize (standardserver.java:795)

At Org.apache.catalina.startup.Catalina.load (catalina.java:530)

In fact, this is the problem that the port number is occupied. Only in the conf\resin.conf the <server-default> node under the

After a careful look at the resin configuration file, it is found that the project test only needs to export the project's war file to the WebApps directory. No manual decompression is required. Note that you have to modify the resin.conf file at this time

<web-app id= "/" root-directory= "Webapps/root"/> The startup directory changes to the name of the war when you pack it. Of course, if you do not modify the configuration file, you can manually extract the war package to the Webapps/root. Effect is the same
Alternatively, you can open the Task Manager and turn off the server that is using the port.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.