-
Novice
JAVA ERROR - L2jdb C4 SERVER ... java.lang.IllegalArgumentException:: Bad arguments..
ENGLISH:
Hi everybory, is my first ask in the Ragezone Forum and my english is very poor, like us can see ¬¬, ok lets do it happen!!!
I´m was search 1 week mainly in this forum about L2 C4 SERVER FILES (Releases) to create my own server! ok I could do that and began to make the server with the help of some tutorials (http://www.htmlstaff.org/forum/index...howtopic=12540, specifically a video lesson).
PROGRAMS USED:
JAVA: jre-1_5_0_22-windows-i586-p;
MYSQL: mysql-essential-5.1.41-win32;
NAVICAT: Navicat 8.0 + Crack;
NO-IP: ducsetup, lastet version;
Web Server: Abyss abwsx1, lastet version;
encryptor/decryptor L2 INI: l2encdec26.
SERVER FILES USED:
l2j-server-rev.178 (pre-configured for database l2jdb)
OPERATING SYSTEM:
Windows XP
ORDER OF INSTALLATION:
1- Installed JAVA;
2- Installed MYSQL;
3- Installed Navicat;
3.1- I created the database (l2jdb);
4- Installed NO-IP;
4.1- Created my DNS HOST (dynamic ip);
5- Installed Abyss Web Server;
5.1- Set up the connection to access my machine at NO-IP (ex: myserver.no-ip.info);
I edited the file information DATABASE_INSTALLER (bin path, login / server user-db-pass).
Ran the DATABASE_INSTALLER.EXE (F, F and Y replies to the steps).
Edited the LOGINSERVER.PROPERTIES (ExternalHostname: ex: myserver.no-ip.info / InternalHostname: ex: 192.168.0.1 / database_info: password).
Set up the database file information from the web site to access the database server!
Ran the NO-IP / ABYSS and accessed the site (eg myserver.no-ip.info) and created a test account (login: test / pass: test).
I took a pre-configured system and edited the L2.INI (serveraddr: ex: myserver.no-ip.info), as I am on the local machine, put my local ip (ex: 192.168.0.1).
I did a clean install of Lineage2 C4 and replaces the system changed to my serveraddr.
And finally ran the server (startLoginServer.bat and startGameServer.bat).
Ran the L2.exe. Ok opened the login screen! BUT WHEM I ENTER THE ACCOUNT AND CLICK LOGIN ... NOTHING HAPPENS! And the screen of the CMD startLoginServer.bat appears the following problem:
java.lang.IllegalArgumentException: Bad arguments
at javax.crypto.Cipher.doFinal <DashoA13*..>
at net.sf.l2j.loginserver.clientpackets.RequestsAuthLogin.init> RequestAuthLogin.java: 58>
at net.sf.l2j.loginserver.ClientThread.run <ClientThread.java:162>
link to image:http://www.4shared.com/file/16715035...593/error.html
ok that's it! I'm sorry if I wrote a tutorial for installation too but I'm already 2 days without sleep searching forums and google and nothing to find an answer!
since already thanked the solidarity!
I look forward to resolving this, until then for me, indeterminable!
Last edited by Elfosminador; 07-12-09 at 02:06 PM.
-
-
Account Upgraded | Title Enabled!
Re: JAVA ERROR - L2jdb C4 SERVER ... java.lang.IllegalArgumentException:: Bad argumen
The error shows that a constructor/method is being used with the wrong parameters typy (just like a short even an int), that the jvm is unable to warp.
It is not caused by any configuration (the error would spawn at server/login start up)
at javax.crypto.Cipher.doFinal <DashoA13*..>
at net.sf.l2j.loginserver.clientpackets.RequestsAuthL ogin.init> RequestAuthLogin.java: 58>
heres from the error come, doFinal is used in RequestAuthL with wrong parameters. Take a look there (line 58)