, Caldarale, Charles R
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 bein
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
wrote:
>> From: Jorge Medina [mailto:cerebrote
and stops growing.
-Jorge
On Mon, Jun 11, 2012 at 11:01 AM, Jorge Medina
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 al
va code. (Nevertheless, Tomcat is using the
>>>>> Tomcat Native Library)
>>>>>
>>>>> Is there a way I can monitor the number of file descriptors in use
>>>>> by
>>>>> the app?
>>>>>
>>>>> I h
gt; Dan
>
>
>
> (but it could be that the burst is too fast to get catch by
>> the monitoring tool)
>>
>> -Jorge
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Jun 7, 2012 at 11:44 AM, Christopher Schultz
>> wrote:
>> > -BEGIN PGP SIGNED MESS
Jorge
On Thu, Jun 7, 2012 at 11:44 AM, Christopher Schultz
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 any
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
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
wrote:
> Hello,
> I have an application that runs under Tomcat 7.0.23 that
> periodically crashes. The jav
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 heap
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 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
>&g
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
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 Medina
&g
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
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 errors like t
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 200
On Thu, Aug 4, 2011 at 1:36 PM, Rainer Jung 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 b
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
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"
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
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
wrote:
> And to thisis it absolute
What is the problem that you are trying to solve?
On Mon, Mar 14, 2011 at 4:25 PM, Dan wrote:
> On Mon, Mar 14, 2011 at 11:25 AM, Dan wrote:
>> On Mon, Mar 14, 2011 at 10:57 AM, chris derham wrote:
We have some working tomcat 6 instances that we'd like to identify
>>>
>>>
>>> Can you use t
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
a
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 DBCP
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 o
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 content
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
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> André,
>
> On 12/1
, Daniel Savard 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 :
>> Hey, you don't need a Big-5 co
I should have copyrights on my name. LOL
On Fri, Sep 24, 2010 at 3:49 PM, Brian wrote:
>
>
>> -Original Message-----
>> From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com]
>> Sent: Friday, September 24, 2010 02:43 PM
>> To: Tomcat Users List
>> Subj
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 server.
2010 at 8:50 PM, Jorge Medina
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 certificat
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 responsib
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 be
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 wrote:
> Tomcat 5.5.23, sun-jdk 1.5.0_11, CentOS 4.8. Tomc
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 yo
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 the
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 s
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 a
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 <
chuck.caldar...
Hi,
I have the following Resource defined in context.xml
where the user, password and url are all defined at install time and are not
important for this issue.
I use Hibernate on my application, and define my hibernate.master.cfg.xml
as
java:/comp/env/jdbc/MasterDB
org.
I don't know of any inclusion tag.
I had a similar problem with context.xml, I used an XSLT transformation to
add new s entries during installation time depending on the number
of databases a user wanted to configure. I used a dummy entry
and used XSLT to make a copy of it replacing a set of att
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 on your context.xml, then Tomcat will look
for those classes (the driverClassName), but that does not mean th
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
>
> > > I want to manage the log's files on a centralized basis
> >
> > Does this help?
> > http://linux.die.net/man
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 f
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-
Fro
Is that a typo on the role name?
Active-directory-Group-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, 2009 11:20 AM
To: u
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 Tomca
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 [mailto:e..
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-
Fr
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-
From:
/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
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.
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 pos
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 in
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 modul
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 operat
tractBeanFactory.getBean(Ab
stractBeanFactory.java:164)
> at
>
org.springframework.beans.factory.support.BeanDefinitionValueResolver.re
solveReference(BeanDefinitionValueResolver.java:269)
> ... 35 more
>
> ERROR 04/16 11:07:00 Stderr 700100 Apr 16, 2009 11:07:00
A
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 balanc
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 ju
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
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: nohac
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
http://tomcat.apache.org/conn
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 would
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 [mailto:jimmy
: 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
> re
s to value
"27". So far I have 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
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.
Now
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
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
perfor
Just for curiosity, Is "/" included in your classpath ?
-Original Message-
From: Sam Hokin [mailto:s...@ims.net]
Sent: Thursday, February 26, 2009 10:59 AM
To: Tomcat Users List
Subject: Re: very slow class loading on initial JSP/servlet request
after restart
Sam Hokin wrote:
> Caldar
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 is
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
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
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 [
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 get
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]
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: users@tomcat.apa
-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 repli
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 r
Hi,
I am trying to configure session replication using the
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 java p
In server.xml , a may contain multiple elements.
Each can define multiple but a single .
Each can define multiple s.
How does this relate to the classloaders -if at all- ?
I couldn't find any reference about it on:
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
Would T
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 d
Original Message-
From: 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 m
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, F
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
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) connect
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]
ajp_get_re
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 va
84 matches
Mail list logo