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
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
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
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.
/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
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-
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-
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
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
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,
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-
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
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?
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
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
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
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]
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)
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
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,
: 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
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
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:
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
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
-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
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:
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
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
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
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
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
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
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
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
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.
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
: 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
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
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
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
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:
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
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
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
, 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
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
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
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
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
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
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 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
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,
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
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
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
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
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
, 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
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:
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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:
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
, 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
/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
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
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
, 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
83 matches
Mail list logo