Jump to content
  • 0

GameServer Problem,After Compiling A java Code.


Question

Posted

http://www.l2jfrozen.com/index.php?topic=10055.0 This java code.

 

GameServer Error:

 

Starting L2J-Frozen Core Game Server.
Official website : http://www.l2jfrozen.com
Enjoy by server core. Bee happy!
------------------------------

======================================================================-[ Team ]
                  >>>>>  Developpers: Shyla, Beetle  <<<<<

         #     #####          ##### ##### ##### ##### ##### ##    #
         #         #          #     #   # #   #     # #     # #   #
         #      ###    ####   ###   #   # #   #   #   ###   #  #  #
         #     #              #     ###   #   # #     #     #   # #
         ##### #####          #     #  ## ##### ##### ##### #    ##

                            Copyright 2010-2011
Loaded 31 classes Damages configurations
Failed to load ./config/functions/powerpak.properties file
==================================================================-[ Database ]
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
An attempt to create an automatic test table failed. Create SQL: CREATE TABLE `c
onnection_test_table` ( a CHAR(1) )
java.sql.SQLException: No database selected
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2415)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2333)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2318)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP
roxyPreparedStatement.java:105)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:813)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getNumThreadsAw
aitingCheckoutDefaultUser(AbstractPoolBackedDataSource.java:203)
        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)
        at com.mchange.v2.beans.BeansUtils.extractAccessiblePropertiesToMap(Bean
sUtils.java:359)
        at com.mchange.v2.beans.BeansUtils.appendPropNamesAndValues(BeansUtils.j
ava:324)
        at com.mchange.v2.c3p0.ComboPooledDataSource.toString(ComboPooledDataSou
rce.java:539)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager(
AbstractPoolBackedDataSource.java:462)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
        at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF
actory_c3p0.java:88)
        at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF
actory.java:51)
        at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:186)

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans
.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreads
AwaitingCheckoutDefaultUser] ]
An attempt to create an automatic test table failed. Create SQL: CREATE TABLE `c
onnection_test_table` ( a CHAR(1) )
java.sql.SQLException: No database selected
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2415)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2333)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2318)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP
roxyPreparedStatement.java:105)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:813)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
        at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF
actory_c3p0.java:88)
        at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF
actory.java:51)
        at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:186)

Exception in thread "main" java.sql.SQLException: No database selected
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2415)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2333)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2318)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP
roxyPreparedStatement.java:105)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:813)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
        at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF
actory_c3p0.java:88)
        at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF
actory.java:51)
        at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:186)

Server terminated abnormaly
Send you bug to : http://www.l2jfrozen.com


server terminated
Send you bug to : http://www.l2jfrozen.com

Restart(r) or Quit(q)

8 answers to this question

Recommended Posts

  • 0
Posted

pes to error sou ston nefer apo to l2jfrozen ton admin autos 3eri kalitera proti fwra vlepw tetio error egw.. rwta esu kai an dn mathis tha to psa3o kai egw..

  • 0
Posted

λείπει ένα table..απο την db σου.

αυτό εδώ,

connection_test_table

Το ειδα αυτο και υπηρχε το συγκεκριμενο table.Το διεγραψα και μου εβγαζε το ιδιο Error. και τωρα δεν ξερω πως να το ξαναβαλω μου βγαζει καποιο Error οταν κανω Create new table
  • 0
Posted

Εχεις κανει βλακεια με τα tables. Κανε ολο το database διαγραφη και ξανατρεξε τον database installer.

  • 0
Posted

Εχεις κανει βλακεια με τα tables. Κανε ολο το database διαγραφη και ξανατρεξε τον database installer.

Pws egine auto omws re pedia?egw ena java code perasa prin doulevan ola k0ble :P
  • 0
Posted

Pws egine auto omws re pedia?egw ena java code perasa prin doulevan ola k0ble :P

Τοτε αυτο το java code που περασες απαιτει database modification.
  • 0
Posted

exeis peiraksei kai to powerpack.properties file kai den mporei na to kanei load, mhpws ekei mesa exei plhrofories gia thn database pou 8a kanei connect?, mia idea eipa den kserw ti paizei me to frozen

Guest
This topic is now closed to further replies.
×
×
  • Create New...