Re: Deploying with JMX (but not with manager app) when autodeploy is disabled

2011-05-13 Thread Luca Gervasi
On 05/13/2011 12:28 PM, Mark Thomas wrote: > On 13/05/2011 11:25, Luca Gervasi wrote: >> Hello, >> >> I have this bit of information from the server.xml >> >> > name="${host.defaulthost}" >> appBase=&q

Deploying with JMX (but not with manager app) when autodeploy is disabled

2011-05-13 Thread Luca Gervasi
Hello, I have this bit of information from the server.xml I haven't manager, host-manager, psi-probe or similar webapps. Is it possible, using ONLY JVisualVM/JConsole, deploying and start an application i already copied in the webapps dir? Thanks Luca

Hanged threads

2011-02-15 Thread Luca Gervasi
Hello, Server version: Apache Tomcat/6.0.26 Server built: March 9 2010 1805 Server number: 6.0.26.0 OS Name:Linux OS Version: 2.6.18-92.1.6.el5PAE Architecture: i386 JVM Version:1.5.0_16-b02 JVM Vendor: Sun Microsystems Inc. yesterday i ran a connection test over the htt

Thread Dump Analysis

2011-02-14 Thread Luca Gervasi
Hello, tomcat 6.0.26 jvm 1.5.0_16 i'm trying to tune tomcat, avoiding some timeout i think come from the database. Where can i find info about thread analysis? I'm using Visual VM to see the thread status, but so far i know: 1) TP-Processor[x] are the request handling threads 2) RMI and JMX are

IS that a good idea moving all the common libs?

2010-12-20 Thread Luca Gervasi
Hello, I'm trying to lower the permgen needed by a large amount of webapps moving all the commonly used libs to the tomcat common libs. My questions is: how good is that idea? I read that each *same* lib in WEB-INF/lib is handled as unique, thus requiring additional permgen space. This is the e

Re: [Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-14 Thread Luca Gervasi
On 12/13/2010 01:14 PM, Pid wrote: > On 13/12/2010 10:13, Luca Gervasi wrote: >> Hello, >> >> I know that my problem is with the application my tomcat 5.5 powered by > > 5.5.x, where x is what? Tomcat 5.5.26, i omitted because i'm sure it's a webapp fault. F

[Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-13 Thread Luca Gervasi
Hello, I know that my problem is with the application my tomcat 5.5 powered by java 1.5.0_b4 is running. I have this supposely leeking application that keeps saturating the permanent generation. The problem is an out of memory on the permgen. Studying the JVM, i understand that the permgen is n

How to reload Tomcat Engine with jconsole? (or any other similar tools)

2010-11-11 Thread Luca Gervasi
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

Re: Tomcat load balancing question x problem

2010-08-29 Thread Luca Gervasi
with one backend. If the "public" nic goes down, you'll end up with one frontend and two balanced backend. This is surely not an optimal solution, you know... If you have other frontend, you could use them to balance the two backends...mod_jk is not so consuming, after all. My 2 cents. Luca Gervasi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: clear text keystore password in server.xml

2010-08-29 Thread Luca Gervasi
n mind what someone just pointed in the previous messages: startup/restart could not be unattended. I use SMF on solaris to keep tomcat up & running in an unattended manner, but this new method forces me to avoid smf, leading to a "per-

Re: Best practices for deployment on cluster environment

2010-08-26 Thread Luca Gervasi
On Wed, 2010-08-25 at 10:50 -0300, Fernando Morgenstern wrote: > Hi, > > I have a Tomcat cluster environment with 4 servers. I was wondering that is > the best way to deploy an application on 4 servers at the same time. > > At a first moment, i thought about having a script that would copy war f

Re: How can i verify clusterization?

2010-07-19 Thread Luca Gervasi
On Fri, 2010-07-16 at 15:56 -0400, Christopher Schultz wrote: > Luca, > > On 7/14/2010 2:42 AM, Luca Gervasi wrote: > > i'm using (mostly): > > What does "(mostly)" mean? You have environments that sometimes deviate > from this configuration? Sometimes y

Too verbose log

2010-07-14 Thread Luca Gervasi
Hallo! I'm using tomcat 6.0.26 and java 1.5, to cluster some tomcats. I'm getting my log filled by lines like: "INFO: ThroughputInterceptor Report[ Tx Msg:438951 messages Sent:507.93 MB (total) Sent:281.97 MB (application) Time:94.91 seconds Tx Speed:5.35

How can i verify clusterization?

2010-07-13 Thread Luca Gervasi
Hallo, i'm using (mostly): Tomcat: 2.0.26 JDK: jdk1.6.0_18 I have clusters of 2-4 tomcats. Is there a way to verify that the cluster is working? I can see no message exchange. is there a way (even some jsp code) to ensure that the cluster is working and the number of nodes joining it? Furthermor

Re: Jailrootting

2010-06-23 Thread Luca Gervasi
On Tue, 2010-06-22 at 16:25 -0400, Christopher Schultz wrote: > On 6/22/2010 12:07 PM, Gregor Schneider wrote: > > 2010/6/18 Mikolaj Rydzewski : > >> Luca Gervasi wrote: > >>> > >>> i can read my /etc/passwd from a malicious jsp. > >>>

Jailrootting

2010-06-18 Thread Luca Gervasi
= dis.readLine(); } } i can read my /etc/passwd from a malicious jsp. Where can i find infos on limiting filesystem access / visibility ? Is there a way to "obscure" all the unnecessary details from each webapp? (maybe, choosing the permission on bases...