Why not using resources.xml? this one will work
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-07-27 19:09 GMT+02:00 Fabien R <[email protected]>: > On 25/07/16 19:12, Romain Manni-Bucau wrote: > >> Hi Fabien, >> >> The alternative is to define it in conf/context.xml (<Context >> docBase="/path/to/mywebapp" path="/" />and put it outside of the managed >> folder (webapps/ per default) or deactivate the auto deployment of >> webapps/ >> on the host. >> > Thanks Romain, > This works except for the postgresql database declared in > META-INF/context.xml of the webapp. > > It seems replaced by an HSQL instance, which is of course not declared. > > Any hint ? > -- > Fabien >
