RE: Apache/Tomcat with SSL

2009-09-28 Thread Jorge Medina
Hola Miguel, did you set up SSL in Apache ? Or did you do it in Tomcat ? Or in both ? I am assuming that you want Apache to be the exposed server, therefore SSL must be configured in Apache. You must also have configured Apache to forward the requests to Tomcat by using the Apache

RE: Apache/Tomcat with SSL

2009-09-28 Thread Jorge Medina
Also, in order to configure Apache with SSL you must have the module mod_ssl -Original Message- From: Jorge Medina [mailto:jmed...@e-dialog.com] Sent: Monday, September 28, 2009 10:40 AM To: Tomcat Users List Subject: RE: Apache/Tomcat with SSL Hola Miguel, did you set up SSL

RE: Apache/Tomcat with SSL

2009-09-28 Thread Jorge Medina
As suggested by André, you may want to join the Apache User's list and ask there your question. You need to configure SSL in your Apache web server. To configure SSL Apache Web server, the first thing you need to do is to verify that the module mod_ssl is available. You may want to consider

RE: Problem forward HTTP / Soap request using mod_jk

2009-11-04 Thread Jorge Medina
Did you add a load blancer worker to your workers.properties? Below is what I use to perform load balancing over two Tomcat servers. I have a similar scenario: Apache in front of two (or more Tomcats). Apache forwards the requests using mod_jk. My client is sending SOAP requests using Axis2.

RE: Problem forward HTTP / Soap request using mod_jk

