Re: secure cookies

2013-07-30 Thread Prafull
On Tue, Jul 30, 2013 at 9:39 PM, Jeffrey Janner wrote: > > -Original Message- > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Sent: Monday, July 29, 2013 8:21 PM > > To: Tomcat Users List > > Subject: Re: secure cookies > > > > -BEGIN PGP SIGNED MESSAGE- >

Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-07-30 Thread Michael-O
Am 2013-07-31 07:11, schrieb TRAN Trung Thanh: Hi all, I am newbie here. Today, I tried to start apache tomcat 7.0.42 in Linux environment. Server path contains two consecutive spaces. When I run ./catalina.sh run, server cannot start and there is the following exception in console ./catalina.sh

Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-07-30 Thread TRAN Trung Thanh
Hi all, I am newbie here. Today, I tried to start apache tomcat 7.0.42 in Linux environment. Server path contains two consecutive spaces. When I run ./catalina.sh run, server cannot start and there is the following exception in console ./catalina.sh run Using CATALINA_BASE: /home/example/two

Re: Configuration question for 2500 simultaneous users.

2013-07-30 Thread Mark Eggers
On 7/30/2013 1:17 PM, Tomcat Random wrote: Thanks Mark, I will give it a close read. As far as profiling, are you using any tools that are worth mentioning? Nothing outstanding, since currently all of our applications are pretty lightweight. That may change if we redo the architecture. JMe

Re: Configuration question for 2500 simultaneous users.

2013-07-30 Thread Tomcat Random
Thanks Mark, I will give it a close read. As far as profiling, are you using any tools that are worth mentioning? Best, A On Tue, Jul 30, 2013 at 4:02 PM, Mark Eggers wrote: > On 7/30/2013 12:42 PM, Tomcat Random wrote: > >> The project I'm working on has 5000 simultaneous users average. I h

Re: Configuration question for 2500 simultaneous users.

2013-07-30 Thread Mark Eggers
On 7/30/2013 12:42 PM, Tomcat Random wrote: The project I'm working on has 5000 simultaneous users average. I have two physical servers both running an instance of Tomcat 7.0. They're behind a physical load balancer with sticky, least connections balancing. Nothing in front of the Tomcats. Port 8

Configuration question for 2500 simultaneous users.

2013-07-30 Thread Tomcat Random
The project I'm working on has 5000 simultaneous users average. I have two physical servers both running an instance of Tomcat 7.0. They're behind a physical load balancer with sticky, least connections balancing. Nothing in front of the Tomcats. Port 80 to is routed to them by iptables. Anyone ou

Re: Controlling permissions when creating directories

2013-07-30 Thread sderrick
Vidyadhar,     thanks for the tip!     The host we use, uses the java service wrapper to launch tomcat so I added     wrapper.java.umask=0002     to the .conf file.     Now I can ratchet the the permissions down with Posix

RE: secure cookies

2013-07-30 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Monday, July 29, 2013 8:21 PM > To: Tomcat Users List > Subject: Re: secure cookies > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jeffrey, > > On 7/29/13 4:09 PM, Jeffrey Janner wro

Re: Controlling permissions when creating directories

2013-07-30 Thread techienote . com
Hi Scott, Try following 1. Stop the services 2. Set the umask to 002. Command for the same is umask 022 3. Start the services Remember you need to perform all above in a single shell/terminal. Above umask will give permissions are as follows Directory 775 File 664 Regards, Vidyadhar Sent on my

Re: Using the bin/daemon.sh script on ubuntu.

2013-07-30 Thread Ognjen Blagojevic
Christian, On 30.7.2013 11:58, Christian Schneider wrote: But what about: * set env. variables (maybe: catalina.sh?, /etc/profiles?) /etc/profiles is executed when you enter bash shell, so if Tomcat starts at boot time, it won't be able to access environment variables defined in /etc/profile

Re: Authentication from a REST service

2013-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/29/13 12:30 PM, Martin O'Shea wrote: > Sorry Chris, I'm not sure what I'm looking for here. Can you > elaborate? Just read the whole page: >> Container-provided authentication can be done without writing any >> code at all: >> >> htt

Re: Using the bin/daemon.sh script on ubuntu.

2013-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christian, On 7/30/13 5:58 AM, Christian Schneider wrote: > could someone point me to a good source how to use [bin/daemon.sh > with ubuntu and Tomcat 7]? The script can be used directly. Maybe you can clarify your question? > The internet is full

Re: secure cookies

2013-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Prafull, On 7/30/13 9:44 AM, Prafull wrote: > On Tue, Jul 30, 2013 at 6:51 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Jeffrey, > > On 7/29/13 4:09 PM, Jeffrey Janner wrote: Thanks for the verification, Mark. I was

Re: secure cookies

2013-07-30 Thread Prafull
On Tue, Jul 30, 2013 at 6:51 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jeffrey, > > On 7/29/13 4:09 PM, Jeffrey Janner wrote: > > Thanks for the verification, Mark. I was under the impression > > you'd only want to [set

Re: mod deflate compressions not working with loadbalancer

2013-07-30 Thread Visioner Sadak
it was a loadbalanced configuration with 3 workers after loadbalancing i was still unmounting the workers instead of loadbalancer its working now when i unmounted on loadbalancer so compressions are working :) On Mon, Jul 29, 2013 at 9:50 PM, Christopher Schultz < ch...@christopherschultz.net> wro

Using the bin/daemon.sh script on ubuntu.

2013-07-30 Thread Christian Schneider
Hi, could someone point me to a good source how to use that (with ubuntu and Tomcat 7)? The internet is full of selfmade /etc/init.d/ scripts, but mostly it isn't used it as a real service (jsvc). Keyword: bin/*daemon.sh* Even the books "Apache Tomcat 7" and "Tomcat 7 Essentials" are not talking a