parameter to 20% of the
> total available heap (-Xmx14336m) - should be approx 2936000kbytes.
What's your jvm version? There was a bug in the sun/oracle jvm so that
NewRatio was not used [1].
You can still set the new size fix with NewSize.
Cheers,
Martin
[1] http://bugs.sun.com/v
Hi Rüdiger,
On 06/10/2011 10:42 AM, Rüdiger Herrmann wrote:
> Still, I would be *very* interested in knowing how to use the
> PersistentManager to realize session failover - if it is inteded to
> serve that purpose at all.
I remember there were people posting on this list that they're trying to
ac
ager) needed. My focus is on finding a
> lightweight and purely programmatic solution.
>
> Thanks in advance,
> Rüdiger
>
> [1] http://eclipse.org/rap
>
> -
> To unsubscribe, e-mail: users-unsubscr...@to
rything possible with the Persistent
> Manager. I use the Memcached Session Manager (non-sticky
> approach) and it works brilliantly.
>
> Take a look at this which may be of help to you :
> http://www.reinwaldwarapen.com/2011/01/storing-and-sharing-sessions-among.html
>
>
&
An option for such a case is memcached-session-manager with stickyness
disabled: http://code.google.com/p/memcached-session-manager/
A user reported on the msm mailing list that he was trying to achieve the
same what you want, also with persistentmanager, but ran into the same
problem as you do. T
log
This should give you an idea what's the reason, or you can post it.
Cheers,
Martin
--
Martin Grotzke
http://twitter.com/martin_grotzke
signature.asc
Description: OpenPGP digital signature
You might serve static resources with Apache/nginx/haproxy. This has also
the advantage that you save threads in tomcat.
Cheers,
Martin
Am 23.02.2011 14:47 schrieb "Reinwald Warapen" :
Hey,
Is there any way I can specify the expiry of static content (js,css etc) by
some setting in the context.xml
On Wed, Feb 16, 2011 at 5:08 PM, Christopher Schultz
wrote:
> On 2/15/2011 3:46 PM, Martin Grotzke wrote:
>> This is how it's implemented for memcached-session-manager (msm): when
>> loading the session from memcached (either due to a tomcat failover or
>> when loading
prob, I could reproduce it, it's fixed now.
@Others: sorry for posting off-topic.
Cheers,
Martin
>
>
>
> --- Martin Grotzke schrieb am Di, 15.2.2011:
>
>> Von: Martin Grotzke
>> Betreff: Re: Replicate session-object after values in object has been changed
>> An:
cX1
> =c4Pg
> -END PGP SIGNATURE-
>
> ---------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
--
Martin Gro
ode.google.com/p/memcached-session-manager/issues/detail?id=83
?
Cheers,
Martin
>
> --- Martin Grotzke schrieb am Di, 15.2.2011:
>
>> Von: Martin Grotzke
>> Betreff: Re: Replicate session-object after values in object has been changed
>> An: "Tomcat Users List"
On Tue, Feb 15, 2011 at 8:49 PM, Martin Grotzke
wrote:
> On Tue, Feb 15, 2011 at 11:08 AM, Thomas Andraschko
> wrote:
>> Thanks! i will give it a try!
>> Is there also another manager available without using memcached?
> None that I'm aware of, but perhaps google w
would like to have replaced by another backend?
Cheers,
Martin
>
>
>
> --- Martin Grotzke schrieb am Di, 15.2.2011:
>
>> Von: Martin Grotzke
>> Betreff: Re: Replicate session-object after values in object has been changed
>> An: users@tomcat.apache.org
>
memcached-session-manager detects session modification as you describe it.
It's a custom session manager that keeps sessions (additionally) in
memcached:
http:// code.google.com/p/memcached-session-manager
Cheers,
Martin
Thomas Andraschko wrote:
>
> Thanks for your answer.
> Yep that works bu
y after the session was
> modified?
>
> Thanks,
>
> Jonathan
>
--
Martin Grotzke
http://www.javakaffee.de/blog/
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
--
Martin Grotzke
http://www.javakaffee.de/blog/
evel instead of within your webapp?
>>>
>>> - -chris
>>> -BEGIN PGP SIGNATURE-
>>> Version: GnuPG v1.4.10 (MingW32)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>
>>> iEYEARECAAYFAk03a0wACgkQ9CaO5/Lv0PBikgCfYuyPaY/XyqkiPJP7MtqVsSCW
>>> PkYAmgP7lRbxvV7ilDeKTV4BJwQKEmui
>>> =dkUe
>>> -END PGP SIGNATURE-
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
--
Martin Grotzke
http://twitter.com/martin_grotzke <http://twitter.com/#!/martin_grotzke>
Hi,
I just got pinged by Reinwald (we're already on contact via email) regarding
this issue. I created the memcached-session-manager (
http://code.google.com/p/memcached-session-manager/ ) for which Reinwald is
trying to create a custom serializer/transcoder (memcached-session-manager,
msm, basic
61 3 9621 2773 | Fax +61 3 9621 2776
> Exari Systems
> Boston | London | Melbourne | Munich
> www.exari.com
>
> Test drive our software online - www.exari.com/demo-trial.html
> Read our blog on document assembly - blog.exari.com
>
>
>
> On 2 May 2010 07:21, Martin Grotz
.com
> Level 7, 10-16 Queen Street, Melbourne 3000 Australia
> Tel +61 3 9621 2773 | Fax +61 3 9621 2776
> Exari Systems
> Boston | London | Melbourne | Munich
> www.exari.com
>
> ---------
> To unsubscribe, e
Hi Jon,
On Mon, 2010-02-15 at 11:55 -0600, Jon Brisbin wrote:
> I'm trying to figure out today how I can implement a Valve or something that
> can store a session to a backend DB and reload that session on another Tomcat
> instance similar to how the PersistentManager loads user's session after
On Thu, 2010-02-04 at 12:27 +, Pid wrote:
> On 03/02/2010 23:50, Martin Grotzke wrote:
> > On Fri, 2010-01-29 at 14:58 +, Pid wrote:
> >> On 29/01/2010 11:33, Martin Grotzke wrote:
> >>> Hi Pid,
> >>>
> >>> what you des
On Fri, 2010-01-29 at 14:58 +, Pid wrote:
> On 29/01/2010 11:33, Martin Grotzke wrote:
> > Hi Pid,
> >
> > what you describe is correct and works, I've implemented a Manager
> > implementation that uses simple attributes until now (for memcached
> > bas
atabase or file system
>
[1]
http://code.google.com/p/memcached-session-manager/wiki/SerializationStrategies
--
Martin Grotzke
http://www.javakaffee.de/blog/
signature.asc
Description: This is a digitally signed message part
he Manager
element, but this is not what one would want to do - the related
attributes are spread between the Manager related attributes.
Cheers,
Martin
On Fri, 2010-01-29 at 10:10 +, Pid wrote:
> On 29/01/2010 00:31, Martin Grotzke wrote:
> > Hi,
> >
> > is it somehow possible
/www.mulesoft.com
>
>
> On Thu, Jan 28, 2010 at 4:31 PM, Martin Grotzke <
> martin.grot...@javakaffee.de> wrote:
>
> > Hi,
> >
> > is it somehow possible to have a custom nested element below the Manager
> > element in server.xml/context.xml
's no possibility to achieve
this.
If someone could tell me that I'm wrong with this asumption I would be
happy! :-)
Thanx && cheers,
Martin
--
Martin Grotzke
http://www.javakaffee.de/blog/
signature.asc
Description: This is a digitally signed message part
Hi Konstantin,
On Mon, 2010-01-11 at 05:19 +0300, Konstantin Kolinko wrote:
> 2010/1/11 Martin Grotzke :
> > On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote:
> >> 2010/1/10 Martin Grotzke :
> >> > Hi,
> >> >
> >> > Jan 10, 2010
On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote:
> 2010/1/10 Martin Grotzke :
> > Hi,
> >
> > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter service
> > SEVERE: An exception or error occurred in the container during
Hi,
for some feature of the memcached-session-manager (memcached-based
session failover, [1]) I want to access/reference webapplication classes
(in WEB-INF/lib/) directly from my manager implementation (subclasses
o.a.catalina.session.ManagerBase, registered via Context/Manager) when
tomcat starts
On Mon, 2009-08-31 at 10:33 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin,
>
> On 8/30/2009 4:51 PM, Martin Grotzke wrote:
> > On Sun, 2009-08-30 at 14:57 -0400, Christopher Schultz wrote:
> >
> >> Doi
On Mon, 2009-08-31 at 13:36 +0200, Martin Grotzke wrote:
> http://github.com/magro/memcached-session-manager/blob/de2f6d6749226c685eef38b985411c00b11fe452/src/main/java/de/javakaffee/web/msm/CommitInterceptingActionHook.java
> http://github.com/magro/memcached-session-manage
/SessionTrackerValve.java
On Sun, 2009-08-30 at 17:34 -0700, Bill Barker wrote:
> "Martin Grotzke" wrote in message
> news:1251665502.4485.70.ca...@localhost.localdomain.tld...
>
> >On Sun, 2009-08-30 at 14:57 -0400, Christopher Schultz wrote:
> >> -BEGIN
On Sun, 2009-08-30 at 14:57 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin,
>
> On 8/30/2009 1:50 PM, Martin Grotzke wrote:
> > I found the ActionHook within the coyote response, so I'd try to wrap
> >
Hi,
I want to set a cookie as late as possible from within a valve. So that
the Set-Cookie header is set on the response and sent to the client the
response must not be committed, so setting the cookie directly before
the response is committed would be ideal from my point of view.
I found the Act
istopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin,
>
> Martin Grotzke wrote:
> | Is there a way not to return error pages in these cases?
>
> You could set an in web.xml that produces no output for
> these status codes. Something lik
On Tue, 2008-03-18 at 16:42 -0700, Hassan Schroeder wrote:
> On Tue, Mar 18, 2008 at 4:28 PM, Martin Grotzke
> <[EMAIL PROTECTED]> wrote:
>
> > Only for the REST api (mapped to a specific path/url-pattern) we do not
> > want to return these error pages but only c
nly for the REST api (mapped to a specific path/url-pattern) we do not
want to return these error pages but only codes.
Cheers,
Martin
On Tue, 2008-03-18 at 17:15 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin,
>
> Martin Grotzke
Hi,
we have a web application running in tomcat that returns error pages for
status codes like e.g. 404 - absolutely fine.
In the same servlet context we provide a RESTful API (using jersey [1]),
that in most of the cases returns xml. In some cases responses with only
the error code set (e.g. 400
39 matches
Mail list logo