Re: Struts application used as a web service (large number of sessions)

2011-02-15 Thread André Warnier
denis.laro...@pwc.ca wrote: Hello everybody, I wrote a Struts application deployed on a Tomcat server that is used as a web service. What I see is that for every request sent by the client applications a new session is created; I guess this is because there's no JSESSIONID cookie sent with th

RE: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: [OT] OutOfMemoryError: GC overhead limit exceeded > This error occurred /once/ at 16:39 EDT and it's 17:39 EDT now > Is it likely that this was something acute and that my server is okay? > PS Old Generation >capac

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-15 Thread Leon Rosenberg
Your "old" is full. Either a memory leak or you simply need more (and old gen of 128Mb is virtually nothing). Increase :-) regards Leon On Tue, Feb 15, 2011 at 11:43 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > All, > > This is not Tomcat-related but I fig

RE: Struts application used as a web service (large number of sessions)

2011-02-15 Thread Caldarale, Charles R
> From: denis.laro...@pwc.ca [mailto:denis.laro...@pwc.ca] > Subject: Struts application used as a web service (large number of sessions) > I wrote a Struts application deployed on a Tomcat server > that is used as a web service. Exact Tomcat version? > I guess this is because there's no JSESS

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
On Tue, Feb 15, 2011 at 9:20 PM, Thomas Andraschko wrote: > Yep sorry, it's my ticket :D Ok, good that there was only one issue ;-) > It was a 2 minute action, sorry for the bad explanation :) > If you need further details, send me a email or add a comment to the issue. No prob, I could reproduce

[OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, This is not Tomcat-related but I figured I'd ask as there are some smart folks here who might be able to give me some good information. As the title suggests, I have suffered an OOME in production with the message "GC overhead limit exceeded". A

Struts application used as a web service (large number of sessions)

2011-02-15 Thread Denis . Laroche
Hello everybody, I wrote a Struts application deployed on a Tomcat server that is used as a web service. What I see is that for every request sent by the client applications a new session is created; I guess this is because there's no JSESSIONID cookie sent with the request. Could someone tell

RE: Tomcat 7 - does unpackWars=false work

2011-02-15 Thread Caldarale, Charles R
> From: afk...@gmail.com [mailto:afk...@gmail.com] On Behalf Of Afkham Azeez > Subject: Tomcat 7 - does unpackWars=false work > In my server.xml file, I have set unpackWars to false as follows: > unpackWARs="false" autoDeploy="true"> > However, my WAR files are still being unpacked in

Tomcat 7 - does unpackWars=false work

2011-02-15 Thread Afkham Azeez
Hi folks, In my server.xml file, I have set unpackWars to false as follows: However, my WAR files are still being unpacked into the work directory. Am I missing something? Thanks Azeez

Re: mod_jk and sticky sessions

2011-02-15 Thread Jordan Michaels
I figured this out. I was not hitting a JSP page, so the session variable wasn't getting refreshed. It's always the little things that throw us off! -Jordan On 02/15/2011 10:07 AM, Jordan Michaels wrote: Hello mod_jk Experts, I'm having trouble getting sticky sessions to work as expected

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
On Tue, Feb 15, 2011 at 6:01 PM, Christopher Schultz wrote: > On the other hand, it's very difficult for a container to determine what > the definition of "changed" is. For instance, an object may return a > different value for a method call depending on the current date and > time, yet the intern

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Thomas Andraschko
Yep sorry, it's my ticket :D It was a 2 minute action, sorry for the bad explanation :) If you need further details, send me a email or add a comment to the issue. --- Martin Grotzke schrieb am Di, 15.2.2011: > Von: Martin Grotzke > Betreff: Re: Replicate session-object after values in object

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
On Tue, Feb 15, 2011 at 9:04 PM, Thomas Andraschko wrote: > Hmm not really but the tcp cluster with BackupManager would be enough (if it > would check for modification). Not sure about BackupManager, but perhaps it's possible to add this specific behaviour. > > The memcached manager is really a

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
On Tue, Feb 15, 2011 at 8:49 PM, Martin Grotzke wrote: > On Tue, Feb 15, 2011 at 11:08 AM, Thomas Andraschko > wrote: >> Thanks! i will give it a try! >> Is there also another manager available without using memcached? > None that I'm aware of, but perhaps google will know more ;-) I forgot terra

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Thomas Andraschko
Hmm not really but the tcp cluster with BackupManager would be enough (if it would check for modification). The memcached manager is really a great idea and works great! I have only one issue. If you shutdown a memcached node, JSF pages can not be accessed anymore (a blank page will appear) and

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
On Tue, Feb 15, 2011 at 11:08 AM, Thomas Andraschko wrote: > Thanks! i will give it a try! > Is there also another manager available without using memcached? None that I'm aware of, but perhaps google will know more ;-) What do you have in mind btw? Is it especially memcached that you would like

Re: Performance Tuning Tomcat 7...

2011-02-15 Thread Pid
On 2/15/11 2:34 PM, Christopher Schultz wrote: > Pid, > > On 2/14/2011 5:39 AM, Pid wrote: >> On 2/13/11 8:15 PM, Tony Anecito wrote: >>> Hi Mark, >>> >>> Here is the link to the screenshot I tried to send as an attachement. >>> >>> http://www.myuniportal.com/tomcatjerseyservletprofile.jpg > >> W

mod_jk and sticky sessions

2011-02-15 Thread Jordan Michaels
Hello mod_jk Experts, I'm having trouble getting sticky sessions to work as expected. I believe I've identified the problem in the logs: --- [Mon Feb 14 15:28:02.333 2011] [4774:4041131776] [debug] get_most_suitable_worker::jk_lb_worker.c (942): searching worker for partial sessionid A

Re: Embedding Tomcat 7

2011-02-15 Thread Mark Thomas
On 15/02/2011 17:18, Afkham Azeez wrote: > One more question: Why isn't the Tomcat class used in the mainstream code > and is only used in the test cases? In Tomcat 5.x and 6.x IIRC, Catalina > used to extend Embedded. Because Tomcat provides simplified startup that isn't sophisticated enough for

Re: How to show the timestamp of listed file according to the user timezone?

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jie tang, On 2/14/2011 4:57 AM, Mark Thomas wrote: > On 14/02/2011 05:38, jie tang wrote: >> I place a directory in Tomcat webapps directory. I want to Tomcat list files >> under the directory. >> When I browse the file list in my browser, the file li

Re: Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
One more question: Why isn't the Tomcat class used in the mainstream code and is only used in the test cases? In Tomcat 5.x and 6.x IIRC, Catalina used to extend Embedded. On Tue, Feb 15, 2011 at 10:31 PM, Mark Thomas wrote: > On 15/02/2011 14:07, Afkham Azeez wrote: > > On Tue, Feb 15, 2011 at

Re: Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-15 Thread Mark Thomas
On 14/02/2011 19:46, Sean Killeen wrote: > It doesn't -- it tells me that a certificate already exists with that alias, > and the import fails. Hmm. Did you re-use the same private key for this updated certificate? If that is the case then I think you can fix this with some java code but it looks

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 2/14/2011 2:44 PM, Thomas Andraschko wrote: > Does other Servlet containers support this kind of replication or is > it really the only way to put/remove the object to/from the session > map? I've been browsing the servlet spec and I can't

Re: Embedding Tomcat 7

2011-02-15 Thread Mark Thomas
On 15/02/2011 14:07, Afkham Azeez wrote: > On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >>> From: Afkham Azeez [mailto:afk...@gmail.com] >>> Subject: Embedding Tomcat 7 >> >>> We need our webapps to be visible through >>> multiple connectors. How c

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Mark Thomas
On 14/02/2011 19:44, Thomas Andraschko wrote: > Does other Servlet containers support this kind of replication or is it > really the only way to put/remove the object to/from the session map? Don't know. It is very likely to be container dependent. > It is possible to develop a valve or intercept

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Johnson, Rob E
Thanks for everyone's help. Rob Johnson MBA/IT IT Specialist ONRR 303-231-3963 303-589-9278 (Cell) -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, February 15, 2011 9:32 AM To: Tomcat Users List Subject: Re: Tomcat 6 Memory Heap Limit

Re: Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean, On 2/15/2011 7:37 AM, Sean Killeen wrote: > leaving the old intermediate CA & old certificate, I added the new > intermediate CAs and the new certificate with an alias of "tomcat2". I added > 'keyAlias="tomcat2"' to my connector to specify the n

Re: huge "info" messages about mod_jk

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mladen, On 2/15/2011 8:51 AM, Mladen Turk wrote: > On 02/15/2011 01:08 PM, Yu Kikuchi wrote: >> Mr.Warnier >> >> Thank you for your advice. >> >> But I want to know not the way to inhibit these logs but the reason >> why these logs output. >> > > Bec

Re: Embedding Tomcat 7

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Afkam, On 2/15/2011 3:54 AM, Afkham Azeez wrote: > Hi folks, > Is there any documentation available on embedding Tomcat 7? We were using > Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class > is the alternative, but it seems th

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 2/15/2011 11:12 AM, Johnson, Rob E wrote: > That was my next question, should I switch to Linux. This depends entirely on your own requirements. For example, if your organization runs all Microsoft, then switching to Linux is probably a mista

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread David kerber
On 2/15/2011 11:15 AM, Johnson, Rob E wrote: Thanks, I have one instance of Tomcat running for a single app. Is is possible to create additional instances of tomcat, then cluster or load balance the instances, to help my user performance? That's going to depend entirely on the app, and what yo

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread David kerber
On 2/15/2011 11:03 AM, Johnson, Rob E wrote: If I move to the 64 bit how high can I push the size? Higher than you can count (actually, whatever the OS and hardware will support). Microsoft's list: http://msdn.microsoft.com/en-us/library/aa366778%28v=vs.85%29.aspx ---

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Johnson, Rob E
Thanks, I have one instance of Tomcat running for a single app. Is is possible to create additional instances of tomcat, then cluster or load balance the instances, to help my user performance? Rob Johnson MBA/IT IT Specialist ONRR 303-231-3963 303-589-9278 (Cell) -Original Message-

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Johnson, Rob E
Thanks, That was my next question, should I switch to Linux. This server is used only as web application server. I want to give the end users, people logging into the web based app, the best performance. Currently the system gets very slow with more than 10 users on at a time. I'm hoping to

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread David kerber
On 2/15/2011 10:57 AM, Johnson, Rob E wrote: It is a stand alone 32 bit server The most a 32-bit OS can give to any process is ~3GB, and anything over 2GB requires changing some boot settings. But you'll be able to run a bunch of tomcat instances, all with 2 or 3GB, with that much physical R

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Leon Rosenberg
That depends... On linux I was able to assign a single process >30Gb, never tried more. I think your OS is your single limit. regards Leon On Tue, Feb 15, 2011 at 5:03 PM, Johnson, Rob E wrote: > If I move to the 64 bit how high can I push the size? > > > > > Rob Johnson MBA/IT > IT Specialist >

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Tuesday, February 15, 2011 10:01 AM > To: Tomcat Users List > Subject: RE: Tomcat 6 Memory Heap Limit > > > From: Johnson, Rob E [mailto:rob.john...@onrr.gov] > > Subject: RE: Tomcat 6 Memory He

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Johnson, Rob E
If I move to the 64 bit how high can I push the size? Rob Johnson MBA/IT IT Specialist ONRR 303-231-3963 303-589-9278 (Cell) -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, February 15, 2011 9:01 AM To: Tomcat Users List Subject: RE:

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Caldarale, Charles R
> From: Johnson, Rob E [mailto:rob.john...@onrr.gov] > Subject: RE: Tomcat 6 Memory Heap Limit > It is a stand alone 32 bit server Then you're stuck. To get large heap sizes, you'll need a 64-bit OS and a 64-bit JVM. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROP

RE: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Johnson, Rob E
It is a stand alone 32 bit server Rob Johnson MBA/IT IT Specialist ONRR 303-231-3963 303-589-9278 (Cell) -Original Message- From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] Sent: Tuesday, February 15, 2011 8:55 AM To: Tomcat Users List Subject: Re: Tomcat 6 Memory Heap Limit Win

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread Leon Rosenberg
Windows Server 2003 <- is this a 32 bit OS? And if not, are you using 64 bit java vm? regards Leon On Tue, Feb 15, 2011 at 4:51 PM, Johnson, Rob E wrote: > > Hi, > Apache Tomcat 6.0.20 > Windows Server 2003 > 50G RAM > I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server with > 50

