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

Share | 
 

 What the.........?

View previous topic View next topic Go down 
AuthorMessage
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: What the.........?   Sun 5 Aug - 4:22

Ok here is some oddness.


start the master using the start-master.bat file in the master directory and get this result:





As you can see from the screenshot, both status-multiverse.bat and JMX report the server is running. However the command prompt window that start-master.bat is running in says the server did not start.





BUT when I try to run through cygwin this is what happens:






Now im assuming cygwin is correct as I can not connect to the server even though the batchfile seems to start everything . any one have any clue as to what is going on here?
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Sun 5 Aug - 15:44

Sorry about the lack of images , Lost power and the webserver was down for a bit affraid
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Sun 5 Aug - 16:05

I think I may have a solution to your problem. Can you jump on chat or IM so we can get you up and running ?
Back to top Go down
http://www.multiversemmo.com
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Sun 5 Aug - 16:47

If you have configured MV_HOME variable configured as an "Environment Variable" on My Computer, then remove it. Really all the environment variables for multiverse should be removed and let the scripts do all the work.

You probably have an Environment Variable name MV_HOME configured to C:\multiverse

There might be some documentation on the wiki that says to create these environment variables. But I've found them to cause nothing but trouble. All the variables can be handled within the session of the .batch file or .sh script.

This can especially cause problems if you are trying to run one server under Windows .bat files and another server under Cygwin on the same machine. They will both try to share the same environment variables and cause problems.

Shane
Back to top Go down
http://www.multiversemmo.com
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Mon 6 Aug - 4:21

You are correct, I do have Multiverse set as MV_HOME in the env variables. I will remove it and see what happens. Sorry about not getting on chat with you , But you can email me directly at admin@darkfrontieronline.net I usualy check that 50 times a day lol.
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Mon 6 Aug - 5:37

Could it be that this:

Code:

ERROR [2012-08-05 14:32:42,281] 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)

is indicating that the java path is being set twice like it does in start-multiverse.bat before you apply your fix?

Oh and cygwin refuses to output log files now for some reason. I dont understand how it first will find everything java related then its as if the information is overwritten or something and all the sudden it cant find the class path again.
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Mon 6 Aug - 5:52

This tells me that the JDBC variable is not set correctly. If you have an evironment variable named JDBC remove it
Also check you multiverse.properties and verify the JDBC path
I believe the base install puts it into the other/MySQL-JDBC/. Folder
Use the most current jar which I beleive is 3.1.4
The JDBC .jar file is what provides connectivity between java and the MySQL database. It is not the java runtime version. The java runtime actually executes the java code and is versioned like 1.5 or 1.6 or 1.7. And how by names like JRE 7 which is really java runtime environment 1.7
Back to top Go down
http://www.multiversemmo.com
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Mon 6 Aug - 6:20

If this is the master server you are running then make sure you check master.properties for the correct multiverse.jdbcJarPath declaration.

For both the multivese server and master server the following rules apply. If you are running under the Windows batch file then use \\ double backslashes for folder delineation. If you are running under Cygwin use / single forward slashes for folder delineation.
Also verify that the correct line is uncommented. A # in the properties files denotes a comment.

The declaration should look something like this.

Windows
Code:
multiverse.jdbcJarPath=..\\other\\mysql-jdbc\\mysql-connector-java-3.1.14-bin.jar

Cygwin
Code:
multiverse.jdbcJarPath=../other/mysql-jdbc/mysql-connector-java-3.1.14-bin.jar

Verify that you actually have the jdbc .jar file used in the declaration as well. If you have a different version you will have to change the declaration accordingly.

Back to top Go down
http://www.multiversemmo.com
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Mon 6 Aug - 6:30

As refrenced in this post http://multiverse.forumotion.co.uk/t235-i-have-2-issues

I have both mysql-connector-java-3.1.14-.bin.jar and mysql-connector-java-5.1.21-.bin.jar at the root of c:\

