Page 1 of 1

IDFactory - Unclosed connection!

Posted: Sun Aug 22, 2010 12:49 am
by Lineage
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 4394
L2JDP Revision Number: 7642

Im getting the following message on console:

Code: Select all

Unclosed connection! Trace: com.l2jserver.gameserver.idfactory.IdFactory.cleanUpDB(IdFactory.java:171)java.lang.RuntimeException        at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:223)        at com.l2jserver.gameserver.idfactory.IdFactory.cleanUpDB(IdFactory.java:171)        at com.l2jserver.gameserver.idfactory.IdFactory.<init>(IdFactory.java:113)        at com.l2jserver.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactory.java:65)        at com.l2jserver.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:125)        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:185)        at com.l2jserver.gameserver.GameServer.main(GameServer.java:492)
Please note that no custom changes has been done to it.

Re: IDFactory - Unclosed connection!

Posted: Tue Aug 31, 2010 10:56 am
by babyjason
search forum, it s no problem.

Re: IDFactory - Unclosed connection!

Posted: Tue Aug 31, 2010 12:13 pm
by Zoey76
You can ignore it, it's related to database cleanup, which takes longer time and can't be cleaned, because amount of data or your SQL server doesn't have enough resources to run it.

You could try increasing connection close time, I let you here the code to change it from 1 minute to 2:
http://pastebin.com/N9GuAd1G

Tries, time and experience will tell how much you need to get it work properly.

Also wouldn't be a bad idea check for PHP scripts that connect to database and java/jython custom scripts.