Проблема с запуском сервера.

 
+
-
edit
 

Chechen

новичок
Вот возникла проблема с запуском сервера под 2003 виндой.
под хр работает все замечательно, но пох 2003 выдает оштбку.

Starting L2J Login Server.

loading login config
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.0 [built 08-└туєёЄ-2005 15:47:30 +0400; debug? false; trac
e: 5]
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource787171 [ conn
ectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSourceb09e
89 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 100
0, autoCommitOnClose -> true, automaticTestTable -> null, breakAfterAcquireFailu
re -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c
3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnres
olvedTransactions -> false, identityToken -> b09e89, idleConnectionTestPeriod ->
0, initialPoolSize -> 1, maxIdleTime -> 0, maxPoolSize -> 100, maxStatements ->
100, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com
.mchange.v2.c3p0.DriverManagerDataSource1bf52a5 [ description -> null, driverCl
ass -> null, factoryClassLocation -> null, identityToken -> 1bf52a5, jdbcUrl ->
jdbc:mysql://localhost/l2jdb, properties -> {user=******, password=******} ], pr
eferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false
, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ]
, factoryClassLocation -> null, identityToken -> 787171, numHelperThreads -> 3 ]

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@9664a1 — Acquisition
Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed ne
w resource, we failed to succeed more than the maximum number of allowed acquisi
tion attempts (30).
Exception in thread "main" java.sql.SQLException: Connections could not be acqui
red from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:104)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConne
ction(C3P0PooledConnectionPool.java:236)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:94)
at net.sf.l2j.L2DatabaseFactory. at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:148)
at net.sf.l2j.loginserver.LoginServer.main(LoginServer.java:83)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A Resourc
ePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAcquire(BasicResou
rcePool.java:970)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:208)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConne
ction(C3P0PooledConnectionPool.java:232)
... 4 more
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1cd2e5f — Acquisition
Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed n
ew resource, we failed to succeed more than the maximum number of allowed acquis
ition attempts (30).

Server terminated abnormaly


server terminated

Press any key to continue . . .
 
+
-
edit
 

masterXL

разработчик OpenWorlds
проверь настройки. не видит базу
Трудно быть богом... Не веришь? Спроси любого админа! можешь спросить у меня 175506816 ServerIP=193.41.172.19 Перенос доступен  
+
-
edit
 

Chechen

новичок
перепроверял и не раз. тот же сервер с теми же настройками под ХР идет, а под 2003 не хотит.
 
+
-
edit
 

masterXL

разработчик OpenWorlds
проверь настройки. не видит базу ;D
Трудно быть богом... Не веришь? Спроси любого админа! можешь спросить у меня 175506816 ServerIP=193.41.172.19 Перенос доступен  
+
-
edit
 

Chechen

новичок
Проблема была в настройках самого SQL
В ini нужно было поставить:
default-character-set=latin1
 

в начало страницы | новое
 
Поиск
Настройки
Твиттер сайта
Статистика
Рейтинг@Mail.ru