Помогите

  • Автор темы Автор темы romrib
  • Дата начала Дата начала

romrib

Интересующийся
Пользователь
Сообщения
43
Розыгрыши
0
Репутация
1
Реакции
4
Баллы
345
https://mmo-dev.info/rules/#rule-3_3
Хроники
  1. Prelude
Исходники
Отсутствуют
Сборка
Lineage 2 Classic
При запуске гейм сервера вот такая ошибка Exception in thread "main" java.lang.ExceptionInInitializerError
 

стектрейс в студию
 
Запрещено публиковать исходный код без BB-кода — CODE
стектрейс в студию
---------------------------------------=[ L2Classic Antharas by [Amaranthe] ]
Loading gameserver configuration files.
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.5-pre5 [debug? false; trace: 5]
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFactory.java:147)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:18)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:123)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:96)
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:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1121)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:357)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2482)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2519)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
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:346)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:131)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:161)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:147)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:987)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:910)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:397)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:414)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:145)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:64)
at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFactory.java:143)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(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:259)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:307)
... 25 more

Server have terminated abnormaly.


Server terminated.

Для продолжения нажмите любую клавишу . . .
 
C-подобный:
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

насколько понимаю ошибка в адресе или коннекте бд
 
Назад
Сверху Снизу