-
Bug
-
Resolution: Done
-
Critical
-
4.1.0.Final
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</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