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

Repository Explorer does not work with a JSON configuration/connector

    XMLWordPrintable

Details

    Description

      Configuring the Web Explorer application with a repository defined in a JSON config doesn't work and prints out a popup with the message: org.modeshape.web.server.impl.JsonConnectorImpl.
      There are no other sever errors.

      To reproduce this issue perform the following:
      1. Build a fresh modeshape-web-explorer-war module, which will produce an empty, standalone modeshape-explorer.war file.
      2. Manually edit this war file and:
      2.1. add this config to the WEB-INF/classes folder
      2.2 add the following to the web.xml

             <context-param>
                <param-name>connector-class&lt;/param-name>
                    <param value>org.modeshape.web.server.impl.JsonConnectorImpl</param-value>
               </context-param>
       
                <context-param>       
                   <param-name>config-url</param-name>
                   <param-value>repository-config.json</param-value>
                 </context-param>
             

      3. Take this updated war and deploy it in a standalone container (I tested with a Tomcat 7 dist)
      4. Access the Web Explorer webapp

      Attachments

        Activity

          People

            oleg.kulikov Oleg Kulikov (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: