Hi,

i got an running Archiva 2.1.1, GlassFish 3.1.2.2, MariaDB and JDK 1.7.

Now i want to install 2.2.0, GlassFish 4.1, MariaDB and JDK 1.8.

I used: https://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+GlassFish+with+mySQL

But Archiva is ignoring the jdbc/users and jdbc/archiva settings for the MariaDB:

Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/password are correct. Exception : Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Verbindungsaufbau abgelehnt. java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Verbindungsaufbau abgelehnt.

But why is Archiva try to connect DerbyDB instead of MariaDB?

TIA
Andreas
--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[email protected] | www.ae-online.de
www.tachyon-online.de

Reply via email to