Re: WatchedResource not watched

2005-11-13 Thread Peter Menzel
Nathan Coast schrieb: Hi, I have the following context.xml to configure a web application docBase="D:\dev\projects11\maven-tomcat-plugin\tests\devContext\target\devContext"> WEB-INF/web.xml The watched resource seems to be ignored. If I modify the web.xml tomcat doesn't reload the

Re: Servlet alias cross Webapp boundaries

2005-11-11 Thread Peter Menzel
Lars Ohlén schrieb: Hi! I have a servlet in a webapp ( /web) but would like to be able to invoke the same servlet (without duplication of .class file) with another webapp name (/script) My original idea was to implement this in the httpd processing using mod_rewrite, but I have run into some

Re: return status code 409 overwritten

2005-11-11 Thread Peter Menzel
Erik Eide schrieb: Thanks Peter Thats works fine, I'm not using getWriter() as that was just an example, I forward to a JSP for displaying the error message. In this case I recommend not to set the status in the servlet and forward to the jsp manually. It would possibly more save using respo

Re: return status code 409 overwritten

2005-11-11 Thread Peter Menzel
Erik Eide schrieb: Hi I've a small REST web service, I'd like to deploy in Tomcat 5.5.12. When I try and return status code 409 (Conflict) and an error message in the response body for a POST operation, Tomcat seems to overwrite the status code with a 404 (Not Found). If I do not return a res

Re: session.invalidate() change

2005-11-10 Thread Peter Menzel
Durfee, Bernard schrieb: It seems that Tomcat is handling session.invalidate() differently now. I have HttpSessionListeners attached to the session, which need the sessionId to perform some cleanup when they are unbound from the session. This was no problem, up until Tomcat 5.5 or so. Now I get t

Re: Use of JSF view in welcome file list

2005-11-09 Thread Peter Menzel
Tim Dean wrote: Thanks for the info, Peter. I'm somewhat new to using Tomcat, so if there's somewhere particular I should post this as a bug, please let me know. I filed a bug report at ASF bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=37424 Peter ---

Re: Tomcat Authentication

2005-11-09 Thread Peter Menzel
Hi, Khawaja Shams schrieb: Hello everyone, I have a few strict requirements for security on my project, and I am having a hard time understanding some concepts. I cannot use SSL due to the performance loss, and the application must be accessed only by authenticated users. Meanwhile, I am require

Re: Use of JSF view in welcome file list

2005-11-08 Thread Peter Menzel
Tim Dean wrote: Peter, Thanks for the example: I had seen examples like this in the archives, which is why I thought that I could do what I'm trying to do: I want the same kind of behavior you are describing, but with a mapping to the Faces servlet instead. If the examply you've provided work

Re: j_security_check event?=20

2005-11-08 Thread Peter Menzel
[EMAIL PROTECTED] schrieb: Hi everyone, first of all i would like to thanks you guys out there who help me me the last week with my issue on the freenode #tomcat channel! well im now having a bit complicated issue (for me at least) what i'am trying to do is: when a user log in forma based au

Re: Use of JSF view in welcome file list

2005-11-08 Thread Peter Menzel
t.Home gets the request. See servlet Spec SRV 9.10 for more details. Peter Menzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Accessing Environment Entries from LifecycleListener

2005-10-14 Thread Peter Menzel
(NamingException ne) { System.out.println(ne.getMessage()+ne.getExplanation()); } [...] Unfortunately this won't work and an exception is thrown: "Name java:comp is not bound in this ContextName" Is it genreally possible to access environment entries from within Lifecycl

AccessLogValve with POST

2005-10-13 Thread Peter Menzel
g POST parameters, too ? Regards, Peter Menzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]