EDIT: Managed to fix after much searching and effort. Instead of using "./" use the full path so for example "/home/server/Data/npc.cfg" <- and remember it's case sensitive. We fixed the second part of our error by simply removing the piece of code calling the "map/VirtualWorld" part... not sure... what that was doing... and hopefully it doesn't fuck us up in anyway. So far so good.
Okay so my server is returning multiple errors when I try to run it.
I realize that CentOS doesn't recognize the "./" command, and my admin's currently trying to fix that.
In the meantime, ANY input is appreciated. Thanks a lot. Sorry for being a noob .
(And before people ask - if they do - I have searched, I have java installed correctly, and I don't think it's anything relating to java classpaths)
Picture: View DeUg5g.png on ScreenSnapr
Code:
root@LA108 [/home/servar]# java -classpath bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar server.Server &
[1] 14928
root@LA108 [/home/servar]# java.io.FileNotFoundException: ./data/cfg/prices.txt (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.util.Scanner.<init>(Scanner.java:653)
at server.world.ItemHandler.loadItemPrices(ItemHandler.java:305)
at server.world.ItemHandler.<init>(ItemHandler.java:38)
at server.Server.<clinit>(Server.java:60)
./Data/CFG/npc.cfg: file not found.
./Data/CFG/spawn-config.cfg: file not found.
shops.cfg: file not found.
[11/25/11 5:22 PM]: Launching hRSPS
[11/25/11 5:22 PM]: Banning ip:86.58.75.*
[11/25/11 5:22 PM]: Banning ip:24.34.167.*
[11/25/11 5:22 PM]: Banning ip:68.194.203.*
[11/25/11 5:22 PM]: Banning ip:199.255.209.*
[11/25/11 5:22 PM]: Banning ip:74.115.*.*
Nov 25, 2011 5:22:17 PM server.RS2Server start
INFO: Waiting for pending background loading tasks...
[11/25/11 5:22 PM]: Error starting the server...
[11/25/11 5:22 PM]: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: map/VirtualWorld
[11/25/11 5:22 PM]: at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
[11/25/11 5:22 PM]: at java.util.concurrent.FutureTask.get(FutureTask.java:111)
[11/25/11 5:22 PM]: at server.util.BlockingExecutorService.waitForPendingTasks(BlockingExecutorService.java:50)
[11/25/11 5:22 PM]: at server.RS2Server.start(RS2Server.java:45)
[11/25/11 5:22 PM]: at server.Server.main(Server.java:111)
[11/25/11 5:22 PM]: Caused by: java.lang.NoClassDefFoundError: map/VirtualWorld
[11/25/11 5:22 PM]: at server.World$3.call(World.java:91)
[11/25/11 5:22 PM]: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[11/25/11 5:22 PM]: at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[11/25/11 5:22 PM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[11/25/11 5:22 PM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[11/25/11 5:22 PM]: at java.lang.Thread.run(Thread.java:636)
[11/25/11 5:22 PM]: Caused by: java.lang.ClassNotFoundException: map.VirtualWorld
[11/25/11 5:22 PM]: at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[11/25/11 5:22 PM]: at java.security.AccessController.doPrivileged(Native Method)
[11/25/11 5:22 PM]: at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[11/25/11 5:22 PM]: at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[11/25/11 5:22 PM]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[11/25/11 5:22 PM]: at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[11/25/11 5:22 PM]: ... 6 more