Hello Miguel, Ragnar and all the Arrianne developers and
gurus. I have a fresh copy of Marauroa server source and it
builds
OK. I also have a brand new MySQL running. When I try to run
the resulting marauroa.jar I get the following error
condition.
The complete command-line follows with the server.ini file.
The same MySQL database: marauroa connects and responds as
expected
from the command-line tools and the so-called DBMGUI gadget.
Notwithstanding, I get the following Java Exception. And,
thanks in advance.
Configuring Log4J using marauroa/server/log4j.properties
0 FATAL marauroa.server.game.db.JDBCDatabase - Unable to
create a connection to: jdbc:mysql://hedwig/marauroa
com.mysql.jdbc.CommunicationsException: Communications link
failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused:
connect
STACKTRACE:
java.net.SocketException: java.net.ConnectException:
Connection refused: connect
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketF
actory.java:156)
at
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
at
com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)
at
com.mysql.jdbc.Connection.<init>(Connection.java:1485)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDr
iver.java:266)
at java.sql.DriverManager.getConnection(Unknown
Source)
at java.sql.DriverManager.getConnection(Unknown
Source)
at
marauroa.server.game.db.JDBCDatabase.createConnection(JDBCDa
tabase.java:152)
at
marauroa.server.game.db.JDBCDatabase.getTransaction(JDBCData
base.java:177)
at
marauroa.server.game.db.JDBCDatabase.<init>(JDBCDataba
se.java:82)
at
marauroa.server.game.db.JDBCDatabase.getDatabase(JDBCDatabas
e.java:121)
at
marauroa.server.net.validator.ConnectionValidator.loadBanned
IPNetworkListFromDB(ConnectionValidator.java:208)
at
marauroa.server.net.validator.ConnectionValidator.<init&g
t;(ConnectionValidator.java:75)
at
marauroa.server.net.nio.NIONetworkServerManager.<init>
(NIONetworkServerManager.java:91)
at
marauroa.server.marauroad.init(marauroad.java:287)
at
marauroa.server.marauroad.run(marauroad.java:249)
** END NESTED EXCEPTION **
********************************* Command-line invocation
**********************************************
java -classpath
marauroa.jar;..libslog4j.jar;..libsmysql-connector.jar
marauroa.server.marauroad -c ..buildmarauroaserver.ini
************************************************************
********************************************
********************************* server.ini
************************************************************
#
# Choose database implementation.
#
database_implementation=JDBCPlayerDatabase
#
# JDBC Database configuration
#
jdbc_url=jdbc:mysql://localhost/marauroa
jdbc_class=com.mysql.jdbc.Driver
jdbc_user=marauroa_dbuser
jdbc_pwd=marauroa_passwd
#
# Network configuration of Marauroa
#
tcp_port=3214
# Game extension configuration
world=world class name here
ruleprocessor=rule processor implementation name here
turn_length=60000
#
# Place where Statistics and server activity report are
generated.
#
statistics_filename=~/public_html/server_stats.xml
*************************** End server.ini
*************************************************
******************************** Particulars
***********************************************
OS: Windows XP SP2
MARAUROA: 1.92
MySQL MAXDB Version: 7.6.00.37
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Arianne-devel mailing list
Arianne-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arianne-d
evel
|