Seven signs problem

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
bigbro
Posts: 215
Joined: Mon Apr 30, 2007 10:00 pm
Location: Bulgaria

Seven signs problem

Post 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  
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: Seven signs problem

Post 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.
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
bigbro
Posts: 215
Joined: Mon Apr 30, 2007 10:00 pm
Location: Bulgaria

Re: Seven signs problem

Post 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
eueu3eueu
Posts: 54
Joined: Fri Nov 14, 2008 4:51 am

Re: Seven signs problem

Post by eueu3eueu »

i have the same problem 2 , i desactivated it but nothing , can some 1 help us ?
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: Seven signs problem

Post by Naonah »

Check SevenSigns.java in lines 836 and 1507
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Seven signs problem

Post 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]
Image
Post Reply