Page 1 of 1

WARNING: Unclosed connection

Posted: Sat Jul 10, 2010 11:43 pm
by LaraCroft
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4355
L2JDP Revision Number: 7604

Hi guys...
I get this error msg on last server revison:

Code: Select all

10/07/2010 20:37:07 com.l2jserver.L2DatabaseFactory$ConnectionCloser runWARNING: 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:184)	at com.l2jserver.gameserver.GameServer.main(GameServer.java:490) 
Anyone can help me to solve this problem??
PS: I have tested on a clean code...
With no custom mods or scripts...
:?


Thx

Re: WARNING: Unclosed connection

Posted: Sun Jul 11, 2010 1:23 am
by hope
you must have something custom you would not get this unless you do

Re: WARNING: Unclosed connection

Posted: Sun Jul 11, 2010 5:55 am
by janiii
in this case you can ignore it. it just says that your db cleanup by idfactory takes longer than the default db connection check. probably you have much data in db to be cleaned up or checked, or you have a slower pc.
you can ignore the warning or just increase the connection check time in L2DatabaseFactory.

Re: WARNING: Unclosed connection

Posted: Sun Jul 11, 2010 4:53 pm
by LaraCroft
Thx Janiii...
You are right...
I have a DB with 210mb...
And... my pc for tests is too slow...
:mrgreen: