Hello
I am getting below error when updating the data in mysql database. Here is the error
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:2847)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at gov.ca.arb.common.persistence.DataConnectionFactory.getConnection(DataConnectionFactory.java:115)
at gov.ca.arb.common.persistence.DataAccessObject.select(DataAccessObject.java:113)
at gov.ca.arb.common.persistence.DataAccessObject.select(DataAccessObject.java:79)
at gov.ca.arb.arber.common.equipment.tru.TruDAOImpl.selectByTruIdForStatusUpdate(TruDAOImpl.java:508)
at gov.ca.arb.arber.compliance.handler.TRUComplianceCheck.checkCompliance(TRUComplianceCheck.java:52)
at gov.ca.arb.arber.compliance.ArberComplianceValidator.execute(ArberComplianceValidator.java:55)
at gov.ca.arb.arber.compliance.ArberComplianceProcessor.main(ArberComplianceProcessor.java:18)
I am getting below error when updating the data in mysql database. Here is the error
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:2847)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at gov.ca.arb.common.persistence.DataConnectionFactory.getConnection(DataConnectionFactory.java:115)
at gov.ca.arb.common.persistence.DataAccessObject.select(DataAccessObject.java:113)
at gov.ca.arb.common.persistence.DataAccessObject.select(DataAccessObject.java:79)
at gov.ca.arb.arber.common.equipment.tru.TruDAOImpl.selectByTruIdForStatusUpdate(TruDAOImpl.java:508)
at gov.ca.arb.arber.compliance.handler.TRUComplianceCheck.checkCompliance(TRUComplianceCheck.java:52)
at gov.ca.arb.arber.compliance.ArberComplianceValidator.execute(ArberComplianceValidator.java:55)
at gov.ca.arb.arber.compliance.ArberComplianceProcessor.main(ArberComplianceProcessor.java:18)