Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 Server-startup problems-- Fixed

View previous topic View next topic Go down 
AuthorMessage
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
avatar

Posts : 22
Join date : 2012-07-31
Location : South Africa

PostSubject: Server-startup problems-- Fixed   Tue 31 Jul - 0:19

Hello everyone,

I have had my eye on this engine for quite some time and finally decided to try it out.

I installed everything as in the installation guide, but when I try to run the server start batch file, the server stops before initializing.

I tried looking through the log files, but I'm still not sure where my problem lies.

Here is some of the logs I am unsure about:

Instance.out
WARN [2012-07-30 16:35:23,332] main engine: world geometry is not set

AND
ERROR [2012-07-30 16:35:26,292] Instance-2 handleMessageImpl java.lang.NullPointerException
at java.lang.String.replace(Unknown Source)
at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.createInstance(InstancePlugin.java:307)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.handleMessage(InstancePlugin.java:222)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.processMessage(InstancePlugin.java:216)
at multiverse.server.engine.EnginePlugin.handleMessageImpl(EnginePlugin.java:424)
at multiverse.server.engine.EnginePlugin$QueuedMessage.run(EnginePlugin.java:458)
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)

AND

ERROR [2012-07-30 16:35:26,302] main ScriptManager.runPYFile: file=..\config\sampleworld\startup_instance.py Traceback (innermost last):
File "..\config\sampleworld\startup_instance.py", line 15, in ?
multiverse.msgsys.RPCException(java.lang.NullPointerException in instance)

at java.lang.String.replace(Unknown Source)

at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10)

at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.createInstance(InstancePlugin.java:307)

at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.handleMessage(InstancePlugin.java:222)

at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.processMessage(InstancePlugin.java:216)

at multiverse.server.engine.EnginePlugin.handleMessageImpl(EnginePlugin.java:424)

at multiverse.server.engine.EnginePlugin$QueuedMessage.run(EnginePlugin.java:458)

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)


multiverse.msgsys.RPCException: multiverse.msgsys.RPCException(java.lang.NullPointerException in instance)

at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx5.f$0(..\config\sampleworld\startup_instance.py:15)
at org.python.pycode._pyx5.call_function(..\config\sampleworld\startup_instance.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at multiverse.server.engine.ScriptManager.runPYFile(ScriptManager.java:181)
at multiverse.server.engine.ScriptManager.runFile(ScriptManager.java:94)
at multiverse.server.engine.Engine.processPostScripts(Engine.java:527)
at multiverse.server.engine.Engine.main(Engine.java:382)
DEBUG [2012-07-30 16:35:26,302] main Engine, script completed

MOBSERVER
WARN [2012-07-30 16:35:26,152] main ScriptManager.runPYFile: file not found: ..\config\sampleworld\extensions_mobserver.py

The logs then end with:
DEBUG [2012-07-30 16:36:13,044] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52945]
ERROR [2012-07-30 16:36:13,044] MessageIO Lost connection to agent 'mobserver' java.nio.channels.SocketChannel[closed]
DEBUG [2012-07-30 16:36:13,074] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52942]
ERROR [2012-07-30 16:36:13,074] MessageIO Lost connection to agent 'voiceserver' java.nio.channels.SocketChannel[closed]
DEBUG [2012-07-30 16:36:13,094] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52995]
ERROR [2012-07-30 16:36:13,104] MessageIO Lost connection to agent 'login_manager' java.nio.channels.SocketChannel[closed]
DEBUG [2012-07-30 16:36:13,124] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52928]
ERROR [2012-07-30 16:36:13,124] MessageIO Lost connection to agent 'proxy_1' java.nio.channels.SocketChannel[closed]

My specs
Windows 7 x64
Latest JDK
Latest MySQL
Latest MySQL connector (5.1.21)
Not using Cygwin

I have tried using different ports, no luck.

I hope my logs can give some insight to the problem I'm having...

Regards

Gabriël


Last edited by GabriëL*KnighT on Sat 4 Aug - 4:56; edited 1 time in total
Back to top Go down
Guest
Guest



PostSubject: See this thread   Tue 31 Jul - 5:06

Hi Gabriel

Check out this thread. I went through this on XP.
http://multiverse.forumotion.co.uk/t220-server-startup-failed-solved

Got it working and connecting on XP under Cygwin.

Cheers
Back to top Go down
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
avatar

Posts : 22
Join date : 2012-07-31
Location : South Africa

PostSubject: Re: Server-startup problems-- Fixed   Tue 31 Jul - 6:06

Koron wrote:
Hi Gabriel

Check out this thread. I went through this on XP.
http://multiverse.forumotion.co.uk/t220-server-startup-failed-solved

Got it working and connecting on XP under Cygwin.

Cheers

Hi Koron,

I did actually scan through the old threads, but at the time didn't realize that the problem you described was (exactly) similar to mine.

Glad to see it is somewhat of a bug and not my mind going nuts. I'll try and fix it tomorrow. Cannot wait to start testing and playing with the code.

Regards
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

PostSubject: Re: Server-startup problems-- Fixed   Sat 4 Aug - 5:54

ok is this a stock install under windows 7? Is this a master server?

I Have been trying to get a master server running under server 2008 for 2 weeks or so now and n matter what I do i keep hitting this:

Code:


MasterServer.main caught exception multiverse.server.util.MVRuntimeException: could not find class: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
      at multiverse.server.engine.MasterDatabase.<init>(MasterDatabase.java:28)
      at multiverse.server.engine.MasterServer.dbConnect(MasterServer.java:40)
      at multiverse.server.engine.MasterServer.main(MasterServer.java:439)


This is with a stock install with only the database and other nessasary info changed and its driving me nuts!
Back to top Go down
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
avatar

Posts : 22
Join date : 2012-07-31
Location : South Africa

PostSubject: Re: Server-startup problems-- Fixed   Sat 4 Aug - 6:16

Hi,

I am not using the master server. See the fix Shane suggested in Koron's thread perhaps. I've got it working using a combo of what Shane suggested and Koron changed in his files.
Back to top Go down
Sponsored content




PostSubject: Re: Server-startup problems-- Fixed   

Back to top Go down
 
Server-startup problems-- Fixed
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Dome Server Problems
» Skyrim Mod - *IMPORTANT MUST HAVE* - SSME - Skyrim Startup Memory Editor (Fixes Most/All CTDs)
» .^f2F-.Swemmei Recruting in server 1
» DARKSEID BAF Problems...
» Lag playing in Taiwan server from Shanghai

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: