OpenJPA with MySQL server

Performance Result Summary

The final position of OpenJPA with MySQL server in the speed performance tests is 16 out of 32,

The following charts show OpenJPA with MySQL server relatively to other tested JPA/DBMS combinations.

Position #1 on the X-Axis (the fastest) is about 100 times faster than position #32 (the slowest).
In the chart below the Y-Axis represents result score (maximum 100) in logarithmic scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB
In the chart below the Y-Axis represents result score (maximum 100) in linear scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB

OpenJPA with MySQL server Problems (Exceptions)

OpenJPA with MySQL server has failed in the following tests (throwing the following stack traces):

  • Basic Person Test - Retrieval Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    FailedObject: SELECT o FROM Person o WHERE o.id >= :firstId [java.lang.String]
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:385)
    	at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:354)
    	at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:94)
    	at org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java:34)
    	at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1246)
    	at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:1005)
    	at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:861)
    	at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:792)
    	at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:542)
    	at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:288)
    	at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:302)
    	at org.jpab.Test.retireveEntities(Test.java:383)
    	at org.jpab.Test.doAction(Test.java:250)
    	at org.jpab.Runner$RetrieveAction.run0(Runner.java:540)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 17 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 33 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 34 more
    
  • Basic Person Test - Query Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:262)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 29 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 30 more
    
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:208)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:262)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: java.lang.RuntimeException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:262)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 29 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 30 more
    
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:308)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	... 7 more
    
  • Element Collection Test - Persistence Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:208)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: java.lang.RuntimeException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:308)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	... 7 more
    
  • Element Collection Test - Retrieval Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:208)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: java.lang.RuntimeException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:308)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	... 7 more
    
  • Element Collection Test - Query Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:208)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: java.lang.RuntimeException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:308)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	... 7 more
    
  • Element Collection Test - Update Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:208)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: java.lang.RuntimeException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:308)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	... 7 more
    
  • Element Collection Test - Removal Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:208)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: java.lang.RuntimeException: There were errors initializing your configuration:  org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "com.mysql.jdbc.Driver" and URL "jdbc:mysql://localhost:3306/jpab1169457926".  You may have specified an invalid URL.
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:261)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:247)
    	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:725)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:294)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
    	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:57)
    	at org.jpab.Runner.handleAction(Runner.java:292)
    	at org.jpab.Runner.run(Runner.java:249)
    	at org.jpab.Runner.main(Runner.java:78)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 30 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 31 more
    
    	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:308)
    	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1602)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:634)
    	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:193)
    	... 7 more
    
  • Inheritance Test - Retrieval Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 33 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 34 more
    
  • Inheritance Test - Query Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 33 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 34 more
    
  • Inheritance Test - Update Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 33 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 34 more
    
  • Inheritance Test - Removal Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 33 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 34 more
    
  • Indexing Test - Retrieval Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Indexing Test - Query Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Indexing Test - Update Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Indexing Test - Removal Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Graph (Binary Tree) Test - Persistence Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Persistence Operations - Many Entities (5000)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Retrieval Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Retrieval Operations - Many Entities (5000)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Update Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Update Operations - Many Entities (5000)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Removal Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Graph (Binary Tree) Test - Removal Operations - Many Entities (5000)
     org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:286)
    	at org.apache.openjpa.jdbc.kernel.FinderQueryImpl.execute(FinderQueryImpl.java:139)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateResult(JDBCStoreManager.java:575)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:387)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:342)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
    	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
    	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)
    	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:885)
    	at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4491)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2504)
    	at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:261)
    	at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:3020)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2600)
    	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2423)
    	at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1069)
    	at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:705)
    	at org.jpab.Test.persist(Test.java:213)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 38 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 54 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 55 more
    
  • Multithreading Test - Persistence Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Multithreading Test - Retrieval Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Multithreading Test - Query Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Multithreading Test - Query Operations - Many Entities (5000)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:66)
    	at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:160)
    	at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:144)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:794)
    	at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:487)
    	at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:463)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:778)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:135)
    	at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:605)
    	at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2952)
    	at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:40)
    	at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1047)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2077)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:168)
    	at org.apache.openjpa.jdbc.kernel.TableJDBCSeq$AllocateSequenceRunnable.run(TableJDBCSeq.java:891)
    	at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:454)
    	at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:305)
    	at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:60)
    	... 23 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 42 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 43 more
    
  • Multithreading Test - Update Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    
  • Multithreading Test - Removal Operations - Few Entities (5/100)
     org.apache.openjpa.persistence.RollbackException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:583)
    	at org.jpab.Test.persist(Test.java:216)
    	at org.jpab.Test.persist(Test.java:199)
    	at org.jpab.Runner$PersistAction.run0(Runner.java:528)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by:  org.apache.openjpa.persistence.PersistenceException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4827)
    	at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4787)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:987)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:272)
    	at org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:164)
    	at org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3914)
    	at org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1395)
    	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2097)
    	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2037)
    	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1955)
    	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1479)
    	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:925)
    	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:559)
    	... 5 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:96)
    	at org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:91)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
    	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:139)
    	at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:325)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:998)
    	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:983)
    	... 16 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 32 more
    Caused by: java.net.BindException: Address already in use: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at java.net.Socket.connect(Socket.java:469)
    	at java.net.Socket.(Socket.java:366)
    	at java.net.Socket.(Socket.java:209)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
    	... 33 more
    

The following runs have been stopped due to being too slow

  • Basic Person Test - Update Operations - Few Entities (5/100)
  • Basic Person Test - Removal Operations - Few Entities (5/100)

OpenJPA with MySQL server compared to the alternatives

See head to head comparisons of OpenJPA with MySQL server vs the following compatitors: