严重:Servlet.service()forservletjspthrewexceptioncom.mysql.jdbc.CommunicationsException:Thedriverwasunabletocreateaconnectionduetoaninabilitytoestablishtheclientportionof...

严重: Servlet.service() for servlet jsp threw exception

com.mysql.jdbc.CommunicationsException: The driver was unable to create a connection due to an inability to establish the client portion of a socket.

This is usually caused by a limit on the number of sockets imposed by the operating system. This limit is usually configurable.

For Unix-based platforms, see the manual page for the 'ulimit' command. Kernel or system reconfiguration may also be required.

For Windows-based platforms, see Microsoft Knowledge Base Article 196271 (Q196271).

at com.mysql.jdbc.Connection.createNewIO(Connection.java:2814)

at com.mysql.jdbc.Connection.(Connection.java:1553)

at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at org.apache.jsp.vote.index_jsp._jspService(index_jsp.java:138)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

展开

更多推荐