Also changes to multiverse.jdbcJarPath= to : ..\\mysql-connector-java-5.1.21-.bin.jar OR ..\\mysql-connector-java-3.1.14-.bin.jar in both master.properties and multiverse.properties seem not to make any difference at all .

after taking the screenshot in that post I moved the 5.1.21 Java connector straight to the root of c: so both are at the root and declared in both properties files accordingly .

The only thing I can think of is that maybe i need to drop the C:\\ at the beginning at the statement like so ..\\mysql-connector-java-5.1.21-.bin.jar OR ..\\mysql-connector-java-3.1.14-.bin.jar.
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Mon 6 Aug - 6:43

one question, I doubt it but do you think that Because I am trying to start the server over a remote desktop connection ( server machine is headless ) it could in some way be effecting it?
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Mon 6 Aug - 6:54

If the jdbc files are in the root C: drive then ..\ will not get you there. Reference directly C:\filename.jar

..\ means down 1 directory. If the batch file is run from C:\Multiverse\bin then ..\ refers to C:\Multiverse not C:\

so you can either use C:\ directly or ..\..\ meaning down 2 directories

Shane
Back to top Go down
http://www.multiversemmo.com
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Mon 6 Aug - 9:09

Ok just for the sake of clairity and to confirm this is the millionth time I have set this up always the same , Screenshots follow:



Both Java connector files shown here at root of C:\ , Please also note the Multiverse folder is ALSO at the root of C:\





Ok so here we have master.properties :

Code:


### Server host names and ports
multiverse.master_tcp_port=9005
multiverse.master_rdp_port=9010

### Database settings
### Use multiverse.db_url property to use a specific JDBC URL.  If not specified, then
### the server constructs it in standard format from the other property values,
### as follows jdbc://db_type/db_hostname/db_name
multiverse.db_type=mysql
multiverse.db_driver=com.mysql.jdbc.Driver
multiverse.db_name=multiverse
multiverse.db_user=xxxxxxx
multiverse.db_password=xxxxxxx
multiverse.db_hostname=localhost
### multiverse.db_url=jdbc:dbtype://hostName/databaseName

#Path to JDBC driver JAR file
#multiverse.jdbcJarPath=../other/mysql-jdbc/mysql-connector-java-3.0.14-production-bin.jar


multiverse.jdbcJarPath=C:\mysql-connector-java-3.1.14-bin.jar <--spaced out for readability and this  comment is NOT in the accual file just here to point out the declaration points to the .jar currently at the Root of C:\


#multiverse.jdbcJarPath=C:\\mysql-connector-java-3.1.14-bin.jar  Double slash variation does not work either


###
### The default log level of the server.
###
### MV-Level    log4j Level
###  0          TRACE
###  1          DEBUG
###  2          INFO
###  3          WARN
###  4          ERROR
###
multiverse.log_level=1
multiverse.rotate_logs_on_startup=true

###
### Should old logs be deleted on startup?
###
#multiverse.delete_logs_on_startup=true

###
### log4j configuration.  The multiverse.log_level over-rides the
### log4j log level.
###
log4j.appender.FILE = org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out
log4j.appender.FILE.MaxFileSize = 50MB
log4j.appender.FILE.MaxBackupIndex=3
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

#log4j.appender.ErrorLog = org.apache.log4j.RollingFileAppender
#log4j.appender.ErrorLog.Threshold = ERROR
#log4j.appender.ErrorLog.File = ${multiverse.logs}/errors.out
#log4j.appender.ErrorLog.MaxFileSize = 50MB
#log4j.appender.ErrorLog.MaxBackupIndex=3
#log4j.appender.ErrorLog.layout=org.apache.log4j.PatternLayout
#log4j.appender.ErrorLog.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

log4j.rootLogger=DEBUG, FILE


###
### Should we use class files from the /build hierarchy
### instead of the jar files from the /dist hierarchy?
###
#multiverse.use_class_files=true

###
### Should we log various RDP counters
###
multiverse.log_rdp_counters=false

