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

Share | 
 

 multiverse won't start - just get's stuck?

View previous topic View next topic Go down 
AuthorMessage
Rich2020
Newbie
Newbie
avatar

Posts : 6
Join date : 2012-06-22
Location : Shoawnil Capitol City, Alpha Centauri

PostSubject: multiverse won't start - just get's stuck?   Fri 22 Jun - 8:54

So, I'm trying to get the server set up and a client connected - but I'm having a spot of trouble.

Here's what I'm running:
windows 7 x64 Enterprise edition (6.1.7601)

I've got Java 7 installed,
multiverse client
multiverse server
multiverse tools


All folders are default locations and names as specified by the tutorial.

I've set up the server as recommended, checked the table (tells me there are 5 rows) in the DB.
I've forwarded ports on my router & turned of my firewall.

I've added the connector and edited the multiverse.properties file with the correct location.

I've done everything, as far as I can tell, as requested by the tutorial.

However, when I type: start-multiverse.bat I get this...

DEFAULT_MV_PROPERTYFILE is multiverse.properties
MV_HOME is ..
ENABLE_MGMT is false
Using properties file multiverse.properties
JDBC is c:\mysql-connector-java-5.1.20\mysql-connector-java-5.1.20-bin.jar
Using world file "..\config\sampleworld\sampleworld.mvw"
Using world script directory ..\config\sampleworld
Using log directory ..\logs\sampleworld
Using common directory ..\config\common
Java Flags are: -Dmultiverse.rundir=run\sampleworld -client -Xms32m -Xmx256m -cp
"..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\lib\mars.jar;..\di
st\lib\sampleworld.jar;..\other\rhino1_5R5\js.jar;..\other\java-getopt-1.0.11.ja
r;..\other\jython.jar;c:\mysql-connector-java-5.1.20\mysql-connector-java-5.1.20
-bin.jar;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar" -Dmultiverse.propertyf
ile=multiverse.properties -Dmultiverse.logs=..\logs\sampleworld
Starting message domain server

C:\multiverse\bin>START /B java -Dmultiverse.rundir=run\sampleworld -client -Xm
s32m -Xmx256m -cp "..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\l
ib\mars.jar;..\dist\lib\sampleworld.jar;..\other\rhino1_5R5\js.jar;..\other\java
-getopt-1.0.11.jar;..\other\jython.jar;c:\mysql-connector-java-5.1.20\mysql-conn
ector-java-5.1.20-bin.jar;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar" -Dmul
tiverse.propertyfile=multiverse.properties -Dmultiverse.logs=..\logs\sampleworld
-Dmultiverse.loggername=domain multiverse.msgsys.DomainServer
-t ..\config\common\typenumbers.txt -a combat -a wmgr_1 -a mobserver -a objm
gr -a login_manager -a proxy_1 -a instance -a voiceserver -p Login,1 -p Prox
y,1 -p ObjectManager,1 -p WorldManager,1 -p Inventory,1 -p MobManager,1 -p Quest
,1 -p Instance,1 -p Voice,1 -p Trainer,1 -p Group,1 -p Combat,1 -p ClassAbility,
1 -p Domain,1
Starting world manager
Starting combat server
Starting instance server
Starting object manager
Starting login manager
Starting proxy server
Starting mob server
Starting voice server
Wait for finished initializing msg...

C:\multiverse\bin>Multiverse server version 1.5 0 (- -)

It never goes any further than this. Why? What am I missing?

The multiverse.properties has this:
multiverse.proxyserver=:same
multiverse.proxyport=5050

I've tried removing the ":" and changing "same" to my ipaddress. Nothing is working.

I've also noticed that if I run the command: performinjection.bat

C:\multiverse\bin>performinjection.bat

Starting batch injection of marshalling methods ...
DEFAULT_MV_PROPERTYFILE is multiverse.properties
Using properties file multiverse.properties
Error: Could not find or load main class multiverse.scripts.PropertyGetter
The system cannot find the path specified.
Error: Could not find or load main class multiverse.server.marshalling.InjectCla
ssFiles
Finished batch injection of marshalling methods
C:\multiverse\bin>

This comes out...

Please, someone give me a hand.

Regards,

Rich.
Back to top Go down
Rich2020
Newbie
Newbie
avatar

Posts : 6
Join date : 2012-06-22
Location : Shoawnil Capitol City, Alpha Centauri

PostSubject: Re: multiverse won't start - just get's stuck?   Fri 22 Jun - 10:26

So I uninstalled everything and reinstalled it all.

Now when I get to the step: start-multiverse.bat - I get this:

Code:
C:\multiverse\bin>start-multiverse.bat
DEFAULT_MV_PROPERTYFILE is not defined using multiverse.properties
MV_HOME is not defined, using relative paths
MV_HOME is ..
ENABLE_MGMT is false
Using properties file multiverse.properties
JDBC is c:\mysql-connector-java-5.1.20\mysql-connector-java-5.1.20-bin.jar
Using world file "..\config\sampleworld\sampleworld.mvw"
Creating run directory
Creating run\sampleworld directory
Could Not Find C:\multiverse\bin\run\sampleworld\*.bat
Using world script directory ..\config\sampleworld
Using log directory ..\logs\sampleworld
Using common directory ..\config\common
Java Flags are: -Dmultiverse.rundir=run\sampleworld -client -Xms32m -Xmx256m -cp
 "..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\lib\mars.jar;..\di
st\lib\sampleworld.jar;..\other\rhino1_5R5\js.jar;..\other\java-getopt-1.0.11.ja
r;..\other\jython.jar;c:\mysql-connector-java-5.1.20\mysql-connector-java-5.1.20
-bin.jar;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar" -Dmultiverse.propertyf
ile=multiverse.properties -Dmultiverse.logs=..\logs\sampleworld
Starting message domain server

C:\multiverse\bin>START /B java  -Dmultiverse.rundir=run\sampleworld -client -Xm
s32m -Xmx256m -cp "..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\l
ib\mars.jar;..\dist\lib\sampleworld.jar;..\other\rhino1_5R5\js.jar;..\other\java
-getopt-1.0.11.jar;..\other\jython.jar;c:\mysql-connector-java-5.1.20\mysql-conn
ector-java-5.1.20-bin.jar;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar" -Dmul
tiverse.propertyfile=multiverse.properties -Dmultiverse.logs=..\logs\sampleworld
    -Dmultiverse.loggername=domain    multiverse.msgsys.DomainServer
-t ..\config\common\typenumbers.txt    -a combat -a wmgr_1 -a mobserver -a objm
gr -a login_manager -a proxy_1 -a instance -a voiceserver    -p Login,1 -p Prox
y,1 -p ObjectManager,1 -p WorldManager,1 -p Inventory,1 -p MobManager,1 -p Quest
,1 -p Instance,1 -p Voice,1 -p Trainer,1 -p Group,1 -p Combat,1 -p ClassAbility,
1 -p Domain,1
Starting world manager
Starting combat server
Starting instance server
Starting object manager
Starting login manager
Starting proxy server
Starting mob server
Starting voice server
Wait for finished initializing msg...

C:\multiverse\bin>Multiverse server version 1.5 0 (- -)
*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'*sys
-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'

*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'*sys
-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'*sys-pac
kage-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'*sys-package
-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'

*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'


*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'*s
ys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'*sys
-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'


*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'*s
ys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\injected.jar'

*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'*s
ys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'*sys
-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'


*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\multiverse.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'*sys-pac
kage-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'

*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'*s
ys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'

*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\dist\lib\mars.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\rhino1_5R5\js.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\java-getopt-1.0.11.j
ar'*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\jython.jar'

*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'*sys-package-mgr*: processing new jar, 'C:\mysql-conn
ector-java-5.1.20\mysql-connector-java-5.1.20-bin.jar'

*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\mysql-connector-java-5.1.20\mysql-con
nector-java-5.1.20-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\log4j-1.2.14.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'
*sys-package-mgr*: processing new jar, 'C:\multiverse\other\bcel-5.2.jar'

