Crash server

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use Bug Reports instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct

Crash server

Postby energy » Thu Jan 14, 2010 12:32 am

L2J Revision Number: 3790
L2JDP Revision Number:6867
server :windows server 2008 64 bit 8gb ram

hello all,
my server works fine but with the last update to this rev.,every 7-10 hours i get this error in the
game cosole and after this error server freeze and all player disconnect abnormally!
ty from now for help! :D
p.s.i dont think thats the problem is from the java something!
because before half hour i was on my test server loged in and get disconnect .
show in the console and has this error too.in same time with the other server.
the other server was running for 8 hours and the test 1 hour so something else make this crash!
ty


this is the error:
Jan 14, 2010 12:53:25 AM com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource
WARNING: com.mchange.v2.resourcepool.BasicResourcePool@49938039 -- an attempt to checkout a resource was interrupted, and the pool is still live: some other thread must have either interrupted the Thread attempting checkout!
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1315)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at net.sf.l2j.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:220)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.storeCharBase(L2PcInstance.java:7785)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7760)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7768)
at net.sf.l2j.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:300)
at net.sf.l2j.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:727)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

then all players disconnect abnormally
my gameserver.bat is:
@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx5120m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
java -server -Xmx5120m -Xms2560m -Xmn1534m -XX:PermSize=1024m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM If you are having troubles on server shutdown (saving data),
REM add this to startup paramethers: -Djava.util.logging.manager=net.sf.l2j.L2LogManager. Example:
REM java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx4096m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
REM -------------------------------------
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause
energy
 
Posts: 37
Joined: Tue Jun 24, 2008 3:55 pm

Re: Crash server

Postby ThePhoenixBird » Thu Jan 14, 2010 7:43 am

First try support forums.
Image
User avatar
ThePhoenixBird
L2j Veteran
L2j Veteran
 
Posts: 1857
Joined: Fri May 27, 2005 6:11 pm

Re: Crash server

Postby energy » Thu Jan 14, 2010 8:44 pm

sorry for double post but nobody can help me?
ty
its bad for my server every 7-10 hours to disconnect
energy
 
Posts: 37
Joined: Tue Jun 24, 2008 3:55 pm

Re: Crash server

Postby janiii » Thu Jan 14, 2010 8:50 pm

probably some wrong database settings. check forum for some input on database settings.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
janiii
L2j Veteran
L2j Veteran
 
Posts: 4269
Joined: Wed May 28, 2008 4:15 pm
Location: Slovakia

Re: Crash server

Postby qwerty13 » Thu Jan 14, 2010 9:11 pm

rev 3790 dont have net.sf.l2j imports.
User avatar
qwerty13
 
Posts: 640
Joined: Mon Feb 02, 2009 10:57 am
Location: Europe

Re: Crash server

Postby janiii » Thu Jan 14, 2010 9:16 pm

qwerty13 wrote:rev 3790 dont have net.sf.l2j imports.


he has it probably from nightly.. it states the latest revisions, but is still gracia final.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
janiii
L2j Veteran
L2j Veteran
 
Posts: 4269
Joined: Wed May 28, 2008 4:15 pm
Location: Slovakia

Re: Crash server

Postby energy » Thu Jan 14, 2010 10:01 pm

qwerty13 wrote:rev 3790 dont have net.sf.l2j imports.


#
version = 6867

#
builddate = 20100109_1633

#
version = 3790

#
builddate = 20100109_1633

svn from here:http://www.l2jserver.com/svn/trunk/L2_GameServer
http://www.l2jdp.com/svn/trunk/datapack_development

so before post something clever think before!!!

anyway ty janiii for some answer,but i am newbie on mysql,when someone can help me post it
ty
energy
 
Posts: 37
Joined: Tue Jun 24, 2008 3:55 pm

Re: Crash server

Postby janiii » Thu Jan 14, 2010 10:05 pm

energy wrote:
qwerty13 wrote:rev 3790 dont have net.sf.l2j imports.


#
version = 6867

#
builddate = 20100109_1633

#
version = 3790

#
builddate = 20100109_1633

svn from here:http://www.l2jserver.com/svn/trunk/L2_GameServer
http://www.l2jdp.com/svn/trunk/datapack_development

so before post something clever think before!!!


can't be. you really have net.sf package, which is not gracia epilogue

