Would you like to react to this message? Create an account in a few clicks or log in to continue.

Official Community Forums
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  The Wiki  Website  github Project  

 

 Java issue with master server

Go down 
5 posters
Go to page : 1, 2, 3  Next
AuthorMessage
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 3:49

This error is the reason I dropped multiverse last time. After trying EVERYTHING in EVERY post about this error , no one including me was able to figure out how to fix this:

Code:

ERROR [2013-04-15 13:06:30,813] 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 [2013-04-15 13:06:30,813] main                script completed
ERROR [2013-04-15 13:06:30,829] 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)

This only occurs when attempting to run a MASTER server . I need to be able to do this as I have my server setup on a SERVER machine and want to develop using a standard pipeline. AKA: Development server runs 24/7 and is setup like a production environment. Client is used to access server and do what needs done, patcher is in place and functioning.....ect. It does not make sense to run the server and client on the SAME machine as before long you will find yourself too far into development to FIX it if the remote connectivity is never tested and fixed and or improved if need be. This is also nessasary if you want to CLUSTER your zones in sandbox fasion.
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 4:25

You are getting that error because you need to generate a private key and put it in the master_server.py If you run gen-masterserver-keys.bat it will output your private key into masterserverkeys.txt copy the encoded private key and put it in master_server.py where it says to put it but with only one set of quotes and no endlines.

You will also need to put the encoded public key into login_manager.py in the config/common folder again with no endlines and one set of quotes.

(Obviously dont share your keys or someone can fake the authentication method and login directly to your game server.)
Back to top Go down
tichfuie
Super Contributor
Super Contributor
tichfuie


Posts : 257
Join date : 2013-02-07
Location : NA

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 4:47

delurin,

one thing that is confussing,

when we generate a new masterserverkeys.txt
it does generates several keys.
domain key:
private key:
public key:
encoded private key:
encoded public key:
encoded domain key:
master token data:
imported master token:
domain token data:
imported domain token:


which one exactly are we supposed to use?
and what are the rest of them used for?
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 4:59

The encoded private key is for the master server. The encoded public key is for the game server. The unencoded set of keys is probably just in case you want to recreate the keys and are probably unnecessary. I am not sure what the others are used for but I am going to guess that the domain keys are for distributing the server across multiple machines. Possible for across different networks.
Back to top Go down
Louis Blackblood
Experienced Newbie
Experienced Newbie
Louis Blackblood


Posts : 32
Join date : 2013-04-12
Age : 38
Location : California

Java issue with master server Empty
PostSubject: "masterserverkeys.txt unexpected at this time"   Java issue with master server EmptyWed 17 Apr - 5:04

I get this when running gen-masterserver-keys.bat

Code:
Mike@Mike-PC /cygdrive/c/multiverse/master
$ ./gen-masterserver-keys.bat
.\masterserverkeys.txt was unexpected at this time.

So I cant even generate a key right now, any options?
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:09

It's a bat file I think you just want to run it from the folder

I am not sure anyone has written one for cygwin/linux yet but since it only needs to be run once it shouldnt be that hard to find a windows box to run it once.
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:09

Ok its now atleast attempting to start but i get this using the batch file and cygwin still has the same issue .



Code:

C:\multiverse\master>DEBUG [2013-04-16 13:59:48,870] main      Specified proper
ty file multiverse.properties does not exist! Defaulting to command-line propert
ies.
Missing log config file, logging to console
INFO  [2013-04-16 13:59:48,885] main      pid 4892@Prometheus
DEBUG [2013-04-16 13:59:48,885] main      Using property file multiverse.proper
ties
DEBUG [2013-04-16 13:59:48,885] main      Properties are:
INFO  [2013-04-16 13:59:48,885] main      The log level is 1
INFO  [2013-04-16 13:59:48,885] main      Multiverse server version 1.5 0 (- -)

DEBUG [2013-04-16 13:59:49,401] main      SecureTokenManager.initDomain: readin
g domain key. keyId=0x1 algorithm=HmacSHA1
DEBUG [2013-04-16 13:59:50,635] main      Executing script file: ..\master\mast
er_server.py
DEBUG [2013-04-16 13:59:50,635] main      runPYFile: file=..\master\master_serv
er.py
ERROR [2013-04-16 13:59:50,729] main      ScriptManager.runPYFile: file=..\mast
er\master_server.py Traceback (innermost last):
  (no code object) at line 0
