Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-07 Thread Jose María Zaragoza
> > Kiran: Is google mail a part of google apps or its normal gmail service > which we use ?.I feel there might be some limits on the number of requests > like google api's Can you elaborate more please. > Take a look this http://www.google.com/enterprise/apps/business/products.html?section=gmail

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Pid *
On 7 Jun 2012, at 23:03, Daniel Mikusa wrote: > - Original Message - >> Only 52 java threads. It used to fluctuate more (we made some >> changes >> to the app to perform a task in a single thread rather than spawning >> multiple threads, but the crash still occurs) . The number of thread

Re: puzzling stacktrace

2012-06-07 Thread Konstantin Kolinko
2012/6/8 : > I have just reorganized my tomcat deployment to use catalina base and home.   > I'm getting an obscure, to me at least, error on startup.  During the > processing of my webapps I think.  I'm on tomcat 5.5.35, and, yes, I'm going > to upgrade after I get the base and home thing worki

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Miguel González Castaños
That depends upon how you have configured your access log: you can configure an access log to log only requests that failed and the details of that request like this: You will probably want to put "%t" and "%r" in your pattern. This looks interesting. In my test environment (with Tomcat 7 a

puzzling stacktrace

2012-06-07 Thread Chad.Davis
I have just reorganized my tomcat deployment to use catalina base and home. I'm getting an obscure, to me at least, error on startup. During the processing of my webapps I think. I'm on tomcat 5.5.35, and, yes, I'm going to upgrade after I get the base and home thing working. Anybody have so

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Daniel Mikusa
- Original Message - > Only 52 java threads. It used to fluctuate more (we made some > changes > to the app to perform a task in a single thread rather than spawning > multiple threads, but the crash still occurs) . The number of threads > is always below 100. > > jstack -F 21370 | grep

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 6/7/12 2:51 PM, Jorge Medina wrote: > It seems my system is running with an relatively old version of > the Tomcat Native Library and old versions of APR and OpenSSL. > > Tomcat Native 1.1.19 APR 1.3.8 OpenSSL 0.9.8k Those aren't terribly

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Jorge Medina
Only 52 java threads. It used to fluctuate more (we made some changes to the app to perform a task in a single thread rather than spawning multiple threads, but the crash still occurs) . The number of threads is always below 100. jstack -F 21370 | grep ^Thread | wc -l ps -T -p 21370 (This giv

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 6/7/12 3:03 PM, Jorge Medina wrote: > I am using MongoDB through the Java driver allowing up to 100 > connections to the MongoDB server. 100 connections sounds a bit high to me, but I don't know your requirements nor do I know anything

RE: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Caldarale, Charles R
> From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] > Subject: Re: Java process killed by oom-killer in Ubuntu > Is there a way I can monitor the number of file descriptors in > use by the app? You can see the open files for any process with lsof: http://linux.die.net/man/8/lsof You can

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Daniel Mikusa
- Original Message - > I am using MongoDB through the Java driver allowing up to 100 > connections to the MongoDB server. > I also use DBCP with a max size of 50 JDBC connections. > My webapp uses about 150 JAR files. > There is no native libraries loaded from my webapp as far as I know. >

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Jorge Medina
I am using MongoDB through the Java driver allowing up to 100 connections to the MongoDB server. I also use DBCP with a max size of 50 JDBC connections. My webapp uses about 150 JAR files. There is no native libraries loaded from my webapp as far as I know. All the app is pure Java code. (Neverthe

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Jorge Medina
Thanks Martin, but the memory error is not in the Java heap. Basically my java process keeps growing far beyond the maximum java heap size allowed. -Jorge On Wed, Jun 6, 2012 at 5:57 PM, Martin Gainty wrote: > neceista empezar tomcat con JMX por ejemplo: > $CATALINA_HOME/bin/java -Dcom.sun.manag

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Jorge Medina
It seems my system is running with an relatively old version of the Tomcat Native Library and old versions of APR and OpenSSL. Tomcat Native 1.1.19 APR 1.3.8 OpenSSL 0.9.8k These are the latest versions available: Tomcat Native 1.1.23 APR 1.4.6 OpenSSL 1.0.1c I will try disabling the Tomcat N

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 6/6/12 5:33 PM, Jorge Medina wrote: > The web application uses Spring/Postgres/Mongo. Are you using MongoDB in-process or anything weird like that? Or are you connecting through some socket-based (or other) API? > It looks like a memory le

[POLL] Finer-grained "manager" user-access privileges?

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I was just answering a question on StackOverflow[1] about limiting the operations a particular user could perform when using the manager app (e.g. deploy, undeploy, start, stop, etc.). It seems to me that this has come up on the users' list once

Re: "/" getting added to action path

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dharamshila, On 6/7/12 1:44 PM, Dharamshila Khandelwal wrote: > I use the URL like this: > > type="text/css"> You need to make sure that your URL starts with a "/" in order to make it work when the containing document is re-locatable. > Once I cli

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 6/7/12 4:13 AM, Miguel González Castaños wrote: > On 07/06/2012 00:54, Konstantin Kolinko wrote: >> It is parameter parsing code. It cannot claim the request as >> malformed (API does not allow it). It can only skip malformed >> parameters.

Re: "/" getting added to action path

2012-06-07 Thread Dharamshila Khandelwal
I use the URL like this: Once I click save, it add 'action' in front of it. Please note that this problem is only with IE7 & 8. This works absolutely fine in IE6. On Thu, Jun 7, 2012 at 12:53 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- >

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 6/7/12 4:13 AM, Miguel González Castaños wrote: > It's not a new system, it's been running for 3 years already. I > don't want to risk that any library has changed its behavior with > tomcat 7 or something similar. I don't believe it's les

Re: getting frustrated with web sockets

2012-06-07 Thread Pid
On 06/06/2012 15:54, Ravi wrote: > > Mark / Chris, > > Essentially, if I want to use websockets, you are asking me to rewrite > my app + rewrite grails + rewrite hibernate + rewrite apache http > utilities + rewrite several other web libraries I use. I don't they're asking you to do that at all.

Re: "/" getting added to action path

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dharamshila, On 6/7/12 9:58 AM, Dharamshila Khandelwal wrote: > I added AccessLogValve in server.xml and was able to find the exact > problem. The problem is not with "/", the problem is following: > > 1. When I load the screen initially, it loads fi

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/6/12 8:59 PM, Kiran Badi wrote: > Is google mail a part of google apps or its normal gmail service > which we use? It's all the same thing. The only difference is the usernames. > I feel there might be some limits on the number of reque

Re: "/" getting added to action path

2012-06-07 Thread Dharamshila Khandelwal
I added AccessLogValve in server.xml and was able to find the exact problem. The problem is not with "/", the problem is following: 1. When I load the screen initially, it loads fine, its able to find all the components. 2. When I click on save, it calls following servlet 10.16.10.90 - - [06/Jun/2

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Konstantin Kolinko
2012/6/7 Miguel González Castaños : > On 07/06/2012 00:54, Konstantin Kolinko wrote: >> >> 2012/6/7 Miguel González Castaños: >>> >>> Hi, >>> >>>  We are getting isHexDigit errors again, although there is no malformed >>> URL >>> requests >> >> It is parameter parsing code. It cannot claim the requ

Re: Unable to build tomcat-connectors

2012-06-07 Thread Sharon S Sreedh
Hi There... One guy helped me to fix this issue.. The probelm was "headers from the default apr instalation (in /usr/include), with the apache (that is installed from source) headers." i could successfully compile mod_jk whe i configur with CPPFLAGS=-I/usr/local/apache/include ./configure --w

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Stefan Mayr
Am 07.06.2012 10:13, schrieb Miguel González Castaños: ... Do you suggest me to upgrade to Tomcat 6 or 7? What about jdk? 1.6 or 1.7? 1.6 is more widely tested (many years), but for a new system I would go with 1.7. It's not a new system, it's been running for 3 years already. I don't want t

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Miguel González Castaños
On 07/06/2012 00:54, Konstantin Kolinko wrote: 2012/6/7 Miguel González Castaños: Hi, We are getting isHexDigit errors again, although there is no malformed URL requests It is parameter parsing code. It cannot claim the request as malformed (API does not allow it). It can only skip malformed