This content has been marked as final.
Show 2 replies
-
1. Re: Start ModeShape Explorer web app
oleg.kulikov Mar 11, 2014 10:51 AM (in response to gorgi.terziev)1 of 1 people found this helpfulGorgi, you don't need to modify web-xml. You can just specify repository jndi name in login dialog.
--Oleg
-
2. Re: Start ModeShape Explorer web app
gorgi.terziev Apr 6, 2014 1:01 AM (in response to oleg.kulikov)Thanks Oleg.
Here are the steps the worked for me on Tomcat:
- Define JNDI resource in META-INF/context.xml
<Context>
<Resource name="jcr/bbsrepo"
auth="Container"
factory="org.modeshape.jcr.JndiRepositoryFactory"
repositoryName="bbsrepo"
configFile="absolute_file_path_to_modeshape_config_file.json" />
</Context>
2. set the value of the jndiName parameter in modeshape configuration file
"jndiName" : "java:comp/env/jcr/bbsrepo",
3. Specify the full JNDI name in Web Explorer
Repository name: java:comp/env/jcr/bbsrepo
Regards,
Gorgi