только так стабильно запускается при 2,5 - периодически вылетает 1024 - это ни о чем - повиснет даже до спавнов
Вот запустившийся GameServer: Спойлер: Aion GS log ========================[ ==========System=========== ]======================== 19:40:23.225 INFO [main]: - OS: Windows 8 Build: 6.2 19:40:23.227 INFO [main]: - OS Arch: amd64 19:40:23.232 INFO [main]: - .................................................. 19:40:23.242 INFO [main]: - .................................................. 19:40:23.254 INFO [main]: - Available CPU(s): 4 19:40:23.260 INFO [main]: - Processor(s) Identifier: Intel64 Family 6 Model 78 Stepping 3, GenuineIntel 19:40:23.270 INFO [main]: - .................................................. 19:40:23.280 INFO [main]: - .................................................. 19:40:23.286 INFO [main]: - Java Platform Information 19:40:23.296 INFO [main]: - Java Runtime Name: Java(TM) SE Runtime Environment 19:40:23.302 INFO [main]: - Java Version: 1.7.0_51 19:40:23.312 INFO [main]: - Java Class Version: 51.0 19:40:23.317 INFO [main]: - .................................................. 19:40:23.323 INFO [main]: - .................................................. 19:40:23.333 INFO [main]: - Virtual Machine Information (JVM) 19:40:23.340 INFO [main]: - JVM Name: Java HotSpot(TM) 64-Bit Server VM 19:40:23.350 INFO [main]: - JVM installation directory: C:\Program Files\Java\jre7 19:40:23.362 INFO [main]: - JVM version: 24.51-b03 19:40:23.368 INFO [main]: - JVM Vendor: Oracle Corporation 19:40:23.376 INFO [main]: - JVM Info: mixed mode 19:40:23.383 INFO [main]: - .................................................. 19:40:23.395 INFO [main]: - .................................................. 19:40:23.402 INFO [main]: - +---- 19:40:23.410 INFO [main]: - | Global Memory Informations at 19:40:23: 19:40:23.418 INFO [main]: - | | 19:40:23.426 INFO [main]: - | Allowed Memory: 3143296 KB 19:40:23.434 INFO [main]: - | |= Allocated Memory: 3143296 KB (100,0000%) 19:40:23.444 INFO [main]: - | |= Non-Allocated Memory: 0 KB (0,0000%) 19:40:23.453 INFO [main]: - | Allocated Memory: 3143296 KB 19:40:23.462 INFO [main]: - | |= Used Memory: 2263897 KB (72,0230%) 19:40:23.472 INFO [main]: - | |= Unused (cached) Memory: 879399 KB (27,9770%) 19:40:23.479 INFO [main]: - | Useable Memory: 879399 KB (27,9770%) 19:40:23.485 INFO [main]: - +---- ===============================[ GameServerLog ]=============================== 19:40:23.494 INFO [main]: - AL GameServer started in 62 seconds. 19:40:23.498 INFO [main]: - ================================================== 19:40:23.502 INFO [main]: - ==============>Aion Lightning Core<=============== 19:40:23.504 INFO [main]: - ==================>developed by <================= 19:40:23.511 INFO [main]: - ===============>Aion German Group<================ 19:40:23.513 INFO [main]: - ================================================== 19:40:23.519 INFO [main]: - Thanks to all who helped this project! 19:40:23.521 INFO [main]: - Major Patch: 4.8 19:40:23.527 INFO [main]: - Minor Patch: 4.8.x.x 19:40:23.528 INFO [main]: - Copyright: 2014-2015 19:40:23.533 INFO [main]: - ================================================== ========================[ =====Starting Network====== ]======================== 19:40:23.566 INFO [main]: - Server listening on all available IPs on Port 7777 for Game Connections 19:40:23.571 INFO [main]: - Connecting to LoginServer: /127.0.0.1:9014 19:40:26.598 INFO [main]: - Connected to LoginServer! ========================[ =========================== ]======================== И в нем цифорки
Код: @echo off TITLE Aion Lightning - Game Server Console REM SET PATH="Type here your path to java jdk/jre (including bin folder)." REM NOTE: Remove tag REM from previous line. :START CLS echo. echo Starting Aion Lightning Version 4.8 Game Server. echo. REM ------------------------------------- REM Default parameters for a basic server. java -Xms512m -Xmx3072m -XX:MaxNewSize=24m -XX:NewSize=24m -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+UseConcMarkSweepGC -XX:-UseSplitVerifier -ea -javaagent:./libs/al-commons.jar -cp ./libs/*;AL-Game.jar com.aionemu.gameserver.GameServer REM ------------------------------------- SET CLASSPATH=%OLDCLASSPATH% if ERRORLEVEL 2 goto restart if ERRORLEVEL 1 goto error if ERRORLEVEL 0 goto end REM Restart... :restart echo. echo Administrator Restart ... echo. goto start REM Error... :error echo. echo Server terminated abnormaly ... echo. goto end REM End... :end echo. echo Server terminated ... echo. pause
Картинка: там видно 2 процесса Java, AION и много ненужного На машинке 12G памяти - играть вполне комфортно
При запуске сервера Aion выдает ошибку (На моем компе установлен дьава версии jdk-7u51): Спойлер: LogLoginServer Starting Aion Lightning Login Server in DEVELOPMENT mode. Listening for transport dt_socket at address: 8999 17:28:28.586 INFO [main]: - Using default implementation for ThreadExecutor 17:28:28.612 INFO [main]: - Initialized Scheduler Signaller of type: class org.q uartz.core.SchedulerSignalerImpl 17:28:28.614 INFO [main]: - Quartz Scheduler v.2.1.7 created. 17:28:28.615 INFO [main]: - RAMJobStore initialized. 17:28:28.617 INFO [main]: - Scheduler meta-data: Quartz Scheduler (v2.1.7) 'Quar tzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persis tence. and is not clustered. 17:28:28.617 INFO [main]: - Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance. 17:28:28.618 INFO [main]: - Quartz scheduler version: 2.1.7 17:28:28.618 INFO [main]: - Scheduler QuartzScheduler_$_NON_CLUSTERED started. 17:28:28.618 INFO [main]: - ♀2016-04-19 17-28-28♀ 17:28:28.619 INFO [main]: - Loading: myls.properties 17:28:28.620 INFO [main]: - No override properties found 17:28:28.640 INFO [main]: - Loading: ./config/network/network.properties 17:28:28.670 INFO [main]: - Loading: ./config/network/svstats.properties 17:28:28.671 INFO [main]: - Loading: ./config/network/commons.properties 17:28:28.673 INFO [main]: - Loading: ./config/network/database.properties Exception in thread "main" java.lang.Error: DatabaseFactory not initialized! at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:107) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://localhost:3306/al_server_ls?useUnicode=true&ch aracterEncoding=UTF-8, username = root. Terminating connection pool. Original Ex ception: ------ java.sql.SQLException: Access denied for user 'root'@'localhost' (using password : YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943) at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 369) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792) 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 Sou rce) 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:381) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :305) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:104) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) ------ at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:104) ... 1 more Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (usi ng password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943) at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 369) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792) 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 Sou rce) 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:381) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :305) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ... 2 more Спойлер: LogGameServer Starting Aion Lightning Version 4.8 Game Server. 17:30:50.772 INFO [main]: - JavaAgent [Callback Support] is configured. 17:30:50.911 INFO [main]: - Using default implementation for ThreadExecutor 17:30:50.975 INFO [main]: - Initialized Scheduler Signaller of type: class org.q uartz.core.SchedulerSignalerImpl 17:30:50.977 INFO [main]: - Quartz Scheduler v.2.1.7 created. 17:30:50.981 INFO [main]: - RAMJobStore initialized. 17:30:50.983 INFO [main]: - Scheduler meta-data: Quartz Scheduler (v2.1.7) 'Quar tzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persis tence. and is not clustered. 17:30:50.984 INFO [main]: - Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance. 17:30:50.985 INFO [main]: - Quartz scheduler version: 2.1.7 17:30:50.986 INFO [main]: - Scheduler QuartzScheduler_$_NON_CLUSTERED started. ========================[ ===========Config========== ]======================== 17:30:50.992 INFO [main]: - Loading: mygs.properties 17:30:50.996 INFO [main]: - No override properties found ===============================[ ADMINISTRATION ]=============================== 17:30:51.094 INFO [main]: - Loading: ./config/administration/admin.properties 17:30:51.098 INFO [main]: - Loading: ./config/administration/developer.propertie s ====================================[ MAIN ]==================================== 17:30:51.236 INFO [main]: - Loading: ./config/main/agentfight.properties 17:30:51.240 INFO [main]: - Loading: ./config/main/ai.properties 17:30:51.248 INFO [main]: - Loading: ./config/main/autogroup.properties 17:30:51.266 INFO [main]: - Loading: ./config/main/base.properties 17:30:51.270 INFO [main]: - Loading: ./config/main/beritra.properties 17:30:51.273 INFO [main]: - Loading: ./config/main/DualBoxConfig.properties 17:30:51.276 INFO [main]: - Loading: ./config/main/commons.properties 17:30:51.279 INFO [main]: - Loading: ./config/main/cache.properties 17:30:51.282 INFO [main]: - Loading: ./config/main/cleaning.properties 17:30:51.286 INFO [main]: - Loading: ./config/main/composition.properties 17:30:51.291 INFO [main]: - Loading: ./config/main/craft.properties 17:30:51.320 INFO [main]: - Loading: ./config/main/custom.properties 17:30:51.323 INFO [main]: - Loading: ./config/main/drop.properties 17:30:51.354 INFO [main]: - Loading: ./config/main/enchants.properties 17:30:51.357 INFO [main]: - Loading: ./config/main/events.properties 17:30:51.360 INFO [main]: - Loading: ./config/main/falldamage.properties 17:30:51.362 INFO [main]: - Loading: ./config/main/fasttrack.properties 17:30:51.368 INFO [main]: - Loading: ./config/main/gameserver.properties 17:30:51.371 INFO [main]: - Loading: ./config/main/geodata.properties 17:30:51.374 INFO [main]: - Loading: ./config/main/group.properties 17:30:51.381 INFO [main]: - Loading: ./config/main/housing.properties 17:30:51.384 INFO [main]: - Loading: ./config/main/html.properties 17:30:51.387 INFO [main]: - Loading: ./config/main/ingameshop.properties 17:30:51.399 INFO [main]: - Loading: ./config/main/legion.properties 17:30:51.408 INFO [main]: - Loading: ./config/main/logging.properties 17:30:51.417 INFO [main]: - Loading: ./config/main/membership.properties 17:30:51.421 INFO [main]: - Loading: ./config/main/moltenus.properties 17:30:51.424 INFO [main]: - Loading: ./config/main/name.properties 17:30:51.426 INFO [main]: - Loading: ./config/main/periodicsave.properties 17:30:51.434 INFO [main]: - Loading: ./config/main/playertransfer.properties 17:30:51.437 INFO [main]: - Loading: ./config/main/prices.properties 17:30:51.442 INFO [main]: - Loading: ./config/main/punishment.properties 17:30:51.446 INFO [main]: - Loading: ./config/main/ranking.properties 17:30:51.459 INFO [main]: - Loading: ./config/main/rates.properties 17:30:51.466 INFO [main]: - Loading: ./config/main/security.properties 17:30:51.474 INFO [main]: - Loading: ./config/main/shutdown.properties 17:30:51.480 INFO [main]: - Loading: ./config/main/siege.properties 17:30:51.482 INFO [main]: - Loading: ./config/main/thread.properties 17:30:51.485 INFO [main]: - Loading: ./config/main/weddings.properties 17:30:51.489 INFO [main]: - Loading: ./config/main/world.properties ==================================[ NETWORK ]================================== 17:30:51.497 INFO [main]: - Loading: ./config/network/database.properties 17:30:51.506 INFO [main]: - Loading: ./config/network/network.properties ========================[ =========================== ]======================== ========================[ =========DataBase========== ]======================== 17:30:52.129 ERROR[main]: - Error while creating DB Connection pool java.sql.SQLException: Unable to open a test connection to the given database. J DBC url = jdbc:mysql://localhost:3306/al_server_gs?useUnicode=true&characterEnco ding=UTF-8, username = root. Terminating connection pool. Original Exception: -- ---- java.sql.SQLException: Access denied for user 'root'@'localhost' (using password : YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870) at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My sqlIO.java:1659) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 265) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :325) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:104) at com.aionemu.gameserver.GameServer.initUtilityServicesAndConfig(Unknow n Source) at com.aionemu.gameserver.GameServer.main(Unknown Source) ------ at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEA SE.jar:0.7.1.RELEASE] at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:104) ~[al-commons.jar:na] at com.aionemu.gameserver.GameServer.initUtilityServicesAndConfig(Unknow n Source) [AL-Game.jar:na] at com.aionemu.gameserver.GameServer.main(Unknown Source) [AL-Game.jar:n a] Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (usi ng password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996) ~[mysql -connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) ~[mysql-co nnector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) ~[mysql-co nnector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870) ~[mysql-con nector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My sqlIO.java:1659) ~[mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206) ~[mysql-connect or-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234) ~ [mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 265) ~[mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064) ~ [mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790) ~[mysql -connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) ~[mysq l-connector-java-5.1.33.jar:5.1.33] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_51] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) ~[na:1.7.0_51] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_ 51] at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) ~[mysql-connecto r-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395) ~[ mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :325) ~[mysql-connector-java-5.1.33.jar:5.1.33] at java.sql.DriverManager.getConnection(Unknown Source) ~[na:1.7.0_51] at java.sql.DriverManager.getConnection(Unknown Source) ~[na:1.7.0_51] at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE] at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEA SE.jar:0.7.1.RELEASE] ... 3 common frames omitted 17:30:52.187 ERROR[main]: - Critical Error - Thread: main terminated abnormaly: java.lang.Error: DatabaseFactory not initialized! java.lang.Error: DatabaseFactory not initialized! at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:107) ~[al-commons.jar:na] at com.aionemu.gameserver.GameServer.initUtilityServicesAndConfig(Unknow n Source) ~[AL-Game.jar:na] at com.aionemu.gameserver.GameServer.main(Unknown Source) ~[AL-Game.jar: na] Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://localhost:3306/al_server_gs?useUnicode=true&ch aracterEncoding=UTF-8, username = root. Terminating connection pool. Original Ex ception: ------ java.sql.SQLException: Access denied for user 'root'@'localhost' (using password : YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870) at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My sqlIO.java:1659) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 265) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :325) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:104) at com.aionemu.gameserver.GameServer.initUtilityServicesAndConfig(Unknow n Source) at com.aionemu.gameserver.GameServer.main(Unknown Source) ------ at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEA SE.jar:0.7.1.RELEASE] at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:104) ~[al-commons.jar:na] ... 2 common frames omitted Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (usi ng password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996) ~[mysql -connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) ~[mysql-co nnector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) ~[mysql-co nnector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870) ~[mysql-con nector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My sqlIO.java:1659) ~[mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206) ~[mysql-connect or-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234) ~ [mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 265) ~[mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064) ~ [mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790) ~[mysql -connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) ~[mysq l-connector-java-5.1.33.jar:5.1.33] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_51] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) ~[na:1.7.0_51] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_ 51] at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) ~[mysql-connecto r-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395) ~[ mysql-connector-java-5.1.33.jar:5.1.33] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :325) ~[mysql-connector-java-5.1.33.jar:5.1.33] at java.sql.DriverManager.getConnection(Unknown Source) ~[na:1.7.0_51] at java.sql.DriverManager.getConnection(Unknown Source) ~[na:1.7.0_51] at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE] at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEA SE.jar:0.7.1.RELEASE] ... 3 common frames omitted
А он к базе не подключился: Спойлер: кусок лога логинсервера Exception in thread "main" java.lang.Error: DatabaseFactory not initialized! at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.jav a:107) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://localhost:3306/al_server_ls?useUnicode=true&ch aracterEncoding=UTF-8, username = root. Terminating connection pool. Original Ex ception: ------ ИМХО: поройся в database.properties
Ээх не смог исправить может причина в заливке базы у меня выдал ошибку в окончании заливки базы геймсервера [Err] 1067 - Invalid default value for 'level_up_date' [Err] CREATE TABLE `towns` ( `id` int(11) NOT NULL, `level` int(11) NOT NULL DEFAULT '1', `points` int(10) NOT NULL DEFAULT '0', `race` enum('ELYOS','ASMODIANS') NOT NULL, `level_up_date` timestamp NOT NULL DEFAULT '1970-01-01 07:00:01', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; [Msg] Finished - Unsuccessfully
Я не очень большой спец, но у меня впечатление, что он именно присоединиться не может к базе, а не что-то из нее прочитать. А сервер MYSQL ВООБЩЕ РАБОТАЕТ? Навикатом можешь присоединиться?
Провел эксперимент: убил процесс mysql и получил вашу ошибку Спойлер: loginserver 01:20:19.913 INFO [main]: - Loading: ./config/network/database.properties Exception in thread "main" java.lang.Error: DatabaseFactory not initialized! at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:107) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://localhost:3206/al_server_ls?useUnicode=true&characterEncoding=UTF-8, username = root. Terminating connection pool. Original Exception: ------ com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Вывод: у Вас MYSQL НЕ запущен.
Мускул работает нормально, навигат есть базу залил через навигат, но при запуске сервера выдал эту ошибку, после думал мускул с ошибкой залил сервер ла2 Атрие а он нормально работает, вот и подумал что дело не в мускуле а в сомом сервере. Добрые люди залейте тут свои сервера настроенные с денвером если не жалко то с Сайтом), а то я в этом деле новичек, но есть малый опыт настройках сервера типа ВоВ-ки Ла2 и.т.д
А как починить квест "Изучение языка балауров" - После желания пойти к Мафиру страницы нет Подскажите пожалуйста, кто знает!
Отвечаю сам себе квест "Изучение языка балауров" - После желания пойти к Мафиру страницы нет Чиним: AionServer-4.8.X.X (AionGer rev.923; компил)\AL-Game\data\scripts\system\handlers\quest\reshanta\_14043DrawlingBalaur.java строка 154: if (var == 2) { заменяем на: if (var == 1) {
Добрый день. Не могу запустить клиент на этой сборке (давно настраивал еще под 2.х, видимо подзабыл нюансы). Пишет невозможно подключиться к серверу авторизации. Хотя через веб-обвязку я создал на логин сервере аккаунт и через навикат ему спокойно права поменял. Посмотрел видео из туториала, вроде все везде прописал.... В чем может быть проблема?
Если он не может подключиться к серверу авторизации, то какая разница, есть там запись или нет. Сервер без ошибок/варнингов загрузился? А в сервере при попытке авторизации ничего не пишет? В батнике адрес-порт правильные? Мысли закончились.