Здраствуйте.
Сразу прошу прощения за большое сообщение.
У меня не работет этот сервер.
Значит я поставил этот jre-1_5_0_02-windows-i586-p
(это я не по ссылке скачивал, у себя нашёл),
Денвер ( с этим я давно уже работаю ), и вот скачал этот
L2j сервер. Вроде бы всё установил, база данных создалась
(около 40 с лишним таблиц), всё путём. Сконфигил все необходимые
файлы. Всё ОК.
Потом запускаю startServer.bat и насколько понял жалуется
на яву (увы, с явой дело иметь не приходилось).
Вот что мне этот startServer.bat выдаёт (З.Ы. У меня Windows XP):
Starting L2J server.
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.PoolBackedDataSource
32fb4f [ conn
ectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource
179c
285 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 10
00, autoCommitOnClose -> true, automaticTestTable -> null, breakAfterAcquireFail
ure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.
c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnre
solvedTransactions -> false, identityToken -> 179c285, idleConnectionTestPeriod
-> 0, initialPoolSize -> 1, maxIdleTime -> 0, maxPoolSize -> 5, maxStatements ->
100, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com
.mchange.v2.c3p0.DriverManagerDataSource
b6ece5 [ description -> null, driverCla
ss -> null, factoryClassLocation -> null, identityToken -> b6ece5, jdbcUrl -> my
sql://localhost/l2jdb, properties -> {user=******, password=******} ], preferred
TestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testC
onnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], facto
ryClassLocation -> null, identityToken -> 32fb4f, numHelperThreads -> 3 ]
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f7d134 — 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).
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@c7e553 — 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:109)
at net.sf.l2j.Server.main(Server.java:67)
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
Server terminated abnormaly
server terminated
НЕ НАДО УЧТЬСЯ ЗЛО ДЕЛАТЬ, оно у ВСЕХ ЕСТЬ.... :)