Re: Issue with mod_jk

2011-03-29 Thread Rainer Jung
On 23.03.2011 22:29, Lance Campbell wrote: I discovered an issue with mod_jk. In the workers.property file I miss typed lbFactor=2 with lbactor=2. Mod_jk was able to continue to work which I appreciate. But I would have liked to have received an error message letting me know that I had a

Re: Tomcat + apache + mod_jk

2011-03-29 Thread Rainer Jung
On 24.03.2011 15:55, ar...@bca-group.com wrote: For the first time we have received this error (many times). Looks to me like tomcat cannot talk to apache to me. Can anyone shed any light on this? Windows Server 2003 Tomcat: 6.0.16 Apache: 2.2 JDK: 1.6.0_23 Tomcat and Apache on same box so

Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Richard Levy
Hi all, First of all, sorry for the long post, but the reasoning and architecture requires explanation to get the full understanding of the situation. We are currently migrating our website from Oracle 10g to Apache 2/Tomcat 6.0.29. The site itself is a set of pages where customers select what

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Rainer Jung
On 29.03.2011 12:07, Richard Levy wrote: Hi all, First of all, sorry for the long post, but the reasoning and architecture requires explanation to get the full understanding of the situation. We are currently migrating our website from Oracle 10g to Apache 2/Tomcat 6.0.29. The site itself is

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Rainer Jung
Additional remark: I still think you should try my first suggestion, because overall the config is much simpler But if for some reason you need the setup like you tried already, you can trick mod_jk to use the right worker: worker.tomcatSSL1.domain=tomcat1 worker.tomcatSSL2.domain=tomcat2

RE: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Jeffrey Janner
OK, I'm sure some of you guys can weigh in better on this than me, but: If he already has two intelligent load-balancers terminating the SSL, couldn't he simplify the configuration a good bit by removing the Apache servers all together? That is, couldn't he just run Tomcat as a stand-alone

RE: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Jeffrey Janner
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Tuesday, March 29, 2011 9:17 AM To: 'Tomcat Users List' Subject: RE: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster OK, I'm sure some of you guys can weigh in better on this than me,

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Mark Thomas
On 28/03/2011 22:31, Stefan Mayr wrote: Native SPNEGO in Tomcat sounds great. Waiting a little while depends on your scale of little. Is there already some development we can follow? Will this use Java GSS? I never figured out how to configure this with Tomcat. little hopefully means the next

Re: Tomcat 6.0.32, Http11NioProtocol and log poll

2011-03-29 Thread Filip Hanik - Dev Lists
On 3/21/2011 10:55 AM, ar...@bca-group.com wrote: I don't think I do this but I'm double-checking. Thanks. After writing to the OutputStream, should I just close the OutputStream which seems to generate a CometEvent.CLOSE or explicitly call event.close() after closing the stream? yes,

Logging request parameters - Filter vs Servlet

2011-03-29 Thread Leo Donahue - PLANDEVX
Where do you initialize the Logger (Filter or Servlet)? The servlet 2.5 spec says you can use filters for logging, but since I'm not modifying the request or response, is logging from within a filter the right approach to logging request parameters? Using CATALINA_BASE:

Please Help

2011-03-29 Thread Jinal Dhruv
One problem I am having Using Tomcat 6.0 is it doesn't reflect the change what I made instantaneously.. I mean it keep showing old results though I have disabled option of 'Remembering History' in browser.. What I feel is it is fetching old results from somewhere and now it's not by browser..

RE: Please Help

2011-03-29 Thread Joseph Morgan
So. *what* is it not showing? Is it a JSP? If so, what is the time on your tomcat server compared to the time of the JSP. We have this sometimes when we deploy and find we have to update a JSP within a very short period of time, and our Tomcat server in our COLO is 2 time zones off. The

Re: Please Help

2011-03-29 Thread Jinal Dhruv
I am having problem particularly with running Servlets programs.. Though I clear browser history, delete .class file and comile .java file again, it shows old results..So from where it come? Is Tomcat is storing it at somewhere? From: Joseph Morgan

RE: Please Help

2011-03-29 Thread Joseph Morgan
You can 1) Restart Tomcat or your web app, or 2) read this: http://stackoverflow.com/questions/415520/how-do-i-make-tomcat-stop-caching-my-servlet-responses -Original Message- From: Jinal Dhruv [mailto:dhruv.ji...@yahoo.com] Sent: Tuesday, March 29, 2011 1:47 PM To: Tomcat Users List

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Mark Thomas
On 29/03/2011 15:20, Mark Thomas wrote: On 28/03/2011 22:31, Stefan Mayr wrote: Native SPNEGO in Tomcat sounds great. Waiting a little while depends on your scale of little. Is there already some development we can follow? Will this use Java GSS? I never figured out how to configure this with

Re: Please Help

2011-03-29 Thread Jinal Dhruv
Actually, I am using Tomcat from last 15 days only..One thing worked is if I restart PC, then it works fine..so it looks like restarting Tomcat works.. The problem on given link is excatly what I am facing..Thanx a ton for this.. but still can U tell me exactly how to restart Tomcat without

RE: Please Help

