Re: Possible Tomcat 8.0.3 issue

2014-03-17 Thread Howard W. Smith, Jr.
On Mon, Mar 17, 2014 at 4:14 PM, Felipe Jaekel wrote: > My Tomcat 7 was running fine with this script, but last friday morning I > started Tomcat 8 setting only this: > *-Xms2048m -Xmx2048m -XX:MaxPermSize=1024m > -Dorg.apache.el.parser.COERCE_TO_ZERO=false* > and the applications crashed too. >

Re: Possible Tomcat 8.0.3 issue

2014-03-17 Thread Felipe Jaekel
My Tomcat 8 is hosted on an Amazon EC2 large instance (8GB of ram), with a 64-bit Oracle Java 7u51 JVM. The 2GB PermGen is is an oversized value to guarantee I wont run out of memory in case I need do redeploy my applications several times in the same day, but the maximum I ever used was about 512M

Re: Tomcat 7 : Configure redirect url for session timeout

2014-03-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Akash, On 3/14/14, 7:18 PM, Akash Jain wrote: > I want to redirect user to / with a query parameter to indicate > that session has timed out. > > > On Fri, Mar 14, 2014 at 4:01 PM, Leo Donahue > wrote: > >>> On Fri, Mar 14, 2014 at 3:48 PM, Akas

AW: JNDIRealm - Active Directory Roles

2014-03-17 Thread Bjoern.Becker
Thanks again! It keep the Userdatabase realm now, but I removed the "path=tomcat-users.xml" parameter. It's working now. Regards, Björn -Ursprüngliche Nachricht- Von: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Gesendet: Montag, 17. März 2014 15:15 An: users@tomcat.apa

Re: Hosting recommendations

2014-03-17 Thread John Smith
On Mon, Mar 17, 2014 at 10:25 AM, Mikolaj Rydzewski wrote: > On 17.03.2014 15:15, John Smith wrote: > > 1. Yes, we have ~500,000 visitors per day, and the site is based around a >> very popular game that is very data intensive (users creating, browsing >> and >> loading levels and replays). >> >

RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-17 Thread Konstantin Preißer
Hi Mark, Konstantin K. and others, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Monday, March 17, 2014 3:12 PM > This hasn't been forgotten. I have a fix for this that I will commit > shortly that will be in 8.0.4 onwards. Thanks for analyzing and solving

Re: Hosting recommendations

2014-03-17 Thread Mikolaj Rydzewski
On 17.03.2014 15:15, John Smith wrote: 1. Yes, we have ~500,000 visitors per day, and the site is based around a very popular game that is very data intensive (users creating, browsing and loading levels and replays). Just a rough idea: maybe differential level load/save will help? In other

Re: JNDIRealm - Active Directory Roles

2014-03-17 Thread Felix Schumacher
Am 17.03.2014 14:31, schrieb bjoern.bec...@easycash.de: Yes, I found this error: Mrz 17, 2014 12:50:59 PM org.apache.catalina.realm.UserDatabaseRealm startInternal Schwerwiegend: Exception looking up UserDatabase under key UserDatabase javax.naming.NameNotFoundException: Name [UserDatabase] is

Re: Hosting recommendations

2014-03-17 Thread John Smith
On Mon, Mar 17, 2014 at 9:55 AM, Mark Thomas wrote: > On 17/03/2014 13:41, John Smith wrote: > > We're getting killed by our hosting provider (RS) over bandwidth issues. > I > > swear we scoped this out but somehow were over our agreement by an > alarming > > amount. > > > > Our daily bandwidth l

Re: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-17 Thread Mark Thomas
On 03/03/2014 21:04, Konstantin Preißer wrote: >> -Original Message- >> From: Konstantin Preißer [mailto:kpreis...@apache.org] >> Sent: Monday, March 3, 2014 5:38 PM > >> When sending the following request to IIS: >> POST /TestWebapp/Servlet HTTP/1.1 >> Host: localhost >> Connection: keep-

Re: JNDIRealm - Active Directory Roles