###
### The default when enabled is to log CPU times an interval of
### 5000 ms, at log_level 2, which is INFO
###
#multiverse.cputime_logging_interval=5000,2

###
### Log message agent statistics
###
#multiverse.message_agent_stats=true

###
### This number is the number of maximum milliseconds that the
### packet aggregator will delay sending a packet in hopes that
### more packets can be added to it.  By default, it is 25ms.
### You can change the delay time, or disable packet aggregation
### by setting the aggregation interval is zero
###
#multiverse.packet_aggregation_interval=0

###
### Message printed on console when the world is available.
### The world is available when the "Domain" plugin dependency is
### satisfied.
###
multiverse.world_available_message = DONE INITIALIZING, you can log in now




ok so master.properties is configured , so just to be safe lets make multiverse.properties look the same just incase it loads that instead so here it is:

Code:


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

### Voice server host and port number
multiverse.voiceserver=world.darkfronttieronline.net
multiverse.voiceport=5051

### Options for VoiceServer testing

### Should the voice plugin automatically create a positional and/or
### non-positional voice group(s) with the specified numbers?
multiverse.precreated_positional_voice_group=1
#multiverse.precreated_nonpositional_voice_group=5

### Should it auto-create a nonpositional voice group because a client
### connects with the number of a group and the group doesn't exist?
#multiverse.autocreate_referenced_voice_groups=true

###
### Should the voice server record voices?
###
#multiverse.record_voices=true

### Database settings
### Use multiverse.db_url property to use a specific JDBC URL.  If not specified, then
### the server constructs it in standard format from the other property values,
### as follows jdbc://db_type/db_hostname/db_name
multiverse.db_type=mysql
multiverse.db_driver=com.mysql.jdbc.Driver
multiverse.db_name=multiverse
multiverse.db_user=darkfront
multiverse.db_password=ou812ic.
multiverse.db_hostname=localhost
### multiverse.db_url=jdbc:dbtype://hostName/databaseName

# specifies how long to wait for all plugin dependencies to be
# resolved.  after waiting this period of time (in seconds),
# if all dependencies have not been met, then we report an error message.
multiverse.startup_timeout=120

#Path to JDBC driver JAR file
# multiverse.jdbcJarPath=../other/mysql-jdbc/mysql-connector-java-3.0.14-production-bin.jar
multiverse.jdbcJarPath=C:\mysql-connector-java-3.1.14-bin.jar <--Still pointing to file at root of C:\


###
### If multiverse.mvwfile property is not specified, it defaults to MV_HOME/config/worldname/worldname.mvw
### Example below is Windows path; On Linux/Unix, use forward slashes instead of double backslashes.
multiverse.worldname=sampleworld
###multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw

###
### The default log level of the server.
###
### MV-Level    log4j Level
###  0          TRACE
###  1          DEBUG
###  2          INFO
###  3          WARN
###  4          ERROR
###
multiverse.log_level=1

###
### Rotate log files when server starts
###
multiverse.rotate_logs_on_startup=true

###
### Archive log files when server starts.  Logs are moved to directory
### "<world-name>.old".  Should set rotate_logs_on_startup to false when
### this option is true.
###
#multiverse.archive_logs_on_startup=true

###
### Should old logs be deleted on startup?
###
multiverse.delete_logs_on_startup=true

###
### log4j configuration.  The multiverse.log_level over-rides the
### log4j log level.
###
log4j.appender.FILE = org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out
log4j.appender.FILE.MaxFileSize = 50MB
log4j.appender.FILE.MaxBackupIndex=3
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

#log4j.appender.ErrorLog = org.apache.log4j.RollingFileAppender
#log4j.appender.ErrorLog.Threshold = ERROR
#log4j.appender.ErrorLog.File = ${multiverse.logs}/errors.out
#log4j.appender.ErrorLog.MaxFileSize = 50MB
#log4j.appender.ErrorLog.MaxBackupIndex=3
#log4j.appender.ErrorLog.layout=org.apache.log4j.PatternLayout
#log4j.appender.ErrorLog.layout.ConversionPattern=%-5p [%d{ISO8601}] %-20t %m%n

log4j.rootLogger=DEBUG, FILE


###
### Should we use class files from the /build hierarchy
### instead of the jar files from the /dist hierarchy?
###
#multiverse.use_class_files=true

###
### Should we log histograms of time-in-queue and processing time
### for proxy messages?  If so, what should the reporting interval
### be?  (Defaults to 5000ms).
###
multiverse.log_proxy_histograms=true
#multiverse.log_proxy_histograms_interval=5000

###
### Should we log various RDP counters
###
multiverse.log_rdp_counters=false

###
### Should we log various VoicePlugin counters
###
multiverse.log_voice_counters=true

###
### The default when enabled is to log CPU times an interval of
### 5000 ms, at log_level 2, which is INFO
###
#multiverse.cputime_logging_interval=5000,2

###
### Log message agent statistics
###
#multiverse.message_agent_stats=true

###
### This number is the number of maximum milliseconds that the
### packet aggregator will delay sending a packet in hopes that
### more packets can be added to it.  By default, it is 25ms.
### You can change the delay time, or disable packet aggregation
### by setting the aggregation interval is zero
###
#multiverse.packet_aggregation_interval=0

###
### Maximum objects per quad tree node before dividing.
###
#multiverse.quad_tree_node_max_objects=30

###
### Maximum depth of the quad tree.  Should be less than 32.
###
#multiverse.quad_tree_max_depth=20

###
### Message printed on console when the world is available.
### The world is available when the "Domain" plugin dependency is
### satisfied.
###
multiverse.world_available_message = DONE INITIALIZING, you can log in now

### Plugin type startup dependencies
### Dependencies are expressed in terms of plugin types, not plugin names.
### The dependency is satisfied when the expected number of plugins have
### started.  The number of expected plugins is controlled by flags to
### the DomainServer (see PLUGIN_TYPES in multiverse.sh)
###
### Every plugin type should have a "plugin_dep" property, even if it
### has no dependencies.
multiverse.plugin_dep.Login=ObjectManager,Instance
multiverse.plugin_dep.Instance=ObjectManager,Quest,MobManager,Inventory,WorldManager
multiverse.plugin_dep.Proxy=Instance,Voice
multiverse.plugin_dep.Voice=Instance
multiverse.plugin_dep.MobManager=ObjectManager,WorldManager,Inventory,Quest
multiverse.plugin_dep.sampleworld.MobManager=ObjectManager,WorldManager,Inventory,Quest,Combat
multiverse.plugin_dep.ObjectManager=
multiverse.plugin_dep.WorldManager=
multiverse.plugin_dep.Inventory=
multiverse.plugin_dep.Quest=
multiverse.plugin_dep.Trainer=
multiverse.plugin_dep.ClassAbility=
multiverse.plugin_dep.Combat=
multiverse.plugin_dep.Domain=Instance,Proxy,Voice



Ok looks good right? ok so just for the sake of it here is start-master.bat with the javaflags fix you came up with.

Code:


@echo off
:: This batch file starts the Multiverse Master sever processes on Windows
:: You must have installed Java, a database, JDBC driver, and the Multiverse servers
:: Copyright 2012 The Multiverse Software Foundation

:: Set DEFAULT_MV_PROPERTYFILE if you want to use a different defult property file
if defined DEFAULT_MV_PROPERTYFILE (
  echo DEFAULT_MV_PROPERTYFILE is %DEFAULT_MV_PROPERTYFILE%
) else (
  echo DEFAULT_MV_PROPERTYFILE is not defined using master.properties
  set DEFAULT_MV_PROPERTYFILE=master.properties
)

:: Set to true to enable JMX management and monitoring
if not defined ENABLE_MGMT set ENABLE_MGMT=false

