tagbangers / wallride

multilingual easy-to-customize open source CMS made by Java
http://wallride.org/
Apache License 2.0
95 stars 80 forks source link

Enhancement for multiple instances in one servlet engine #111

Closed stumpner closed 5 years ago

stumpner commented 5 years ago

To enable the operation of several wallride instances in one servlet engine (tomcat), there is now the possibility to configure the wallride.home parameter via a config file placed under the webroot directory.

Example: If you deploy wallride as war to a tomcat to /srv/myblog.war you can place a config file to /srv/myblog.conf or /srv/wallride.conf with content:

wallride.home=file:/srv/wallride-home/

There is no need to config JAVA_OPTS for tomcat

Multiple Instances:

I think this might be a really good enhancement.

Tested with Tomcat8

br franz stumpner

bourbonizable commented 5 years ago

@stumpner Thank you again, it is much better. we merged it into master repo.

stumpner commented 5 years ago

@bourbonizable how can i put this into your documentation under http://wallride.org/docs/guide.html ?

bourbonizable commented 5 years ago

@stumpner Thank you for your advice! Could you update the article from this repository and make pull request to it? https://github.com/tagbangers/wallride-docs After PR merged, we will update the document. Currently the doc have to be changed manually, but we will include this document to WR and make it generate automatically in near future.