Re: hi

2011-02-16 Thread Ozgur Ozdemircili
Well, Actually tomcat comes configured on port 8080. You just need to start it and make sure you dont have any firewall in your server blocking this port. Thats it. Best! Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Wed, Feb 16, 2011 at 7:42 PM, Anup Niroula

Re: Best practice to upgrade .war files

2010-08-30 Thread Ozgur Ozdemircili
Hi, After trying all sorts of deploy types I have found the best, simplest and pain-free deploy in : - Stop tomcat - Go to webapps folder - Remove the webapplication folder and the .war file - Copy the new war file - Start tomcat. In order to have a backup copy I also leave a .war file of the

Re: Tomcat load balancing question x problem

2010-08-30 Thread Ozgur Ozdemircili
hi, This seems the correct way to do. The best way to do it is to use a balanced ip. In my setup I use the same http.conf and workers file on both of the server. When one tomcat goes down the apache sends all the rest of the queries to second node. When the apache goes down the load balancer, in

Re: Tomcat current thread count

2010-07-05 Thread Ozgur Ozdemircili
it On Mon, Jun 28, 2010 at 3:26 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com] Subject: Re: Tomcat current thread count Here we go again. Same comments apply as before: You have numerous Timer-x threads

Re: Tomcat current thread count

2010-07-05 Thread Ozgur Ozdemircili
Was just a double check. Thanks for all the help Chuck. Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Mon, Jul 5, 2010 at 3:59 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com

Re: Tomcat current thread count

2010-06-28 Thread Ozgur Ozdemircili
PM, Ozgur Ozdemircili wrote: I probably wont be able to get the one close to crash but the jstack.out in the attached file contains the output while the applicaction is receiving requests. Hope it will be more helpful. The list stripped your attachment. Try giving it a .txt extension

Tomcat current thread count

2010-06-25 Thread Ozgur Ozdemircili
Hi, In our production enviroment I have a weird problem and I am trying to understand if / how can it be fixed. The error is like above: * * *INFO: Maximum number of threads (250) created for connector with address null and port 8080* * * * * * * *# A fatal error has been detected by the Java

Re: Tomcat current thread count

2010-06-25 Thread Ozgur Ozdemircili
/in/mickknutson Twitter: http://twitter.com/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Fri, Jun 25, 2010 at 4:01 AM, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: 24

Re: Tomcat current thread count

2010-06-25 Thread Ozgur Ozdemircili
--- On Fri, Jun 25, 2010 at 5:16 AM, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: Hi, The command: netstat -n grep 8080 | grep CALL_WAIT gives me nothing, yet when I update CALL_WAIT with TIME_WAIT I can see them. netstat -n grep 8080 | grep TIME_WAIT P.S: Just

Re: Tomcat current thread count

2010-06-25 Thread Ozgur Ozdemircili
Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Fri, Jun 25, 2010 at 3:58 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com] Subject: Re: Tomcat current thread count Im actually using

Re: Tomcat current thread count

2010-06-25 Thread Ozgur Ozdemircili
: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com] Subject: Re: Tomcat current thread count What would be the possible ways of finding where the problem lies ? As previously stated, take a thread dump *before* the JVM crashes and find out what your threads are stuck on. Your monitoring

Re: Tomcat current thread count

2010-06-25 Thread Ozgur Ozdemircili
at 5:51 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Özgür, On 6/25/2010 11:39 AM, Ozgur Ozdemircili wrote: Thanks for the useful link. I have gotten a thread dump using kill -3 . You can find it in the attached file

Javamelody

2010-05-24 Thread Ozgur Ozdemircili
Hi, I have installed Javamelody version 1.15. In my catalina.out there appears error messages: GRAVE: Error filterStart 24-may-2010 13:46:13 org.apache.catalina.core.StandardContext start GRAVE: Falló en arranque del Contexto [/javamelody] debido a errores previos 24-may-2010 13:46:13

Re: Javamelody

2010-05-24 Thread Ozgur Ozdemircili
: On 24 May 2010 12:48, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: I have installed Javamelody version 1.15. In my catalina.out there appears error messages: [...] GRAVE: A web application appears to have started a TimerThread named [javamelody javamelody] via

Re: Tomat monitoring

