Re: nio ajp connector status

2010-09-06 Thread Mark Thomas
On 06/09/2010 03:34, Anthony J. Biacco wrote: Anybody know if there's any plans to make this connector production-ready in the near future for 6.x/7.x? Also, what the current major problems/gotchas are for it and the circumstances where it may be beneficial vs. APR AJP? Nope. It was only ever

Re: URL Rewrite

2010-09-06 Thread Pid
On 05/09/2010 23:40, Hassan Schroeder wrote: On Sun, Sep 5, 2010 at 3:23 PM, michel compu...@videotron.ca wrote: Or, uh, just don't *ever* use relative links, period. Sorry, but I don't understand why. In most cases relative links are great, simply because they are 'self-updating' when the

Re: URL Rewrite

2010-09-06 Thread michel
- Original Message - From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, September 06, 2010 5:02 AM Subject: Re: URL Rewrite On 05/09/2010 23:40, Hassan Schroeder wrote: On Sun, Sep 5, 2010 at 3:23 PM, michel compu...@videotron.ca wrote: Or, uh,

Re: URL Rewrite

2010-09-06 Thread Wesley Acheson
On Mon, Sep 6, 2010 at 11:02 AM, Pid p...@pidster.com wrote: On 05/09/2010 23:40, Hassan Schroeder wrote: On Sun, Sep 5, 2010 at 3:23 PM, michel compu...@videotron.ca wrote: Or, uh, just don't *ever* use relative links, period. Sorry, but I don't understand why. In most cases relative

Re: URL Rewrite

2010-09-06 Thread Subrat Kumar Pattnaik
I can not login to Apache Tomcat 7 managerplease tell me the configuration On Mon, Sep 6, 2010 at 2:32 PM, Pid p...@pidster.com wrote: On 05/09/2010 23:40, Hassan Schroeder wrote: On Sun, Sep 5, 2010 at 3:23 PM, michel compu...@videotron.ca wrote: Or, uh, just don't *ever* use

Re: URL Rewrite

2010-09-06 Thread Wesley Acheson
Please send a new email to the list rather than reply to an unrelated topic. On Mon, Sep 6, 2010 at 12:09 PM, Subrat Kumar Pattnaik patnaik.sub...@gmail.com wrote: I can not login to Apache Tomcat 7 managerplease tell me the configuration On Mon, Sep 6, 2010 at 2:32 PM, Pid

logging in problem in Tomcat 7

2010-09-06 Thread Subrat Kumar Pattnaik
I can not login to Apache Tomcat 7 managerplease tell me the configuration

Re: logging in problem in Tomcat 7

2010-09-06 Thread michel
Please specify the problem beyond I cannot login. - Original Message - From: Subrat Kumar Pattnaik patnaik.sub...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, September 06, 2010 6:51 AM Subject: logging in problem in Tomcat 7 I can not login to Apache

Re: logging in problem in Tomcat 7

2010-09-06 Thread Wesley Acheson
Have you followed the steps per: http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html? Regards, Wesley Acheson On Mon, Sep 6, 2010 at 12:58 PM, michel compu...@videotron.ca wrote: Please specify the problem beyond I cannot login. - Original Message - From: Subrat Kumar

Manager documentation.

2010-09-06 Thread Wesley Acheson
Hi is the documentation at http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html correct. It seems to mention manager as the role then manager-script. particularly this excerpt - *MemoryRealm* - If you have not customized your $CATALINA_BASE/conf/server.xml to select a different one,

Re: logging in problem in Tomcat 7

2010-09-06 Thread Rainer Jung
On 06.09.2010 12:51, Subrat Kumar Pattnaik wrote: I can not login to Apache Tomcat 7 managerplease tell me the configuration See: http://tomcat.apache.org/migration.html#Manager_application Regards, Rainer - To

Re: Errant slow request

2010-09-06 Thread Rainer Jung
On 05.09.2010 22:36, Kevin wrote: Hi Rainer, On 9/5/2010 12:55 AM, Rainer Jung wrote: Can you share the Java thread dumps? If locking is involved, implementations are not necessarily fair. This can lead to such behaviour, especially when locks start to become overloaded. Here is a ZIP of

Re: Manager documentation.

2010-09-06 Thread Mark Thomas
On 06/09/2010 12:07, Wesley Acheson wrote: Hi is the documentation at http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html correct. It seems to mention manager as the role then manager-script. There are a couple of places where manager hasn't been updated to manager-script. I'll get

Re: URL Rewrite

2010-09-06 Thread Hassan Schroeder
On Mon, Sep 6, 2010 at 3:05 AM, Wesley Acheson wesley.ache...@gmail.com wrote: Are we talking about absolute links like http://example.com/test; or /test (as opposed to test). /test, i.e. starts with a slash representing the app root -- Hassan Schroeder

2 second delays in mod_jk while maintaining workers

2010-09-06 Thread John Baker
Hello, I've discovered what appears to be a bug in mod_jk 1.2.27 and have also tried 1.2.30 without success. I'm using Apache 2.2.3 (on Redhat EL 5.4). The problem occurs after previous successful activity and causes a delay in what looks like socket handling. I noticed bug was resolved in

what is the username and password

2010-09-06 Thread Subrat Kumar Pattnaik
Can any one tell me what is the user name and password for Tomcat 7

RE: what is the username and password

2010-09-06 Thread Caldarale, Charles R
From: Subrat Kumar Pattnaik [mailto:patnaik.sub...@gmail.com] Subject: what is the username and password Can any one tell me what is the user name and password for Tomcat 7 It's whatever the Tomcat administrator configures it to be; there is no default. - Chuck THIS COMMUNICATION MAY

Re: what is the username and password

2010-09-06 Thread Wesley Acheson
Assuming you mean for the manager application still then no we can't you need to alter the tomcat-users.xml as in the links you were given previously. The role should be manager-script and the password is whatever you set in the tomcat-users file. Regards, Wesley Acheson On Mon, Sep 6, 2010 at

Re: what is the username and password

2010-09-06 Thread Subrat Kumar Pattnaik
I already gave my own username and password. But it is not working.Is there any configuration for Tomcat 7 to run on my PC On Mon, Sep 6, 2010 at 8:13 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Subrat Kumar Pattnaik [mailto:patnaik.sub...@gmail.com] Subject: what is

RE: what is the username and password

2010-09-06 Thread Caldarale, Charles R
From: Subrat Kumar Pattnaik [mailto:patnaik.sub...@gmail.com] Subject: Re: what is the username and password I already gave my own username and password. What precisely do you mean by that? Is there any configuration for Tomcat 7 to run on my PC Download, install, run:

Re: what is the username and password

2010-09-06 Thread Subrat Kumar Pattnaik
When I typed on my browser http://localhost:8080/; its open. But after that whatever I want to do like Status, Tomcat Manager and Host Manager its asking for my user name and password. But its not login to my Tomcat manager. So please briefly tell me what to do for this Thank You On Mon, Sep 6,

RE: nio ajp connector status

2010-09-06 Thread Anthony J. Biacco
Thanks for that. Have a good holiday. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, September 06,

Re: interaction between .forward() and security-constraint

2010-09-06 Thread Brian McBride
Thanks to all who have responded. The advice and comments have been very helpful. For my application, the MIM vulnerability is a concern, so I expect to be using HTTPS for at least some of the traffic. Next steps are to clarify my confidentiality requirements and see what I can find on the

Re: what is the username and password

2010-09-06 Thread 王科选
On 2010/9/6 22:58, Subrat Kumar Pattnaik wrote: When I typed on my browser http://localhost:8080/; its open. But after that whatever I want to do like Status, Tomcat Manager and Host Manager its asking for my user name and password. But its not login to my Tomcat manager. So please briefly tell

Tomcat Connectors - Dynamic reloading of workers

2010-09-06 Thread Ruslan Gainutdinov
Hello! I am trying to implement dynamic reloading of workers on top of mod_jk 1.2.30 + apache 2.2. However, I am getting strange errors related to shared memory and others. == Initial design decisions == - Reloading is checked during watchdog, wc_maintain phase. This way all connections can be

Re: URL Rewrite

2010-09-06 Thread Pid
On 06/09/2010 11:05, Wesley Acheson wrote: On Mon, Sep 6, 2010 at 11:02 AM, Pid p...@pidster.com wrote: On 05/09/2010 23:40, Hassan Schroeder wrote: On Sun, Sep 5, 2010 at 3:23 PM, michel compu...@videotron.ca wrote: Or, uh, just don't *ever* use relative links, period. Sorry, but I don't

Re: URL Rewrite

2010-09-06 Thread michel
- Original Message - From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, September 06, 2010 11:54 AM Subject: Re: URL Rewrite On 06/09/2010 11:05, Wesley Acheson wrote: On Mon, Sep 6, 2010 at 11:02 AM, Pid p...@pidster.com wrote: On 05/09/2010

buffersize in tomcat 7

2010-09-06 Thread Anthony J. Biacco
Ok, got another simple question. I don't see bufferSize listed in the tomcat 7 docs under the http/ajp connector..is it still supported? Didn't see it deprecated in the changelog. Thanks, -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27

RE: buffersize in tomcat 7

2010-09-06 Thread Caldarale, Charles R
From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Subject: buffersize in tomcat 7 I don't see bufferSize listed in the tomcat 7 docs under the http/ajp connector..is it still supported? Hasn't been for ages. It was deprecated quite some time ago, even in 5.5. - Chuck THIS

Re: interaction between .forward() and security-constraint

2010-09-06 Thread Pid
On 06/09/2010 16:04, Brian McBride wrote: Thanks to all who have responded. The advice and comments have been very helpful. For my application, the MIM vulnerability is a concern, so I expect to be using HTTPS for at least some of the traffic. Next steps are to clarify my confidentiality

Re: interaction between .forward() and security-constraint

2010-09-06 Thread André Warnier
Pid wrote: ... Assuming you're not running on hamster powered servers, yes, with modern software hardware it's quite cheap. I find this remark very discriminatory toward hamsters. What makes you think that hamsters are worse than tomcats or penguins or even apples, he ? We've got several

[OT] Re: interaction between .forward() and security-constraint

2010-09-06 Thread Pid
On 06/09/2010 17:51, André Warnier wrote: Pid wrote: ... Assuming you're not running on hamster powered servers, yes, with modern software hardware it's quite cheap. I find this remark very discriminatory toward hamsters. What makes you think that hamsters are worse than tomcats or

how to deploy a external file on tomcat

2010-09-06 Thread Subrat Kumar Pattnaik
How can I manually deploy a file to my Tomcat 7 server I tried like this file:///path:/file_name Is this correct path for deploying a file in Tomcat or any other way

Re: Tomcat Connectors - Dynamic reloading of workers

2010-09-06 Thread Mladen Turk
On 09/06/2010 05:54 PM, Ruslan Gainutdinov wrote: Hello! this error is particularly confusing and afaik, occurs in call to jk_shm_alloc_ajp_worker, which in turn fails in jk_shm.c:768 - jk_shm_alloc(p, JK_SHM_AJP_WORKER_SIZE); i wonder, maybe shared memory/or pool is readonly after initial

RE: [OT] Re: interaction between .forward() and security-constraint

2010-09-06 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: [OT] Re: interaction between .forward() and security-constraint An average sized camel won't fit inside the average sized server chassis. But it will fit on a stick. Since we're completely off in the weeds, I'd like to point out that one of the

Re: 2 second delays in mod_jk while maintaining workers

2010-09-06 Thread Mladen Turk
On 09/06/2010 04:16 PM, John Baker wrote: I've set the Jk logging to trace and you can see the debug statements and the 2s delays: Do you use NFS share by any chance to store the mod_jk log directory data? What happens if you set worker.lb-jboss51-integration.lock=O Regards -- ^TM

Re: Errant slow request

2010-09-06 Thread Kevin
Hi Rainer, On 9/6/2010 4:21 AM, Rainer Jung wrote: I can't find any thread being active in handling a request. I checked the first, second and last dump. I couldn't either. At first I thought maybe it was Apache Bench timing out because I saturated Tomcat's thread pool/backlog, but the

Re: 2 second delays in mod_jk while maintaining workers

2010-09-06 Thread John Baker
On Monday 06 September 2010 18:56:20 you wrote: On 09/06/2010 04:16 PM, John Baker wrote: I've set the Jk logging to trace and you can see the debug statements and the 2s delays: Do you use NFS share by any chance to store the mod_jk log directory data? Nope. All log files are

Re: [OT] Re: interaction between .forward() and security-constraint

2010-09-06 Thread André Warnier
Pid wrote: On 06/09/2010 17:51, André Warnier wrote: Pid wrote: ... Assuming you're not running on hamster powered servers, yes, with modern software hardware it's quite cheap. I find this remark very discriminatory toward hamsters. What makes you think that hamsters are worse than

Re: Tomcat Connectors - Dynamic reloading of workers

2010-09-06 Thread Ruslan Gainutdinov
Thanks for info, I`ll check it out tomorrow. AFAIK, on windows, it is not shared memory but some sort of pool. Isn`t it dynamically grows when needed? I am trying to create dynamic discovery of workers. I know there is mod_cluster, however, it is not very stable in Tomcat. And it does not give me

Re: [OT] Re: interaction between .forward() and security-constraint

2010-09-06 Thread Pid
On 06/09/2010 20:26, André Warnier wrote: Pid wrote: On 06/09/2010 17:51, André Warnier wrote: Pid wrote: ... Assuming you're not running on hamster powered servers, yes, with modern software hardware it's quite cheap. I find this remark very discriminatory toward hamsters. What makes

Re: how to deploy a external file on tomcat

2010-09-06 Thread Pid
On 06/09/2010 18:21, Subrat Kumar Pattnaik wrote: How can I manually deploy a file to my Tomcat 7 server I tried like this file:///path:/file_name Is this correct path for deploying a file in Tomcat or any other way Unfortunately, your question is extremely hard to understand. Please

Re: Best practice to upgrade (redeploy) .war files

2010-09-06 Thread Ruslan Gainutdinov
You can create ant task to handle this. We do it this way. 1. We have cluster on apache2.2 using mod_jk 2. All sessions are sticky but nofailover=off means can migrate to another server 3. Via jkmanager I disable (activation stopped) 2 out of 3 cluster nodes. 4. Wait for any AJP/HTTP thread

Re: Tomcat Connectors - Dynamic reloading of workers

2010-09-06 Thread Rainer Jung
On 06.09.2010 22:04, Ruslan Gainutdinov wrote: Thanks for info, I`ll check it out tomorrow. AFAIK, on windows, it is not shared memory but some sort of pool. Isn`t it dynamically grows when needed? No. Until version 1.2.26 you had to configure a fixed max size, from which the needed memory

Re: 2 second delays in mod_jk while maintaining workers

2010-09-06 Thread Rainer Jung
On 06.09.2010 19:56, Mladen Turk wrote: On 09/06/2010 04:16 PM, John Baker wrote: I've set the Jk logging to trace and you can see the debug statements and the 2s delays: Do you use NFS share by any chance to store the mod_jk log directory data? I didn't look at the code now, but the 2

Re: 2 second delays in mod_jk while maintaining workers

2010-09-06 Thread John Baker
On Monday 06 September 2010 22:57:21 you wrote: I didn't look at the code now, but the 2 seconds remind me of the connection draining during socket shutdown, which could be related to jk_maintain? What's jk_maintain? - To

Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
Hi Everyone, I've Googled a lot with respect to the subject, and I wanted to solicit your advice, basically I want to run Tomcat on port 80, some already objected to the idea of proxying it via Apache, so I'm looking at using jsvc or pound instead. I'm using the latest 6.0.29 binary distribution,

Re: how to deploy a external file on tomcat

2010-09-06 Thread Subrat Kumar Pattnaik
I want to deploy a directory which is available on another drive. But I don't want to put that folder into the tomcat/webapps. So can you tell me the path for that On Tue, Sep 7, 2010 at 1:50 AM, Pid p...@pidster.com wrote: On 06/09/2010 18:21, Subrat Kumar Pattnaik wrote: How can I manually

Re: Best practice for running Tomcat on port 80

2010-09-06 Thread Wesley Acheson
On Tue, Sep 7, 2010 at 4:34 AM, jan gestre ipcopper...@gmail.com wrote: I'm using the latest 6.0.29 binary distribution, and I don't have an idea where to download jsvc, if it's already included I don't know the location, could someone please enlighten me on how to do this. It can be

Re: Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson wesley.ache...@gmail.com wrote: On Tue, Sep 7, 2010 at 4:34 AM, jan gestre ipcopper...@gmail.com wrote: I'm using the latest 6.0.29 binary distribution, and I don't have an idea where to download jsvc, if it's already included I don't know the

Re: 2 second delays in mod_jk while maintaining workers

2010-09-06 Thread Mladen Turk
On 09/06/2010 11:59 PM, John Baker wrote: On Monday 06 September 2010 22:57:21 you wrote: I didn't look at the code now, but the 2 seconds remind me of the connection draining during socket shutdown, which could be related to jk_maintain? What's jk_maintain? Function that maintains the