Newbie Spellweaver
- Joined
- Nov 4, 2021
- Messages
- 6
- Reaction score
- 1
Yes. Thanks i noticed that Well, my next problem is, I am now failing with MySQL ... database is executed and ready. But the LS and GS servers cannot find the connection. Although the Config\Database & Network.proberties contain the correct entries.Use Java 1.7 64bit for GameServer
and Java 1.8 64bit for Login e ChatServer.
Yes, there are many things to add to the project.
Exception in thread "main" java.lang.Error: DatabaseFactory not initialized! at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:106) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://localhost:3306/al_server_ls?useUnicode=true&characterEncoding=UTF-8, username = root. Terminating connection pool. Original Exception: ------ com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
Yes. Thanks i noticed that Well, my next problem is, I am now failing with MySQL ... database is executed and ready. But the LS and GS servers cannot find the connection. Although the Config\Database & Network.proberties contain the correct entries.
MySQL Workbench = OK! (Server status online)
NavaiCat = OK! (Server status online)
CMD = Access Denied (server status online but access is denied despite correct PW.)
Aion (Login Server) = Connection to the database server could not be established.
Im confused...
I followed the tutorial, Unfortunately without success.
The error remains the same.
But is the file path right?
I mean i have after the compiling 2 paths.
Example:
Default: 1. "\AL-Login\config\network\database.properties"
Compiled: 2. "\AL-Login\build\dist\AL-Login\config\network.database.properties"
I editing both files.
But which will used?
and the once working BAT is here: "\AL-Login\build\dist\AL-Login\StartLS.bat"
(with the mentioned error.)
other other BAT is located here: "AL-Login\dist\StartLS.bat"
(mainclass com.aionemu.loginserver.Loginserver could not found.)
Im still confused...
A "one click" Launcher for 3 servers is not existing.
TITLE Aion German - Login Server Console
REM SET PATH="C:\Program Files\Java\jre1.8.0_121\bin"
REM SET PATH="Type here your path to java jdk/jre (including bin folder)."
REM NOTE: Remove tag REM from previous line.
Thanks
Build Folder Deleted and again compiled without issues.
which of the two?
\AL-Login\dist\StartLoginServer.bat
(mainclass com.aionemu.loginserver.Loginserver could not found.)
or
\AL-Login\build\dist\AL-Login\StartLoginServer.bat
(connection to MySQL failed)
but both have the same issues.
and - REM SET PATH="C:\Program Files\Java\jre1.8.0_121\bin" - is already set in both.
21:45:22.076 INFO [main]: - Successfully connected to database
Exception in thread "main" java.lang.Error: sun.misc.InvalidJarIndexException: Invalid index
at com.aionemu.commons.database.dao.DAOManager.init(DAOManager.java:74)
at com.aionemu.loginserver.LoginServer.main(LoginServer.java:122)
Caused by: java.lang.RuntimeException: sun.misc.InvalidJarIndexException: Invalid index
at com.sun.tools.javac.main.Main.compile(Main.java:559)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
at com.aionemu.commons.scripting.impl.javacompiler.ScriptCompilerImpl.doCompilation(ScriptCompilerImpl.java:179)
at com.aionemu.commons.scripting.impl.javacompiler.ScriptCompilerImpl.compile(ScriptCompilerImpl.java:152)
at com.aionemu.commons.scripting.impl.ScriptContextImpl.init(ScriptContextImpl.java:139)
at com.aionemu.commons.scripting.scriptmanager.ScriptManager.load(ScriptManager.java:100)
at com.aionemu.commons.database.dao.DAOManager.init(DAOManager.java:72)
... 1 more