• Актуальная ревизия: 2.3

Проблема

Fiesko

Новичок
java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:153)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:239)
at net.sf.l2j.commons.pool.ConnectionPool.getConnection(ConnectionPool.java:47)
at net.sf.l2j.loginserver.data.manager.GameServerManager.loadRegisteredGameServers(GameServerManager.java:89)
at net.sf.l2j.loginserver.data.manager.GameServerManager.load(GameServerManager.java:50)
at net.sf.l2j.loginserver.data.manager.GameServerManager.<init>(GameServerManager.java:41)
at net.sf.l2j.loginserver.data.manager.GameServerManager$SingletonHolder.<clinit>(GameServerManager.java:183)
at net.sf.l2j.loginserver.data.manager.GameServerManager.getInstance(GameServerManager.java:178)
at net.sf.l2j.loginserver.LoginServer.<init>(LoginServer.java:69)
at net.sf.l2j.loginserver.LoginServer.main(LoginServer.java:38)
Caused by: java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:171)
at org.mariadb.jdbc.internal.util.pool.Pool.getConnection(Pool.java:413)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:237)
... 8 more


Вот такая вот проблемка, как я понял: сервер не регестрируется в базе! (как решить вопрос?)
 

MrMario

Новичок
java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:153)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:239)
at net.sf.l2j.commons.pool.ConnectionPool.getConnection(ConnectionPool.java:47)
at net.sf.l2j.loginserver.data.manager.GameServerManager.loadRegisteredGameServers(GameServerManager.java:89)
at net.sf.l2j.loginserver.data.manager.GameServerManager.load(GameServerManager.java:50)
at net.sf.l2j.loginserver.data.manager.GameServerManager.<init>(GameServerManager.java:41)
at net.sf.l2j.loginserver.data.manager.GameServerManager$SingletonHolder.<clinit>(GameServerManager.java:183)
at net.sf.l2j.loginserver.data.manager.GameServerManager.getInstance(GameServerManager.java:178)
at net.sf.l2j.loginserver.LoginServer.<init>(LoginServer.java:69)
at net.sf.l2j.loginserver.LoginServer.main(LoginServer.java:38)
Caused by: java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:171)
at org.mariadb.jdbc.internal.util.pool.Pool.getConnection(Pool.java:413)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:237)
... 8 more


Вот такая вот проблемка, как я понял: сервер не регестрируется в базе! (как решить вопрос?)
Конфиги глянь на путь к базе.
P.S. Сам не так давно тупанул в этом вопросе, оказалось всё банально.
 
Сверху