RE: EL in Tomcat 7

2011-09-13 Thread spring
In 7.0.21 it works: OK, thank you. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Clustering / High Availability edge cases?

2011-09-13 Thread John Bass
Hi all, I'm relatively new to clustering with Tomcat and I'm trying to understand the edge cases. If I'd like to guarantee continuous availability, what are the caveats? As I understand it, Tomcat clustering will ensure that session information is persisted in the event of a failure. That's

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-09-13 Thread rakesh k
Hi Darius Thanks for reviewing the configurations. in our catalina.out we had the stack trace which you had menitoned. please find the stack trace information which has been requested. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-09-13 Thread Darius D.
Hi, well the problem is that we have the same problem, real strange NPEs in servlets. It is more pronounced when using dedicated thread executor, moving to threads provided by connector itself (with maxThreads=500 option using NIO ) seems to be lowering counts of errors. You could try

Re: *.iface;jessionid=xxx gives 404 error

2011-09-13 Thread jprideaux
Since you suggested that the problem may well be with the 1.8.2 icefaces implementation, I set up two nearly identical test webapps both running on the latest version of Tomcat (7.0.20). One webApp used icefaces 1.8.2 and the other one used the new icefaces 2.0.2 release. I was able to

How to return jpg from another disk location

2011-09-13 Thread Jeffrey Janner
Assume Tomcat 6/Java 6 and must be OS agnostic. Our app currently is not distributable as a war file due to some decisions made long ago (properties files that need to be modified stored in WEB-INF, etc.). I have found ways to work around most of the issues, mostly involving moving things

Urgent -- Need help configuring JNDI realm

2011-09-13 Thread Savitha Akella
Hi, I need help in configuring the JNDI Realm to connect to LDAP Server and authenticate users. Here are the details: CN=AUTH,OU=XYZ,OU=Application Managed,OU=Groups,DC=rma,DC=corp,DC=ABC,DC=com - *AUTH is the group in which i have to search if the user is a member of or not. All the members in

Valves

2011-09-13 Thread Ricardo Bayley
Hi folks, I am new to tomcat. I use a webapp which runs in tomcat. I would like tomcat to filter requests according to remote host / address. I understand I need to set Remote Address Filter and the Remote Host Filter in the Valve component. I read this articles but I don't understand where or

SSL/TLS spanning over two Tomcat servers

2011-09-13 Thread Kolev, Ivo
Hallo, I'll appreciate help on the following topic ... I've setup TLS/SSL on two Tomcat servers, both using one server key and having identical trust stores. Client certs are requested for authentication purposes. One of the servers runs some authentication app and the other hosts some

Re: Valves

2011-09-13 Thread David Bernard
Here the search result in tomcat 6.0 installation: F:\Tomcat 6.0\conf Searching for: valves context.xml(32): Valve className=org.apache.catalina.valves.CometConnectionManagerValve / server.xml(19): define subcomponents such as Valves at this level. server.xml(50): so you may not define

RE: Valves

2011-09-13 Thread Caldarale, Charles R
From: Ricardo Bayley [mailto:ricardo.bay...@gmail.com] Subject: Valves I read this articles but I don't understand where or which xml file to edit. Can anyone tell me where should I configure it ? You configure the Valve at the desired scope. If you want it to affect only the one

Re: How to return jpg from another disk location

2011-09-13 Thread Thad Humphries
Ask your programmer to write a servlet that reads the image and writes it to the output stream (ServletResponse.getOutputStream()). They should call ServletResponse.setContentType(image/jpeg) before they write (or whatever the MIME type is--image/png, image/gif, etc.). I recommend they also check

Re: Clustering / High Availability edge cases?

2011-09-13 Thread Pid
On 13/09/2011 10:51, John Bass wrote: Hi all, I'm relatively new to clustering with Tomcat and I'm trying to understand the edge cases. If I'd like to guarantee continuous availability, what are the caveats? As I understand it, Tomcat clustering will ensure that session information is

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-09-13 Thread Pid
On 13/09/2011 13:19, Darius D. wrote: Hi, well the problem is that we have the same problem, real strange NPEs in servlets. It is more pronounced when using dedicated thread executor, moving to threads provided by connector itself (with maxThreads=500 option using NIO ) seems to be

Re: Urgent -- Need help configuring JNDI realm

2011-09-13 Thread Pid
On 13/09/2011 19:20, Savitha Akella wrote: Hi, Any help is appreciated. http://catb.org/~esr/faqs/smart-questions.html p signature.asc Description: OpenPGP digital signature

Re: Urgent -- Need help configuring JNDI realm

2011-09-13 Thread Rudy Gireyev
Savitha you forgot to mention what was the problem that you were having. Anyway, in your realm specification, for the connectionName you need to specify the actual name of the user (i.e. admin) that is able to log into the LDAP to do the lookup that you are interested in. connectionPassword is

RE: Managing deployments in continuous build environments...

2011-09-13 Thread Caldarale, Charles R
From: Jeff [mailto:predato...@gmail.com] Subject: Managing deployments in continuous build environments... Is there a best practice (process/tools) for handling web application deployments in a continuous integration/deployment pipeline environment across multiple nodes? You might want to

Tomcat and MS LDAP Configuration Problem

2011-09-13 Thread Rudy Gireyev
I've run into a problem that I can't seem to resolve. :( I have to configure Tomcat to work with Microsoft LDAP. I'm using Tomcat 7, and both servers are running on Windows 2003. I managed to configure a JNDI Realm in server.xml and it seems to be able to connect to LDAP and authenticate the user

Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-13 Thread Shanti Suresh
All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtuslHost serving port 80 where Apache simply hands off / to Tomcat's load-balancer. VirtualHost *:80 ServerName wwwprod.lsa.umich.edu ServerAlias wwwprod www www.lsa.umich.edu

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-13 Thread Shanti Suresh
So you'll notice that: http://www.lsa.umich.edu/polisci == comes back with a // in Location Header of the the 302 redirect response message http://wwwprod.lsa.umich.edu/polisci == does not have a // in the Location header of the 302 redirect response message Thanks. Quoting Shanti

Re: Urgent -- Need help configuring JNDI realm

2011-09-13 Thread Savitha Akella
Hi Rudy, Sorry that I missed out the problem. I can connect to the server but the authentication of a member in the group AUTH is failing inspite of giving proper credentials. May be I have not configured properly. Regards, Savitha On Tue, Sep 13, 2011 at 3:02 PM, Rudy Gireyev

Re: Urgent -- Need help configuring JNDI realm

2011-09-13 Thread Savitha Akella
Thanks for the link. On Tue, Sep 13, 2011 at 2:46 PM, Pid p...@pidster.com wrote: On 13/09/2011 19:20, Savitha Akella wrote: Hi, Any help is appreciated. http://catb.org/~esr/faqs/smart-questions.html p