tomcat to tomcat redirect.

2008-10-10 Thread Rohan7
Hi All, I'm using tomcat 5.5 . I'm using public IP- http://1.2.3.4:8084/Project/. Now the similar instance is running on the internal IP. http ://192.168.100.102:8080/Project/. My question is - Can I redirect from http://1.2.3.4:8084/Project/ to http ://192.168.100.102:8080/Project/ ?

Re: [OT] Communicating between webapps

2008-10-10 Thread André Warnier
Thanks to all for the answers, and an interesting thread. As just an occasional dabbler into this, I must say that the more I dig into Java, the more I get the impression that this is a language that needs lifetime dedication in order to fully understand the beauties of it. I am starting to

Re: tomcat to tomcat redirect.

2008-10-10 Thread Johnny Kewl
- Original Message - From: Rohan7 [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, October 10, 2008 8:02 AM Subject: tomcat to tomcat redirect. Hi All, I'm using tomcat 5.5 . I'm using public IP- http://1.2.3.4:8084/Project/. Now the similar instance is running on the

Re: problems of 5.0 to 5.5 upgrade

2008-10-10 Thread Mark Thomas
ancles wrote: So how could I find the best way to achieve this in programming? Achieve what? What is it you are actually trying to do? Mark Mark Thomas-18 wrote: In both cases what are you actually trying to achieve. The 5.0-5.5 refactoring means that the 'new' classes might not be the

Re: Tomcat 6.0.18 empties tomcat-users.xml

2008-10-10 Thread Robert Hufsky
Hi, thanks a lot, you are right, they are commented out and I did not see that. At least for me it was a bit unexpected that Tomcat clears at least parts of a configuration file, but thats OK. best regards Robert -- [EMAIL PROTECTED] On Oct 9, 2008, at 22:20, Caldarale, Charles R wrote:

Re: setHeader after DoFilter delegation in filter?

2008-10-10 Thread André Warnier
slioch wrote: [...] I'll risk an explanation here.. I think maybe the issue is a misunderstanding of how a servlet filter works. It took me a while too, but I think I've got it in the end. Sorry if this is level 101, that's my own level. What was confusing to me at first, is that this is

is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Mariano López
Hi all, I have implemented a custom single sign on JAAS login for a tomcat 6.018 server, it's works perfectly with my only context that I had until now. I have added the second context into the same server and i like to set form-login-page/form-login-page in web.xml context file to access a page

Re: setHeader after DoFilter delegation in filter?

2008-10-10 Thread Pid
André Warnier wrote: slioch wrote: [...] I'll risk an explanation here.. I think maybe the issue is a misunderstanding of how a servlet filter works. It took me a while too, but I think I've got it in the end. Sorry if this is level 101, that's my own level. What was confusing to me at

Re: Monitoring of services deployed in tomcat

2008-10-10 Thread Nikola Bozadziev
Hi, the lambdaprobe site doesn't seem to be online since september or like. Softpedia ( http://www.softpedia.com/get/UNIX/Networking/Server-Applications/LambdaProbe-for-Tomcat.shtml) could help. Chris, did it ever happen to you to get an exception like this (lower) after logging into

RE: external folder be mapped to Tomcat 'specific 'web application'

2008-10-10 Thread Karthik Nanjangude
Hi I have checkd the URL ' http://tomcat.apache.org/tomcat-6.0-doc/config/context.html done the same for our applications, But please check if this can be achieved ? 1) My external folder which has *images* is on folder e/STATICIMAGES 2) TOMCAT6018 is installed on folder D:/TOMCAT5523 3)

(updated) Problem in finding APP-BASE (IIS--- Worker Tomcat A----Tomcat B---- Further config help

2008-10-10 Thread Thangavel Sankaranarayanan
Hi , I have a problem in finding the webapps and my application where it is deployed My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp WebServer is :Microsoft IIS Web Container: Apache tomcat 4.1.30 I need to find my apps class files. This is what i did to trace to find

Re: dbcp error with java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource

2008-10-10 Thread Ziggy
Hi, I had a look at the tomcat dbcp documentation and found that it is possible to retrieve the underlying connection. As described here http://commons.apache.org/dbcp/configuration.html The problem i am getting now is that i still cannot cast the class properly to get the underlying

Re: Problem in finding APP-BASE (IIS--- Worker Tomcat A----Tomcat B---- Further config help

2008-10-10 Thread André Warnier
Thangavel Sankaranarayanan wrote: Hi , I have a problem in finding the webapps and my application where it is deployed My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp That's not a real URL, so why do you mention it ? WebServer is :Microsoft IIS Web Container: Apache

Re: problems of 5.0 to 5.5 upgrade

2008-10-10 Thread ancles
Sorry for not making it clear. Current question is how to set a customize SSLImplemention for a HTTPS connector. In previous version we use CoyoteServerSocketFactory.setSSLImplementation(); I have checked the Tomcat document and found the factory (nested component of connector) was removed. I

Re: dbcp error with java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, Ziggy wrote: The problem i am getting now is that i still cannot cast the class properly to get the underlying connection. Your best bet is to use standard JDBC API calls instead of trying to use Oracle's proprietary APIs. You may have to

Re: dbcp error with java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource

2008-10-10 Thread Ziggy
Hi, I am really stuck with the tomcat connection pool as its the application server that i am using. How does the oracle connection pool work? Could you point me to some info somewhere so that i can read about it. Thanks On Fri, Oct 10, 2008 at 2:51 PM, Christopher Schultz [EMAIL PROTECTED]

Re: SSL Host

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serge, Serge Fonville wrote: I have Tomcat 6.0.18 with the native dll installed I have two hosts presently (more to come) localhost and autumn.nl What I want now is *.autumn.nl accessble only via http You need a Host name=autumn.nl with an

refresh bad db connection on tomcat - urgent help

2008-10-10 Thread Srinivas Jonnalagadda
Hi All, what is the syntaxt to refresh bad db connection on tomcat - context.xml? We are using tomcata 5.5.9 connecting to oracle 10. The issue is that our jvm crashed because in the connection pool we had bad db connection and it the connections were out of limit. we could not detect and it

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Rossbach wrote: As you want SSL enabled, you must add schema=https secure=true SSLEnabled=true at your config. No, I don't want SSL enabled. I want Tomcat to NOT do SSL, but I want it to report to my application that SSL is being

Re: video/x-flv mime-mapping does not for Tomcat 5.5

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André Warnier wrote: Johnny Kewl wrote: - Original Message - From: Dave [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, October 07, 2008 11:03 PM Subject: video/x-flv mime-mapping does not for Tomcat 5.5

Re: video/x-flv mime-mapping does not for Tomcat 5.5

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (Sorry for the blank post. Who knew CTRL-ENTER would ever be something I would hit accidentally?) André Warnier wrote: There exist standard modules/add-ons/libraries/subroutines in most programming languages, that can make guesses at the

Re: Monitoring of services deployed in tomcat

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikola, Nikola Bozadziev wrote: the lambdaprobe site doesn't seem to be online since september or like. Softpedia ( http://www.softpedia.com/get/UNIX/Networking/Server-Applications/LambdaProbe-for-Tomcat.shtml) could help. Wow, that's no good!

Re: Authentication behaviour

2008-10-10 Thread Maurizio Lotauro
On 9 Oct 2008 at 14:16, Christopher Schultz wrote: Maurizio, Christopher, Maurizio Lotauro wrote: On 6 Oct 2008 at 14:58, Christopher Schultz wrote: [...] If you are writing network code, you need to handle disconnects at any time. This is handled, but in that case there is no need to

Problem in finding APP-BASE (IIS--- Worker Tomcat A----Tomcat B---- Further config help

2008-10-10 Thread Thangavel Sankaranarayanan
Hi , I have a problem in finding the webapps and my application where it is deployed My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp WebServer is :Microsoft IIS Web Container: Apache tomcat 4.1.30 I need to find my apps class files. This is what i did to trace to find the

RE: external folder be mapped to Tomcat 'specific 'web application'

2008-10-10 Thread Caldarale, Charles R
From: Karthik Nanjangude [mailto:[EMAIL PROTECTED] Subject: RE: external folder be mapped to Tomcat 'specific 'web application' 1) My external folder which has *images* is on folder e/STATICIMAGES I presume there's a colon missing in the above, and all your forward slashes should really be

Re: JK and IIS - troubles?

2008-10-10 Thread br1
Apologies, This one is much better, netstat shows 50 connections I don't know enough of Tomcat to understand if anything in this log could cause this issue.. Thanks! Br1 http://www.nabble.com/file/p19920236/tomcat%2Bthread%2Bdump%2B4%2B-%2Bfiltered.zip tomcat+thread+dump+4+-+filtered.zip --

Re: refresh bad db connection on tomcat - urgent help

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Srinivas, Srinivas Jonnalagadda wrote: what is the syntaxt to refresh bad db connection on tomcat - context.xml? We are using tomcata 5.5.9 connecting to oracle 10. The issue is that our jvm crashed because in the connection pool we had bad db

Re: is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mariano, Mariano López wrote: I have added the second context into the same server and i like to set form-login-page/form-login-page in web.xml context file to access a page from the other context, but always starts the URL's page login with its

Re: tomcat to tomcat redirect.

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rohan7, Rohan7 wrote: I'm using tomcat 5.5 . I'm using public IP- http://1.2.3.4:8084/Project/. Now the similar instance is running on the internal IP. http ://192.168.100.102:8080/Project/. My question is - Can I redirect from

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread David Wall
No, I don't want SSL enabled. I want Tomcat to NOT do SSL, but I want it to report to my application that SSL is being used. So you want quality software to lie to you? It would be a bug if Tomcat said it was secure when it's not, and it sounds pretty goofy to want it. The deal is that

Re: Forwarding an exception to the default HTTP 500 error page

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lance, Lance Bader wrote: Everything works fine when the proxy exception is in the cause chain, but I don't want to handle all the cases were the javax.el.ELException is caused by something else! Instead, I want to forward those cases to the

Re: SSL Host

2008-10-10 Thread Serge Fonville
Chris, Thanks a lot for your reply. I read both and what I still don't get is: How do I specify a connector to a host? it seems connectors cannot be nested inside an engine nor in a host and connectors can contain neither Otherwise I would create two engines one with ssl and the other without

Re: problems of 5.0 to 5.5 upgrade

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ancles, ancles wrote: Current question is how to set a customize SSLImplemention for a HTTPS connector. In previous version we use CoyoteServerSocketFactory.setSSLImplementation(); I have checked the Tomcat document and found the factory (nested

RE: SSL Host

2008-10-10 Thread Caldarale, Charles R
From: Serge Fonville [mailto:[EMAIL PROTECTED] Subject: Re: SSL Host I read both and what I still don't get is: How do I specify a connector to a host? You can't. You would need multiple Service elements, each with its own nested Connector and corresponding Host elements. Alternatively,

Re: SSL Host

2008-10-10 Thread Serge Fonville
Chuck, Thanks for your answer. I tried and it works Just one thing; If I access https://*.autumn.nl (which shouldn't exist, I get the defaulthost, instead I wan't to get a 404 of some sort, indicating that that site does not exist? Do I need to add a 404-host to either engine as a default host

Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
Hello all, Be kind, this is my first mailing to the usergroup. I am implementing a webserver for a group use, where most of the group will be creating web pages with php and jsp connections. This server is running Ubuntu Gutsy (7.10) and may be updated to Hardy shortly. In the mean time,

Re: JK and IIS - troubles?

2008-10-10 Thread Rainer Jung
br1 wrote: I managed to schedule a few thread dumps (3, with a 5 seconds interval) and a Tomcat restart in case of troubles, and just implemented some more logging. I kept the faulty Tomcat app running all day. There were three failures today, but thanks to the logging I just added I can be

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Rainer Jung
Tim Potter wrote: Be kind, this is my first mailing to the usergroup. I'll do my best. This server is running Ubuntu Gutsy (7.10) and may be updated to Hardy shortly. In the mean time, currently I'm running apache/2.2.4 with the mod_user module enabled, and people in the group using

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: secure=... corresponds to request.isSecure I have not found this to be entirely true. Please see my original post. If secure=true merely sets the return value for request.isSecure, then I should not need a

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Wall wrote: No, I don't want SSL enabled. I want Tomcat to NOT do SSL, but I want it to report to my application that SSL is being used. So you want quality software to lie to you? It would be a bug if Tomcat said it was

Re: is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Mariano López
Hi Christopher, that is what I have, but tomcat always put the current context name before login page URL of other context and gives bad reference to page. Regards, Mariano 2008/10/10 Christopher Schultz [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mariano, Mariano

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: The code in 6.0 is noticeably different from that in 5.5 for protocol initialization, including setting up the socket factory. Would it be possible to test the config on 6.0 to see if you can achieve the

Re: JK and IIS - troubles?

2008-10-10 Thread Rainer Jung
br1 wrote: Apologies, This one is much better, netstat shows 50 connections I don't know enough of Tomcat to understand if anything in this log could cause this issue.. Much better: You have a synchronization issue in your database connection pool. It seems you are using the c3p0 pool,

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Gregory Gerard
Same here. I terminate all SSL in a load balancer and forward in the clear back to 8080 or 8081. Application code is peppered non-standard calls to see things set by a filter to see if it's considered secure even though Tomcat thinks otherwise. In the more extreme case, I could consider

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
I attempted these changes and stopped tomcat and apache, then started apache and got the following error: [EMAIL PROTECTED]:~$ sudo /etc/init.d/apache2 start * Starting web server apache2 Syntax error on line 2 of /etc/apache2/conf.d/workers.properties: Invalid command

RE: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Non-secure HTTP connector with secure=true requires a keystore? Successful startup. Using HTTP, a test JSP reports that request.isSecure() returns true, which is exactly what Filip claims. It appears that the behavior of TC

RE: SSL Host

2008-10-10 Thread Caldarale, Charles R
From: Serge Fonville [mailto:[EMAIL PROTECTED] Subject: Re: SSL Host If I access https://*.autumn.nl (which shouldn't exist, I get the defaulthost, instead I wan't to get a 404 of some sort, indicating that that site does not exist? A request that has a domain that resolves to your IP

Re: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Non-secure HTTP connector with secure=true requires a keystore? I would have expected 5.5 to act like 6.0. An odd assumption... Perhaps I

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Rainer Jung
I also added Listener className=org.apache.jk.config.ApacheConfig modJk=/usr/lib/apache2/mod_jk.so workersConfig=/etc/apache2/workers.properties / between /Host and /Engine in the conf/server.xml file The listeners are only needed if you want Tomcat to generate a mod_jk configuration for you.

Re: is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mariano, Mariano López wrote: Hi Christopher, that is what I have, but tomcat always put the current context name before login page URL of other context and gives bad reference to page. I'm not suggesting that you do:

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
On Fri, Oct 10, 2008 at 12:16 PM, Rainer Jung [EMAIL PROTECTED]wrote: I also added Listener className=org.apache.jk.config.ApacheConfig modJk=/usr/lib/apache2/mod_jk.so workersConfig=/etc/apache2/workers.properties / between /Host and /Engine in the conf/server.xml file The listeners are

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
On Fri, Oct 10, 2008 at 1:20 PM, Tim Potter [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 12:16 PM, Rainer Jung [EMAIL PROTECTED]wrote: I also added Listener className=org.apache.jk.config.ApacheConfig modJk=/usr/lib/apache2/mod_jk.so workersConfig=/etc/apache2/workers.properties /

Problem running TC 6.0.18 with CATALINA_BASE

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been running multiple TC 4.1 and 5.5 instances using CATALINA_BASE for years, and I'm starting to play with TC 6.x. I use ant to run bin/startup.sh (actually, I usually go right for catalina.sh start, but I went to using startup.sh just to

RE: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Martin Gainty
the way you have it configured.. test.jsp would only render if implemented in the 'ROOT' webapp of TC I would suggest implementing a test webapp where the exact physical location of test.jsp would be $CATALINA_HOME/webapps/test/test.jsp Regards/ Martin

Re: Too many open files

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, Mohit Anchlia wrote: So I tried all the options. I also changed the code to use connection pooling with only 2 connections but still there are bunch of CLOSE_WAITS. As soon as I stop tomcat all of them go away. I am not able to figure out

Re: Too many open files

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: PS: I see you have a Apache in front... Try this... setup the 8080 connector if you havnt already got it working in TC... and go into TC direct... then check file handles If no problem, you know its Apache or the JK

Re: apache virtual hosts using different tomcat on different servers

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicola, Nicola Burns wrote: Is it possible to have the following scenario configured? Executive summary: different back-end Tomcat servers for different VistualHosts. The answer is of course you can! It sounds like you want this: VirtualHost

Re: is possible Single sign on authentication with unique page login on the same tomcat server?

2008-10-10 Thread Mariano López
Hi Christopher, I will try this and well see. Thank you for your attention, Mariano 2008/10/10 Christopher Schultz [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mariano, Mariano López wrote: Hi Christopher, that is what I have, but tomcat always put the current

Re: Communicating between webapps

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darryl, Darryl Pentz wrote: In my case, webapp A needs to let webapp B know that an event has occurred ... webapp B then does something based on that event, and the result of that action is relevant to webapp A. What are your options for simply

Re: Communicating between webapps

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darryl, Darryl Pentz wrote: I also just encountered the 'crosscontext' attribute in the context.../ block and was wondering whether that could serve any purpose. If you don't mind issuing another request (not a new HTTP connection, just another

Re: setHeader after DoFilter delegation in filter?

2008-10-10 Thread slioch
Thanks much for the responses. I understand. It makes sense to use HttpServletRequestWrapper, but there are no methods in HttpServletRequestWrapper or HttpServletRequest that initiates the sending of the response back to the client. So, by subclassing HttpServletRequest there doesn't appear to

Re: Too many open files

2008-10-10 Thread Mohit Anchlia
I am using tomcat to apache (for load balancing) On Fri, Oct 10, 2008 at 12:23 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: PS: I see you have a Apache in front... Try this... setup the 8080 connector if you

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread Tim Potter
the way you have it configured.. test.jsp would only render if implemented = in the 'ROOT' webapp of TC I would suggest implementing a test webapp where the exact physical location of test.jsp would be $CATALINA_HOME/webapps/test/test.jsp Regards/ Martin Ok, that works fine, however that

Re: setHeader after DoFilter delegation in filter?

2008-10-10 Thread André Warnier
slioch wrote: Thanks much for the responses. I understand. It makes sense to use HttpServletRequestWrapper, but there are no methods in HttpServletRequestWrapper or HttpServletRequest that initiates the sending of the response back to the client. So, by subclassing HttpServletRequest there

Re: SSL Host

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serge, Serge Fonville wrote: If I access https://*.autumn.nl (which shouldn't exist, I get the defaulthost, instead I wan't to get a 404 of some sort, indicating that that site does not exist? Did you really use *.autumn.nl? I don't think that's

Re: Tomcat and apache and jk_mod HowTo

2008-10-10 Thread André Warnier
Tim Potter wrote: the way you have it configured.. test.jsp would only render if implemented = in the 'ROOT' webapp of TC I would suggest implementing a test webapp where the exact physical location of test.jsp would be $CATALINA_HOME/webapps/test/test.jsp Regards/ Martin Ok, that works

RE: setHeader after DoFilter delegation in filter?

2008-10-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: setHeader after DoFilter delegation in filter? To create output for the client, the application calls something, right? (I mean a method of HttpRequest). Not quite - you're confusing request with response. There are methods in

Re: Problem running TC 6.0.18 with CATALINA_BASE

2008-10-10 Thread Konstantin Kolinko
2008/10/10 Christopher Schultz [EMAIL PROTECTED]: (..) The result is that I get this and only this in /home/chris/app/connector-test/8785/logs/catalina.out: Exception in thread main java.lang.NoClassDefFoundError: It is a known issue with 6.0.18, see

RE: setHeader after DoFilter delegation in filter?

2008-10-10 Thread slioch
Sorry all--I'm still stumped. Tried the suggestions and here's what I found. I've subclass HttpServletResponseWrapper and overloaded the following methods: public void flushBuffer(); public void sendRedirect(String str); public void sendError(int sc); public void sendError(int