Hi, On 12 Jan 2016 at 09:12:33, Noman Nisar ([email protected](mailto:[email protected])) wrote:
i have created multiple instances of tomcat and made changes to hibernate.cf.xml file for my application in tomcat instance 1 and also for tomcat instance 2 but they uses only one database. like in my case i have set different ports but still they use same database. in tomcat1 webapps http://localhost:8081/wiki/bin/view/Main/ in tomcat2 webapps http://localhost:8082/simple/ plz help me what to do.i have set different db like wikidb for wiki application and simpledb for simple.
hmm I don’t recall seeing any guide on xwiki.org about this type of setup although it should work. There are 2 config properties to control this that you need to use: #-# [Since 1.6M1] #-# Force the database name for the main wiki. # xwiki.db=xwiki #-# [Since 1.6M1] #-# Add a prefix to all databases names of each wiki. # xwiki.db.prefix= Hope it helps, let us know if you have a specific question or problem. Thanks -vincent PS: Please use the user mailing list in the future, the devs lists is reserved for developers of the xwiki software ;)