2014-03-17 Thread Felix Schumacher
Am 17.03.2014 13:05, schrieb bjoern.bec...@easycash.de: Hallo Felix, thanks for explaination! I got it now! What helps was to enable debugging: # conf/logging.conf # This would turn on trace-level for everything # the possible levels are: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or

Re: Hanging write to the client when the response is too big

2014-03-17 Thread Mark Thomas
On 17/03/2014 09:52, Martin Grigorov wrote: > On Mon, Mar 17, 2014 at 11:29 AM, Mark Thomas wrote: > >> On 17/03/2014 09:06, Martin Grigorov wrote: >>> Hi, >>> >>> A user of Apache Wicket has reported a problem where Tomcat hangs when >>> writing the response to the browser - >>> https://issues.a

Re: Hosting recommendations

2014-03-17 Thread Mark Thomas
On 17/03/2014 13:41, John Smith wrote: > We're getting killed by our hosting provider (RS) over bandwidth issues. I > swear we scoped this out but somehow were over our agreement by an alarming > amount. > > Our daily bandwidth looks like this: > http://s17.postimg.org/btl0sj3jz/rs_traffic.png >

Re: tomcat-native libraries

2014-03-17 Thread John Smith
> > > Installing the native library will make a difference. Whether the > difference is large enough to notice depends very much on your > application. If you want to improve your application's performance I > suspect your time would be better spent with a profiler to see where the > bottlenecks ar

Hosting recommendations

2014-03-17 Thread John Smith
We're getting killed by our hosting provider (RS) over bandwidth issues. I swear we scoped this out but somehow were over our agreement by an alarming amount. Our daily bandwidth looks like this: http://s17.postimg.org/btl0sj3jz/rs_traffic.png That's ~4T/day in bandwidth. I know it's a little ou

AW: JNDIRealm - Active Directory Roles

2014-03-17 Thread Bjoern.Becker
Yes, I found this error: Mrz 17, 2014 12:50:59 PM org.apache.catalina.realm.UserDatabaseRealm startInternal Schwerwiegend: Exception looking up UserDatabase under key UserDatabase javax.naming.NameNotFoundException: Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].

Re: Site down for maintenance senario

