On 10/11/2010 21:50, Christopher Schultz wrote:
Bill,
On 11/7/2010 2:35 AM, Bill Wang wrote:
Thanks to Christopher , Rainer, and Rainer again. I will try to understand
the jsvc.
But for SMF, because we don't run tomcat as root, I am not sure if SMF can
be set and run by normal user. I
Thanks for your help on this.
Georges instructions set me on the right lines.
Firstly I set full access on the log directory to all and restarted IIS.
The log file had then been created. Hooray. Obviously this is not ideal from a
security angle.
I noted the creator user (NETWORK SERVICE in my
Hello,
i'm using jconsole to reload single contextes when i need it (i don't
deploy manager).
Is there a way to reload tomcat engine in a similar way?
It happens Exception in thread TP-Processor16
java.lang.OutOfMemoryError: PermGen space, which leads to a tomcat
reload.
I'm sure there is a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm looking for a modest load balancer to perform SSL termination and
work well with Tomcat's cookie- and URL-based sticky session mechanism.
Does anyone have any recommendations?
If Apache httpd is just as good for an environment that gets
I'm trying to do the same here. I will go for nginx since I need high
concurrent control for NIO. Apache is still one request one thread
mode.
Sent from my iPad
On Nov 11, 2010, at 10:12 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/11/2010 14:12, Christopher Schultz wrote:
All,
I'm looking for a modest load balancer to perform SSL termination and
work well with Tomcat's cookie- and URL-based sticky session mechanism.
Does anyone have any recommendations?
Decent H/W usually cost $$$
If Apache httpd is just as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 11/11/2010 3:40 AM, Pid wrote:
You could set CATALINA_PID and check that the process ID* contained in
the file is active.
That is one way of doing things, but Tomcat might not be healthy even
though the process is running. For instance, I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Luca,
On 11/11/2010 6:56 AM, Luca Gervasi wrote:
i'm using jconsole to reload single contextes when i need it (i don't
deploy manager).
Is there a way to reload tomcat engine in a similar way?
I'm not entirely sure, but I don't believe a
Hi,
In my Linux machine, I'm using the JVM version 1.6.0_11-b03. On top of that,
I only run Tomcat 6.0.29. On that Tomcat installation, I'm running a couple
of sites, both of them use exactly the same code, actually it is the same
WAR. So they are two apps, but we could consider them as one.
The most common cause of this, that I've seen is the failure to properly
close all database connections. If you're using the container managed
connection pooling, it is possible that restart your app won't free the
ram consumed by any orphaned connections.
Without seeing everthing you're doing
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: Tomcat 6.0.29 using more and more RAM until it collapses?
I don't think my app is taking all this RAM
It is.
when I restart it, the RAM usage doesn't go down.
Classic symptom of a webapp leaking memory due to holding onto
It seems
Hi Ben,
I'm using Apache Commons DBCP (http://commons.apache.org/dbcp/) and I think
I'm using it properly. After I perform a SQL sentence, I close the objects
(result set, then its statement).
I also check what is going on in my DBMS (MySQL), and it shows a normal
amount of connections.
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
After I perform a SQL sentence, I close the objects
(result set, then its statement).
In a finally block? If not, you'll leave them open when an exception occurs.
- Chuck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/11/2010 1:54 PM, Brian wrote:
I don't think my app is taking all this RAM, because when I restart it, the
RAM usage doesn't go down.
That doesn't necessarily mean that your webapp isn't using all that heap
space: it's very easy for a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/11/2010 2:26 PM, Brian wrote:
I'm using it properly. After I perform a SQL sentence, I close the objects
(result set, then its statement).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kailash,
On 11/3/2010 1:53 PM, Kailash Kothari wrote:
I understand that the Http Coyote connector that binds port 8080 on the
OS is started right at the end in the tomcat startup process after all
webapps have been deployed.
This is a problem
Hi Chuck,
Yes, in a Finally block. This is what I do:
void closeRsStmt(ResultSet resultSet)
{
//Close the connection, so it goes back to the pool
Statement stmt=null;
Connection conn=null;
try
On Thu, Nov 11, 2010 at 3:22 PM, Mark Thomas ma...@apache.org wrote:
On 11/11/2010 14:12, Christopher Schultz wrote:
All,
I'm looking for a modest load balancer to perform SSL termination and
work well with Tomcat's cookie- and URL-based sticky session mechanism.
Does anyone have any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vikram,
On 11/3/2010 9:09 AM, Vikram Vaswani wrote:
Hi David,
When you say your script, which script do you mean? I'm using the
standard Ant build.xml that's shown in the Tomcat online docs.
That's the script you need to change; point it to
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
Yes, in a Finally block. This is what I do:
I presume you mean you call your closeRsStmt() method in a finally block, since
there certainly aren't any finally clauses in what
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, November 11, 2010 02:39 PM
To: Tomcat Users List
Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/11/2010 19:55, Caldarale, Charles R wrote:
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
Yes, in a Finally block. This is what I do:
I presume you mean you call your closeRsStmt() method in a finally block,
since
On 11/11/2010 18:54, Brian wrote:
I don't think my app is taking all this RAM, because when I restart it, the
RAM usage doesn't go down. It does only if I restart Tomcat itself, instead
of my app running there.
Yes, this is a classic sign of a problem with the app.
Reboot Tomcat, restart your
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, November 11, 2010 02:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE:
Thanks for the link. I will read it asap.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, November 11, 2010 03:01 PM
To: Tomcat Users List
Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
On 11/11/2010 19:55, Caldarale, Charles R wrote:
It seems that it is my app the source of the problem. I guess I was in
denial. :-(
I haven't ever heard of Jconsole before, but I will install it ASAP and do
what you adviced me. Thanks a lot!
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, November 11, 2010
On 11/11/2010 20:14, Brian wrote:
It seems that it is my app the source of the problem. I guess I was in
denial. :-(
I haven't ever heard of Jconsole before, but I will install it ASAP and do
what you adviced me. Thanks a lot!
If you have a JDK installed, you already have it. It's in the
I am adding this post so that it may help anyone who have faced this issue.
Tomcat uses either APR implementation or JSSE implementation.
The following error may be because of trying to load APR library for SSL but
the actual implementation might be using JSSE implementation.
So try
On 11/11/2010 20:24, Rajmohan Parayil wrote:
I am adding this post so that it may help anyone who have faced this issue.
Not without a detailed description of the error, how you identified it
what the correct resolution was it won't.
p
Tomcat uses either APR implementation or JSSE
From: Pid [mailto:p...@pidster.com]
Subject: Re: java.lang.Exception: Socket bind failed: [730048]
On 11/11/2010 20:24, Rajmohan Parayil wrote:
I am adding this post so that it may help anyone who have faced this issue.
Not without a detailed description of the error, how you
It does seem that Mod_JK does not handle correctly the case when
Transfer-Encoding header is set to chunked on HTTP response returned from
Tomcat via AJP. Transfer-Encoding is set on HttpServletResponse and no
Content-Length header is set. In this scenario Mod_JK returns response to
client
Hi Pid,
I did it, but shows no results.
Anyway, it was nice to learn about Jconsole.
Now I wonder what is the tool I could use to inspect the objets inside my
app, and see which ones are using all the memory.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday,
32 matches
Mail list logo