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ñosmiguel_3_gonza...@yahoo.es: 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).

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

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

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Konstantin Kolinko
2012/6/7 Miguel González Castaños miguel_3_gonza...@yahoo.es: On 07/06/2012 00:54, Konstantin Kolinko wrote: 2012/6/7 Miguel González Castañosmiguel_3_gonza...@yahoo.es: Hi,  We are getting isHexDigit errors again, although there is no malformed URL requests It is parameter parsing

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 - -

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

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 fine,

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. I

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 less

Re: / getting added to action path

2012-06-07 Thread Dharamshila Khandelwal
I use the URL like this: link rel=stylesheet href=style/core/style.css type=text/css 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

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 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: link rel=stylesheet href=style/core/style.css type=text/css You need to make sure that your URL starts with a / in order to make it work when the containing

[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

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

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

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 mgai...@hotmail.com wrote: neceista empezar tomcat con JMX por ejemplo:

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.

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. All

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 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 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

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 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

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

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: Valve className=org.apache.catalina.valves.AccessLogValve conditionIf=org.apache.catalina.parameter_parse_failed

Re: puzzling stacktrace

2012-06-07 Thread Konstantin Kolinko
2012/6/8 chad.da...@emc.com: 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