On 04/03/2012 23:37, Adib wrote:
Hi,
I think I have run into a bug with tomcat, but wanted to check with
the user list to make sure it is a bug before I file it.
Good job you checked. It isn't a bug, it is user error.
Background:
I am using the tomact jdbc pool over the dbcp pool and I
2012/3/4 James Apfel james.ap...@gmail.com:
Hi,
I'm working on a project that requires me to replace Tomcat's
SessionManager. I've created a src/main/webapp/META-INF/context.xml
(it defines the custom Manager) and I've edited my Maven pom file to
include the requires JARs in the
2012/3/4 Nathan Schile nathan.sch...@gmail.com:
I have the plugin configured to pull in test classes and dependencies
[1], however it doesn't seem to be pulling in my test dependencies. I
am recieving a NoClassDefFoundError on the class from a test
dependency, if I switch the dependency to a
When I set JAVA_OPTS= -Xmx1024m -Xss75m
I got:
GRAVE: A child container failed during start
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to c
reate new native thread
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at
David,
Thanks, I will try that.
Carl
On Mar 4, 2012, at 7:45 PM, David Kerber wrote:
On 3/4/2012 7:31 PM, Carl Kabbe wrote:
Recap:
OS Slackware 13.x 64bit
Tomcat 6.0.24
Two different servers… one with 16 GB and one with 8GB
Heap 2GB, PermGen 300MB
Tried
On 05.03.2012, at 11:30, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory limit is reached before all initial tomcat threads
Probably a solution (or workaround) would be to have a initial decorator
which doesn't delegate the unwrap() method to the tomcat data source and
instead just returns the org.apache.tomcat.jdbc.pool.DataSource instance.
The downside is that this needs to be the very first decorator applied.
On
Hallo Herr Jung,
-Ursprüngliche Nachricht-
Von: Rainer Jung [mailto:rainer.j...@kippdata.de]
Hallo Herr Beier,
On 02.03.2012 11:19, Beier Michael wrote:
Hi all,
we're running tomcat 7.0.23 on sun jdk 1.6.0_29, connected
via ajp to httpd 2.2.21 using mod_jk 1.2.32.
I observed the
75MB of stack is needed by hibenate to save the data aka a graph.
Philippe
De: Rainer Frey [mailto:rainer.f...@inxmail.de]
Date: lun. 05/03/2012 13:19
À: Tomcat Users List
Objet : Re: Tomcat7 OutOFMemoryError
On 05.03.2012, at 11:30, Philippe ROUXEL wrote:
2012/3/5 Olivier Lamy ol...@apache.org:
2012/3/4 James Apfel james.ap...@gmail.com:
Hi,
I'm working on a project that requires me to replace Tomcat's
SessionManager. I've created a src/main/webapp/META-INF/context.xml
(it defines the custom Manager) and I've edited my Maven pom file to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eu-gene,
On 3/2/12 1:34 AM, Eu-gene Chung wrote:
I'm doing porting Jasper of Tomcat 7 to our product.
I was adding 'UTF-32' mappings to the
org.apache.jasper.xmlparser.EncodingMap#fIANA2JavaMap
when I found that there were some unmatched
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 3/1/12 7:18 PM, David Kerber wrote:
On 3/1/2012 5:55 PM, giovo87 wrote:
is this the only one solution?
changing some router's configurations or ubuntu's firewall
configurations can i have the same result?
Actually, you'll have to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 3/4/12 10:29 AM, Brooke Hedrick wrote:
There are cases where either or both get restarted, but the issue
is only when the @otherdb is restarted and not the primary.
So, you have a setup like this:
DBCP --- jdbc --- Primary --- Oracle
On 3/5/2012 10:52 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 3/1/12 7:18 PM, David Kerber wrote:
On 3/1/2012 5:55 PM, giovo87 wrote:
is this the only one solution?
changing some router's configurations or ubuntu's firewall
configurations can i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 3/4/12 4:57 PM, Brooke Hedrick wrote:
Everyone - the feedback is great, but it still is just working
around the elimination of a jmx call, if that is the case.
Why is the jmc close() method being eliminated?
Maybe I missed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 3/5/12 11:04 AM, David kerber wrote:
Yes, that's the way mine was, but the business account was only
$2.00 more than the home acct, so I decided to stay legal on it.
They also bumped up my outgoing bandwidth when I upgraded, though
the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
On 3/5/12 8:14 AM, Philippe ROUXEL wrote:
75MB of stack is needed by hibenate to save the data aka a graph.
What!? Does Hibernate have some kind of method that needs to call itself
recursively 100,000 times?
- -chris
-BEGIN PGP
On Mar 5, 2012 11:34 AM, Christopher Schultz ch...@christopherschultz.net
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
On 3/5/12 8:14 AM, Philippe ROUXEL wrote:
75MB of stack is needed by hibenate to save the data aka a graph.
Philippe, are you confusing stack memory
Your change fixed it. Thanks!
On Mon, Mar 5, 2012 at 9:42 AM, Olivier Lamy ol...@apache.org wrote:
2012/3/5 Olivier Lamy ol...@apache.org:
2012/3/4 James Apfel james.ap...@gmail.com:
Hi,
I'm working on a project that requires me to replace Tomcat's
SessionManager. I've created a
Pid schrieb:
On 03/03/2012 12:33, Michael wrote:
Hi folks,
I've been examining the JMX operations of the new pool and did not find
a crucial one.
Sometimes our Oracle database has to be restarted, the pool still keeps
the pooled connections. The webapp requests a connection, receives a
pooled
Brooke Hedrick wrote:
On Mar 5, 2012 11:34 AM, Christopher Schultz ch...@christopherschultz.net
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
On 3/5/12 8:14 AM, Philippe ROUXEL wrote:
75MB of stack is needed by hibenate to save the data aka a graph.
Philippe, are you
Do you have testOnBorrow=true and a validationQuery=SELECT 1 FROM
DUAL configured?
This should suffice to ensure each connection is valid before use.
Pid,
works like a charms. Thanks very much.
From Tomcat doc for testOnBorrow setting:
The indication of whether objects will be
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: RE : Tomcat7 OutOFMemoryError
I found this page which may be of interest :
http://www.odi.ch/weblog/posting.php?posting=411
This one's also pretty interesting, especially the link to Cliff Click's blog:
Chema schrieb:
Do you have testOnBorrow=true and a validationQuery=SELECT 1 FROM
DUAL configured?
This should suffice to ensure each connection is valid before use.
Pid,
works like a charms. Thanks very much.
From Tomcat doc for testOnBorrow setting:
The indication of whether objects
2012/3/5 Michael sg...@gmx.net:
Chema schrieb:
Do you have testOnBorrow=true and a validationQuery=SELECT 1 FROM
DUAL configured?
This should suffice to ensure each connection is valid before use.
Pid,
works like a charms. Thanks very much.
It executes the validation query and
Chema schrieb:
2012/3/5 Michael sg...@gmx.net:
Chema schrieb:
Do you have testOnBorrow=true and a validationQuery=SELECT 1 FROM
DUAL configured?
This should suffice to ensure each connection is valid before use.
Pid,
works like a charms. Thanks very much.
It executes the validation
On 05/03/2012 20:39, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: RE : Tomcat7 OutOFMemoryError
I found this page which may be of interest :
http://www.odi.ch/weblog/posting.php?posting=411
This one's also pretty interesting, especially the link
No if the connection has been reset by the instance. The query will result
in a SQLException. You have to close the connection and open a new one. The
query works on an open connection only. That's the point.
See the second paragraph of this [1].
But the problem was when you restart the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 3/5/12 3:54 PM, Pid wrote:
Varies by OS too.
-XX:ThreadStackSize=512
Thread Stack Size (in Kbytes). (0 means use default stack size)
[Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier);
Sparc 64 bit: 1024; Linux amd64:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chema,
On 3/5/12 4:06 PM, Chema wrote:
No if the connection has been reset by the instance. The query
will result in a SQLException. You have to close the connection
and open a new one. The query works on an open connection only.
That's the
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: RE : Tomcat7 OutOFMemoryError
Thread Stack Size (in Kbytes). (0 means use default stack size)
[Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier);
Sparc 64 bit: 1024; Linux amd64: 1024 (was 0 in 5.0
On 05/03/2012 22:09, Christopher Schultz wrote:
Pid,
On 3/5/12 3:54 PM, Pid wrote:
Varies by OS too.
-XX:ThreadStackSize=512
Thread Stack Size (in Kbytes). (0 means use default stack size)
[Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier);
Sparc 64 bit: 1024; Linux
On 05/03/2012 22:12, Christopher Schultz wrote:
Chema,
On 3/5/12 4:06 PM, Chema wrote:
No if the connection has been reset by the instance. The query
will result in a SQLException. You have to close the connection
and open a new one. The query works on an open connection only.
That's the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/5/12 5:20 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: RE : Tomcat7 OutOFMemoryError
Thread Stack Size (in Kbytes). (0 means use default stack
size) [Sparc: 512;
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 3/5/12 5:55 PM, Pid wrote:
On 05/03/2012 22:12, Christopher Schultz wrote:
Chema,
On 3/5/12 4:06 PM, Chema wrote:
No if the connection has been reset by the instance. The
query will result in a SQLException. You have to close the
Greetings,
I'm not sure whether this is a tomcat6 issue or an apache issue, but I thought
maybe I would start here if no one minds.
We have a domain name and we have apache answering the door on both https(443)
and http(80). What we'd like to do is proxypass port 443 to tomcat6, and have
Hi
This is my prod setup
Client - Internet - IIS7.5/NLB (2 node cluster) with the 1.2.32 tomcat
connector - 2 node tomcat cluster.
We had done a fair bit of testing on this setup enough to move into production.
But we ran into a problem ... when IIS recycle its application pool. Luckily
we
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory limit is reached before all initial tomcat
Please start an entirely new thread, rather than replying to and editing
an existing, already rather long and confusing thread[1].
p
1. Re: [Tomcat JDBC Pool] Close pooled connections via JMX
signature.asc
Description: OpenPGP digital signature
On 06/03/2012 07:12, Rainer Frey wrote:
On 05.03.2012, at 14:14, Philippe ROUXEL wrote:
When I set JAVA_OPTS= -Xmx1024m -Xss75m
That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory
40 matches
Mail list logo