java.lang.RuntimeException: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory)

Atlassian JIRA | James Roper [Atlassian] | 6 years ago
  1. 0

    Confluence seems to assume that if you're using an HSQL database, it *must* be a file based database located at CONFLUENCE_HOME/database/confluencedb. So, if you're using a JNDI supplied HSQL database, or using an in memory database (eg {{jdbc:hsqldb:mem:confluence}}), or using HSQL as a server (eg {{jdbc:hsqldb:hsql://localhost/confluence}}, very useful if you actually want to connect to the database externally and browse it while Confluence is still running), or simply pointing it at some other file location, then Confluence fails to startup with the following error: {noformat} 2010-09-03 13:39:06,978 ERROR [main] [atlassian.confluence.setup.ConfluenceConfigurationListener] contextInitialized An error was encountered while bootstrapping Confluence (see below): java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory) java.lang.RuntimeException: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory) at com.atlassian.confluence.setup.DefaultBootstrapManager.upgradeHSQL(DefaultBootstrapManager.java:226) at com.atlassian.confluence.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:176) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:76) at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:35) at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:76) at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.atlassian.confluence.setup.DefaultBootstrapManager.upgradeHSQL(DefaultBootstrapManager.java:223) ... 20 more {noformat}

    Atlassian JIRA | 6 years ago | James Roper [Atlassian]
    java.lang.RuntimeException: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory)
  2. 0

    Confluence seems to assume that if you're using an HSQL database, it *must* be a file based database located at CONFLUENCE_HOME/database/confluencedb. So, if you're using a JNDI supplied HSQL database, or using an in memory database (eg {{jdbc:hsqldb:mem:confluence}}), or using HSQL as a server (eg {{jdbc:hsqldb:hsql://localhost/confluence}}, very useful if you actually want to connect to the database externally and browse it while Confluence is still running), or simply pointing it at some other file location, then Confluence fails to startup with the following error: {noformat} 2010-09-03 13:39:06,978 ERROR [main] [atlassian.confluence.setup.ConfluenceConfigurationListener] contextInitialized An error was encountered while bootstrapping Confluence (see below): java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory) java.lang.RuntimeException: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory) at com.atlassian.confluence.setup.DefaultBootstrapManager.upgradeHSQL(DefaultBootstrapManager.java:226) at com.atlassian.confluence.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:176) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:76) at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:35) at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:76) at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:40) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.atlassian.confluence.setup.DefaultBootstrapManager.upgradeHSQL(DefaultBootstrapManager.java:223) ... 20 more {noformat}

    Atlassian JIRA | 6 years ago | James Roper [Atlassian]
    java.lang.RuntimeException: java.io.FileNotFoundException: /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory)
  3. 0

    OpenGrok leaving too many open files. (Bugzilla #17127)

    GitHub | 4 years ago | vladak
    java.io.FileNotFoundException: /usr/local/tomcat/conf/web.xml (Too many open files)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to typically start kestrel on windows... in simple steps.

    GitHub | 5 years ago | nutharsh
    java.io.FileNotFoundException: \etc\kestrel.conf (The system cannot find the path specified)
  6. 0

    Graph Window in Overview Tab Fails to Load

    GitHub | 5 years ago | mbastian
    java.io.FileNotFoundException: /platform/modules/* (No such file or directory)
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. java.io.FileNotFoundException

    /home/jroper/src/atlassian/studio/branches/initialdata/studio-fireball/target/home/confluence-home/database/confluencedb.properties (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:106)
    2 frames
  3. com.atlassian.confluence
    DefaultBootstrapManager.performPersistenceUpgrade
    1. com.atlassian.confluence.setup.DefaultBootstrapManager.upgradeHSQL(DefaultBootstrapManager.java:223)
    2. com.atlassian.confluence.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:176)
    2 frames
  4. com.atlassian.config
    BootstrapUtils.init
    1. com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:76)
    2. com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:35)
    2 frames
  5. com.atlassian.confluence
    ConfluenceConfigurationListener.contextInitialized
    1. com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:76)
    2. com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:40)
    2 frames
  6. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
    3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    4. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    7. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    9. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    9 frames
  7. 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
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames