Question on IE zones with Mod_jk

2010-06-08 Thread Robin Diederen
Hello all,   We're trying to get a combination of Apache (webserver), Tomcat and mod_jk to work flawlessly. We're using mod_jk to loadbalance two Tomcat / LifeRay installations.   This

Question on IE zones with Mod_jk

2010-06-08 Thread Robin Diederen
Hello all, We're trying to get a combination of Apache (webserver), Tomcat and mod_jk to work flawlessly with NTLM authentication. We're using mod_jk to loadbalance two Tomcat / LifeRay installations. We're using the latest versions of Apache 2.2, Tomcat 6 and mod_jk. Our setup works fine

Re: Question on IE zones with Mod_jk

2010-06-08 Thread Markus Schönhaber
08.06.2010 09:16, Robin Diederen: The problem: - I surf to http://portal - IE recognizes the site as trusted / in the intranet zone - I click the sign in link and get redirected to http://portal/c/portal/login; IE now thinks I'm in the _internet_zone_ (thus NTLM auth doesn't work) - From

Re: Question on IE zones with Mod_jk

2010-06-08 Thread André Warnier
Robin Diederen wrote: Hello all, We're trying to get a combination of Apache (webserver), Tomcat and mod_jk to work flawlessly with NTLM authentication. We're using mod_jk to loadbalance two Tomcat / LifeRay installations. We're using the latest versions of Apache 2.2, Tomcat 6 and mod_jk.

Not able to set up authentication

2010-06-08 Thread Kim Johansen
Hi, I'm trying to set up authentication in tomcat for the application solr. But when doing this, I'm not asked for a username and password, but i get a 403. This is the configuration I'm using: tomcat-users.xml ?xml version='1.0' encoding='utf-8'? tomcat-users ... role

Re: Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-08 Thread Mark Thomas
On 08/06/2010 04:38, Amit Parmar wrote: I am working on various web applications one of them being a Struts2 application. When I deploy the war file from Elcipse, the war is not exploded property. Define not exploded properly. Does this happen on clean installations or only updates? So I

RE: Question on IE zones with Mod_jk

2010-06-08 Thread Robin Diederen
Hi Andre, Thanks for the tip. What should I be looking for when analyzing this communication? Best, Robin -Oorspronkelijk bericht- Van: André Warnier [mailto:a...@ice-sa.com] Verzonden: dinsdag 8 juni 2010 10:20 Aan: Tomcat Users List Onderwerp: Re: Question on IE zones with Mod_jk

Tomcat deletes default web.xml [Tomcat version 6.0.14]

2010-06-08 Thread Jitendra G
Hi, We are using Tomcat 6.0.14 and we found that sometimes if Tomcat is restarted few number of times it deletes the default web.xml under “../Tomcat/apache-tomcat-6.0.14/conf” directory. Sometimes this issue also occurs if we are hot deploying our WAR. I found similar bug Bug 44725

Re: Tomcat deletes default web.xml [Tomcat version 6.0.14]

2010-06-08 Thread Mark Thomas
On 08/06/2010 10:22, Jitendra G wrote: Hi, We are using Tomcat 6.0.14 and we found that sometimes if Tomcat is restarted few number of times it deletes the default web.xml under “../Tomcat/apache-tomcat-6.0.14/conf” directory. Sometimes this issue also occurs if we are hot deploying our

How to finalize all sessions in a server with SingleSignOn valve activated ?

2010-06-08 Thread Mariano López
Hello all, I like to know how to finalize all sessions in a server with SingleSignOn valve activated. When I finalize the current session user when logs out only close the session in this context, the rest remains its sessions for this user. Tomcat 6.0.26 Regards, Mariano

Connection is closed when CometEvent.close is called during an event

2010-06-08 Thread Reich, Matthias
Hello, I am using a CometProcessor servlet in a long-poll scenario, and recently had a closer look at the life span of connections that are used for poll requests. I noticed that connections are closed by Tomcat whenever a poll request was answered (and closed) directly during processing of the

Re: Tomcat deletes default web.xml [Tomcat version 6.0.14]

2010-06-08 Thread Jitendra G
Thanks Mark, I'll try it out. Jitendra - Original Message - From: Mark Thomas Sent: 06/08/10 03:07 PM To: Tomcat Users List Subject: Re: Tomcat deletes default web.xml [Tomcat version 6.0.14] On 08/06/2010 10:22, Jitendra G wrote: Hi, We are using Tomcat 6.0.14 and we found that

Re: Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-08 Thread Amit Parmar
Hello, Thank you so much for your reply. Here are the answers to your questions: 1) Define not exploded properly Does this happen on clean installations or only updates? ANS : I create war file through Eclipse tomcat plugin straight into the webapps directory, say my file is mywebapps.war .

Re: Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-08 Thread Mark Thomas
On 08/06/2010 11:52, Amit Parmar wrote: Now when I again create the mywebapps.war as mentioned above, when Tomcat is running, everything except two jars in WEF-INF/lib directory from the mywebapps context directory is deleted. Which JARs? 2) How did you set these? ANS : In the

RE: Question on IE zones with Mod_jk

2010-06-08 Thread dB .
I think your conclusion may be a little too quick. You should post the complete HTTP trace from this session. PS: If you're on Windows and are using Apache for NTLM only, you may want to take a look at http://waffle.codeplex.com. dB. @ dblock.org Moscow|Geneva|Seattle|New York

RE: Not able to set up authentication

2010-06-08 Thread Caldarale, Charles R
From: Kim Johansen [mailto:kim.johan...@webdealhosting.com] Subject: Not able to set up authentication I'm trying to set up authentication in tomcat for the application solr. Exact Tomcat version? ?xml version='1.0' encoding='utf-8'? tomcat-users ... role rolename=ezkimjohanrole/

RE: Not able to set up authentication

2010-06-08 Thread Kim Johansen
url-pattern/solr/ezkimjohan/*/url-pattern url-pattern/solr/ezkimjohan/admin/*/url-pattern Assuming the solr webapp is deployed properly, you must remove /solr from the above. The pattern is relative to the webapp, not the server. This was the solution! Thank you

Re: Keeping tomcat up-to-date on linux

2010-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, (Found this old message in my drafts folder. In case I didn't sent it, here it is) On 5/19/2010 11:55 PM, Dale Ogilvie wrote: Yes, the release gap is an issue for me as well. Hence this email trail :-) Parallelism is achieved for us

J2EE (Spring) + Flex + Tomcat 6.0.18 problem

2010-06-08 Thread kitikat
Hello, I have been searching a solution for my problem and I haven't found an answer, so I decided to write here. I have a system, consisting of J2EE (Spring) server-side LifeCycle Data Services for my Adobe Flex client application. Synchronization of files plays a major role in that system - I

RE: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-08 Thread Mangold, Daniel
On 07.06.2010 20:22, Mangold, Daniel wrote: Hello to all, I have a problem with mod_jk (hope this is the right place form my problem). Used servers and versions: - Apache 2.2.15 (Win32) - mod_jk/1.2.30 - Apache Tomcat/6.0.20 using AJP/1.3 - jdk1.5.0_12 Problem description: I enter the

Allowing only specific users LDAP access

2010-06-08 Thread Mark-E
I have setup an https instance of Tomcat and I am trying to allow only specific users access. In the current configuration, anyone who is in LDAP can get in. Here is the current configuration in the server.xml Realm className=org.apache.catalina.realm.JNDIRealm

Re: Allowing only specific users LDAP access

2010-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 6/8/2010 11:25 AM, Mark-E wrote: In the current configuration, anyone who is in LDAP can get in. Here is the current configuration in the server.xml Realm className=org.apache.catalina.realm.JNDIRealm

Re: Error on startup catalina

2010-06-08 Thread Sandro Gallo
Hi, Is there some solution to my problem with TOMCAT? I hope so, otherwise I don't know how to proceed. Thank you very much. Best Regards 2010/6/7 Sandro Gallo sandro.gallo...@gmail.com Hi, I performed the steps suggested. Below are the results: 1) I have all search permissions for

RE: Allowing only specific users LDAP access

2010-06-08 Thread Caldarale, Charles R
From: Mark-E [mailto:mer...@hbs.edu] Subject: Allowing only specific users LDAP access I have setup an https instance of Tomcat Any particular version? (Be precise.) I am trying to allow only specific users access. If you can't use Chris' suggestion and you're on a current version of

RE: Allowing only specific users LDAP access

2010-06-08 Thread Mark-E
If you can't use Chris' suggestion and you're on a current version of Tomcat, you can combine your existing Realm with an additional authenticator, possibly using a file where you specify the subset of users you're willing to allow in.

RE: Error on startup catalina

2010-06-08 Thread Caldarale, Charles R
From: Sandro Gallo [mailto:sandro.gallo...@gmail.com] Subject: Re: Error on startup catalina Is there some solution to my problem with TOMCAT? The problem is that no one else is experiencing what you're seeing, and no one can reproduce the problem. There must be something subtly wrong with

Problem with post request parameters in servlets

2010-06-08 Thread TearsOfAllah
I'm trying to get the response from servlets by sending post request with parameters to the servlets. But despite of servlets response, I'm getting blank output. Firebug showing blank response. But If I send the post request without request parameter, or at the time refreshing a page, I get the

Re: Error on startup catalina

2010-06-08 Thread Sandro Gallo
Ok, thank you for your answer. Yes, every time, I downloaded new package. I try also with 5.5: same problem. So, I'll try again to download and unpack the .tart file. Please, last question (I hope). I do double click in finder to unpack the tar file. What is the command from terminal? To install

RE: Allowing only specific users LDAP access

2010-06-08 Thread Leo Donahue - PLANDEVX
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, June 08, 2010 9:12 AM To: Tomcat Users List Subject: RE: Allowing only specific users LDAP access I am trying to allow only specific users access. If you can't use Chris' suggestion

Re: Problem with post request parameters in servlets

2010-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/8/2010 1:00 PM, TearsOfAllah wrote: I'm trying to get the response from servlets by sending post request with parameters to the servlets. But despite of servlets response, I'm getting blank output. Firebug showing

Re: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-08 Thread Rainer Jung
On 08.06.2010 16:45, Mangold, Daniel wrote: On 07.06.2010 20:22, Mangold, Daniel wrote: First: sorry, it looks like at least half of my previous mail was truncated for whatever reason. The attachment did not go through as well. And it's true, the pasted log file above is not complete. However,

Re: Tomcat deletes default web.xml [Tomcat version 6.0.14]

2010-06-08 Thread Rainer Jung
On 08.06.2010 11:37, Mark Thomas wrote: On 08/06/2010 10:22, Jitendra G wrote: Hi, We are using Tomcat 6.0.14 and we found that sometimes if Tomcat is restarted few number of times it deletes the default web.xml under “../Tomcat/apache-tomcat-6.0.14/conf” directory. Sometimes this issue also

RE: Allowing only specific users LDAP access

2010-06-08 Thread Felix Schumacher
On Tue, 8 Jun 2010 10:16:01 -0700, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, June 08, 2010 9:12 AM To: Tomcat Users List Subject: RE: Allowing only specific users LDAP

What is the difference between ${param.P} and %= request.getParameter(P) %?

2010-06-08 Thread Otmar Manuela
Hi, I have a contact page, which contains a struts form. However, on that page, when trying to read the URL parameters, I get a zero instead of the parameter value, unless I use %= request.getParameter() %. Example: URL loading the contact form page:

Re: Allowing only specific users LDAP access

2010-06-08 Thread Felix Schumacher
On Tue, 8 Jun 2010 08:25:04 -0700 (PDT), Mark-E mer...@hbs.edu wrote: I have setup an https instance of Tomcat and I am trying to allow only specific users access. In the current configuration, anyone who is in LDAP can get in. Here is the current configuration in the server.xml

Re: Error on startup catalina

2010-06-08 Thread Konstantin Kolinko
2010/6/7 Sandro Gallo sandro.gallo...@gmail.com: Hi, I performed the steps suggested. Below are the results: 1) I have all search permissions for specified paths. And for '/' and for '/Users' as well? 2) Please check, that your '/' (system root) directory does not have some odd directories

Re: Problem with post request parameters in servlets

2010-06-08 Thread TearsOfAllah
If I don't use request.getParameter() method despite of making same request with parameters in my servlets code, I'm not getting any blank response in my browser. This is how I set connector tag in server.xml file: Connector connectionTimeout=2 port=8081

Re: Error on startup catalina

2010-06-08 Thread Pid
On 08/06/2010 18:07, Sandro Gallo wrote: Ok, thank you for your answer. Yes, every time, I downloaded new package. I try also with 5.5: same problem. So, I'll try again to download and unpack the .tart file. Please, last question (I hope). I do double click in finder to unpack the tar

HyperLink Office connection

2010-06-08 Thread antongiuli...@gmail.com
Hi, I have a webapp (Spring+Hibernate) running on Tomcat 5.5.15. Tomcat is configured for Single-Sign-On and it works fine with the login system of the application (typical login/password). Anyway at the moment it's not well working when an external link is executed from a Word file

Re: Allowing only specific users LDAP access

2010-06-08 Thread Mark-E
On Tue, 8 Jun 2010 08:25:04 -0700 (PDT), Mark-E mer...@hbs.edu wrote: I have setup an https instance of Tomcat and I am trying to allow only specific users access. In the current configuration, anyone who is in LDAP can get in. Here is the current configuration in the server.xml

Re: Allowing only specific users LDAP access

2010-06-08 Thread Mark-E
Felix Schumacher wrote: On Tue, 8 Jun 2010 08:25:04 -0700 (PDT), Mark-E mer...@hbs.edu wrote: I have setup an https instance of Tomcat and I am trying to allow only specific users access. In the current configuration, anyone who is in LDAP can get in. Here is the current

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-08 Thread André Warnier
Savoy, Melinda wrote: Andre, Without going into a lot of detail I was finally able to, via the help of an IIS engineer at Microsoft via our TAM, force NTLM authentication via IIS. What I learned is that by default IIS is NOT setup to accept NTLM authentication but only Kerberos.

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-08 Thread Savoy, Melinda
Andre - thanks for the reply. From: André Warnier [...@ice-sa.com] Sent: Tuesday, June 08, 2010 16:37 To: Tomcat Users List Subject: Re: How can I get the user value in the request forwarded to my Tomcat in my Java app? Savoy, Melinda wrote: Andre,

Re: Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-08 Thread Amit Parmar
Hello Mark, It started working with the following: Context reloadable=true antiJARLocking=true antiResourceLocking=true Indeed the attributes are case sensitive. Thank you so much for your help. Regards, Amit Parmar. On Tue, Jun 8, 2010 at 7:59 PM, Mark Thomas ma...@apache.org wrote: On

Re: HyperLink Office connection

2010-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julio, On 6/8/2010 3:27 PM, antongiuli...@gmail.com wrote: Hi, I have a webapp (Spring+Hibernate) running on Tomcat 5.5.15. Tomcat is configured for Single-Sign-On and it works fine with the login system of the application (typical

Re: Problem with post request parameters in servlets

2010-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/8/2010 3:11 PM, TearsOfAllah wrote: If I don't use request.getParameter() method despite of making same request with parameters in my servlets code, I'm not getting any blank response in my browser. This is how

Re: What is the difference between ${param.P} and %= request.getParameter(P) %?

2010-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Otmar, On 6/8/2010 2:06 PM, Otmar Manuela wrote: URL loading the contact form page: http://www.somedomain.com/contact.do?itemCode=ABC Contact Form Page: .. pPlease send me info regarding ${param.itemCode}/p You are missing some very

Where to store uploaded user content in app

2010-06-08 Thread Eric P
Hi ya, I have an application that I want to write that would allow users to upload an image to somewhere non-web accessible and said image is then later moved somewhere web accessible (after image moderation). For example, in my application I was thinking I would create an empty directory

RE: Where to store uploaded user content in app

2010-06-08 Thread Caldarale, Charles R
From: Eric P [mailto:eric.maill...@gmail.com] Subject: Where to store uploaded user content in app For example, in my application I was thinking I would create an empty directory under /web/WEB-INF for the non-web accessible image uploads and another empty directory right under /web for