Page 1 of 1

Problem

Posted: Sun Feb 20, 2011 7:21 pm
by PSIFAK

Code: Select all

Starting L2J Game Server. Loading GameServer Configuration Files...L2Properties: Missing property for key - DatapackRootCould not load HexID file (./config/hexid.txt). Hopefully login will give us one.Loaded 6 Filter Words.-----------------------------------------------------------------=[ Database ]MLog clients using java 1.4+ standard logging.Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]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 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:409)        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2308)        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)        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:409)        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289)        at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:772)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:696)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:257)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:271)        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)        at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:100)        at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:211)        at com.l2jserver.gameserver.GameServer.main(GameServer.java:492)Caused by: java.net.ConnectException: Connection timed out: connect        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:256)        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)        ... 22 more Server terminated abnormaly  server terminated 
what to do how to fix it?

Re: Problem

Posted: Sun Feb 20, 2011 7:24 pm
by principedetinieblas
Do you have a Mysql Daemon launched and configured for gameserver?

Re: Problem

Posted: Sun Feb 20, 2011 8:05 pm
by PSIFAK
Yes I have a MySQL database and it's set loaded with what propblema? sry for my english =)

Re: Problem

Posted: Mon Feb 21, 2011 12:36 pm
by Devastator
Wrong section ?
# Starting L2J Game Server.
#
# Loading GameServer Configuration Files...
# L2Properties: Missing property for key - DatapackRoot
# Could not load HexID file (./config/hexid.txt). Hopefully login will give us one
# .
# Loaded 6 Filter Words.
You have missed this:
http://trac.l2jserver.com/wiki/L2J_Inst ... GameServer