Tomcat 6 Memory Heap Limit

2011-02-15 Thread Johnson, Rob E
Hi, Apache Tomcat 6.0.20 Windows Server 2003 50G RAM I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server with 50G of RAM. I want to fully utilize the 50G of RAM (40G) but I cannot get the Apache Service to start again if I go any higher than the setting listed below: -Xms1024m -Xmx

Re: Performance Tuning Tomcat 7...

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/14/2011 5:39 AM, Pid wrote: > On 2/13/11 8:15 PM, Tony Anecito wrote: >> Hi Mark, >> >> Here is the link to the screenshot I tried to send as an attachement. >> >> http://www.myuniportal.com/tomcatjerseyservletprofile.jpg > > What are we lo

Re: Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Afkham Azeez [mailto:afk...@gmail.com] > > Subject: Embedding Tomcat 7 > > > We need our webapps to be visible through > > multiple connectors. How can this be done? > > Connectors belong to the Se

Re: huge "info" messages about mod_jk

2011-02-15 Thread Yu Kikuchi
> Because Tomcat closes its part of the connection. When apache start running, what do you see the case that the Tomcat closes the connection? > Apache httpd configuration directives like JkLogLevel and other Jkx directives, tell mod_jk what you want it to do. > By using "JkLogLevel info"

Re: huge "info" messages about mod_jk

