Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1097

ModeShape JPA repository in JBoss AS takes a long time to initialize when number of nodes are large

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 2.5.0.Final
    • 2.4.0.Final
    • Storage
    • Hide

      Configure a JpaSource repository with Modeshape in JBoss using "create" for the "autoGenerateSchema" configuration parameter. Startup JBoss and log in to the repository using WebDAV. Upload a large number of files (say a 1000 jpeg images). Stop JBoss. Change "autoGenerateSchema" parameter to "validate" and restart JBoss. After server startup, try to login to the repository using WebDAV. The server stops responding.

      Show
      Configure a JpaSource repository with Modeshape in JBoss using "create" for the "autoGenerateSchema" configuration parameter. Startup JBoss and log in to the repository using WebDAV. Upload a large number of files (say a 1000 jpeg images). Stop JBoss. Change "autoGenerateSchema" parameter to "validate" and restart JBoss. After server startup, try to login to the repository using WebDAV. The server stops responding.

    Description

      For a JpaSource repository, if the number of nodes is large, and if JBoss is restarted with the "autoGenerateSchema" configuration parameter set to "validate", it takes a very long time to startup the repository. Setting the "indexReadDepth" parameter to a value lower than the default of 4 also does not help.

      Attachments

        Activity

          People

            bcarothers_jira Brian Carothers (Inactive)
            souvikonline_jira Souvik Dutta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: