Page 1 of 1

Seven signs problem

Posted: Mon Sep 27, 2010 4:13 pm
by bigbro
After this NPE, seven signs didn't end like it should. Is there a way to finish it with admin command?

Code: Select all

Unclosed connection! Trace: com.l2jserver.gameserver.SevenSigns.saveSevenSignsData(SevenSigns.java:836)java.lang.RuntimeException    at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:223)    at com.l2jserver.gameserver.SevenSigns.saveSevenSignsData(SevenSigns.java:836)    at com.l2jserver.gameserver.SevenSigns$SevenSignsPeriodChange.run(SevenSigns.java:1507)    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)    at java.util.concurrent.FutureTask.run(FutureTask.java:166)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)    at java.lang.Thread.run(Thread.java:636) SevenSigns: The Quest Event Results period has begun!SevenSigns: Next period change set to Mon Sep 27 18:15:41 EEST 2010  

Re: Seven signs problem

Posted: Mon Sep 27, 2010 9:08 pm
by Naonah
You have written here what is wrong. You have uclosed connection to DB after saving 7S data.

Edit a file and close connection.

Re: Seven signs problem

Posted: Tue Sep 28, 2010 5:56 am
by bigbro
I think, that I did that, but no result. May be you can explain witch file to edit (may be you mean Sql table) and how to close this connection.
server was restarted, but no Seven signs event started, no mammons and etc

Re: Seven signs problem

Posted: Mon Oct 11, 2010 4:43 pm
by eueu3eueu
i have the same problem 2 , i desactivated it but nothing , can some 1 help us ?

Re: Seven signs problem

Posted: Mon Oct 11, 2010 8:07 pm
by Naonah
Check SevenSigns.java in lines 836 and 1507

Re: Seven signs problem

Posted: Thu Dec 16, 2010 10:30 pm
by UnAfraid
[diff]Index: java/com/l2jserver/L2DatabaseFactory.java===================================================================--- java/com/l2jserver/L2DatabaseFactory.java   (revision 4433)+++ java/com/l2jserver/L2DatabaseFactory.java   (working copy)@@ -224,7 +224,7 @@            {                con = _source.getConnection();                if (Server.serverMode == Server.MODE_GAMESERVER)-                   ThreadPoolManager.getInstance().scheduleGeneral(new ConnectionCloser(con, new RuntimeException()), 60000);+                   ThreadPoolManager.getInstance().scheduleGeneral(new ConnectionCloser(con, new RuntimeException()), 90000);                else                    getExecutor().schedule(new ConnectionCloser(con, new RuntimeException()), 60, TimeUnit.SECONDS);            }[/diff]