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 | 5 years ago
  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 | 5 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 | 5 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.)
  3. 0

    I just started a 3.7.1 upgrade at Tufts as well. While running the installer we ran into a different initial problem, and having resolved that have caught up the problem reported here, so first off, thanks for the info here in this thread. The problem we initially hit is that in our install we specify the low level storage option as legacy-fs, which upon start up results in the following error: ERROR 13:46:21.014 (Server) Module (org.fcrepo.server.storage.lowlevel.ILowlevelStorage) failed to initialize org.fcrepo.server.errors.ModuleInitializationException: couldn't set up path_algorithm for objectPaths Class org.fcrepo.server.storage.lowlevel.defaultstore.Store can not access a member of class org.fcrepo.server.storage.lowlevel.TimestampPathAlgorithm with modifiers "public" at org.fcrepo.server.storage.lowlevel.DefaultLowlevelStorageModule.postInitMod ule(DefaultLowlevelStorageModule.java:44) ~[fcrepo-server-3.7.1.jar:na] Looking at the fcrepo-server source it seemed to be related to this commit: https://github.com/fcrepo/fcrepo/commit/5ad360edf39bfeca57038974639b41073af1fd1b#diff-644ddc1704c65930c61becbd9826bee1 Where the Store class moved from being a support within DefaultLowlevelStorage in the org.fcrepo.server.storage.lowlevel package to the org.fcrepo.server.storage.lowlevel.default package as a top level class. I confirmed that by making the TimestampPathAlgorithm class public this issue goes away at startup since Store would then have access. Not sure if this is the correct fix or if Store should've stayed in the previous package.

    Sakai JIRA | 3 years ago | mike korcynski
    org.fcrepo.server.errors.ModuleInitializationException: couldn't set up path_algorithm for objectPaths Class org.fcrepo.server.storage.lowlevel.defaultstore.Store can not access a member of class org.fcrepo.server.storage.lowlevel.TimestampPathAlgorithm with modifiers "public"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I just started a 3.7.1 upgrade at Tufts as well. While running the installer we ran into a different initial problem, and having resolved that have caught up the problem reported here, so first off, thanks for the info here in this thread. The problem we initially hit is that in our install we specify the low level storage option as legacy-fs, which upon start up results in the following error: ERROR 13:46:21.014 (Server) Module (org.fcrepo.server.storage.lowlevel.ILowlevelStorage) failed to initialize org.fcrepo.server.errors.ModuleInitializationException: couldn't set up path_algorithm for objectPaths Class org.fcrepo.server.storage.lowlevel.defaultstore.Store can not access a member of class org.fcrepo.server.storage.lowlevel.TimestampPathAlgorithm with modifiers "public" at org.fcrepo.server.storage.lowlevel.DefaultLowlevelStorageModule.postInitMod ule(DefaultLowlevelStorageModule.java:44) ~[fcrepo-server-3.7.1.jar:na] Looking at the fcrepo-server source it seemed to be related to this commit: https://github.com/fcrepo/fcrepo/commit/5ad360edf39bfeca57038974639b41073af1fd1b#diff-644ddc1704c65930c61becbd9826bee1 Where the Store class moved from being a support within DefaultLowlevelStorage in the org.fcrepo.server.storage.lowlevel package to the org.fcrepo.server.storage.lowlevel.default package as a top level class. I confirmed that by making the TimestampPathAlgorithm class public this issue goes away at startup since Store would then have access. Not sure if this is the correct fix or if Store should've stayed in the previous package.

    Sakai JIRA | 3 years ago | mike korcynski
    org.fcrepo.server.errors.ModuleInitializationException: couldn't set up path_algorithm for objectPaths Class org.fcrepo.server.storage.lowlevel.defaultstore.Store can not access a member of class org.fcrepo.server.storage.lowlevel.TimestampPathAlgorithm with modifiers "public"
  6. 0

    If the log level is set to DEBUG, the resource index module fails to start. Also once the server has started in this state it fails to shutdown cleanly. Exceptions reported: Tomcat log: ************************** ** FEDORA STARTUP ERROR ** ************************** Fedora startup failed org.fcrepo.server.errors.ModuleInitializationException: Error initializing RI at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:127) at org.fcrepo.server.Server.<init>(Server.java:644) at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.fcrepo.server.Server.getInstance(Server.java:1239) at org.fcrepo.server.ServerController.init(ServerController.java:403) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:99 3) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4350) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 659) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77 1) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja va:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j ava:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445 ) at org.apache.catalina.core.StandardService.start(StandardService.java:5 19) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.UnsupportedOperationException: This MulgaraConnector is rea d-only! at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.j ava:104) at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceInde xImpl.java:74) at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:120) ... 35 more Fedora log: DEBUG 2011-09-14 18:11:41.036 [main] (DefaultListableBeanFactory) Finished creating instance of bean 'org.fcrepo.server.resourceIndex.TripleGenerator' DEBUG 2011-09-14 18:11:41.067 [main] (SessionFactoryFinder) Attempting to connect via RMI DEBUG 2011-09-14 18:11:42.177 [main] (SessionFactoryFinder) Failed to connect via RMI javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17] at javax.naming.InitialContext.lookup(InitialContext.java:392) [na:1.6.0_17] at org.mulgara.server.driver.SessionFactoryFinder.newSessionFactory(SessionFact oryFinder.java:147) [mulgara-core-2.1.4.jar:na] at org.trippi.impl.mulgara.MulgaraSessionFactory.<init>(MulgaraSessionFactory.j ava:75) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.open(MulgaraConnector.java:242) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.java:97) [trippi-mulgara-1.5.4.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceIndexImpl.j ava:74) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(ResourceI ndexModule.java:120) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) [na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17] at org.fcrepo.server.Server.getInstance(Server.java:1239) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.ServerController.init(ServerController.java:403) [fcrepo-server-3.5.jar:na] at javax.servlet.GenericServlet.init(GenericServlet.java:212) [servlet-api.jar:2.5.MR2] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 73) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4350) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563 ) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:6.0.29] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:6.0.29] at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina.jar:6.0.29] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [na:1.6.0_17] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [na:1.6.0_17] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) [na:1.6.0_17] ... 43 common frames omitted Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_17] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_17] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_17] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_17] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:525) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:475) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:372) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:186) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF actory.java:22) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF actory.java:128) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [na:1.6.0_17] ... 48 common frames omitted DEBUG 2011-09-14 18:11:42.239 [main] (SessionFactoryFinder) Attempting to fallback to local javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17] at javax.naming.InitialContext.lookup(InitialContext.java:392) [na:1.6.0_17] at org.mulgara.server.driver.SessionFactoryFinder.newSessionFactory(SessionFact oryFinder.java:147) [mulgara-core-2.1.4.jar:na] at org.trippi.impl.mulgara.MulgaraSessionFactory.<init>(MulgaraSessionFactory.j ava:75) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.open(MulgaraConnector.java:242) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.java:97) [trippi-mulgara-1.5.4.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceIndexImpl.j ava:74) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(ResourceI ndexModule.java:120) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) [na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17] at org.fcrepo.server.Server.getInstance(Server.java:1239) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.ServerController.init(ServerController.java:403) [fcrepo-server-3.5.jar:na] at javax.servlet.GenericServlet.init(GenericServlet.java:212) [servlet-api.jar:2.5.MR2] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 73) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4350) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563 ) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:6.0.29] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:6.0.29] at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina.jar:6.0.29] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [na:1.6.0_17] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [na:1.6.0_17] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) [na:1.6.0_17] ... 43 common frames omitted Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_17] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_17] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_17] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_17] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:525) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:475) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:372) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:186) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF actory.java:22) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF actory.java:128) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [na:1.6.0_17] ... 48 common frames omitted

    Sakai JIRA | 5 years ago | Stephen Bayliss
    org.fcrepo.server.errors.ModuleInitializationException: Error initializing RI at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:127)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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