log из батника:
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.PoolBackedDataSource

787171 [ conn
ectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource

b09e
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 -> 10, maxStatements ->
100, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.
mchange.v2.c3p0.DriverManagerDataSource

1bf52a5 [ description -> null, driverCla
ss -> null, factoryClassLocation -> null, identityToken -> 1bf52a5, jdbcUrl -> j
dbc:mysql://localhost/l2jdb, properties -> {user=******, password=******} ], pre
ferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false,
testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ],
factoryClassLocation -> null, identityToken -> 787171, numHelperThreads -> 3 ]
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@15ff48b — 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).
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:82)
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
Для продолжения нажмите любую клавишу . . .
[/code]
loginserver.properties
code text
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2j.sourceforge.net
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=84.22.138.198
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=84.22.138.198
# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
LoginTryBeforeBan=20
# The port on which login will listen for GameServers
LoginPort=9014
# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = True
# If false, the licence (after the login) will not be shown
ShowLicence = True
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
Login=root
Password=
MaximumDbConnections=10
# Useable values: "true" - "false", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=true
# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================
Debug = false
Assert = false
Developer = false
server.properties
[code]
#
GameserverHostname=localhost
GameserverPort=7777
ExternalHostname=84.22.138.198
InternalHostname=127.0.0.1
LoginserverHostname=localhost
LoginserverPort=2106
LoginTryBeforeBan=20
LoginPort=9014
LoginHost=127.0.0.1
RequestServerID = 0
AcceptAlternateID = True
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=
MaximumDbConnections=10
#DatapackRoot = C:/Work/tmp/DataPackC3
CnameTemplate=.*
MaximumOnlineUsers=100
Debug = False
Assert = False
Developer = False
TestServer = False
ServerListBrackets = False
ServerListClock = False
ServerGMOnly = False
MinProtocolRevision = 557
MaxProtocolRevision = 560
RateXp = 1.
RateSp = 1.
RatePartyXp = 1.
RatePartySp = 1.
RateDropAdena = 1.
RateDropItems = 1.
RateDropSpoil = 1.
RateQuestsReward = 1.
RateKarmaDropEquipment = 1
RateKarmaExpLost = 1
RateSiegeGuardsPrice = 1
RateRaidRegenHp = 500
RateRaidRegenMp = 500
PlayerRateDrop = 20
PlayerRateDropItem = 70
PlayerRateDropEquip = 25
PlayerRateDropEquipWeapon = 5
AutoDestroyDroppedItemAfter = 0
AllowWarehouse = True
AllowFreight = True
AllowWear = True
#Enable water test
AllowWater = False
#Enable pet for rent(wyvern&strider) from pet managers
AllowRentPet = False
AllowDiscardItem = True
EverybodyHasAdminRights = False
AllowL2Walker = False
L2WalkerRevision = 552
AutobanL2WalkerAcc = False
ActivatePositionRecorder = False
#Global/Trade Chat usablitly - ON, OFF, GM
GlobalChat=ON
LogChat = True
LogItems = False
ShowLevelOnCommunityBoard = False
ShowStatusOnCommunityBoard = True
NamePageSizeOnCommunityBoard = 50
NamePerRowOnCommunityBoard = 5
#Zone Setting
#0 = Peace All the Time
#1 = PVP During Siege
#2 = PVP All the Time
ZoneTown=0
MaxDriftRange = 200
MinNPCAnimation = 0
MaxNPCAnimation = 0
ServerSideNpcName = False
ServerSideNpcNameWithLvl = False
AutoDeleteInvalidQuestData = False
DayStatusSunRiseAt = 6
DayStatusSunSetAt = 18
DayStatusForceClientUpdate = True
ThreadPoolSizeHigh = 4
ThreadPoolSizeMed = 10
ThreadPoolSizeLow = 4
DeleteCharAfterDays = 7
DefaultPunish=2
LazyCache=True
ExecutorPriLow=-1
ExecutorPriMed=0
ExecutorPriHigh=1