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: j_security_check error

2013-12-01 Thread André Warnier
J. Brian Hall wrote: I’m using Tomcat and a MySQL database that contains usernames/passwords/roles for form-based authentication. Logging in with correct username/password successfully directs to index.jsp (from login.jsp). Logging in with incorrect username/password successfully directs to err

j_security_check error

2013-12-01 Thread J. Brian Hall
I’m using Tomcat and a MySQL database that contains usernames/passwords/roles for form-based authentication. Logging in with correct username/password successfully directs to index.jsp (from login.jsp). Logging in with incorrect username/password successfully directs to error.jsp (from login.jsp)

RE: multiple servers and digest authentication

2013-12-01 Thread Martin Gainty
> From: cdeha...@ebay.com > To: users@tomcat.apache.org > CC: cdeha...@ebay.com > Subject: Re: multiple servers and digest authentication > Date: Sat, 30 Nov 2013 01:55:32 + > > Hi, > > Thanks for your answers: > > 1/ Sticky session : yes, that is the way I have currently set my load

Re: multiple servers and digest authentication

2013-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christophe, On 11/29/13, 8:55 PM, Dehaudt, Christophe wrote: > 1/ Sticky session : yes, that is the way I have currently set my > load balancer. But there is a drawback when the client is > contineoulsy using the service => because it will never bee

Websockets with tomcat clustering and session replication

2013-12-01 Thread Nir A
Hi, Ive asked here before about how do i get a session replication over websockets sessions. Mark Thomas answered me that i should try and link the httpsession with the websocket and then i will gain the replication abilities. So, I listended and implemented it just like in this url: http://stac

Tomcat session replication via backmanager - attributes are not being saved on backup session

2013-12-01 Thread Nir A
Hi, I'm using tomcat clustering of 2 tomcats, and session replication via backup manager. on session creation in one tomcat instance, the other tomcat replicates the session successfully but the attribute list is empty no matter how much i add to it. (the primary session attribute list is fine) a