Re: mod-jk not called after PerlHandler gets called

2010-11-23 Thread André Warnier
Mohit Anchlia wrote: I posted this thread in mod_perl group: http://www.gossamer-threads.com/lists/modperl/modperl/102273 I thought I should ask here as well. Before someone on this list tells you to that you are in the wrong place, let me say a word : this question /is/ relevant to this

[ANN] Apache Tomcat Twitter feed

2010-11-23 Thread Mladen Turk
Hi, We have launched the official Apache Tomcat project Twitter feed at: http://twitter.com/TheApacheTomcat We will regularly post there announce and other relevant news, and we are welcoming all new followers to our new Twitter feed. For those interested in ASF in general, there is also

Re: [SECURITY] CVE-2010-4172: Apache Tomcat Manager application XSS vulnerability

2010-11-23 Thread Mark Thomas
The processing of applying the digital signature to the original e-mail made the patches hard to read. E-mail clients that can process digital signatures should undo this formatting. For those folks with an e-mail client that can't process OpenGPG signed e-mail, the patches have been placed on

Re: Server affinity instead of session affinity

2010-11-23 Thread Mark Thomas
On 23/11/2010 00:06, Andrew Hole wrote: There is a middleware-to-middleware connection between Tomcat A and Tomcat B using RMI (point-to-point protocol) and Tomcat A has in-memory data useful to App3. The same aproach in the second server: applications in tomcat d have RMI communication to

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Mark Thomas
On 23/11/2010 02:19, Blair Zajac wrote: Any suggestions in tracking this down? Would a custom Tomcat build that gets each key and value in a try/catch block be useful? Almost certainly. As far as I can tell there is a collections object in a thread local that is non-null yet returns null for

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Mark Thomas
On 23/11/2010 06:55, Daniel Baktiar wrote: hi charles, please allow me to disagree to that hanging onto reference as the main issue. Daniel, You are completely wrong. I suggest you read this: http://wiki.apache.org/tomcat/MemoryLeakProtection and try out some of the sample code with a

Re: How to access JSP and Servlet remotely ?

2010-11-23 Thread Mark Thomas
On 23/11/2010 06:56, surya.prakash wrote: even im facing same problem. i need to run jsp file from another system. With a question phrased like that, you aren't going to get much help here. Try reading this: http://www.catb.org/~esr/faqs/smart-questions.html and then re-phrase your

org.apache.jasper.util.Entry object Heap Size

2010-11-23 Thread amitruwali
In one of our internet applications we are getting the heap memory consumption of almost 1.3 GB for org.apache.jasper.util.Entry object during analyzing the heap dump via eclipse memory analyzer tool. Now internally this object is pointing to one of our jsp's. The reference is as follows:

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread xu cheng
hi, Chuck.Caldarale I referenced to these two links http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded and do as the blog tolds, but failed to find the reason of the oom of my app... thanks though.. by the way, do you

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-23 Thread Ognjen Blagojevic
On 22.11.2010 21:52, Caldarale, Charles R wrote: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. And you thought you were busy before... Congratulations.

Re: org.apache.jasper.util.Entry object Heap Size

2010-11-23 Thread Mark Thomas
On 23/11/2010 11:02, amitruwali wrote: In one of our internet applications we are getting the heap memory consumption of almost 1.3 GB for org.apache.jasper.util.Entry object during analyzing the heap dump via eclipse memory analyzer tool. Now internally this object is pointing to one of

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Daniel Baktiar
hi xu, if you cannot find the jhat in the bin folder, most probably you were referring to jre folder, instead of jdk folder. i just checked it out, my jdk/bin folder has it, but not the case for my jre/bin folder. daniel --- daniel baktiar http://savinggaia.tritiumapps.com - saving the planet is

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Daniel Baktiar
hi mark, thank you for showing my mistake. my apology to chuck also. i will read the article. --- daniel baktiar http://savinggaia.tritiumapps.com - saving the planet is everyone's business! On 23 November 2010 18:50, Mark Thomas ma...@apache.org wrote: On 23/11/2010 06:55, Daniel Baktiar

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: OutOfMemoryError some time on some tomcat1 hanging onto a reference to an object from your webapp classes, preventing the old webapp deployment from being garbage collected. what kind of object do you mean by saying this?

Re: Server affinity instead of session affinity

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/23/2010 5:12 AM, Mark Thomas wrote: On 23/11/2010 00:06, Andrew Hole wrote: There is a middleware-to-middleware connection between Tomcat A and Tomcat B using RMI (point-to-point protocol) and Tomcat A has in-memory data useful to

Re: Server affinity instead of session affinity

2010-11-23 Thread Mark Thomas
On 23/11/2010 14:41, Christopher Schultz wrote: Mark, On 11/23/2010 5:12 AM, Mark Thomas wrote: On 23/11/2010 00:06, Andrew Hole wrote: There is a middleware-to-middleware connection between Tomcat A and Tomcat B using RMI (point-to-point protocol) and Tomcat A has in-memory data useful to

Re: Server affinity instead of session affinity

2010-11-23 Thread André Warnier
With the configuration below and your explanations, I suppose that there is some kind of load-balancing going on between the two machines. What is used at the front-end to load-balance ? An idea (for the moment vague) would be to use some intelligent front-end, which would decide (maybe as

how to keep session alive on the server side

2010-11-23 Thread Aggarwal, Ajay
I have a situation where client enters a long duration request and I need to keep the session alive for the client while this long duration request is going on. Since this long duration request could be hours, I do not want to change the default HTTP session timeout value. I also do not want to

Re: how to keep session alive on the server side

2010-11-23 Thread Mark Thomas
On 23/11/2010 17:58, Aggarwal, Ajay wrote: I have a situation where client enters a long duration request and I need to keep the session alive for the client while this long duration request is going on. Since this long duration request could be hours, I do not want to change the default HTTP

RE: how to keep session alive on the server side

2010-11-23 Thread Caldarale, Charles R
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: how to keep session alive on the server side I have a situation where client enters a long duration request and I need to keep the session alive for the client while this long duration request is going on. Since this long

Re: how to keep session alive on the server side

2010-11-23 Thread André Warnier
Aggarwal, Ajay wrote: I have a situation where client what kind of client ? enters a long duration request do you mean that the request takes a long time to send to the server, or that the server will take a long time to respond ? and I need to keep the session alive for the client ?

Re: vcs for hefty video and graphics files

2010-11-23 Thread Philippe Lhoste
On 22/11/2010 19:09, Harry Putnam wrote: Which of the main contenders: cvs subversion mercurial git bizarre Maybe a few more I don't know about, would be the best candidate for the usage and user described bizarre? Never heard of this VCS before... Each project would only run a month or 2

RE: how to keep session alive on the server side

2010-11-23 Thread Aggarwal, Ajay
I guess I need to explain my situation little better. It is slightly complicated so bear with me. I have 2 types of servlets. Type-1 servlets make use of sessions (using JSESSIONID cookie) and type-2 servlets do not use JSESSIONID cookie and instead implement some API specs which require the

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Sylvain Laurent
Don't bother with jhat, try eclipse Memory Analysis Tool instead. It's much more friendly and efficient to find leaks. On 23 nov. 2010, at 12:18, xu cheng wrote: hi, Chuck.Caldarale I referenced to these two links http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java

Re: Server affinity instead of session affinity

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/23/2010 10:27 AM, André Warnier wrote: With the configuration below and your explanations, I suppose that there is some kind of load-balancing going on between the two machines. What is used at the front-end to load-balance ? An

Re: how to keep session alive on the server side

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/23/2010 1:46 PM, Caldarale, Charles R wrote: From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: how to keep session alive on the server side I have a situation where client enters a long duration request and I need

RE: how to keep session alive on the server side

2010-11-23 Thread Aggarwal, Ajay
I am little reluctant to use HttpSession.setMaxInactiveInterval() for couple of reasons: 1) I don't know ahead of time how long these operations will take. SO I don't have a good value to set the MaxInactiveInterval to. 2) I need to design for my clients crashing or losing connectivity with me.

Re: how to keep session alive on the server side

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 11/23/2010 4:15 PM, Aggarwal, Ajay wrote: I am little reluctant to use HttpSession.setMaxInactiveInterval() for couple of reasons: 1) I don't know ahead of time how long these operations will take. So I don't have a good value to set

Re: Importing CERTIFICATE into Java Keystore

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uma, Please keep posts on the list for the benefit of the community. On 11/22/2010 7:31 PM, uma ravi wrote: I am trying to import the certificate and did the same as you did but still go the same error.My test connection on IDm is not working.I

Re: Several hosts within one tomcat / catch-all problem

2010-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 11/19/2010 11:59 AM, Konstantin Kolinko wrote: 2010/11/19 Steffen Heil li...@steffen-heil.de: Hi We have a web application which usually runs on a certain host all alone - it is the only context for that host. However, it allows

Re: Server affinity instead of session affinity

2010-11-23 Thread Andrew Hole
I'm reading about domain directive in worker properties. I can setup different workers to be in the same domain (p.e. a machine) and have domain affinity. Do you have some idea how it really works? Thanks On Tue, Nov 23, 2010 at 9:01 PM, Christopher Schultz ch...@christopherschultz.net wrote:

Re: Server affinity instead of session affinity

2010-11-23 Thread Andrew Hole
And regarding your question; ~Why can you not run all apps within one single JVM/Tomcat ? Because we have a lot of web applications and we are using 32-bit JVM. Thanks a lot On Tue, Nov 23, 2010 at 10:59 PM, Andrew Hole andremailingl...@gmail.comwrote: I'm reading about domain directive in

Re: Server affinity instead of session affinity

2010-11-23 Thread André Warnier
Andrew Hole wrote: I'm reading about domain directive in worker properties. I can setup different workers to be in the same domain (p.e. a machine) and have domain affinity. Do you have some idea how it really works? No, but it kind of sounds like what you want to achieve, doesn't it ? You

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Blair Zajac
On Nov 23, 2010, at 2:24 AM, Mark Thomas wrote: On 23/11/2010 02:19, Blair Zajac wrote: Any suggestions in tracking this down? Would a custom Tomcat build that gets each key and value in a try/catch block be useful? Almost certainly. As far as I can tell there is a collections object in

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-23 Thread Keiichi Fujino
2010/11/23 Mark Thomas ma...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. Congratulations! -- Keiichi.Fujino

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-23 Thread Brooke Hedrick
Congrats Chris. On Nov 23, 2010 7:01 PM, Keiichi Fujino kfuj...@apache.org wrote: 2010/11/23 Mark Thomas ma...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Blair Zajac
On Nov 23, 2010, at 4:49 PM, Blair Zajac wrote: On Nov 23, 2010, at 2:24 AM, Mark Thomas wrote: On 23/11/2010 02:19, Blair Zajac wrote: Any suggestions in tracking this down? Would a custom Tomcat build that gets each key and value in a try/catch block be useful? Almost certainly.

SSL No Certificate file specified or invalid file format

2010-11-23 Thread Scott Li
Hi All, When I want to config SSL in Tomcat: apache-tomcat-7.0.4 in windows XP, there is some error below , anyone can tell me what is the problem? step 1: I generate client /server java key store by code as follow: import java.io.FileOutputStream; import java.math.BigInteger; import

Re: SSL No Certificate file specified or invalid file format

2010-11-23 Thread Konstantin Kolinko
2010/11/24 Scott Li scott...@gwghk.com: 信息: Loaded APR based Apache Tomcat Native library 1.1.20. 010-11-24 9:36:38 org.apache.catalina.core.AprLifecycleListener init 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 010-11-24 9:36:38