2010-05-20 Thread Ozgur Ozdemircili
--Original Message-- From: Ozgur Ozdemircili To: Tomcat Users List ReplyTo: Tomcat Users List Subject: Tomat monitoring Sent: May 19, 2010 17:40 Hi, I am looking for tomcat monitorization solutions.I am looking to choose between Jconsole and Javameleody Does anyone use one of those

Re: Tomat monitoring

2010-05-20 Thread Ozgur Ozdemircili
: Hello, never heard of javamelody before, but it looks like nagios ;-) Jconsole is definitely not a tool for monitoring. regards Leon On Thu, May 20, 2010 at 10:42 AM, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: Hi, It seems ok yet the latest release was in 2006

Re: Tomat monitoring

2010-05-20 Thread Ozgur Ozdemircili
at 12:11 PM, Ozgur Ozdemircili ozgur.ozdemirc...@gmail.com wrote: Hi, It really seems like snmp monitoring software yet gives statistics about Jvm. And yes Jconsole is a monitoring tool than we have different understanding of what a monitoring tool is ;-) but that's ok, we live

Tomcat Jconsole

2010-05-19 Thread Ozgur Ozdemircili
Hi, Im trying to connect to my tomcat server using Jconsole. I do get Connection Failed I have the following parameters in my tomcat startup.sh export CATALINA_OPTS=-XX:MaxPermSize=512m -Xms512m -Xmx2048m -server set CATALINA_OPTS=-Dcom.sun.management.jmxremote \

Re: Tomcat Jconsole

2010-05-19 Thread Ozgur Ozdemircili
asking if it is important.. Any more ideas? http://www.mentby.com/caldarale-charles-r/Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Wed, May 19, 2010 at 3:56 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ozgur Ozdemircili

Re: Tomcat Jconsole

2010-05-19 Thread Ozgur Ozdemircili
Hi, The solution that Hassan sent worked. Thanks a lot. Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Wed, May 19, 2010 at 5:28 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ozgur Ozdemircili [mailto:ozgur.ozdemirc...@gmail.com

Tomat monitoring

2010-05-19 Thread Ozgur Ozdemircili
Hi, I am looking for tomcat monitorization solutions.I am looking to choose between Jconsole and Javameleody Does anyone use one of those on their prod environment? Any problems with either? Can you please share your experiences on the subject? Thanks! Özgür Özdemircili

MaxPermSize / Threads

2010-05-17 Thread Ozgur Ozdemircili
Hi, I am having a lot of Java Heap OutOfMemory issues. The first change I did was to add more memory to JVM: export CATALINA_OPTS=-XX:MaxPermSize=512m -Xms512m -Xmx2048m -server Yet I have 2 questions - What are you real life configurations? In a very busy prod environment what parameters do

Re: MaxPermSize / Threads

2010-05-17 Thread Ozgur Ozdemircili
://www.acikkod.org Code so clean you could eat off it On Mon, May 17, 2010 at 10:31 AM, Pid p...@pidster.com wrote: On 17/05/2010 09:25, Ozgur Ozdemircili wrote: Hi, I am having a lot of Java Heap OutOfMemory issues. The first change I did was to add more memory to JVM: export CATALINA_OPTS

Re: MaxPermSize / Threads

2010-05-17 Thread Ozgur Ozdemircili
...@pidster.com wrote: On 17/05/2010 09:56, Ozgur Ozdemircili wrote: Hi, -Rhel 5.3 x64 -java version 1.6.0_16 Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) -Apache tomcat 6.0.26 -Dual core Intel(R) Xeon(R) CPU

Re: MaxPermSize / Threads

2010-05-17 Thread Ozgur Ozdemircili
Hi all, Thanks for all the answers. Since the company didn`t have any monitorization I think the correct decision here would be to start monitoring the tomcat servers and see what is happening.I really do not have any control on the programming part I need to find out first what is happening.

Re: MaxPermSize / Threads

2010-05-17 Thread Ozgur Ozdemircili
-4 minutes until it dies. Thanks. Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Mon, May 17, 2010 at 3:58 PM, Pid p...@pidster.com wrote: On 17/05/2010 14:40, Ozgur Ozdemircili wrote: Hi all, Thanks for all the answers. Since the company didn`t have any