Re: install war with xml and define environment values

2013-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/2/13, 11:23 AM, Mark Eggers wrote: > On 12/1/2013 10:49 PM, Philipp Kraus wrote: >> Hello, >> >> Am 01.12.2013 um 23:40 schrieb Mark Eggers >> : >> >>> Run Tomcat as an unprivileged user. >>> >>> If you need to have Tomcat serve on po

Re: install war with xml and define environment values

2013-12-02 Thread Mark Eggers
On 12/1/2013 10:49 PM, Philipp Kraus wrote: Hello, Am 01.12.2013 um 23:40 schrieb Mark Eggers : Run Tomcat as an unprivileged user. If you need to have Tomcat serve on port 80, use jsvc, iptables to map port 80 to port 8080, or place an Apache HTTPD server in front of Tomcat using mod_proxy_h

Re: install war with xml and define environment values

2013-12-01 Thread Philipp Kraus
Hello, Am 01.12.2013 um 23:40 schrieb Mark Eggers : > Run Tomcat as an unprivileged user. > > If you need to have Tomcat serve on port 80, use jsvc, iptables to map port > 80 to port 8080, or place an Apache HTTPD server in front of Tomcat using > mod_proxy_http, mod_proxy_ajp, or mod_jk. > >

Re: install war with xml and define environment values

2013-12-01 Thread Mark Eggers
On 12/1/2013 1:55 PM, Philipp Kraus wrote: Hello, I have got a precomiled war file and in the web.xml exists some values e.g.: database.location ${user.home}/sysdata The Tomcat runs under root, so it creates under /root/sysdata the data files, but I would like to change the directory, the dat

Re: install war with xml and define environment values

2013-12-01 Thread Philipp Kraus
Hello, Am 01.12.2013 um 15:31 schrieb Martin Gainty : > MG> I was going to suggest using ln but since your docBase is based on the > value of base folder ${user.home} > MG>any change to user.home will automatically rebase your war after context > redeploy I have got a precomiled war file and i

Re: install war with xml and define environment values

2013-11-30 Thread Daniel Mikusa
On Nov 30, 2013, at 2:29 PM, Philipp Kraus wrote: > Hello, > > I have got a war file and I would like to install it with a XML file under > Catalina/localhost. The content is > > allowLinking="true" crossContext="true"> > > > > The war uses always ${user.home}, how can I change this in