STARTUP FAILED -- didnt complete after 120 seconds.
Please stop server.

Sad
Back to top Go down
Xangis
Foundation Developer
avatar

Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

PostSubject: Re: multiverse won't start - just get's stuck?   Sat 23 Jun - 6:44

Are you using the server zip from Sourceforge or the one from the source tree?

Check the .out files in multiverse\logs\sampleworld for any ERROR or Exception lines. My guess is that there was some problem connecting to the database, that's the most common thing.
Back to top Go down
http://zetacentauri.com
Rich2020
Newbie
Newbie
avatar

Posts : 6
Join date : 2012-06-22
Location : Shoawnil Capitol City, Alpha Centauri

PostSubject: Re: multiverse won't start - just get's stuck?   Sat 23 Jun - 7:23

Hi,

I'm using the one from sourceforge.

These are the errors from instance.out:

Code:
ERROR [2012-06-22 03:00:38,691] 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.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
DEBUG [2012-06-22 03:00:38,691] Instance-2          sendResponse to instance,25 type=msgsys.RESPONSE id=26 class=multiverse.msgsys.ExceptionResponseMessage
DEBUG [2012-06-22 03:00:38,692] SelfMessage          SelfMessageHandler.handle pos=859
DEBUG [2012-06-22 03:00:38,692] SelfMessage          handleSelfMessage id=26 responseTo=25 type=msgsys.RESPONSE class=multiverse.msgsys.ExceptionResponseMessage
ERROR [2012-06-22 03:00:38,693] main                ScriptManager.runPYFile: file=C:\multiverse\config\sampleworld\startup_instance.py Traceback (innermost last):
  File "C:\multiverse\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.runWorker(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(C:\multiverse\config\sampleworld\startup_instance.py:15)
      at org.python.pycode._pyx5.call_function(C:\multiverse\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)

Don't see any others, other than "connection lost" at the end of the files which is expected.

- Rich.
Back to top Go down
Xangis
Foundation Developer
avatar

Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

PostSubject: Re: multiverse won't start - just get's stuck?   Sat 23 Jun - 7:30

Back to top Go down
http://zetacentauri.com
Rich2020
Newbie
Newbie
avatar

Posts : 6
Join date : 2012-06-22
Location : Shoawnil Capitol City, Alpha Centauri

PostSubject: Re: multiverse won't start - just get's stuck?   Sat 23 Jun - 8:05

Yeah it does look like it.

There are no space or special chars in the filepath, either.

In the file: master.out I get these errors:

Code:
ERROR [2012-06-21 23:52:22,698] main                ScriptManager.runPYFile: file=..\master\master_server.py Traceback (innermost last):
  File "..\master\master_server.py", line 13, in ?
   at multiverse.server.network.MVByteBuffer.getString(MVByteBuffer.java:185)

   at multiverse.server.util.SecureTokenManager.initMaster(SecureTokenManager.java:439)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

   at java.lang.reflect.Method.invoke(Unknown Source)


java.lang.RuntimeException: java.lang.RuntimeException: MVByteBuffer.getString: over 64k string len=1146425619

      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.PyMethod.__call__(Unknown Source)
      at org.python.core.PyObject.__call__(Unknown Source)
      at org.python.core.PyInstance.invoke(Unknown Source)
      at org.python.pycode._pyx0.f$0(..\master\master_server.py:13)
      at org.python.pycode._pyx0.call_function(..\master\master_server.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.MasterServer.main(MasterServer.java:435)
DEBUG [2012-06-21 23:52:22,698] main                script completed
ERROR [2012-06-21 23:52:22,700] main                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)

Back to top Go down
Sponsored content




PostSubject: Re: multiverse won't start - just get's stuck?   

Back to top Go down
 
multiverse won't start - just get's stuck?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» No start fight button !?
» Some observations on first walk through of CE. Traffik- Gone. Soc Leopold Stuck
» Wolf3D won't start..
» Grey Knight RP
» Ash is stuck.

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