org.fcrepo.server.errors.ModuleInitializationException: Error while attempting to check for and create non-existing table(s): org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/Users/cwilper/fedora/derby/fedora3' with class loader org.fcrepo.server.utilities.rebuild.cli.CLILoader@59bca5f1, see the next exception for details.)

Sakai JIRA | Chris Wilper | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Immediately after a fresh install of 3.5-SNAPSHOT, I started, then stopped Fedora, then attempted to run the rebuilder. It paused for a few seconds, then exited with the following error: org.fcrepo.server.errors.ModuleInitializationException: Error while attempting to check for and create non-existing table(s): org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/Users/cwilper/fedora/derby/fedora3' with class loader org.fcrepo.server.utilities.rebuild.cli.CLILoader@59bca5f1, see the next exception for details.) at org.fcrepo.server.utilities.rebuild.RebuildDOManager.postInitModule(RebuildDOManager.java:128) at org.fcrepo.server.Server.<init>(Server.java:644) at org.fcrepo.server.Server.<init>(Server.java:697) at org.fcrepo.server.utilities.rebuild.RebuildServer.<init>(RebuildServer.java:55) at org.fcrepo.server.utilities.rebuild.RebuildServer.getRebuildInstance(RebuildServer.java:141) at org.fcrepo.server.utilities.rebuild.Rebuild.getServer(Rebuild.java:212) at org.fcrepo.server.utilities.rebuild.Rebuild.getRebuilder(Rebuild.java:263) at org.fcrepo.server.utilities.rebuild.Rebuild.main(Rebuild.java:446) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.fcrepo.server.utilities.rebuild.cli.CLILoader.main(CLILoader.java:77)

    Sakai JIRA | 6 years ago | Chris Wilper
    org.fcrepo.server.errors.ModuleInitializationException: Error while attempting to check for and create non-existing table(s): org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/Users/cwilper/fedora/derby/fedora3' with class loader org.fcrepo.server.utilities.rebuild.cli.CLILoader@59bca5f1, see the next exception for details.)
  2. 0

    Immediately after a fresh install of 3.5-SNAPSHOT, I started, then stopped Fedora, then attempted to run the rebuilder. It paused for a few seconds, then exited with the following error: org.fcrepo.server.errors.ModuleInitializationException: Error while attempting to check for and create non-existing table(s): org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/Users/cwilper/fedora/derby/fedora3' with class loader org.fcrepo.server.utilities.rebuild.cli.CLILoader@59bca5f1, see the next exception for details.) at org.fcrepo.server.utilities.rebuild.RebuildDOManager.postInitModule(RebuildDOManager.java:128) at org.fcrepo.server.Server.<init>(Server.java:644) at org.fcrepo.server.Server.<init>(Server.java:697) at org.fcrepo.server.utilities.rebuild.RebuildServer.<init>(RebuildServer.java:55) at org.fcrepo.server.utilities.rebuild.RebuildServer.getRebuildInstance(RebuildServer.java:141) at org.fcrepo.server.utilities.rebuild.Rebuild.getServer(Rebuild.java:212) at org.fcrepo.server.utilities.rebuild.Rebuild.getRebuilder(Rebuild.java:263) at org.fcrepo.server.utilities.rebuild.Rebuild.main(Rebuild.java:446) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.fcrepo.server.utilities.rebuild.cli.CLILoader.main(CLILoader.java:77)

    Sakai JIRA | 6 years ago | Chris Wilper
    org.fcrepo.server.errors.ModuleInitializationException: Error while attempting to check for and create non-existing table(s): org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/Users/cwilper/fedora/derby/fedora3' with class loader org.fcrepo.server.utilities.rebuild.cli.CLILoader@59bca5f1, see the next exception for details.)

    Root Cause Analysis

    1. org.fcrepo.server.errors.ModuleInitializationException

      Error while attempting to check for and create non-existing table(s): org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/Users/cwilper/fedora/derby/fedora3' with class loader org.fcrepo.server.utilities.rebuild.cli.CLILoader@59bca5f1, see the next exception for details.)

      at org.fcrepo.server.utilities.rebuild.RebuildDOManager.postInitModule()
    2. org.fcrepo.server
      Rebuild.main
      1. org.fcrepo.server.utilities.rebuild.RebuildDOManager.postInitModule(RebuildDOManager.java:128)
      2. org.fcrepo.server.Server.<init>(Server.java:644)
      3. org.fcrepo.server.Server.<init>(Server.java:697)
      4. org.fcrepo.server.utilities.rebuild.RebuildServer.<init>(RebuildServer.java:55)
      5. org.fcrepo.server.utilities.rebuild.RebuildServer.getRebuildInstance(RebuildServer.java:141)
      6. org.fcrepo.server.utilities.rebuild.Rebuild.getServer(Rebuild.java:212)
      7. org.fcrepo.server.utilities.rebuild.Rebuild.getRebuilder(Rebuild.java:263)
      8. org.fcrepo.server.utilities.rebuild.Rebuild.main(Rebuild.java:446)
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.fcrepo.server
      CLILoader.main
      1. org.fcrepo.server.utilities.rebuild.cli.CLILoader.main(CLILoader.java:77)
      1 frame