Hi Olivier,

Am 22.11.15 um 11:58 schrieb Olivier Lamy:
jdbc/archiva is not used anymore but users is used.
see
https://github.com/apache/archiva/blob/master/archiva-jetty/src/main/conf/jetty.xml

i saw that jdbc/archiva is not used anymore.

However, i put jetty.xml into domain/conf, but i does not have any effect:

<...>

  <!-- Users / Security Database -->

  <New id="users" class="org.eclipse.jetty.plus.jndi.Resource">
    <Arg>jdbc/users</Arg>
    <Arg>
      <New class="org.mariadb.jdbc.MySQLDataSource">
<Set name="url">jdbc:mariadb://localhost:3306/archiva?autoReconnect=true</Set>
        <Set name="DatabaseName">archiva</Set>
        <Set name="user">archiva</Set>
        <Set name="password">pw</Set>
      </New>
    </Arg>
  </New>

  <New id="usersShutdown" class="org.eclipse.jetty.plus.jndi.Resource">
    <Arg>jdbc/usersShutdown</Arg>
    <Arg>
      <New class="org.mariadb.jdbc.MySQLDataSource">
        <Set name="DatabaseName">archiva</Set>
        <Set name="user">archiva</Set>
        <Set name="shutdownDatabase">shutdown</Set>
      </New>
    </Arg>
  </New>

<...>

Or should i do this into conf/archiva.xml?

Thanks
Andy
--
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