Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2667

Fcrepo 4.7.5 RC2 defaults to file-simple modeshape config when DB one is specifed


    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.7.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Linux, Tomcat7, Postgres/Mysql


      When starting fcrepo-webapp-4.7.5-rc2 in Tomcat using a modeshape repository JSON file specifiying Mysql or Postgres, fcrepo-webapp nevertheless defaults to the file-simple/repository.json configuration file.

      This does not happen with fcrepo-webapp 4.7.4. It also does not happen with 4.7.5 RC1. It seems to only affect RC2. Andrew Woods believed that this was the only (notable?) change between the two versions:


      Attached are the repository.json files being used. I believe they are fairly uncontroversial.

      Also attached are clean catalina.out and fcrepo.log logs showing RC2 start and stop. Nothing terribly illuminating, but it shows the file-simple being loaded.

      Finally, I attach two additional files: one showing the steps taken to clear, start, load data to, and then stop 4.7.5-RC1 using postgres and another showing the same for RC2. I have more, if needed, showing my results from 474 and the mysql equivalents.

      Mysql version is 5.6. Postgres version is 9.4

      The command that starts tomcat, and fcrepo:

      /usr/bin/java -Djava.util.logging.config.file=/opt/lake/tomcat7-47/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dfcrepo.home=/data/fcrepo47_data -Dfcrepo.activemq.dir=/data/fcrepo47_data/jms -Dlogback.configurationFile=/opt/lake/fcrepo47/etc/logback.xml -Dfcrepo.modeshape.configuration=file:/opt/lake/fcrepo47/etc/repository-postgres.json -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/opt/lake/tomcat7-47/endorsed -classpath /opt/lake/tomcat7-47/bin/bootstrap.jar:/opt/lake/tomcat7-47/bin/tomcat-juli.jar -Dcatalina.base=/opt/lake/tomcat7-47 -Dcatalina.home=/opt/lake/tomcat7-47 -Djava.io.tmpdir=/opt/lake/tomcat7-47/temp org.apache.catalina.startup.Bootstrap start


        1. fcrepo47.log
          3 kB
        2. postgres-475-rc1.txt
          4 kB
        3. catalina.out
          18 kB
        4. postgres-475-rc2.txt
          4 kB
        5. repository-mysql.json
          1 kB
        6. repository-postgres.json
          1 kB



            • Assignee:
              dbernstein Danny Bernstein
              kefo Kevin Ford
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: