So 10 years ago i have had a project and now because of nostalgic feelings wan't to run server and see how l2j world has been changed since then...
Getting back to the topic:
I'm trying to run latest free aCis server but receiving error while running RegisterGameServer (keep in mind that database has been imported smoothly)
Here's the error that I'm receiving:
aCis gameserver registering
____________________________
OPTIONS : a number : register a server ID, if available and existing on list.
list : get a list of IDs. A '*' means the id is already used.
clean : unregister a specified gameserver.
cleanall : unregister all gameservers.
exit : exit the program.
Your choice? 1
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFacto
ry.java:164)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:32)
at net.sf.l2j.loginserver.GameServerTable.loadRegisteredGameServers(Game
ServerTable.java:110)
at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:57
)
at net.sf.l2j.loginserver.GameServerTable$SingletonHolder.<clinit>(GameS
erverTable.java:399)
at net.sf.l2j.loginserver.GameServerTable.getInstance(GameServerTable.ja
va:391)
at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j
ava:143)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
Could not create connection to database server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
568)
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(NativeConstruct
orAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
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(DriverManag
erDataSource.java:131)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:161)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:147)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:987)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:910)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:397)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:414)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:145)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:81)
at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFacto
ry.java:160)
... 6 more
Caused by: java.lang.NullPointerException
at com.mysql.jdbc.ConnectionImpl.getServerCharacterEncoding(ConnectionIm
pl.java:3279)
at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1940)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My
sqlIO.java:1866)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1252)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2486)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
519)
... 26 more
Press any key to continue . . .
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
Grosniuhas
Hello everyone,
So 10 years ago i have had a project and now because of nostalgic feelings wan't to run server and see how l2j world has been changed since then...
Getting back to the topic:
I'm trying to run latest free aCis server but receiving error while running RegisterGameServer (keep in mind that database has been imported smoothly)
Here's the error that I'm receiving:
EDIT: sorry forgot to mention machines details:
OS - Windows Server 2012 R2
Java JDK 8
Any help will be appreciated.
Thank you.
6 answers to this question
Recommended Posts