Re: SSL No Certificate file specified or invalid file format

2010-11-23 Thread Scott Li
It works, Thank you very much Konstantin Kolinko! I disabled APR by following these steps: a) remove bin\tcnative-1.dll b) remove Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / line from server.xml. c) remove 'protocol=http11.Http11AprProtocol' from

Re: SSL No Certificate file specified or invalid file format

2010-11-23 Thread Konstantin Kolinko
2010/11/24 Scott Li scott...@gwghk.com: It works,  Thank you very much Konstantin Kolinko! I disabled APR by following these steps:  a) remove bin\tcnative-1.dll  b) remove  Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / line from server.xml. c) remove

the memory puzzle me....

2010-11-23 Thread xu cheng
hi; I oberved the heap of the jvm which runs tomcat without deploying any webapp. and it's some kind like this /|/|/|/|/|/| when the used heap goes up, there is a memory use of the heap, maybe allocation for the new class instances, and when it goes down , there is a gc, am I right? but I

RE: the memory puzzle me....

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: the memory puzzle me I oberved the heap of the jvm which runs tomcat without deploying any webapp. and it's some kind like this /|/|/|/|/|/| That's called a sawtooth pattern, and is what you should be seeing. when the used heap

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
thanks, by the way, the permanent generation is also collected by major gc? and what will trigger a gc in the permanent generation best regards 2010/11/24 Caldarale, Charles R chuck.caldar...@unisys.com From: xu cheng [mailto:xcheng@gmail.com] Subject: the memory puzzle me I

RE: the memory puzzle me....

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: the memory puzzle me the permanent generation is also collected by major gc? Correct. what will trigger a gc in the permanent generation When either the tenured or the permanent generation is full, someone calls System.gc(),

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
thanks very much you help me alog by the way, do you know *any tool that can monitor the permanent generation*, such what's now resident in the perm gen? I know that in the linux the jmap -permheap pid will display something, like this class_loaderclassesbytesparent_loaderalive?

RE: the memory puzzle me....

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: the memory puzzle me by the way, do you know *any tool that can monitor the permanent generation*, such what's now resident in the perm gen? I presume you mean on Windows, since you already found one for Linux. I suspect the

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
thanks!!! you really help me a lot! someone knows how to figure out how much permanent gen my vm is using? 2010/11/24 Caldarale, Charles R chuck.caldar...@unisys.com From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: the memory puzzle me by the way, do you know *any tool that

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
I got it jmap -heap will print many things 2010/11/24 xu cheng xcheng@gmail.com thanks!!! you really help me a lot! someone knows how to figure out how much permanent gen my vm is using? 2010/11/24 Caldarale, Charles R chuck.caldar...@unisys.com From: xu cheng

Re: the memory puzzle me....

2010-11-23 Thread Blair Zajac
You should check out jvisualvm which comes with any recent HotSpot JVM. I don't have a copy available on the laptop I'm on right now, but by looking at the screenshots, it looks like it shows the permanent generation:

Re: Server affinity instead of session affinity

2010-11-23 Thread Mario Kleinsasser
On Tue, Nov 23, 2010 at 10:01 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/23/2010 10:27 AM, André Warnier wrote: With the configuration below and your explanations, I suppose that there is some kind of

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
hi: thanks for replying the jvisualvm does show the capacity and the used of the perm gen that the vm use *currently* but not the size of the vm* configuration*: PermSize and MaxPermSize in my opinion , the MaxPermSize is the size that the perm gen is *allowed to expand to*, and the PermSize

Unable to find WEB INF

2010-11-23 Thread Sandip Hirwale
Hello i am new to tomcat i deployed my application by copy it into webapps folder in tomcat now i have to make some change in index file but unable to find that directory with application name where is it located ??? thanks

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-23 Thread Tim Whittington
Welcome aboard. tim On Tue, Nov 23, 2010 at 8:16 AM, Mark Thomas ma...@apache.org wrote: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. Mark