2014-03-17 Thread John Smith
> Deploy a ROOT web application whose 404 page says "Down for > maintenance". You could even customize this kind of thing to only > respond to certain URL-prefixes (like [ROOT]/mywebapp/*). > > What will you do while Tomcat is restarting, though, if you have to > restart? > > Restarts take about a

Re: JNDIRealm - Active Directory Roles

2014-03-17 Thread Felix Schumacher
On 17. März 2014 13:53:18 MEZ, bjoern.bec...@easycash.de wrote: >Well, I still got a problem. >After activating my active directory realm the applications don't >anymore. > >I got this error: > >Mrz 17, 2014 1:49:28 PM org.apache.catalina.startup.HostConfig >deployDescriptor >Schwerwiegend: Erro

AW: JNDIRealm - Active Directory Roles

2014-03-17 Thread Bjoern.Becker
Well, I still got a problem. After activating my active directory realm the applications don't anymore. I got this error: Mrz 17, 2014 1:49:28 PM org.apache.catalina.startup.HostConfig deployDescriptor Schwerwiegend: Error deploying configuration descriptor /app/tomcat2/tomcat/conf/Catalina/loc

Tomcat 7.0.52 strage startup

2014-03-17 Thread Roberto Bottoni - AfterBit
Hi, sometimes i get the following error at tomcat 7 startup.. so i restart and restart again and finally tomcat starts without problem. The error below is raised even during tomcat execution.. I need a little trace to start to investigate.. because now i cannot understand the origin of this err

AW: JNDIRealm - Active Directory Roles

2014-03-17 Thread Bjoern.Becker
Hallo Felix, thanks for explaination! I got it now! What helps was to enable debugging: # conf/logging.conf # This would turn on trace-level for everything # the possible levels are: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL #org.apache.catalina.level = ALL #org.apache.catalina

RE: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-17 Thread Seema Patel
> From: seema...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: HttpServletRequest Tomcat 5.5.29 to 7.0.52 > Date: Fri, 14 Mar 2014 15:15:04 + > > > > > Date: Fri, 14 Mar 2014 08:36:08 -0400 > > From: ch...@christopherschultz.net > > To: users@tomcat.apache.org > > Subject: Re: H

Re: Hanging write to the client when the response is too big

2014-03-17 Thread Martin Grigorov
On Mon, Mar 17, 2014 at 11:29 AM, Mark Thomas wrote: > On 17/03/2014 09:06, Martin Grigorov wrote: > > Hi, > > > > A user of Apache Wicket has reported a problem where Tomcat hangs when > > writing the response to the browser - > > https://issues.apache.org/jira/browse/WICKET-5530 > > > > The app

Re: tomcat-native libraries

2014-03-17 Thread Mark Thomas
On 17/03/2014 09:09, Randeep wrote: > On Mon, Mar 17, 2014 at 1:51 PM, Mark Thomas wrote: > >> On 17/03/2014 08:10, Randeep wrote: >>> On Mon, Mar 17, 2014 at 12:35 PM, Mark Thomas wrote: >>> On 17/03/2014 04:52, Randeep wrote: > Hi, > > I have a httpd-2.2.3-82.el5.centos.x86_64

Re: Hanging write to the client when the response is too big

2014-03-17 Thread Mark Thomas
On 17/03/2014 09:06, Martin Grigorov wrote: > Hi, > > A user of Apache Wicket has reported a problem where Tomcat hangs when > writing the response to the browser - > https://issues.apache.org/jira/browse/WICKET-5530 > > The application tries to upload a file (with Ajax) with bigger size than > t

Re: tomcat-native libraries

2014-03-17 Thread Randeep
On Mon, Mar 17, 2014 at 1:51 PM, Mark Thomas wrote: > On 17/03/2014 08:10, Randeep wrote: > > On Mon, Mar 17, 2014 at 12:35 PM, Mark Thomas wrote: > > > >> On 17/03/2014 04:52, Randeep wrote: > >>> Hi, > >>> > >>> I have a httpd-2.2.3-82.el5.centos.x86_64+mod_jk+apache-tomcat-6.0.37 > >> stack >

Hanging write to the client when the response is too big

2014-03-17 Thread Martin Grigorov
Hi, A user of Apache Wicket has reported a problem where Tomcat hangs when writing the response to the browser - https://issues.apache.org/jira/browse/WICKET-5530 The application tries to upload a file (with Ajax) with bigger size than the allowed one. Then in the Ajax response it tries to write

Re: tomcat-native libraries

2014-03-17 Thread Mark Thomas
On 17/03/2014 08:10, Randeep wrote: > On Mon, Mar 17, 2014 at 12:35 PM, Mark Thomas wrote: > >> On 17/03/2014 04:52, Randeep wrote: >>> Hi, >>> >>> I have a httpd-2.2.3-82.el5.centos.x86_64+mod_jk+apache-tomcat-6.0.37 >> stack >>> >>> Whenever I restart the server it shows the following warning.

Re: tomcat-native libraries

2014-03-17 Thread Randeep
On Mon, Mar 17, 2014 at 12:35 PM, Mark Thomas wrote: > On 17/03/2014 04:52, Randeep wrote: > > Hi, > > > > I have a httpd-2.2.3-82.el5.centos.x86_64+mod_jk+apache-tomcat-6.0.37 > stack > > > > Whenever I restart the server it shows the following warning. > > INFO: The APR based Apache Tomcat Nati

Re: tomcat-native libraries

2014-03-17 Thread Mark Thomas
On 17/03/2014 04:52, Randeep wrote: > Hi, > > I have a httpd-2.2.3-82.el5.centos.x86_64+mod_jk+apache-tomcat-6.0.37 stack > > Whenever I restart the server it shows the following warning. > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in production environme