:: Check that script is being run from mv_home\bin
if not defined MV_HOME (
  echo MV_HOME is not defined, using relative paths
  if exist .\start-master.bat (
    set MV_HOME=..
  ) else (
    echo Batch script must be run from MV_HOME\master directory!
  )
)

set MV_COMMON=%MV_HOME%\config\common

echo MV_HOME is %MV_HOME%
echo ENABLE_MGMT is %ENABLE_MGMT%

:: Change to "server" to use the server Java VM
set JVM_TYPE=client
set JVM_HEAP_FLAGS=-Xms32m -Xmx256m

set PROPFILE=%1
if %1x==x (
  set PROPFILE=%DEFAULT_MV_PROPERTYFILE%
)
echo Using properties file %PROPFILE%

if not defined MV_JAR (
  set MV_JAR=%MV_HOME%\dist\lib\multiverse.jar
)
if not defined MARS_JAR (
  set MARS_JAR=%MV_HOME%\dist\lib\mars.jar
)
if not defined INJECTED_JAR (
  set INJECTED_JAR=%MV_HOME%\dist\lib\injected.jar
)

set JYTHON=%MV_HOME%\other\jython.jar
set RHINO=%MV_HOME%\other\rhino1_5R5\js.jar
set GETOPT=%MV_HOME%\other\java-getopt-1.0.11.jar
set LOG4J=%MV_HOME%\other\log4j-1.2.14.jar
set BCEL=%MV_HOME%\other\bcel-5.2.jar

:: Get path to JDBC JAR file from property file, unless set in env. var.
if not defined JDBC (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=JDBC multiverse.scripts.PropertyGetter multiverse.jdbcJarPath > tmp.bat
  : call tmp.bat
  : del tmp.bat
)
echo JDBC is %JDBC%

set MV_CLASSPATH=%INJECTED_JAR%;%MV_JAR%;%MARS_JAR%;%EXT_JAR%;%RHINO%;%GETOPT%;%JYTHON%;%JDBC%;%LOG4J%;%BCEL%

set CMDLINE_PROPS=
if defined MV_HOSTNAME (
  set CMDLINE_PROPS=-Pmultiverse.hostname=%MV_HOSTNAME%
)



#Fix for java classpath being set twice

set JAVA_FLAGS=%JAVA_FLAGS% -%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%
#set JAVA_FLAGS=-%JVM_TYPE% %JVM_HEAP_FLAGS% -cp "%MV_CLASSPATH%" -Dmultiverse.propertyfile=%PROPFILE%

set MV_LOGS=%MV_HOME%\logs\master
set JAVA_FLAGS=%JAVA_FLAGS% -Dmultiverse.logs=%MV_LOGS%

if not exist %MV_LOGS% (
  mkdir %MV_LOGS%
)

if not defined DELETE_LOGS_ON_STARTUP (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=DELETE_LOGS_ON_STARTUP multiverse.scripts.PropertyGetter multiverse.delete_logs_on_startup > tmp.bat
  call tmp.bat
  del tmp.bat
)

if %DELETE_LOGS_ON_STARTUP%==true (
  echo Deleting existing log files
  del %MV_LOGS%\*.out*
)

if not exist run (
  echo Creating run directory
  mkdir run
)

del .\run\*.* /Q

if %ENABLE_MGMT%==true (
  echo Enabling JMX mgmt and monitoring
  set JAVA_FLAGS=-Dcom.sun.management.jmxremote %JAVA_FLAGS%
)

set MV_BIN=%MV_HOME%\master

echo MV_HOME is %MV_HOME%
echo Using log directory %MV_LOGS%
echo Using common directory %MV_COMMON%
echo Using bin directory %MV_BIN%
echo Java Flags are: %JAVA_FLAGS%

echo *** Starting master server ***

START /B java %JAVA_FLAGS% ^
   -Dmultiverse.loggername=master ^
        multiverse.server.engine.MasterServer ^
   %CMDLINE_PROPS% ^
        %MV_BIN%\master_server.py

rem echo $! > %MV_RUN%\master.pid
   
echo Wait for finished initializing msg...


Ok everything looks gravy right? Wrong! here is what the results of these settings continue to be, No env variables for MV_HOME or JAVA are set on this machine at this time:

attempt to start with start-multiverse in c:\multiverse\bin\start-multiverse.bat




Attempt to start with ./multiverse.sh then stopped , all java processes killed then started again with ./master.sh, NOTE THE DIFFERENCES







and last but not least start-master.bat :




And the log from master.out

Code:


INFO  [2012-08-05 18:01:09,300] main                pid 6004@ns1
DEBUG [2012-08-05 18:01:09,301] main                Using property file master.properties
DEBUG [2012-08-05 18:01:09,301] main                Properties are:
DEBUG [2012-08-05 18:01:09,302] main                    java.vendor = Oracle Corporation
DEBUG [2012-08-05 18:01:09,302] main                    log4j.appender.FILE = org.apache.log4j.RollingFileAppender
DEBUG [2012-08-05 18:01:09,302] main                    sun.java.launcher = SUN_STANDARD
DEBUG [2012-08-05 18:01:09,302] main                    sun.management.compiler = HotSpot Client Compiler
DEBUG [2012-08-05 18:01:09,302] main                    os.name = Windows Server 2008
DEBUG [2012-08-05 18:01:09,302] main                    multiverse.db_password = ou812ic.
DEBUG [2012-08-05 18:01:09,303] main                    sun.boot.class.path = C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes
DEBUG [2012-08-05 18:01:09,303] main                    sun.desktop = windows
DEBUG [2012-08-05 18:01:09,303] main                    com.sun.management.jmxremote =
DEBUG [2012-08-05 18:01:09,303] main                    java.vm.specification.vendor = Oracle Corporation
DEBUG [2012-08-05 18:01:09,303] main                    java.runtime.version = 1.7.0_05-b06
DEBUG [2012-08-05 18:01:09,307] main                    user.name = Administrator
DEBUG [2012-08-05 18:01:09,307] main                    user.language = en
DEBUG [2012-08-05 18:01:09,307] main                    sun.boot.library.path = C:\Program Files\Java\jre7\bin
DEBUG [2012-08-05 18:01:09,307] main                    multiverse.world_available_message = DONE INITIALIZING, you can log in now
DEBUG [2012-08-05 18:01:09,307] main                    java.version = 1.7.0_05
DEBUG [2012-08-05 18:01:09,307] main                    log4j.rootLogger = DEBUG, FILE
DEBUG [2012-08-05 18:01:09,307] main                    user.timezone = America/New_York
DEBUG [2012-08-05 18:01:09,307] main                    multiverse.master_rdp_port = 9010
DEBUG [2012-08-05 18:01:09,307] main                    sun.arch.data.model = 32
DEBUG [2012-08-05 18:01:09,308] main                    java.endorsed.dirs = C:\Program Files\Java\jre7\lib\endorsed
DEBUG [2012-08-05 18:01:09,308] main                    multiverse.master_tcp_port = 9005
DEBUG [2012-08-05 18:01:09,308] main                    java.rmi.server.randomIDs = true
DEBUG [2012-08-05 18:01:09,308] main                    sun.cpu.isalist =
DEBUG [2012-08-05 18:01:09,308] main                    sun.jnu.encoding = Cp1252
DEBUG [2012-08-05 18:01:09,308] main                    file.encoding.pkg = sun.io
DEBUG [2012-08-05 18:01:09,308] main                    file.separator = \
DEBUG [2012-08-05 18:01:09,308] main                    java.specification.name = Java Platform API Specification
DEBUG [2012-08-05 18:01:09,308] main                    java.class.version = 51.0
DEBUG [2012-08-05 18:01:09,308] main                    log4j.appender.FILE.layout = org.apache.log4j.PatternLayout
DEBUG [2012-08-05 18:01:09,308] main                    user.country = US
DEBUG [2012-08-05 18:01:09,308] main                    java.home = C:\Program Files\Java\jre7
DEBUG [2012-08-05 18:01:09,310] main                    java.vm.info = mixed mode, sharing
DEBUG [2012-08-05 18:01:09,310] main                    multiverse.jdbcJarPath = C:mysql-connector-java-3.1.14-bin.jar
DEBUG [2012-08-05 18:01:09,310] main                    os.version = 6.0
DEBUG [2012-08-05 18:01:09,310] main                    multiverse.logs = ..\logs\master
DEBUG [2012-08-05 18:01:09,310] main                    multiverse.log_level = 1
DEBUG [2012-08-05 18:01:09,310] main                    path.separator = ;
DEBUG [2012-08-05 18:01:09,310] main                    java.vm.version = 23.1-b03
DEBUG [2012-08-05 18:01:09,310] main                    multiverse.rotate_logs_on_startup = true
DEBUG [2012-08-05 18:01:09,310] main                    user.variant =
DEBUG [2012-08-05 18:01:09,310] main                    java.awt.printerjob = sun.awt.windows.WPrinterJob
DEBUG [2012-08-05 18:01:09,310] main                    sun.io.unicode.encoding = UnicodeLittle
DEBUG [2012-08-05 18:01:09,310] main                    multiverse.log_rdp_counters = false
DEBUG [2012-08-05 18:01:09,311] main                    log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out
DEBUG [2012-08-05 18:01:09,311] main                    awt.toolkit = sun.awt.windows.WToolkit
DEBUG [2012-08-05 18:01:09,311] main                    user.script =
DEBUG [2012-08-05 18:01:09,311] main                    user.home = C:\Users\Administrator
DEBUG [2012-08-05 18:01:09,311] main                    java.specification.vendor = Oracle Corporation
DEBUG [2012-08-05 18:01:09,311] main                    java.library.path = C:\Windows\system32;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;.
DEBUG [2012-08-05 18:01:09,311] main                    java.vendor.url = http://java.oracle.com/
DEBUG [2012-08-05 18:01:09,311] main                    multiverse.loggername = master
DEBUG [2012-08-05 18:01:09,312] main                    java.vm.vendor = Oracle Corporation
DEBUG [2012-08-05 18:01:09,312] main                    multiverse.db_user = darkfront
DEBUG [2012-08-05 18:01:09,312] main                    java.runtime.name = Java(TM) SE Runtime Environment
DEBUG [2012-08-05 18:01:09,312] main                    sun.java.command = multiverse.server.engine.MasterServer ..\master\master_server.py
DEBUG [2012-08-05 18:01:09,312] main                    java.class.path = ..\dist\lib\injected.jar;..\dist\lib\multiverse.jar;..\dist\lib\mars.jar;;..\other\rhino1_5R5\js.jar;..\other\java-getopt-1.0.11.jar;..\other\jython.jar;;..\other\log4j-1.2.14.jar;..\other\bcel-5.2.jar
DEBUG [2012-08-05 18:01:09,312] main                    multiverse.propertyfile = master.properties
DEBUG [2012-08-05 18:01:09,312] main                    log4j.appender.FILE.MaxBackupIndex = 3
DEBUG [2012-08-05 18:01:09,312] main                    multiverse.db_hostname = localhost
DEBUG [2012-08-05 18:01:09,312] main                    multiverse.db_type = mysql
DEBUG [2012-08-05 18:01:09,313] main                    java.vm.specification.name = Java Virtual Machine Specification
DEBUG [2012-08-05 18:01:09,313] main                    java.vm.specification.version = 1.7
DEBUG [2012-08-05 18:01:09,313] main                    sun.cpu.endian = little
DEBUG [2012-08-05 18:01:09,313] main                    sun.os.patch.level = Service Pack 2
DEBUG [2012-08-05 18:01:09,313] main                    java.io.tmpdir = C:\Users\ADMINI~1\AppData\Local\Temp\2\
DEBUG [2012-08-05 18:01:09,313] main                    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
DEBUG [2012-08-05 18:01:09,313] main                    log4j.appender.FILE.MaxFileSize = 50MB
DEBUG [2012-08-05 18:01:09,313] main                    multiverse.db_driver = com.mysql.jdbc.Driver
DEBUG [2012-08-05 18:01:09,313] main                    multiverse.db_name = multiverse
DEBUG [2012-08-05 18:01:09,313] main                    os.arch = x86
DEBUG [2012-08-05 18:01:09,313] main                    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
DEBUG [2012-08-05 18:01:09,313] main                    java.ext.dirs = C:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
DEBUG [2012-08-05 18:01:09,313] main                    log4j.appender.FILE.layout.ConversionPattern = %-5p [%d{ISO8601}] %-20t %m%n
DEBUG [2012-08-05 18:01:09,313] main                    user.dir = C:\multiverse\master
DEBUG [2012-08-05 18:01:09,314] main                    line.separator =

DEBUG [2012-08-05 18:01:09,314] main                    java.vm.name = Java HotSpot(TM) Client VM
DEBUG [2012-08-05 18:01:09,314] main                    file.encoding = Cp1252
DEBUG [2012-08-05 18:01:09,314] main                    java.specification.version = 1.7
INFO  [2012-08-05 18:01:09,314] main                The log level is 1
INFO  [2012-08-05 18:01:09,319] main                Multiverse server version 1.5 0 (- -)
DEBUG [2012-08-05 18:01:09,634] main                SecureTokenManager.initDomain: reading domain key. keyId=0x1 algorithm=HmacSHA1
DEBUG [2012-08-05 18:01:11,158] main                Executing script file: ..\master\master_server.py
DEBUG [2012-08-05 18:01:11,158] main                runPYFile: file=..\master\master_server.py
DEBUG [2012-08-05 18:01:11,533] main                SecureTokenManager.initMaster: master key keyId=0xc algorithm=DSA
DEBUG [2012-08-05 18:01:11,534] main                script completed
ERROR [2012-08-05 18:01:11,542] 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)


so there you have it, I am going bald over this now lol so i have no clue what the problem could be.

I apologize for the long post but I wanted to be sure everone trying to help can SEE i have things where they are suposed to be and set according to the wiki ( with the exception of the fixes mentioned here in the forums.
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Mon 6 Aug - 12:33

For some reason there are 2 lines commented out. Uncomment these. This would prevent the JDBC variable from getting set.

Code:
if not defined JDBC (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=JDBC multiverse.scripts.PropertyGetter multiverse.jdbcJarPath > tmp.bat
[b]  : call tmp.bat
  : del tmp.bat[/b]
)

should be

Code:
if not defined JDBC (
  java -cp %MV_JAR% -Dmultiverse.propertyfile=%PROPFILE% -Dwin_env_var=JDBC multiverse.scripts.PropertyGetter multiverse.jdbcJarPath > tmp.bat
[b]  call tmp.bat
  del tmp.bat[/b]
)
Back to top Go down
http://www.multiversemmo.com
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Mon 6 Aug - 15:12

in which file?
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Tue 7 Aug - 2:48

nevermind i found it but, still having the classnotfound error after correcting the file
Back to top Go down
CobaltBlues
Moderator
Moderator
avatar

Posts : 202
Join date : 2011-11-21
Location : Chicago Land

PostSubject: Re: What the.........?   Tue 7 Aug - 7:27

Ok. Well let's focus on the standard Multiverse servers and set aside the master server since that is a bit more complicated.
Have you been able to get the multiverse servers running ? And connect a local client ?
Back to top Go down
http://www.multiversemmo.com
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: What the.........?   Wed 8 Aug - 2:51

Well I havent had time to set up a regular server yet, This evening I will set it up on my win 7 machine and see if the system will run in that mode and try connecting localy so stay tuned!
Back to top Go down
Sponsored content




PostSubject: Re: What the.........?   

Back to top Go down
 
What the.........?
View previous topic View next topic Back to top 
Page 1 of 1

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