Ошибка запуска

KRIVOSHEEV

Выдающийся
Участник
Сообщения
201
Розыгрыши
0
Репутация
-10
Реакции
46
Баллы
1 345
Привет, чет ракую пару часов уже, дело такое.
Запускаю логин на убунту, получаю следующий лог, причины понять не могу.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/opt/authserver/lib/dom4j-2.0.0-alpha-2.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[16:59:41] INFO Loaded 127 server names
Exception in thread "main" 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 java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1038)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:338)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2237)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2270)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:78)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at l2s.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:80)
at l2s.authserver.database.DatabaseFactory.getConnection(DatabaseFactory.java:26)
at l2s.authserver.AuthServer.main(AuthServer.java:93)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:400)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:243)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:225)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:402)
at java.base/java.net.Socket.connect(Socket.java:591)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:213)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:297)
... 21 more

Под виндой стартует нормально.
 
Последнее редактирование модератором:
dom4j-2.0.0-alpha-2.jar
Замени это дерьмо на более свежую версию. Тоже не въезжал когда запускал на арче.
 
Поменял на 2.1 всеравно какая то дичь в коннектом к бд
[17:17:33] INFO Loaded 127 server names
Exception in thread "main" 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 java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1038)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:338)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2237)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2270)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:78)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at l2s.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:80)
at l2s.authserver.database.DatabaseFactory.getConnection(DatabaseFactory.java:26)
at l2s.authserver.AuthServer.main(AuthServer.java:93)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:400)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:243)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:225)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:402)
at java.base/java.net.Socket.connect(Socket.java:591)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:213)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:297)
... 21 more

А все вроде бы разобрался, спасибо )

теперь не запускается ни один скрипт :)))
[18:46:51] INFO IdFactory: Extracted 57 used id's from items
[18:46:51] INFO IdFactory: Extracted 1 used id's from clan_data
[18:46:51] INFO IdFactory: Extracted total 212 used id's.
[18:46:51] INFO IdFactory: 102912 id's available.
[18:46:51] INFO Hidden items loaded size: 0
[18:46:51] INFO CustomHeroDAO: loaded 0 custom heroes.
[18:46:51] INFO HWIDBan: Black list (Hwid) loaded size: 0
[18:46:51] INFO Scripts: Loading...
[18:46:53] ERROR /opt/gameserver/data/scripts/Util.java:1,1: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/bypasses/global/BlessingOfProtection.java:13,14: The hierarchy of the type BlessingOfProtection is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/bypasses/global/Ensoul.java:15,14: The hierarchy of the type Ensoul is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/BaiumGatekeeperInstance.java:15,20: The hierarchy of the type BaiumGatekeeperInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/QueenAntLarvaInstance.java:9,14: The hierarchy of the type QueenAntLarvaInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/FishermanInstance.java:11,14: The hierarchy of the type FishermanInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/SchemeBufferInstance.java:38,14: The hierarchy of the type SchemeBufferInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/FreightSenderInstance.java:14,14: The hierarchy of the type FreightSenderInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/QueenAntInstance.java:20,14: The hierarchy of the type QueenAntInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/SiegeGuardInstance.java:19,14: The hierarchy of the type SiegeGuardInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/TeleportSiegeGuardInstance.java:11,14: The hierarchy of the type TeleportSiegeGuardInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/QuestSiegeGuardInstance.java:24,14: The hierarchy of the type QuestSiegeGuardInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/WarehouseInstance.java:16,14: The hierarchy of the type WarehouseInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/CastleLordInstance.java:13,14: The hierarchy of the type CastleLordInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/MercenaryManagerInstance.java:11,14: The hierarchy of the type MercenaryManagerInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/CastleFlameTowerInstance.java:17,14: The hierarchy of the type CastleFlameTowerInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/GeroldInstance.java:18,14: The hierarchy of the type GeroldInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/VenomTeleportCubicInstance.java:15,14: The hierarchy of the type VenomTeleportCubicInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/RevolutionaryInstance.java:17,14: The hierarchy of the type RevolutionaryInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/CourtInstance.java:13,14: The hierarchy of the type CourtInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/DoormanInstance.java:16,23: The hierarchy of the type DoormanInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/DoormanInstance.java:18,14: The hierarchy of the type DoormanInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/ResidenceManager.java:38,23: The hierarchy of the type ResidenceManager is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/ChamberlainInstance.java:43,14: The hierarchy of the type ChamberlainInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/BlacksmithInstance.java:13,14: The hierarchy of the type BlacksmithInstance is inconsistent
[18:46:54] ERROR /opt/gameserver/data/scripts/npc/model/residences/castle/CastleMessengerInstance.java:10,14: The hierarchy of the type CastleMessengerInstance is inconsistent

и еще 1000 строк, на винде запускается, java и там и там 10
 
Последнее редактирование модератором:
проблема с ecj-x.x.jar (где х.х это версия то и есть надо новый )
 
Вот полный список, ля чет такие лютые тупняки((
 
Последнее редактирование модератором:
я ответ дал замени старый ecj-.jar на ecj-4.4.jar
 
Последнее редактирование модератором:
может скрин либ папку(где все jar) скинут тут или мне в лс
upload_2018-10-18_1-11-49.png

вообще стояла 4.4.1
Ставил сейчаас 4.7.2
Скрипты стали падать так:
[20:13:14] INFO Scripts: Loading...
Exception in thread "main" java.lang.Error: Failed loading scripts!
at l2s.gameserver.scripts.Scripts.load(Scripts.java:117)
at l2s.gameserver.scripts.Scripts.<init>(Scripts.java:67)
at l2s.gameserver.scripts.Scripts.<clinit>(Scripts.java:55)
at l2s.gameserver.GameServer.<init>(GameServer.java:227)
at l2s.gameserver.GameServer.main(GameServer.java:467)


))
 
Последнее редактирование модератором:
странно сборка от скрипта ты клиент или эта шара если шара скинь мне сыльку на него посмотрю мне самому интерестнно почему так
 
Поставь 8ю яву и не делай мозги. Тут и 10% юзеров фишками 8й не пользуются, а вы на 10ю прыгаете.
 
Поставь 8ю яву и не делай мозги. Тут и 10% юзеров фишками 8й не пользуются, а вы на 10ю прыгаете.
хахах, спасибо тебе еще раз, да чет на хом тачке стояла десятка, поставил 8 все гуд )
взял тачку на том сомнительном хосте (Создавал тему недавно), месяц в подарок дали, посмотрим как покажет себя в аптайме.
 
хахах, спасибо тебе еще раз, да чет на хом тачке стояла десятка, поставил 8 все гуд )
взял тачку на том сомнительном хосте (Создавал тему недавно), месяц в подарок дали, посмотрим как покажет себя в аптайме.
Мне б твои проблемы.
Я вот от скуки дистрибутивы linux ставлю/сношу. :D
Надыбал какую-то дичь на форке арча, ща буду щупать.))
 
Назад
Сверху Снизу