Re: How to configure logging in embedded Tomcat?

2011-06-24 Thread Rüdiger Herrmann
ogger( "name.of.Logger" ); loggerHolder.add( logger ); logger.setLevel( Level.SEVERE ); On Tue, Jun 14, 2011 at 18:15, Rüdiger Herrmann wrote: > ups, sorry. I am using version 7. > > On Tue, Jun 14, 2011 at 18:03, Mark Thomas wrote: >> On 14/06/2011 16:24, Rüdiger Herrmann w

Re: How to configure logging in embedded Tomcat?

2011-06-14 Thread Rüdiger Herrmann
ups, sorry. I am using version 7. On Tue, Jun 14, 2011 at 18:03, Mark Thomas wrote: > On 14/06/2011 16:24, Rüdiger Herrmann wrote: >> Hi all, >> >> I am running Tomcat embedded and just can't figure out how to >> programmatically configure the logging of the e

How to configure logging in embedded Tomcat?

2011-06-14 Thread Rüdiger Herrmann
Hi all, I am running Tomcat embedded and just can't figure out how to programmatically configure the logging of the engine itself. Ideally I would redirect logging to a custom implementation, but changing the log level (to off) would already help. The LogFactory doesn't seem to offer such function

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
thanks for the hint. Here goes the link to the file: http://pastebin.com/6K4Ns4Tz - Rüdiger On Fri, Jun 10, 2011 at 22:35, Pid wrote: > On 10/06/2011 21:23, Rüdiger Herrmann wrote: >> In case someone is interested, the code to programmatically set up a >> clustered Tom

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
In case someone is interested, the code to programmatically set up a clustered Tomcat instance is attached. - Rüdiger On Fri, Jun 10, 2011 at 10:42, Rüdiger Herrmann wrote: > Martin, > > thanks for the pointers. Though, I'd rather like to start with the > default solution (i.

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
here: > http://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration > > Cheers, > Martin > > > On 06/09/2011 03:15 PM, Rüdiger Herrmann wrote: >> Hi all, >> >> I would like to programmatically set up two Tomcat engines and have >> them fo

How to cluster two embedded tomcat 7 instances

2011-06-09 Thread Rüdiger Herrmann
Hi all, I would like to programmatically set up two Tomcat engines and have them form a basic cluster - all in the same VM. Creating and starting the servlet engines already works Tomcat tomcat = new Tomcat() tomcat.setPort( 123 ); // create context, add servlet, ... tomcat.start(); What