Перейти к содержанию
Авторизация  
Critica1Power

Проблема С Mysql

Рекомендуемые сообщения

[FATAL 23:40:39]: L2DatabaseFactory: Failed to retrieve database connection!

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

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:406)

at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1119)

at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2257)

at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:784)

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:406)

at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:354)

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

at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)

at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)

at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)

at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:79)

at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)

at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)

at ru.catssoftware.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:147)

at ru.catssoftware.gameserver.instancemanager.ClanHallSiege.restoreSiegeDate(ClanHallSiege.java:32)

at ru.catssoftware.gameserver.instancemanager.clanhallsiege.FortResistSiegeManager.<init>(FortResistSiegeManager.java:53)

at ru.catssoftware.gameserver.instancemanager.clanhallsiege.FortResistSiegeManager.getInstance(FortResistSiegeManager.java:47)

at ru.catssoftware.gameserver.datatables.SpawnTable.fillSpawnTable(SpawnTable.java:79)

at ru.catssoftware.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:46)

at ru.catssoftware.gameserver.datatables.SpawnTable.<clinit>(SpawnTable.java:30)

at ru.catssoftware.gameserver.instancemanager.FortManager.initNpcs(FortManager.java:253)

at ru.catssoftware.gameserver.instancemanager.FortManager.<init>(FortManager.java:74)

at ru.catssoftware.gameserver.model.entity.Fort.<init>(Fort.java:268)

at ru.catssoftware.gameserver.instancemanager.FortManager.load(FortManager.java:125)

at ru.catssoftware.gameserver.instancemanager.FortManager.<init>(FortManager.java:68)

at ru.catssoftware.gameserver.instancemanager.FortManager.getInstance(FortManager.java:58)

at ru.catssoftware.gameserver.L2GameServer.<init>(L2GameServer.java:329)

at ru.catssoftware.gameserver.util.BootManager.<init>(BootManager.java:150)

at ru.catssoftware.gameserver.util.BootManager.main(BootManager.java:41)

Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

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:406)

at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1119)

at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)

at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2178)

... 31 more

Caused by: java.net.ConnectException: Connection timed out

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)

at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)

... 32 more

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...