my gameserver.bat is:
@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx5120m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
janiii
L2j Veteran
L2j Veteran
 
Posts: 4269
Joined: Wed May 28, 2008 4:15 pm
Location: Slovakia

Re: Crash server

Postby energy » Thu Jan 14, 2010 10:27 pm

janiii wrote:
energy wrote:
qwerty13 wrote:rev 3790 dont have net.sf.l2j imports.


#
version = 6867

#
builddate = 20100109_1633

#
version = 3790

#
builddate = 20100109_1633

svn from here:http://www.l2jserver.com/svn/trunk/L2_GameServer
http://www.l2jdp.com/svn/trunk/datapack_development

so before post something clever think before!!!


can't be. you really have net.sf package, which is not gracia epilogue

my gameserver.bat is:
@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx5120m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer


what is that??? :
Image
energy
 
Posts: 37
Joined: Tue Jun 24, 2008 3:55 pm

Re: Crash server

Postby MELERIX » Thu Jan 14, 2010 10:30 pm

try upgrading your server properly, don't mix old files with new files.
User avatar
MELERIX
L2j Veteran
L2j Veteran
 
Posts: 6667
Joined: Sun Sep 24, 2006 12:31 am
Location: Chile

Re: Crash server

Postby janiii » Thu Jan 14, 2010 10:32 pm

also in nightly are shown latest revisions even if it is gracia final release, so not the latest revisions.

MELERIX is right, if you have version from svn, update and build and replace the files properly.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
janiii
L2j Veteran
L2j Veteran
 
Posts: 4269
Joined: Wed May 28, 2008 4:15 pm
Location: Slovakia

Re: Crash server

Postby thorl2 » Sat Apr 24, 2010 12:07 pm

i had the same problem

24.04.2010 12:00:38 com.l2jserver.gameserver.model.actor.L2Character$HitTask run
SEVERE: Failed executing HitTask.
java.lang.NullPointerException
24.04.2010 13:32:20 com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource
WARNING: com.mchange.v2.resourcepool.BasicResourcePool@527736bd -- an attempt to checkout a resource was interrupted, and the pool is still live: some other thread must have either interrupted the Thread attempting checkout!
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1315)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:221)
at com.l2jserver.gameserver.model.L2ItemInstance.updateInDb(L2ItemInstance.java:1521)
at com.l2jserver.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:1338)
at com.l2jserver.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:1309)
at com.l2jserver.gameserver.model.itemcontainer.ItemContainer.addItem(ItemContainer.java:266)
at com.l2jserver.gameserver.model.itemcontainer.PcInventory.addItem(PcInventory.java:424)
at com.l2jserver.gameserver.model.itemcontainer.PcInventory.addAdena(PcInventory.java:344)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.addAdena(L2PcInstance.java:3301)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.doAutoLoot(L2PcInstance.java:4677)
at com.l2jserver.gameserver.model.actor.L2Attackable.doItemDrop(L2Attackable.java:1501)
at com.l2jserver.gameserver.model.actor.L2Attackable.doItemDrop(L2Attackable.java:1412)
at com.l2jserver.gameserver.model.actor.L2Attackable.calculateRewards(L2Attackable.java:578)
at com.l2jserver.gameserver.model.actor.L2Character.doDie(L2Character.java:2103)
at com.l2jserver.gameserver.model.actor.L2Npc.doDie(L2Npc.java:1358)
at com.l2jserver.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:506)
at com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:206)
at com.l2jserver.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:197)
at com.l2jserver.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:51)
at com.l2jserver.gameserver.model.actor.status.AttackableStatus.reduceHp(AttackableStatus.java:49)
at com.l2jserver.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:6810)
at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:477)
at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:413)
at com.l2jserver.gameserver.skills.l2skills.L2SkillDrain.useSkill(L2SkillDrain.java:183)
at com.l2jserver.gameserver.model.actor.L2Character.callSkill(L2Character.java:6560)
at com.l2jserver.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:6159)
at com.l2jserver.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:2552)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

maybe is a thread pool missconfig?
User avatar
thorl2
Advanced User
Advanced User
 
Posts: 159
Joined: Fri Mar 20, 2009 10:04 am


Return to High Five Server Support

Who is online

Users browsing this forum: No registered users and 3 guests