2011-02-15 Thread Mladen Turk
On 02/15/2011 01:08 PM, Yu Kikuchi wrote: Mr.Warnier Thank you for your advice. But I want to know not the way to inhibit these logs but the reason why these logs output. Because Tomcat closes its part of the connection. Regards -- ^TM

Re: huge "info" messages about mod_jk

2011-02-15 Thread André Warnier
Hi. I am not quite sure that I understand your question. :-) Let me try another answer : mod_jk is a software module which allows a front-end Apache httpd server to forward requests to a back-end Tomcat server (and in the opposite direction pass the responses of Tomcat back to Apache httpd).

RE: Embedding Tomcat 7

2011-02-15 Thread Caldarale, Charles R
> From: Afkham Azeez [mailto:afk...@gmail.com] > Subject: Embedding Tomcat 7 > We need our webapps to be visible through > multiple connectors. How can this be done? Connectors belong to the Service, so you can attach new ones with this: Tomcat.getService().addConnector() - Chuck THIS CO

RE: Hanged threads

2011-02-15 Thread Caldarale, Charles R
> From: Luca Gervasi [mailto:tom...@ashetic.net] > Subject: Hanged threads > The Thread dump reveals many threads hanged with: >java.lang.Thread.State: WAITING on > org.apache.tomcat.util.net.JIoEndpoint$Worker@b446f9 at > java.lang.Object.wait(Native Method) at > java.lang.Ob

Re: Issues with Tomcat 6.0 & Renewing SSL cert using keytool

2011-02-15 Thread Sean Killeen
Hi Sal, Thanks for the response. I believe there was a bug or issue which caused us to use TLSv1 instead of just "TLS" for the setting. At any rate, this setting has not been an issue in the past, and I can verify that it strictly enforces TLS (which is our requirement -- we don't want it to be a

Re: huge "info" messages about mod_jk

2011-02-15 Thread Yu Kikuchi
Mr.Warnier Thank you for your advice. But I want to know not the way to inhibit these logs but the reason why these logs output. Any comments are welcome. Best regard, (2011/02/15 19:54), André Warnier wrote: http://tomcat.apache.org/connectors-doc/reference/printer/apache.html Look at JkL

Re: huge "info" messages about mod_jk

2011-02-15 Thread André Warnier
http://tomcat.apache.org/connectors-doc/reference/printer/apache.html Look at JkLogLevel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Thomas Andraschko
Thanks! i will give it a try! Is there also another manager available without using memcached? --- Martin Grotzke schrieb am Di, 15.2.2011: > Von: Martin Grotzke > Betreff: Re: Replicate session-object after values in object has been changed > An: users@tomcat.apache.org > Datum: Dienstag, 15

Embedding Tomcat 7

2011-02-15 Thread Afkham Azeez
Hi folks, Is there any documentation available on embedding Tomcat 7? We were using Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class is the alternative, but it seems that a single Tomcat instance can only handle a single connector. We need our webapps to be visible through