2011-03-29 Thread Propes, Barry L
If you can get to your Manager app in Tomcat, you should be able to reload, or at least stop and start the webapp there. -Original Message- From: Jinal Dhruv [mailto:dhruv.ji...@yahoo.com] Sent: Tuesday, March 29, 2011 2:12 PM To: Tomcat Users List Subject: Re: Please Help Actually, I

Re: Please Help

2011-03-29 Thread Jinal Dhruv
HOw to get to Manager app? don't get exactly.. From: Propes, Barry L barry.l.pro...@citi.com To: Tomcat Users List users@tomcat.apache.org; Jinal Dhruv dhruv.ji...@yahoo.com Sent: Wednesday, 30 March 2011 12:49 AM Subject: RE: Please Help If you can get to

RE: Please Help

2011-03-29 Thread Joseph Morgan
I suspect you installed Tomcat as a service. If so, you should be able to find the tomcat monitoring application. Click on your start icon in Win7 and then, in the search box, type Tomcat. Hopefully, you will see a Monitor Tomcat entry. Right-click over that, and select Run As

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Borut Hadžialić
Would adding support for client credential delegation be out of scope for this implementation or not? Client credential delegation is when you use the spnego token construct a javax.security.auth.Subject instance that represents the client - which the server side application can use this to

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Borut Hadžialić
Whoops, i reversed the condition of the if statement, it should be: //check if the credentials can be delegated if (context.getCredDelegState()) { ... } On Tue, Mar 29, 2011 at 9:47 PM, Borut Hadžialić borut.hadzia...@gmail.com wrote: Would adding support for client credential delegation be out

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Mark Thomas
On 29/03/2011 20:47, Borut Hadžialić wrote: Would adding support for client credential delegation be out of scope for this implementation or not? It is in scope with the caveat - as always - that it depends on what the final implementation looks like. I do know (from debug logging) that right

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Borut Hadžialić
On Tue, Mar 29, 2011 at 9:57 PM, Mark Thomas ma...@apache.org wrote: It is in scope with the caveat - as always - that it depends on what the final implementation looks like. I do know (from debug logging) that right now tokens do not allow delegation. I suspect the hardest part of

Re: Windows Authentication: Issue 49318 vs 47679

2011-03-29 Thread Mark Thomas
On 29/03/2011 21:18, Borut Hadžialić wrote: On Tue, Mar 29, 2011 at 9:57 PM, Mark Thomas ma...@apache.org wrote: It is in scope with the caveat - as always - that it depends on what the final implementation looks like. I do know (from debug logging) that right now tokens do not allow

Re: Tomcat Caching Problem

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jinal, On 3/29/2011 4:01 PM, Jinal Dhruv wrote: I want Tomcat to stop catching my servlet responses and I cant understand the solution at http://stackoverflow.com/questions/415520/how-do-i-make-tomcat-stop-caching-my-servlet-responses That's

Re: Logging request parameters - Filter vs Servlet

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 3/29/2011 12:57 PM, Leo Donahue - PLANDEVX wrote: Where do you initialize the Logger (Filter or Servlet)? Which logger? The servlet 2.5 spec says you can use filters for logging, but since I'm not modifying the request or response, is

Re: Tomcat Caching Problem

2011-03-29 Thread Jinal Dhruv
I dont understand second option..Can U explain a bit more? From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, 30 March 2011 2:07 AM Subject: Re: Tomcat Caching Problem -BEGIN PGP SIGNED

Re: Tomcat Caching Problem

2011-03-29 Thread sebb
On 29 March 2011 21:47, Jinal Dhruv dhruv.ji...@yahoo.com wrote: I dont understand second option..Can U explain a bit more? In case you cannot access the cited document: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Common%20Attributes it says: reloadable Set to true if

RE: Logging request parameters - Filter vs Servlet

2011-03-29 Thread Leo Donahue - PLANDEVX
Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Logging request parameters - Filter vs Servlet Leo, On 3/29/2011 12:57 PM, Leo Donahue - PLANDEVX wrote: Where do you initialize the Logger (Filter or Servlet)? Which logger? I

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Stefan Mayr
Hi Am 29.03.2011 12:28, schrieb Rainer Jung: On 29.03.2011 12:07, Richard Levy wrote: ... The current setup involves two intelligent load-balancers that terminates SSL then hands over to Oracle 10g. The 10g stack has custom Oracle versions of Apache which have configuration options not found

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Stefan Mayr
Am 29.03.2011 16:19, schrieb Jeffrey Janner: OK, I'm sure some of you guys can weigh in better on this than me, but: If he already has two intelligent load-balancers terminating the SSL, couldn't he simplify the configuration a good bit by removing the Apache servers all together? That is,

Bug Help

2011-03-29 Thread Mohit Anchlia
In order to circimvent this bug https://issues.jboss.org/browse/JBPAPP-366 what should I exactly have in apache 2 properties. We often see cping/cpong after connecting to the backend server failed (errno=110) and bunch of 503s Current worker.properties look something like this:

Re: Tomcat Caching Problem

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jinal, On 3/29/2011 4:47 PM, Jinal Dhruv wrote: I dont understand second option..Can U explain a bit more? Read the documentation reference I sent to you. Search for reloadable. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10