Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-490

LDCache KiWi Backend test fails with Postgres

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 3.2.0
    • 3.3.0
    • LDCache
    • None

    Description

      both calling

      mvn clean install -Dpostgresql.url="jdbc:postgresql://localhost:5432/kiwitest?prepareThreshold=3&socketTimeout=2"

      with a DB user "lmf" and the pass "lmf" as well as explicitly setting the user and the pwd by using

      mvn clean install -Dpostgresql.url="jdbc:postgresql://localhost:5432/kiwitest?prepareThreshold=3&socketTimeout=2" -Dpostgresql.user=postgres -Dpostgresql.pass=

      {pass}

      failed with password authentication failing.

      The same system properties worked however fine with for the postgresql tests of the kiwi triplestore modules (e.g. the concurrency tests). So a configuration issue of my local postgres instance seams very unlikely

      Here is the trace of the call with an explicit user and pwd:

      09:37:40.767 INFO o.a.m.l.b.k.t.LDCachePersistenceTest - testTablesCreateDrop[Database Test 1: PostgreSQL at jdbc:postgresql://localhost:5432/kiwitest?prepareThreshold=3&socketTimeout=2] being run...
      09:37:40.767 INFO o.a.m.k.c.GuavaCacheManager - initialising Guava in-memory caching backend ...
      Apr 15, 2014 9:37:40 AM org.apache.tomcat.jdbc.pool.ConnectionPool init
      SEVERE: Unable to create initial connections of pool.
      org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
      at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398)
      [..]
      at org.apache.tomcat.jdbc.pool.DataSourceProxy.getNumActive(DataSourceProxy.java:680)
      at org.apache.marmotta.kiwi.persistence.KiWiPersistence.logPoolInfo(KiWiPersistence.java:201)
      at org.apache.marmotta.kiwi.persistence.KiWiPersistence.initialise(KiWiPersistence.java:107)
      at org.apache.marmotta.ldcache.backend.kiwi.test.LDCachePersistenceTest.initDatabase(LDCachePersistenceTest.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [..]

      Attachments

        1. MARMOTTA-490-traces.txt
          5 kB
          Rupert Westenthaler

        Activity

          People

            wastl Sebastian Schaffert
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: