Ошибка java

Rein

Просто конченный
Местный
Сообщения
159
Розыгрыши
0
Репутация
156
Реакции
148
Баллы
1 408
Хроники
  1. Chaotic Throne: High Five
Исходники
Отсутствуют
Сборка
l2j-dev
Всем привет, мучаюсь с сборкой уже несколько часов, ничего не выходит, бьёт ошибку при запуске ЛС. Помогите пожалуйста!
21:46:36 [main] WARN DatabaseFactory - Could not init database connection.
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Data source rejected establishment of connection, message from server: "Too many connections"
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:528)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:118)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71)
at org.mmocore.commons.database.factory.AbstractDatabaseFactory.doStart(AbstractDatabaseFactory.java:26)
at org.mmocore.authserver.AuthServer.main(AuthServer.java:93)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1114)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2502)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2535)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2320)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:443)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:141)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:111)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:316)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:518)
... 4 more
21:46:37 [main] ERROR GameServerManager -
java.lang.NullPointerException
at org.mmocore.commons.database.factory.AbstractDatabaseFactory.getConnection(AbstractDatabaseFactory.java:45)
at org.mmocore.authserver.GameServerManager.load(GameServerManager.java:46)
at org.mmocore.authserver.GameServerManager.<init>(GameServerManager.java:36)
at org.mmocore.authserver.GameServerManager.<clinit>(GameServerManager.java:24)
at org.mmocore.authserver.AuthServer.<init>(AuthServer.java:40)
at org.mmocore.authserver.AuthServer.main(AuthServer.java:95)
 
Много коннектов
 
Назад
Сверху Снизу