multi-tenant web app

2013-04-12 Thread Jamie
Greetings! I would like some advice with regards to deploying a web app in a multi-tenant scenario. A while back, we had a few cloud service providers ask us if they could host our web app as a service. Under pressure to come with a quick solution, we responded by implementing a manager like

RE: RE : Tomcat 6.0.35 Crashed again

2013-04-12 Thread saumil shah
Thanks again I forgot to mention that big thing I found from this is that I should add

RE: RE : Tomcat 6.0.35 Crashed again

2013-04-12 Thread saumil shah
Thanks I forgot to mention that big thing I found from this thread is that I should add -XX:HeapDumpPath=PATH -XX:+HeapDumpOnOutOfMemoryError2. Is there any concerns over Tomcat bootup and shutdown times , if the heap size is bumped to 4096m ? Many thanks again.

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-12 Thread Pïd stèr
On 11 Apr 2013, at 21:36, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Esmond, On 4/10/13 8:21 PM, Esmond Pitt wrote: We had lots of these and finally an attack last year on a Tomcat where the manager password somehow hadn't been

RE: RE : Tomcat 6.0.35 Crashed again

2013-04-12 Thread Caldarale, Charles R
From: saumil shah [mailto:saumil...@hotmail.com] Subject: RE: RE : Tomcat 6.0.35 Crashed again Is there any concerns over Tomcat bootup and shutdown times , if the heap size is bumped to 4096m ? Not really. You could probably measure the impact in microseconds, but not any coarser

Errors when trying to configure SSL for Apache Tomcat 7

2013-04-12 Thread James Snider
Hi, I have installed Tomcat 7 on a 64 bit server running Windows 2003 R2 and am trying to configure SSL to work. I am have generated the 2 certs and a private key and added them to the server.xml SSL HTTPS/1.1 Connector on port 443 configuration with the following code: Connector port=443

RE: Errors when trying to configure SSL for Apache Tomcat 7

2013-04-12 Thread Caldarale, Charles R
From: James Snider [mailto:james.sni...@hbcs.org] Subject: Errors when trying to configure SSL for Apache Tomcat 7 I am have generated the 2 certs and a private key and added them to the server.xml SSL HTTPS/1.1 Connector on port 443 configuration with the following code:

Re: Tomcat 7.0.39 randoms start and crash

2013-04-12 Thread Konstantin Kolinko
2013/4/13 antoine philippe chaker philippe.cha...@gmail.com: Hi all, I'm using the tomcat maven plugin since a while. Recently I have upgrade to 7.0.39 then sometimes the server start without any problems and somtimes I have this error : SEVERE: A child container failed during start

Re: Tomcat 7.0.39 randoms start and crash

2013-04-12 Thread Howard W. Smith, Jr.
Antoine Philippe, On Fri, Apr 12, 2013 at 6:17 PM, antoine philippe chaker philippe.cha...@gmail.com wrote: Hi all, Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/autodis] due to a StackOverflowError. Possible root causes

java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
After reading antoine philippe chaker's last email/post, that motivated me to pose a question as well. I am using Tomcat 7.0.39 (via TomEE 1.6.0 snapshot), Atmosphere 1.0.13 (snapshot...recently downloaded within the last week), and OmniFaces Gzip filter, and Google Calendar API (v3). A bit of

RE: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Caldarale, Charles R
From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: java.net.SocketTimeoutException: Read timed out The stack trace below is the exception that occurred today. Does this look like a tomcat or google calendar issue? It has nothing to do with Tomcat; it's your webapp that

Re: Tomcat 7.0.39 randoms start and crash

2013-04-12 Thread antoine philippe chaker
Thanks all, Konstantin, there are a lot of jar and dependencies in my application. I think that the problem comes from there but how can I find the cyclic references ? Yes Howard, it's me and I see you everyday on the other list (you're good!). About my jvm, I'm using the default java memory

Re: Tomcat 7.0.39 randoms start and crash

2013-04-12 Thread antoine philippe chaker
I'm trying to list all dependencies and references into my pom. 2013/4/12 antoine philippe chaker philippe.cha...@gmail.com Thanks all, Konstantin, there are a lot of jar and dependencies in my application. I think that the problem comes from there but how can I find the cyclic references

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread antoine philippe chaker
I think that Chuck is right : it has nothing to do with Tomcat, it's more a problem of communication between your webapp and the Google API. 2013/4/12 Caldarale, Charles R chuck.caldar...@unisys.com From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject:

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
On Fri, Apr 12, 2013 at 7:45 PM, antoine philippe chaker philippe.cha...@gmail.com wrote: I think that Chuck is right : it has nothing to do with Tomcat, it's more a problem of communication between your webapp and the Google API. Agreed. :)

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
On Fri, Apr 12, 2013 at 7:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: java.net.SocketTimeoutException: Read timed out The stack trace below is the exception that occurred today. Does this look like a

Re: Tomcat 7.0.39 randoms start and crash

2013-04-12 Thread antoine philippe chaker
BINGO here the solution to find a cyclic reference in a maven project : mvn dependency:tree -Dverbose -Dincludes=org.bouncycastle So I have added an exclusion and now my Tomcat is very very happy :-) 2013/4/12 antoine philippe chaker philippe.cha...@gmail.com I'm trying to list all

Re: java.net.SocketTimeoutException: Read timed out

2013-04-12 Thread Howard W. Smith, Jr.
On Fri, Apr 12, 2013 at 8:02 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Fri, Apr 12, 2013 at 7:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: java.net.SocketTimeoutException: Read timed out