SyntaxError: ('Lexical error at line 11, column 11.  Encountered: "\\n" (10), af
ter : ""', ('..\\master\\master_server.py', 11, 11, 'privKey ="'))

      at org.python.core.parser.fixParseError(Unknown Source)
      at org.python.core.parser.parse(Unknown Source)
      at org.python.core.Py.compile_flags(Unknown Source)
      at multiverse.server.engine.ScriptManager.runPYFile(ScriptManager.java:18
1)
      at multiverse.server.engine.ScriptManager.runFile(ScriptManager.java:94)
      at multiverse.server.engine.MasterServer.main(MasterServer.java:435)
DEBUG [2013-04-16 13:59:50,729] main      script completed
DEBUG [2013-04-16 13:59:50,745] main      Database: starting keepalive
DEBUG [2013-04-16 13:59:50,760] main      *** url = jdbc:mysql://null/multivers
e username = null password = null
ERROR [2013-04-16 13:59:53,385] main      MasterServer.main caught exception mu
ltiverse.server.util.MVRuntimeException: could not connect to database: com.mysq
l.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driv
er has not received any packets from the server.
      at multiverse.server.engine.MasterDatabase.connect(MasterDatabase.java:10
5)
      at multiverse.server.engine.MasterServer.dbConnect(MasterServer.java:42)
      at multiverse.server.engine.MasterServer.main(MasterServer.java:439)

in which i have no idea what this means..

here is both master_server.py:

Code:



from multiverse.server.engine import *
from multiverse.server.util import *

ms = MasterServer.getMasterServer()
#ms.setTCPPort(9005)
#ms.setRDPPort(9010)

# Uncomment if you want to set a log level for this process
# that is different from the server's default log level
#Log.setLogLevel(1)
privKey ="
MIIBSwIBADCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2
USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4
O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmC
ouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCB
gLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhR
kImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoEFgIUX33VHOs/AivYjKGRbGuNwLRWDaQ="





SecureTokenManager.getInstance().initMaster(Base64.decode(privKey))


and login_manager.py:

Code:


# test master key
pubkey ="
AAAAAAAAAAwAAAADRFNBMIIBuDCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2
EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7
ECLCT7up1/63xhv4O1fnxqimF+===4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUA
l2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdR
WVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWJJJUfI0o4KOuHiuzpnWRbqN/C/ohNWLx
+2J6ASQ7zKTx098RkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYUAAoGBAMh+4Cur7iO1THlj
Hq2TMtZzqGqaubXnnf49d3wNLfihYgIC7k0gY4CeliG/vHHvLHJ4EL6BS4562415416496798465463n+AMIeu0iTmVxzoU
83Cd5o16dL7tXQPwpzedWhO+46Q4SAN9waEFajOGW0tEhriTRDSnxY76md+5wGO5Tkf0crsBq4qGhUUg"





SecureTokenManager.getInstance().registerMasterPublicKey(Base64.decode(pubkey))

# production master key id=1
pubkey = """AAAAAAAAAAEAAAADRFNBMIIBuDCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2
            EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPo/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7
            ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUA
            l2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrPlo(99Ur7v6OuqC+VdMCz0HgmdR
            WVeOutRZT+ZxBxCBgLRJFnophEwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx
            +2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYUAAoGBAI1obFDPxAHhfzeY
            pMSxJhplwKldDVBpG3TNAj18FaoqMsWq2mjI1VN2i9jLjhhbl7DgFIWvXBqaJ8BO75uGMQL+uEvl
            GQaQ7ClgGpWn0YLxUd1Hja+c7SmKnkWmrhMYiq84O/2GP6hTfmidVd7STy3PoXuSf50Ph2tumuai
            UyZ5"""

SecureTokenManager.getInstance().registerMasterPublicKey(Base64.decode(pubkey))

Engine.registerPlugin("multiverse.mars.plugins.MarsLoginPlugin")


DONT worry, I changed alot of the characters in the keys BEFORE posting this so, these keys are not even close to correct lol Just wanted you to see how they are in the file.



and Louis, take the check for the textfile out of it at the top and it will run and generate the masterkeys and write them to the file. If i remember right that is in there to prevent you from overwritting the file if you have already generated the keeys and used them.
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:13

put the key all on one line the \n character is an endline so it is saying that the privKey cannot equal endline
Back to top Go down
Louis Blackblood
Experienced Newbie
Experienced Newbie
Louis Blackblood


Posts : 32
Join date : 2013-04-12
Age : 38
Location : California

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:16

Quote :
and Louis, take the check for the textfile out of it at the top and it will run and generate the masterkeys and write them to the file. If i remember right that is in there to prevent you from overwritting the file if you have already generated the keeys and used them.

Thanks, was just opening it up when I read your reply
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:22

so in laymans terms, all on one line and remove the backslashes?
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:25

dont remove the backslashes but yes all in one line
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:39

new cygwin output. hate to keep pestering you with this but im pulling my hair out at this point lol.

Code:

./master.sh -v start
./master.sh: line 249: [: too many arguments
Error: Could not find or load main class file
*** Starting master server ***
./master.sh: line 93: [: =: unary operator expected
MV_HOME is ..
./master.sh: line 104: [: too many arguments
Using .jar files from the /dist hierarchy
Using property file ../bin/master.properties
Using log directory ../logs/master
Using common directory ../config/common, bin directory ../bin
JAVA_FLAGS="-server  -cp ../other/rhino1_5R5/js.jar;Properties file ../bin/maste;../dist/lib/injected.jar;../dist/lib/multiverse.jar;../dist/lib/mars.jar;../other/java-getopt-1.0.11.jar;../other/jython.jar;../other/log4j-1.2.14.jar;../other/bcel-5.2.jar;. -Dmultiverse.propertyfile=../bin/master.properties  -Dmultiverse.logs=../logs/master"
Starting master server:        Error: Could not find or load main class file



SUCCESS
Wait for finished initializing msg...

^WAIT What? does that say what i think it says?

Code:

Administrator@Prometheus /cygdrive/c/multiverse/master
$ ./master.sh -v status
./master.sh: line 249: [: too many arguments
Error: Could not find or load main class file

master server  NOT RUNNING

^^ HAHA , FOOLED you! lol im confused lol
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:50

I believe I ended up using the windows command line to run it because I couldn't get it to work right away let me see if I cant the cygwin version running real quick
Back to top Go down
Louis Blackblood
Experienced Newbie
Experienced Newbie
Louis Blackblood


Posts : 32
Join date : 2013-04-12
Age : 38
Location : California

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 5:59

Code:
Mike@Mike-PC /cygdrive/c/multiverse/master
$ ./master.sh start
./master.sh: line 249: [: too many arguments
java.lang.NoClassDefFoundError: file
Caused by: java.lang.ClassNotFoundException: file
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: file.  Program will exit.
Exception in thread "main" *** Starting master server ***
./master.sh: line 93: [: =: unary operator expected
Wait for finished initializing msg...

Mike@Mike-PC /cygdrive/c/multiverse/master
$ java.lang.NoClassDefFoundError: file
Caused by: java.lang.ClassNotFoundException: file
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: file.  Program will exit.
Exception in thread "main"

This is what I end up getting when running from Cygwin, any thoughts?
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 6:21

Ah ok When they moved the master server from the mv_home/bin they did not update the master.sh file to reflect that it is no longer in the bin folder here is my updated version that works Ill try to figure out how to change it in the repository some time soon




Last edited by Delurin on Wed 17 Apr - 6:34; edited 1 time in total (Reason for editing : Incorrect information)
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 6:34

Hmm Ignore that last one it looks like the git repository has the correct master.sh/directory I recommend you go make sure it is update with that one.
https://github.com/multiversemmo/MultiversePlatform
Back to top Go down
rotello
Super Contributor
Super Contributor
rotello


Posts : 215
Join date : 2012-12-06

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 9:40

I never tried Cygwin. I went straight up using a virtual machine like VMWare Player and Centos 6 x64. It is better simulating the linux environment.

Here's my master_server.py if you're interested. It's simple and auto generates the keys, less confusion:

Code:
from multiverse.server.engine import *
from multiverse.server.util import *

ms = MasterServer.getMasterServer()
#ms.setTCPPort(9005)
#ms.setRDPPort(9010)

# Uncomment if you want to set a log level for this process
# that is different from the server's default log level
#Log.setLogLevel(1)

pair = SecureTokenUtil.generateMasterKeyPair()
encodedPrivKey = SecureTokenUtil.encodeMasterPrivateKey(12, pair.getPrivate())

SecureTokenManager.getInstance().initMaster(encodedPrivKey)

Hope that helps.
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 9:49

That is what I came up with originally but it doesn't let you put the master server on a different server than the game server. And I dont think it will work with the load test work.
Back to top Go down
rotello
Super Contributor
Super Contributor
rotello


Posts : 215
Join date : 2012-12-06

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 9:57

Oh ok, thanks for the info Delurin.
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 10:47

ok changing out the "multiverse complete" master.sh with the one from the git repo and then MOVING prop2sh.awk to the master directory I get mixed results, sometimes the server starts and runs till i shut it down with ./multiverse.sh -v stop and other ( most of the time ) it CLAIMS to start then must stop at the tail end of the process and dumps this error in master.out:

Code:

ERROR [2013-04-16 19:43:13,202] main                MasterServer.main caught exception java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Net.java:344)
      at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:684)
      at sun.nio.ch.DatagramSocketAdaptor.bind(DatagramSocketAdaptor.java:91)
      at multiverse.server.network.rdp.RDPServer.bind(RDPServer.java:41)
      at multiverse.server.network.rdp.RDPServerSocket.bind(RDPServerSocket.java:35)
      at multiverse.server.network.rdp.RDPServerSocket.bind(RDPServerSocket.java:24)
      at multiverse.server.engine.MasterServer.main(MasterServer.java:452)

Im thinking I may have to specify a static IP somewheres or FQDN but Im at a loss as to where?
Back to top Go down
Louis Blackblood
Experienced Newbie
Experienced Newbie
Louis Blackblood


Posts : 32
Join date : 2013-04-12
Age : 38
Location : California

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 10:54

Code:
ERROR [2013-04-16 16:51:22,748] main                MasterServer.main caught exception java.net.BindException: Address already in
 use: bind

I get this when starting up the master now..no idea lol
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 11:05

I am guessing that it doesnt release the socket...you may want to close down cygwin or whatever you are using instead of stopping/restarting it. I will take a quick look but I just let it run when I start the server and only stop it when I shut the server down.
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 11:15

I may have stumbled onto something.

I added the info from the top of multiverse.properties :

Code:

### Server host names and ports
multiverse.msgsvr_hostname=192.168.1.150
multiverse.msgsvr_port=20374
multiverse.worldmgrport=5040
### Proxy server settings.  To enable remote clients to connect, specify IP address or DNS hostname
multiverse.proxyserver=:192.168.1.150
multiverse.proxyport=5050


to master.properties and the server starts and runs every time! this is missing in master.properties. Now i cant figure out what port to use to connect with JMX to confirm it and keep getting connection refused in jaconsole so i assume it acculy is running, but ./multiverse.sh -v status reports RUNNING everytime i stop then restart it. Still not getting "done initializing ......" but if left for 10 min and status is run again , still reports as RUNNING. Now i just have to get a client to connect and i think we may have this one in the bag!
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 11:40

I forgot to mention that it doesnt give an initialized message even after it has started... I believe they just copied the multiverse.sh and modified it to run the master so it probably was just left in accidently.


I am not sure why you need to add the info from the multiverse.properties since it is only needed for the game server and not the master server unless were you waiting for the world initialized message? If so then yes you might need to connect to message server in order to receive the message that world has initialized but that is not necessary for the master server to run
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server EmptyWed 17 Apr - 12:26

ok now im getting this in the client log when I try to connect and nothing but a white screen with "Platform tutorial for setting up bla bla bla... accross the top.

Code:


INFO  [2013-04-16 21:11:35,352] MultiverseClient    Client command line arguments: --master 192.168.1.150 --world sampleworld
INFO  [2013-04-16 21:11:35,364] MultiverseClient    Checking if restart required
INFO  [2013-04-16 21:11:35,538] MultiverseClient    Client version up to date: 1.6.3163.21365
INFO  [2013-04-16 21:11:35,568] Client              Starting up client; client version number is 1.5.4465.30861
INFO  [2013-04-16 21:11:35,589] Axiom                *********Axiom 3D Engine Log *************
Copyright Copyright © Axiom and RealmForge Development Team 2003-2005
Version: 0.7.0.30853
Operating System: Microsoft Windows NT 6.1.7600.0
.Net Framework: 2.0.50727.4927

INFO  [2013-04-16 21:11:35,589] Axiom                *-*-* Axiom Intializing
INFO  [2013-04-16 21:11:35,620] PlatformManager      Loading PlatformManager 'C:\Program Files (x86)\Multiverse Software Foundation\Multiverse Client\bin\Axiom.Platforms.Win32.dll'
INFO  [2013-04-16 21:11:35,630] Axiom                OverlayElementFactory for type 'BorderPanel' registered.
INFO  [2013-04-16 21:11:35,631] Axiom                OverlayElementFactory for type 'TextArea' registered.
INFO  [2013-04-16 21:11:35,631] Axiom                OverlayElementFactory for type 'Panel' registered.
INFO  [2013-04-16 21:11:35,816] Axiom                Total System Memory Size: 32684MB
INFO  [2013-04-16 21:11:35,939] Axiom                Loaded plugin Axiom.CgPrograms.CgPlugin from Axiom Cg Plugin
INFO  [2013-04-16 21:11:35,941] articleSystemManager Particle Emitter type 'Point' registered.
INFO  [2013-04-16 21:11:35,941] articleSystemManager Particle Emitter type 'Box' registered.
INFO  [2013-04-16 21:11:35,941] articleSystemManager Particle Emitter type 'Ellipsoid' registered.
INFO  [2013-04-16 21:11:35,941] articleSystemManager Particle Emitter type 'Cylinder' registered.
INFO  [2013-04-16 21:11:35,941] articleSystemManager Particle Emitter type 'Ring' registered.
INFO  [2013-04-16 21:11:35,942] articleSystemManager Particle Emitter type 'HollowEllipsoid' registered.
INFO  [2013-04-16 21:11:35,942] articleSystemManager Particle Affector type 'LinearForce' registered.
INFO  [2013-04-16 21:11:35,942] articleSystemManager Particle Affector type 'ColourFader' registered.
INFO  [2013-04-16 21:11:35,943] articleSystemManager Particle Affector type 'ColourFader2' registered.
INFO  [2013-04-16 21:11:35,943] articleSystemManager Particle Affector type 'ColourImage' registered.
INFO  [2013-04-16 21:11:35,943] articleSystemManager Particle Affector type 'ColourInterpolator' registered.
INFO  [2013-04-16 21:11:35,943] articleSystemManager Particle Affector type 'Scaler' registered.
INFO  [2013-04-16 21:11:35,943] articleSystemManager Particle Affector type 'Rotator' registered.
INFO  [2013-04-16 21:11:35,943] Axiom                Loaded plugin Axiom.ParticleFX.ParticleFX from Axiom Particle Systems Plugin
INFO  [2013-04-16 21:11:35,944] Axiom                Loaded plugin Axiom.RenderSystems.DirectX9.Plugin from Axiom DirectX 9 Rendering System
INFO  [2013-04-16 21:11:35,945] Axiom                Loaded plugin Axiom.SceneManagers.Multiverse.MultiverseSceneManagerPlugin from Multiverse SceneManager Plugin
INFO  [2013-04-16 21:12:46,609] MultiverseClient    Exiting client
INFO  [2013-04-16 21:12:46,611] Client              Started call to Client.Dispose()
INFO  [2013-04-16 21:12:46,644] Axiom                *-*-* Axiom Shutdown
INFO  [2013-04-16 21:12:46,645] Axiom                Unloading plugin Axiom.CgPrograms.CgPlugin from Axiom Cg Plugin
INFO  [2013-04-16 21:12:46,645] Axiom                Unloading plugin Axiom.ParticleFX.ParticleFX from Axiom Particle Systems Plugin
INFO  [2013-04-16 21:12:46,645] Axiom                Unloading plugin Axiom.RenderSystems.DirectX9.Plugin from Axiom DirectX 9 Rendering System
INFO  [2013-04-16 21:12:46,647] Axiom                Unloading plugin Axiom.SceneManagers.Multiverse.MultiverseSceneManagerPlugin from Multiverse SceneManager Plugin
INFO  [2013-04-16 21:12:46,648] Client              Finished call to Client.Dispose()
INFO  [2013-04-16 21:12:46,648] MultiverseClient    Cleaning up
INFO  [2013-04-16 21:12:46,648] MultiverseClient    Exiting Client
Back to top Go down
Sponsored content





Java issue with master server Empty
PostSubject: Re: Java issue with master server   Java issue with master server Empty

Back to top Go down
 
Java issue with master server
Back to top 
Page 1 of 3Go to page : 1, 2, 3  Next
 Similar topics
-
» Master Server?
» Sampleworld, Times Square non-functioning
» I have 2 issues.
» And another Server Issue.
» Master Server Setup

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