Peter.Maloa Posted December 12, 2016 Posted December 12, 2016 Starting AuthServer.log4j:WARN No appenders could be found for logger (l2.authserver.Config).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.Exception in thread "main" java.lang.RuntimeException: Can't init database connections poolat l2.commons.db.BaseDataConnectionFactory.<init>(Bas eDataConnectionFactory.java:54)at l2.authserver.database.L2DatabaseFactory.<init>(L2 DatabaseFactory.java:31)at l2.authserver.database.L2DatabaseFactory.getInstan ce(L2DatabaseFactory.java:20)at l2.authserver.AuthServer.main(AuthServer.java:95)Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientC onnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source)at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)at java.lang.reflect.Constructor.newInstance(Unknown Source)at com.mysql.jdbc.Util.handleNewInstance(Util.java:41 1)at com.mysql.jdbc.Util.getInstance(Util.java:386)at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:1013)at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:987)at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:982)at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:927)at com.mysql.jdbc.ConnectionImpl.connectWithRetries(C onnectionImpl.java:2238)at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onImpl.java:2159)at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImp l.java:792)at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connect ion.java:47)at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source)at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)at java.lang.reflect.Constructor.newInstance(Unknown Source)at com.mysql.jdbc.Util.handleNewInstance(Util.java:41 1)at com.mysql.jdbc.ConnectionImpl.getInstance(Connecti onImpl.java:381)at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:305)at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getC onnection(MysqlDataSource.java:440)at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getC onnection(MysqlDataSource.java:138)at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getC onnection(MysqlDataSource.java:108)at com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolD ataSource.getPooledConnection(MysqlConnectionPoolD ataSource.java:59)at l2.commons.db.BaseDataConnectionFactory.getConnect ionImpl0(BaseDataConnectionFactory.java:125)at l2.commons.db.BaseDataConnectionFactory.getConnect ionImpl(BaseDataConnectionFactory.java:91)at l2.commons.db.BaseDataConnectionFactory.getConnect ion(BaseDataConnectionFactory.java:60)at l2.authserver.database.L2DatabaseFactory.testDB(L2 DatabaseFactory.java:55)at l2.commons.db.BaseDataConnectionFactory.<init>(Bas eDataConnectionFactory.java:49)... 3 moreCaused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:1073)at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3597)at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3529)at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:935)at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java: 4101)at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:13 00)at com.mysql.jdbc.ConnectionImpl.coreConnect(Connecti onImpl.java:2337)at com.mysql.jdbc.ConnectionImpl.connectWithRetries(C onnectionImpl.java:2177)... 22 moreServer terminated abnormaly ...Server terminated ...Press any key to continue . . .i got this error on start loginДобавлено через 2 минутыStarting GameServer.log4j:WARN No appenders could be found for logger (l2.gameserver.GameServer).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.java.io.FileNotFoundException: C:\Users\geogi\Desktop\L2 Server Lucera3\gameserver\config\GMAccess.xml (The system cannot find the file specified)at java.io.FileInputStream.open0(Native Method)at java.io.FileInputStream.open(Unknown Source)at java.io.FileInputStream.<init>(Unknown Source)at java.io.FileInputStream.<init>(Unknown Source)at sun.net.http://www.protocol.file.FileURLConn...onnect(Unknown Source)at sun.net.http://www.protocol.file.FileURLConn...Stream(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLEntityM anager.setupCurrentEntity(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLVersion Detector.determineDocVersion(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.DOMPars er.parse(Unknown Source)at com.sun.org.apache.xerces.internal.jaxp.DocumentBu ilderImpl.parse(Unknown Source)at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)at l2.gameserver.Config.loadGMAccess(Config.java:2269 )at l2.gameserver.Config.loadGMAccess(Config.java:2243 )at l2.gameserver.Config.load(Config.java:2189)at l2.gameserver.GameServer.<init>(GameServer.java:13 5)at l2.gameserver.GameServer.main(GameServer.java:346)and that for gameserver... any help?
ton3 Posted December 13, 2016 Posted December 13, 2016 Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO) ava.io.FileNotFoundException: C:\Users\geogi\Desktop\L2 Server Lucera3\gameserver\config\GMAccess.xml (The system cannot find the file specified)
Recommended Posts