2009-11-04 Thread Jorge Medina
/yourappcontext/*=wlb # Lets also define an URI to access the status workers /private/admin/watch/jk=jkwatch #/private/admin/manage/jk=jkmanage -Original Message- From: Jorge Medina [mailto:jmed...@e-dialog.com] Sent: Wednesday, November 04, 2009 3:15 PM To: Tomcat Users List Subject: RE

RE: Problem forward HTTP / Soap request using mod_jk

2009-11-04 Thread Jorge Medina
No, you don't need the load balancer if you only have one Tomcat behind your Apache server. The status worker is not needed either, but it allows you to monitor the state of the load balancer and the workers from a browser. (You can even enable/disable workers) -Original Message-

RE: Identifying Clients via SSL Certificates

2009-11-09 Thread Jorge Medina
OpenSSL hashes the subject name. This is used in OpenSSL to form an index to allow certificates in a directory to be looked up by subject name. but that seems weak. http://www.openssl.org/docs/apps/x509.html#http://www.openssl.org/docs/apps/verify.html# -Original Message-

RE: WebappClassLoader and undeploy

2009-11-09 Thread Jorge Medina
Does the JVM perform class unloading by default? I usually add the option -XX:+CMSClassUnloadingEnabled so that classes also get garbage collected. (Otherwise I was running into out of PermGen memory space) Would that solve your problem? -Original Message- From: Elli Albek

RE: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Jorge Medina
Ich kann nicht alles verstehen. Mein deutche ist night zu gut. Could you provide the translation? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, November 10, 2009 11:01 AM To: Tomcat Users List Subject: [OT] Of the dissemination, or globalisation, of

RE: Connect tomcat to Active Directory with jndi

2009-11-10 Thread Jorge Medina
Is that a typo on the role name? role-nameActive-directory-Group-Name/role-name Should it be Active-Directory-Group-Name ? You may ask in Spanish at http://groups.google.com/group/javasos -Jorge -Original Message- From: A A [mailto:masvalesolo...@yahoo.es] Sent: Tuesday, November 10,

RE: How to set up tomcat and truststore

2009-11-11 Thread Jorge Medina
Doesn't accepting any certificate defeats the purpose of authentication? If you want to accept any certificate, then you are not doing any authentication. If you have written your own Realm, then do the verification on your realm against your dynamic truststore. -Original Message-

Re: Logging into clustered enviroment

2009-11-20 Thread Jorge Medina
No, you don't want two -or more processes- writing to the same file. You have several options: a) Aggregate on demand. Keeps the log files independent, but only merge them when needed. b) Send the log records over the network to one or more logging servers This will merge your logs on the

Re: Manage log files in a cluster

2009-12-02 Thread Jorge Medina
Look at Hadoop Chukwa On Wed, Dec 2, 2009 at 3:09 AM, Paolo Santarsiero paolo.santarsi...@gmail.com wrote: thanks, this can be a good start point. 2009/12/1 Neil Aggarwal n...@jammconsulting.com I want to manage the log's files on a centralized basis Does this help?

Re: tomcat server start up without looking dependency jars

2009-12-05 Thread Jorge Medina
hi Ahmed, JAR files are not loaded by Tomcat. A jar file is just a container of classes, the classes are loaded by the JVM when the code makes reference to them. If you specify a Resource on your context.xml, then Tomcat will look for those classes (the driverClassName), but that does not

Re: Including a file into server.xml

2010-01-22 Thread Jorge Medina
I don't know of any inclusion tag. I had a similar problem with context.xml, I used an XSLT transformation to add new Resources entries during installation time depending on the number of databases a user wanted to configure. I used a dummy Resource entry and used XSLT to make a copy of it

Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-02 Thread Jorge Medina
Hi I am having problems with the mod_jk module 1.2.26 and Tomcat Native connectors running in Solaris 10. The problem occurs in both processors x86 (64-bit) and sparc (64-bit). (The problem does not occur on RedHat EL5 64-bit). On the mod_jk workers.properties file I am specifying a

mod_jk sporadic errors

2009-02-03 Thread Jorge Medina
I am running Apache with mod_jk 1.2.26 module (on Solaris) In the same machine, I am running Tomcat 6.0.16 with the Tomcat Native Library 1.1.12 (linked to APR 1.3.3) I am getting sporadic errors on the mod_jk log as the shown below: [Tue Feb 03 08:48:29.367 2009] [13821:22] [error]

What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Jorge Medina
Does anybody know what significantly means on the following paragraph of the Tomcat Native library? When APR is enabled, the AJP connector will use a socket poller for keepalive, increasing scalability of the server. As AJP is designed around a pool of persistent (or almost persistent)

RE: mod_jk

2009-02-05 Thread Jorge Medina
1) As far as I know, no, mod_jk does not read workers.properties dynamically. 2) Yes and no, it will not send a request unless communication has been established with the worker, it may happen that the worker fails, or someone shut it down. Depending on how you configure the workers and the number

RE: tomcat memory leak problem

2009-02-05 Thread Jorge Medina
The problem may be in your web application and not in Tomcat itself. Duplicate your environment and use a memory profiler. (like the one included with Netbeans) Or use the extended JVM options to produce a HeapDump -Original Message- From: fcxjp [mailto:fc...@163.com] Sent: Thursday,

RE: Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-06 Thread Jorge Medina
: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, February 06, 2009 11:38 AM To: Tomcat Users List Subject: Re: Problem with mod_jk and Tomcat Native Connectors on Solaris On 02.02.2009 20:01, Jorge Medina wrote: I am having problems with the mod_jk module 1.2.26 and Tomcat Native

RE: Can Tomcat accomplish this?

2009-02-06 Thread Jorge Medina
Maybe an ESB ? (like Mule) -Original Message- From: Christopher Long [mailto:kord...@gmail.com] Sent: Friday, February 06, 2009 2:19 PM To: users@tomcat.apache.org Subject: Can Tomcat accomplish this? Hello: I was just wondering if Tomcat is able to do something similar to what I've

Classloaders

2009-02-06 Thread Jorge Medina
In server.xml , a Server may contain multiple Service elements. Each Service can define multiple Connectors but a single Engine. Each Engine can define multiple Hosts. How does this relate to the classloaders -if at all- ? I couldn't find any reference about it on:

Clustering: Session replication

2009-02-10 Thread Jorge Medina
Hi, I am trying to configure session replication using the Cluster object. The documentation says: The IP broadcasted is java.net.InetAddress.getLocalHost().getHostAddress() (make sure you don't broadcast 127.0.0.1, this is a common error) I just wrote a small

FW: Clustering: Session replication

2009-02-10 Thread Jorge Medina
According to the Javadoc, InetAddress.getLocalHost() returns the loopback address. So...how do I control the broadcasting address ? -Original Message- From: Jorge Medina Sent: Tuesday, February 10, 2009 3:38 PM To: 'users@tomcat.apache.org' Subject: Clustering: Session replication

RE: Clustering: Session replication

2009-02-10 Thread Jorge Medina
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, February 10, 2009 4:34 PM To: Tomcat Users List Subject: RE: Clustering: Session replication From: Jorge Medina [mailto:jmed...@e-dialog.com] Subject: FW: Clustering: Session replication

RE: Re: Trouble with cluster and JMX

2009-02-12 Thread Jorge Medina
To get more verbose messages, the documentation mentions to use the key org.apache.catalina.tribes.MESSAGES I am currently trying it... -Jorge -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Sent: Wednesday, February 11, 2009 11:55 PM To:

RE: Re: Trouble with cluster and JMX

2009-02-12 Thread Jorge Medina
I did not manage to get more logging from the tribes package. Did you? I am using the default tomcat-juli configuration, I didn't get any ouput about sessions replicating other than the initial startup messages. -Original Message- From: Jorge Medina [mailto:jmed...@e-dialog.com] Sent

RE: Oracle connection pooling

2009-02-12 Thread Jorge Medina
Try ds = (DataSource)context.lookup(java:/comp/env/jdbc/GFDataSource); -Original Message- From: Hamacher, Eric [mailto:eric_hamac...@gallup.com] Sent: Thursday, February 12, 2009 3:52 PM To: users@tomcat.apache.org Subject: Oracle connection pooling Hello: I am in a bind. I am

RE: Oracle connection pooling

2009-02-12 Thread Jorge Medina
Is your Oracle database port and is the name of your SID SID? We use Oracle jdbc driver with Oracle 10g. I set the attributes on the resource to: type=javax.sql.DataSource driverClassName=oracle.jdbc.OracleDriver and no factory -Original Message- From: Hamacher, Eric

RE: Tomcat in-memory (session) cookie

2009-02-17 Thread Jorge Medina
Hi Makaira, I also found hard to understand the concept of sessions and its relation to cookies. After all, HTTP is a stateless protocol, right? Well, a servlet engine (as stated in the Servlet Engine specification pointed by Charles) must provide a way to provide some state. This is done by a

Tribes

2009-02-18 Thread Jorge Medina
Is there a way to get more documentation on the Tribes package ? I would like to reuse the dynamic membership discovery feature of Tribes, but many of the links are not working on the page http://tomcat.apache.org/tomcat-6.0-doc/tribes/introduction.html Thanks -Jorge

RE: Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-18 Thread Jorge Medina
There are no issues on running Tomcat in a VM. Tomcat is unaware of where it is running. Performance depends on the host running your VM. If you compare a VM running application A on host H compared to application A running directly on host H, you will notice that running on the real server

RE: tcnative-1.dll

2009-03-13 Thread Jorge Medina
Check catalina.out (or whatever file your Tomcat is logging to). I get the following in Unix when not using the APR, you should get a similar message in Windows or a message indicating that the APR was found and loaded. INFO: The APR based Apache Tomcat Native library which allows optimal

RE: Need Help With Clustered Tomcat Sessions

2009-03-19 Thread Jorge Medina
Are you maintaining session stickyness? Did you configure Tomcat to replicate the sessions? -Original Message- From: Alston, Brian (US SSA) [mailto:brian.als...@baesystems.com] Sent: Thursday, March 19, 2009 1:40 PM To: users@tomcat.apache.org Subject: Need Help With Clustered Tomcat

mod_jk : recovery_options

2009-03-27 Thread Jorge Medina
Hi, I have an automated test of a web services application running on Tomcat (6.0.18) behind Apache (2.2.11) We use mod_jk (1.2.27) Our test suite runs a client against the Apache server on a system where we have a single Tomcat instance behind Apache. So far so good, all test passed.

RE: mod_jk : recovery_options

2009-03-30 Thread Jorge Medina
not seen the tests failing again. -Jorge -Original Message- From: Jorge Medina [mailto:jmed...@e-dialog.com] Sent: Friday, March 27, 2009 4:16 PM To: users@tomcat.apache.org Subject: mod_jk : recovery_options Hi, I have an automated test of a web services application running on Tomcat

RE: mod_jk : recovery_options

2009-03-31 Thread Jorge Medina
: recovery_options On 30.03.2009 22:24, Jorge Medina wrote: I did not get any response to my questions, but from previous messages (posted by Rainer Jung) I believe that using the default values for retry and recovery_options may produce the unexpected result I was having. I changed

RE: tomcat 6 session replication issues

2009-04-02 Thread Jorge Medina
What is your multicast address and port used by Tomcat to discover members of the cluster? Your sever.xml has a note [10.x.x.x]. This does not look like a multicast address. http://tldp.org/HOWTO/Multicast-HOWTO-2.html From: Jimmy Phillips

RE: Session Replication in Cluster

2009-04-02 Thread Jorge Medina
Are your logs Apache logs? Mod_jk logs? If it is Apache, the question would probably better answer in the Apache mailing list. Anyway, What does your LogFormat string looks like? I bet what you see in the logs is the concatenation of the session ID and the worker name. I doubt two servers

RE: Migration from Tomcat 4.1 to 6.0

2009-04-08 Thread Jorge Medina
http://httpd.apache.org/docs/2.2/ Read Compiling and Installing section You will need to undertand the modules and directives of several modules. You will find in the Apache site instructions for mod_proxy, but if you decide mod_jk then here are the instructions

RE: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread Jorge Medina
Remove your tomcat workers from the worker.list, you only need to reference the balance worker here: worker.list=loadbalancer your load balancer worker then refers to the tomcat workers: worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3 -Jorge -Original Message- From:

RE: clustering error

2009-04-13 Thread Jorge Medina
Yes, you can test clustering using two tomcats on the same machine. -Original Message- From: supareno [mailto:reno.rkc...@free.fr] Sent: Saturday, April 11, 2009 7:12 AM To: Tomcat Users List Subject: clustering error hello, we 're trying to do some tomcat clustering but i think that

RE: Need to share JVM for both tomcat and RMI server

2009-04-15 Thread Jorge Medina
I guess you can start one from the other no matter what direction you choose. If you can package your RMI server as a webapp, just could start your RMI server from a context listener. If you prefer to start Tomcat from your RMI server, just look at the catalina.sh script, starting Tomcat is

RE: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread Jorge Medina
Your workers.properties looks fine. What is the content of uriworkermap.proeprties ? -Original Message- From: swbrads...@gmail.com [mailto:swbrads...@gmail.com] On Behalf Of Scott Bradshaw Sent: Wednesday, April 15, 2009 3:51 PM To: users@tomcat.apache.org Subject: JK 1.2.28 - load

RE: Need to share JVM for both tomcat and RMI server

2009-04-17 Thread Jorge Medina
, Jorge Medina jmed...@e-dialog.comwrote: I guess you can start one from the other no matter what direction you choose. If you can package your RMI server as a webapp, just could start your RMI server from a context listener. If you prefer to start Tomcat from your RMI server, just look

RE: Tomcat 5.5 Trust Stores and Client Authentication

2009-04-20 Thread Jorge Medina
I have not used client certificates, but in order to use SSL with self-generated certificates you need to add your server self-signed certificate to the trusted roots of your Windows account or computer account. Use the Certificates plug-in on an MMC console to perform the operation. The

Unable to set loginTimeout on data sources defined in context.xml

2010-01-27 Thread Jorge Medina
Hi, I have the following Resource defined in context.xml Resource name=jdbc/MasterDB auth=Container driverClassName=oracle.jdbc.driver.OracleDriver type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory

Re: [OT] Tomcat dies suddenly

2010-02-13 Thread Jorge Medina
There have been 144 messages on this thread...and you have spent already months trying to solve the problem...I think it will be more cost effective to replace the boxes, run a standard JVM from Sun..and close this thread! On Sat, Feb 13, 2010 at 6:11 PM, Caldarale, Charles R

Re: user cancels download attachment

2010-05-20 Thread Jorge Medina
I would be interested on the answer when the server is front-ended with httpd. I currently have a web services application (using SOAP with attachments) and I would also benefit from getting a IOException (like the Broken pipe) to terminate processing as soon as possible. On Thu, May 20, 2010 at

Re: Testing tomcat 6

2010-06-14 Thread Jorge Medina
Ohad, What do you want to test? I think that you need to rephrase your question. If you are trying to test your application running under Tomcat, then the test suite has to be specific to your application. If you want to bechmark Tomcat against other servlet containers, then you need to use the

Re: Configuring Tomcat 6.0.28 with SSL

2010-08-10 Thread Jorge Medina
There are two ways to add SSL support to Tomcat a) Pure java support b) Using OpenSSL through the APR library For (b) you need to compile (or use a distribution with) the Tomcat Native Library. Configuring SSL using (a) is different than when using (b). You may now if your server is running

Re: Configuring JSVC on a new installation

2010-08-11 Thread Jorge Medina
The following script requires that you have build the APR and APR-utils prior to building JSVC in 64-bit mode. You will need the paths where the APR and APR-utils get installed. I use this script to build jsvc in Linux and Solaris, so you also need to define some variables to define the path to

Re: Tomcat service only starts if

2010-09-07 Thread Jorge Medina
How do you start tomcat? What script gets executed? Probably your bash profile script for the tomcat account was setting the PATH and/or LD_LIBRARY_PATH for you. Review your startup script. On Tue, Sep 7, 2010 at 11:32 AM, Jeff Hubbs jhubbsl...@att.net wrote: Tomcat 5.5.23, sun-jdk 1.5.0_11,

Re: Connect the same Database from two different web application

2010-09-20 Thread Jorge Medina
I had a slightly similar problem using Oracle data sources with Oracle connection caching. In this case, I had defined my connection settings via JNDI in context.xml. (therefore they were common for both web apps) Since the classes were loaded by Tomcat and not by my webapps, a datasource was

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread Jorge Medina
Is your server using a test certificate? If so, Have you tried setting the Java system property javax.net.ssl.trustStore? If your server is using a certificate signed by a certificate authority, then your certificate may have been signed using a intermediate certificate. Your server is

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread Jorge Medina
at 8:50 PM, Jorge Medina cerebrotecnolog...@gmail.com wrote: Is your server using a test certificate? If so, Have you tried setting the Java system property javax.net.ssl.trustStore? If your server is using a certificate signed by a certificate authority, then your certificate may have been

Re: Tomcat Consultant

2010-09-24 Thread Jorge Medina
Hey, you don't need a Big-5 consulting company. You need a a couple of experts: a networking guy and a Tomcat guy. But anyway, I'm sure a Fortune 500 have the money to overpay one of the Big-5. Now, from my understanding, Tomcat is only a web app container while Websphere is an application

Re: Tomcat Consultant

2010-09-24 Thread Jorge Medina
I should have copyrights on my name. LOL On Fri, Sep 24, 2010 at 3:49 PM, Brian bbprefix-m...@yahoo.com wrote: -Original Message- From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] Sent: Friday, September 24, 2010 02:43 PM To: Tomcat Users List Subject: Re: Tomcat Consultant

Re: Tomcat Consultant

2010-09-25 Thread Jorge Medina
, Daniel Savard daniel.sav...@gmail.com wrote: Jorge, Could you explain further what's the difference between an app container and an app server? For me it seems pretty much the same. Regards, Daniel Savard 2010/9/24, Jorge Medina cerebrotecnolog...@gmail.com: Hey, you don't need a Big-5

Re: Can't access tomcat manager

2010-12-01 Thread Jorge Medina
I hope one of you is right, you have just rule out any other cause by using all the remaining probabilityand it would be catastrophic for all the mathematicians. On Wed, Dec 1, 2010 at 6:03 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: Modifying logging levels logged in catalina.out at runtime

2010-12-01 Thread Jorge Medina
I do that by scheduling a thread that every minute checks if my logging.properties file has changed. You may use the timestamp of the file or a change of its MD5 hash to determine that the file has changed. If the file has changed, then I reconfigure the logging library (log4j) with the new

Re: Trouble setting up ssl

2011-02-26 Thread Jorge Medina
Your Certificate Authority (The certificate used to sign your other certificates, in this case provided by your Windows CA Server) is not trusted by your clients. Are your clients internal or external to your company? If your clients are internal, you can add the certificate to the trusted roots

Re: programming question

2011-02-26 Thread Jorge Medina
If you use Oracle, some DBCP settings may not work and you may need to use Oracle connection pool classes. In particular, I was not able to use DBCP and have a loginTimeout when using Oracle. Using Oracle connection pool classes, the validation query does not work in the same way as in Apache

Re: [OT] Memory Leak in Tomcat

2011-03-01 Thread Jorge Medina
I got a good laugh with your message. Security seems to be always in the hands of the wrong people. Once I asked for the algorithm used to hash the passwords (that happened to be HMAC SHA-1) into a database, if I was going to authenticate the users, I needed to use the same algorithm. I did not

Re: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-15 Thread Jorge Medina
What is the problem that you are trying to solve? On Mon, Mar 14, 2011 at 4:25 PM, Dan random.da...@gmail.com wrote: On Mon, Mar 14, 2011 at 11:25 AM, Dan random.da...@gmail.com wrote: On Mon, Mar 14, 2011 at 10:57 AM, chris derham ch...@derham.me.uk wrote: We have some working tomcat 6

Re: tomcat issue with DBCP connection pool

2011-03-21 Thread Jorge Medina
Are you sure it is due to the stored procedure? You can get that error if you don't close all database objects. Make sure you close resultsets, statements, etc in a finally block throughout all your code. On Mon, Mar 21, 2011 at 4:59 PM, Propes, Barry L barry.l.pro...@citi.com wrote: And to

Log ownership when running Tomcat using jsvc

2011-08-03 Thread Jorge Medina
I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the -user option to change to the application user. I use the option -outfile and -errfile to specify where to direct stdout and stderr, catalina.out and catalina.err in my

Re: Log ownership when running Tomcat using jsvc

2011-08-03 Thread Jorge Medina
Just in case is needed I use Tomcat 6.0.32 and jsvc 1.0.5 running under Java 1.6.0_24 On Wed, Aug 3, 2011 at 4:11 PM, Jorge Medina cerebrotecnolog...@gmail.com wrote: I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the -user

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Jorge Medina
. On Thu, Aug 4, 2011 at 1:36 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 04.08.2011 09:44, Mladen Turk wrote: On 08/03/2011 10:11 PM, Jorge Medina wrote: I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init script. jsvc is started by root, but I specify the -user option

Problems with mod_jk 1.2.31

2011-10-12 Thread Jorge Medina
I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance using mod_jk (1.2.31) with the AJP protocol. I am getting errors like the sample below frequently (a few hundred times a day). The server does not have a heavy load, it serves about 150 req/minute and average response time of

Re: Problems with mod_jk 1.2.31

2011-10-12 Thread Jorge Medina
Correcting some information: I am using Apache 2.2.13, mod_jk 1.2.30, Tomcat 6.0.32 On Thu, Oct 13, 2011 at 12:16 AM, Jorge Medina cerebrotecnolog...@gmail.com wrote: I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance using mod_jk (1.2.31) with the AJP protocol. I am getting

Re: Problems with mod_jk 1.2.31

2011-10-12 Thread Jorge Medina
and another piece of information: Tomcat and Apache are running in the same machine. On Thu, Oct 13, 2011 at 12:24 AM, Jorge Medina cerebrotecnolog...@gmail.com wrote: Correcting some information: I am using Apache 2.2.13, mod_jk 1.2.30, Tomcat 6.0.32 On Thu, Oct 13, 2011 at 12:16 AM, Jorge

Re: Problems with mod_jk 1.2.31

2011-10-13 Thread Jorge Medina
Thanks Rainer, now I know where to direct the troubleshooting efforts. Seems I have some networking issue. On Thu, Oct 13, 2011 at 6:30 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 13.10.2011 06:16, Jorge Medina wrote: I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance

Java process killed by oom-killer in Ubuntu

2012-06-06 Thread Jorge Medina
Hello, I have an application that runs under Tomcat 7.0.23 that periodically crashes. The java process running tomcat keeps growing in memory until the Linux oom-killer kills the process. I do not get an OutOfMemoryError because the memory leak is not in the Java heap. In fact, it seems the

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Jorge Medina
Native Library to see if this solves the problem. Has anyone experience problems of Tomcat 7 running with these versions? -Jorge On Wed, Jun 6, 2012 at 2:33 PM, Jorge Medina cerebrotecnolog...@gmail.com wrote: Hello,   I have an application that runs under Tomcat 7.0.23 that periodically

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
On Thu, Jun 7, 2012 at 11:44 AM, Christopher Schultz ch...@christopherschultz.net wrote: -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

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Jorge Medina
, Christopher Schultz ch...@christopherschultz.net wrote: -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

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
/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 leak in native code, not java code; so my usual java toolset

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
growing. -Jorge On Mon, Jun 11, 2012 at 11:01 AM, Jorge Medina cerebrotecnolog...@gmail.com wrote: I'm finding it hard to believe, but all points that the problem was the -Xms option of the Oracle (Sun) JVM. I originally set it to the same value as -Xmx, so that all memory for the heap is allocated

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
The machine has 16 GB of memory with no swap space. The JVM was being started with -Xms and -Xmx equal to 6 GB, so I think 10GB extra would be enough for anything else. -Jorge On Mon, Jun 11, 2012 at 11:15 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Jorge Medina

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Java process killed by oom-killer in Ubuntu On 6/11/2012 2:30 PM, Jorge Medina wrote: The machine has 16 GB of memory with no swap space. The JVM was being started with -Xms