Troubles with l2j Epilogue

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Hi all,
Server Version= 4054
Datapack Version= 7237

After installation and adjustment (i'm use tutorial from Wiki) i'm try start LoginServer, but it don't work:

Code: Select all

Starting L2J Login Server. Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jserver/loginserver/L2LoginServerCaused by: java.lang.ClassNotFoundException: com.l2jserver.loginserver.L2LoginServer        at java.net.URLClassLoader$1.run(Unknown Source)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(Unknown Source)        at java.lang.ClassLoader.loadClass(Unknown Source)        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)        at java.lang.ClassLoader.loadClass(Unknown Source)        at java.lang.ClassLoader.loadClassInternal(Unknown Source)Could not find the main class: com.l2jserver.loginserver.L2LoginServer.  Program will exit. Server terminated abnormaly  server terminated
I'm try change adress in line

Code: Select all

java -Xms128m -Xmx128m  -cp ./../libs/*;l2jlogin.jar com.l2jserver.loginserver.L2LoginServer
./../ -> B:/l2jserver/

Code: Select all

java -Xms128m -Xmx128m  -cp B:/l2jserver/libs/*;l2jlogin.jar com.l2jserver.loginserver.L2LoginServer
but error:

Code: Select all

java.io.FileNotFoundException: .\log.cfg (═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы)        at java.io.FileInputStream.open(Native Method)        at java.io.FileInputStream.<init>(Unknown Source)        at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:81)         at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:57)10.04.2010 12:54:01 com.l2jserver.Config loadINFO: loading login configjava.io.FileNotFoundException: .\config\loginserver.properties (═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы)        at java.io.FileInputStream.open(Native Method)        at java.io.FileInputStream.<init>(Unknown Source)        at com.l2jserver.Config.load(Config.java:2469)        at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:106)        at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:57)Exception in thread "main" java.lang.Error: Failed to Load ./config/loginserver.properties File.        at com.l2jserver.Config.load(Config.java:2519)        at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:106)        at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:57) Server terminated abnormaly  server terminated
I understand that the program can not find these files, but i don't know where fix it.

OC Windows Vista
Adress of folder - B:/l2jserver
listening of folder:
images, libs, cb_sql, community, doc, gameserver, languages, login, sql, tools

Help plz :D

P.S. Sorry for my bad english :)

ADDED:
I know that can fix it if change the location of files, but I think must be another solution?
Last edited by BUDU_KRATOK on Sat Apr 10, 2010 10:02 am, edited 3 times in total.
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: Troubles with l2j Epilogue

Post by Szponiasty »

problems is with path where your batch for executing server is. just use one in svn and run from folder where it originally is ;)


EDIT: or add line to change to server folder. There where loginserver main .jar is and in the same folder you have to have config etc files.

Code: Select all

 b:cd B:\l2jserver\
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Thanks, but just downloaded last verion - all work fine :D
Topic closed :D
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Szponiasty wrote:problems is with path where your batch for executing server is. just use one in svn and run from folder where it originally is ;)
Ehm, don't work in last version :)
Say more plz, p.ex. i can use start bat file of other version/rev.?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Troubles with l2j Epilogue

Post by jurchiks »

no, just run the login/startloginserver.bat
i don't have such problems even with modded core, i think you haven't updated all the files, there was an update splitting loginserver and gameserver, it might have caused this, but only if you haven't updated properly
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: Troubles with l2j Epilogue

Post by Szponiasty »

Post your folder structure, where (and what) .jars are and data/config files for server cause I'm not fortune teller (yet) ;)
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Structure:

Image
.jars in folder "libs", l2jserver.jar in "gameserver", l2jlogin.jar in "login".

...and how to update? Download every day new version, overwrite files and import sql update's in DB?

Sorry for my probably stupid questions, but before that used a version of RusTeam (Interlude), but the team broke up, and epilogue version they don't have :(


Updated: When i'm starting startLoginServer.bat or startGameServer.bat before cofigurated other files, they find all files but don't connect to database:

Code: Select all

Starting L2J Login Server. loading login configL2Properties: Missing property for key - PacketHandlerDebugL2Properties: Missing property for key - RequestServerIDL2Properties: Missing property for key - AcceptAlternateIDL2Properties: Missing property for key - DatapackRootL2Properties: Missing property for key - RouterHostnameLoading mmo.propertiesL2Properties: Missing property for key - IOSelectorThreadCountMLog clients using java 1.4+ standard logging.Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]FATAL: Failed initializing database. Reason: Access denied for user 'root'@'localhost' (using password: NO)java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1072)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3563)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3495)        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4001)        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2183)        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:784)        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)        at java.lang.reflect.Constructor.newInstance(Unknown Source)        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:354)        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)        at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:772)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:696)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:257)        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:271)        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)        at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:96)        at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:207)        at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:111)        at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:57)  Server terminated abnormaly  server terminated
...and... ehm... when i configurated loginserver.properties's password they work :shock:

Perhaps the problem was due to the configuration through L2JConfig.exe? Or use database_installer - i'm download previous version, install database, configure all files - they don't work. Remove all files, install new version, configure files but don't remove and update DB - they work :shock:

Now all work fine. fuhh...
Thank you for your time)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Troubles with l2j Epilogue

Post by jurchiks »

you might have just tapped CAPS LOCK key or smth like that, afaik mysql ir case-sensitive...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

jurchiks wrote:you might have just tapped CAPS LOCK key
No, 100% :)

Another question - how to start CommunityServer? Just configure config's of GameServer?
And... in this version of server is command's like ".offline" for offline trade or i need modify core?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Troubles with l2j Epilogue

Post by jurchiks »

you don't enable offline trade by command, you make a shop and exit the game (not restart)
even if it was by command, how would it know the title and contents of your shop?
trunk/L2_CommunityServer
download it
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Ehm... and my shop will remain and will work? And after restart?

About command - make a shop or craft, enter .offline and exit game automaticly after enter this command.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Troubles with l2j Epilogue

Post by jurchiks »

duh, it's offline trade, of course it will stay
but not after restart
there is no such command and there's no need for it
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Ok, how realise offline trade after restart of server? :D Modify core? Or in next version's it work?

P.S. Thx for Community Server :)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Troubles with l2j Epilogue

Post by jurchiks »

yes, it would require core modification, and probably an extra table in database
store recipe shop list is already implemented, you would need to find out how to store normal shops (not craft) content and locations, which would consume, depending on the amount of shops, alot of resources
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
BUDU_KRATOK
Posts: 51
Joined: Sat Apr 10, 2010 8:13 am
Location: Russia
Contact:

Re: Troubles with l2j Epilogue

Post by BUDU_KRATOK »

Question about CommunityServer - Register it with login/GSRegister.exe ? Just write error "[12 ряЁ 19:44:28] Invalid HexId. Closing connection..."
Post Reply