Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-11 Thread Violeta Georgieva
Hi Chuck, I tried it and it is working. As I understood this is the recommended way to do this, correct? Thank you very much. Regards Violeta 2011/10/11 Caldarale, Charles R chuck.caldar...@unisys.com From: Violeta Georgieva [mailto:miles...@gmail.com] Subject: Re: Fwd:

How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
Hello, I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), and each webapp uses JDK logging and needs to log to its own separate log file. I accomplish this by placing logging.properties in WEB-INF/classes, and an example of how it's set up is: handlers =

Re: parallel webapp initialization

2011-10-11 Thread Alexander Knöller
Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. So if you are already working on it, I won't start doing the same, right? Except cuncurrent development is favored? Regards Alex Am

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Pid
On 11/10/2011 07:28, Dan Checkoway wrote: Hello, I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), and each webapp uses JDK logging and needs to log to its own separate log file. I accomplish this by placing logging.properties in WEB-INF/classes, and an example

Re: parallel webapp initialization

2011-10-11 Thread Pid
On 11/10/2011 08:20, Alexander Knöller wrote: Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. http://tomcat.apache.org/getinvolved.html So if you are already working on it, I

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
Pid, That's exactly what I tried: - handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, 5my-webapp.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

AUTO: David Bernard est absent. (returning 2011-10-31)

2011-10-11 Thread David Bernard
I am out of the office until 2011-10-31. Je répondrai à votre message dès mon retour. Note: This is an automated response to your message Re: parallel webapp initializa​tion sent on 10/11/2011 12:58:08 AM. This is the only notification you will receive while this person is away.

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Dan Checkoway dchecko...@gmail.com: So... 1. Is it currently possible to do what I'm trying to do?  Per-webapp logging control without using WEB-INF/classes/logging.properties?  I could really use a working example if this is doable. No it is not possible. What Pid wrote about

Re: parallel webapp initialization

2011-10-11 Thread Felix Schumacher
Hi Alexander, On Tue, 11 Oct 2011 09:20:29 +0200, Alexander Knöller wrote: Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. So if you are already working on it, I won't start doing

Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
Hi there, I'm trying to understand what has changed w.r.t. Tomcat 6/7 and returning path parameters from various calls to the HTTPServletRequest methods. In particular, I'd like to understand which of the four methods:  * getServletPath  * getContextPath  * getPathInfo  * getRequestURI return

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Paul Wilson paulalexwil...@gmail.com: Hi there, I'm trying to understand what has changed w.r.t. Tomcat 6/7 and returning path parameters from various calls to the HTTPServletRequest methods. In particular, I'd like to understand which of the four methods:  * getServletPath  *

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 10:43, Konstantin Kolinko knst.koli...@gmail.com wrote: I cannot say about various versions (because it was a bug that was fixed in 6.0.33). Was the fixed made available in Tomcat 7 too? (Can't see it in the changelog). My understanding is that getServletPath and

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Paul Wilson paulalexwil...@gmail.com: On 11 October 2011 10:43, Konstantin Kolinko knst.koli...@gmail.com wrote: I cannot say about various versions (because it was a bug that was fixed in 6.0.33). Was the fixed made available in Tomcat 7 too? (Can't see it in the changelog). I

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 12:08, Konstantin Kolinko knst.koli...@gmail.com wrote: Hm... There are RequestInfoExample servlet and snoop.jsp in the sample webapp. Testing them apparently getPathInfo() still does not return path parameters. http://localhost:8080/examples/jsp/snp;x=y/snoop.jsp

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
Konstantin, Thanks very much for the tips. VirtualWebappLoader worked perfectly. For the record, here's what worked for me: META-INF/context.xml: ?xml version=1.0 encoding=UTF-8? Context Loader className=org.apache.catalina.loader.VirtualWebappLoader

Re: Path Parameters - Servlet API

2011-10-11 Thread Mark Thomas
On 11/10/2011 12:13, Paul Wilson wrote: On 11 October 2011 12:08, Konstantin Kolinko knst.koli...@gmail.com wrote: Hm... There are RequestInfoExample servlet and snoop.jsp in the sample webapp. Testing them apparently getPathInfo() still does not return path parameters.

Re: Loading Super Classes with ClassLoader in Tomcat

2011-10-11 Thread Peter Lavin
Hi Christopher, Pid, Filippo, thanks for your help. I have got this working as required on my Tomcat server. Here is the code that works. public class MyCustomClassLoader extends ClassLoader { public MyCustomClassLoader(ClassLoader contextClassLoader) {

Re: Loading Super Classes with ClassLoader in Tomcat

2011-10-11 Thread Pid
On 11/10/2011 12:59, Peter Lavin wrote: Hi Christopher, Pid, Filippo, thanks for your help. I have got this working as required on my Tomcat server. Here is the code that works. public class MyCustomClassLoader extends ClassLoader { public MyCustomClassLoader(ClassLoader

ssl handshake problem

2011-10-11 Thread Edward Quick
Hi, I have an ssl handshake issue with an application running on tomcat that talks to an ssl site. This site renewed their ssl certificate recently, however it was signed with the G5 and G3 intermediate verisign CA certificates which are imported into the java truststore that my tomcat uses.

Re: parallel webapp initialization

2011-10-11 Thread Mark Thomas
On 11/10/2011 10:02, Felix Schumacher wrote: Hi Alexander, On Tue, 11 Oct 2011 09:20:29 +0200, Alexander Knöller wrote: Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. So if you

SingleSignonValve and webapp session timeout

2011-10-11 Thread Brian Burch
I am using tomcat 6.0.28 (actually the 6.0.28-10ubuntu2 package) as a standalone web server. I am getting timeout behaviour that sort-of makes sense, but doesn't agree with the way I read the servlet spec. I have associated the org.apache.catalina.authenticator.SingleSignOn Valve with my

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 10/11/2011 10:09 AM, Brian Burch wrote: 6. The user tries to refresh the second webapp's page after about 25 minutes, but the GET fails with 403 status and the explanation access to resource has been denied. Apparently, the user's

Re: ssl handshake problem

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edward, On 10/11/2011 9:21 AM, Edward Quick wrote: I have an ssl handshake issue with an application running on tomcat that talks to an ssl site. This site renewed their ssl certificate recently, however it was signed with the G5 and G3

Re: Loading Super Classes with ClassLoader in Tomcat

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 10/10/2011 4:41 PM, Christopher Schultz wrote: I have a question, though, since the default parent ClassLoader of any ClassLoader /should/ be the current thread's context ClassLoader, so none of the above code should be necessary. I was

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/11/2011 1:49 AM, Caldarale, Charles R wrote: From: Violeta Georgieva [mailto:miles...@gmail.com] Subject: Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application I can confirm that in all three

Re: parallel webapp initializa​tion

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/11/2011 12:58 AM, Pid * wrote: On 10 Oct 2011, at 23:36, Christopher Schultz ch...@christopherschultz.net wrote: limit to X number, and negative integers mean all available processors minus X. My first instinct was to say that's

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Brian Burch
On 11/10/11 16:27, Christopher Schultz wrote: Thanks very much for your speedy and informative reply, Christopher. While my question is fresh in your mind, I hope you will not mind too much if I ask a couple of relevant questions to clarify your answers below. -BEGIN PGP SIGNED

Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Rob Tanner
Hi, After moving to a new server, I am getting the error: SSL received a record that exceeded the maximum permissible length. I installed Tomcat 6.0.29 on a new machine and copied over the webapps folder and the keystore from the old 5.5.23 machine. Then I modified server.xml to include the

Tomcat 7.0.22 maven repository

2011-10-11 Thread charlesk40
Hi, Can we get the the 7.0.22 up on the Maven repository? I think the latest one I see is 7.0.21. http://mvnrepository.com/artifact/org.apache.tomcat.extras/tomcat-extras-juli Thank you. -- View this message in context:

Re: Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Mark Thomas
On 11/10/2011 18:23, Rob Tanner wrote: Hi, After moving to a new server, I am getting the error: SSL received a record that exceeded the maximum permissible length. I installed Tomcat 6.0.29 on a new machine and copied over the webapps folder and the keystore from the old 5.5.23

Re: Tomcat 7.0.22 maven repository

2011-10-11 Thread Mark Thomas
On 11/10/2011 18:29, charlesk40 wrote: Hi, Can we get the the 7.0.22 up on the Maven repository? Already done. I think the latest one I see is 7.0.21. The repository you are looking at hasn't sync'd yet. http://mvnrepository.com/artifact/org.apache.tomcat.extras/tomcat-extras-juli

Re: Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Rob Tanner
That was a simple enough fix. Thank you. ~ Rob On 10/11/11 10:31 AM, Mark Thomas ma...@apache.org wrote: On 11/10/2011 18:23, Rob Tanner wrote: Hi, After moving to a new server, I am getting the error: SSL received a record that exceeded the maximum permissible length. I installed

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread André Warnier
Brian Burch wrote: ... But I am having trouble understanding the life cycle of a Session. If the browser has navigated away from my static webapp container, into a completely different webapp container, why does it still have an associated Session? Probably because the first webapp has no

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Brian Burch br...@pingtoo.com: 2. My root welcome page does an html redirect to a small webapp called static, which has its own web.xml. The redirect is to a page which is protected by a security contraint which requires a FORM-based login (this server only has an SSL Connector

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 10/11/2011 12:35 PM, Brian Burch wrote: OK, I think I understand the distinction you are making, which is consistent with there being a Session array (rather than a simple field) in the SingleSignOnEntry class. I haven't looked at the

Re: Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, Goad to see you got your new server working. I do have some further comments if you're still around: On 10/11/2011 1:23 PM, Rob Tanner wrote: I installed Tomcat 6.0.29 If you were upgrading from 5.5 to something else, why not go up to 6.0.33,

Rsecurity breach on tomcat 6.0.26

2011-10-11 Thread zach Li
Hi, we are using tomcat 6.0.26 to host a java application. but recently we are experiencing security breach once or twice a week. the issue we are facing is: one user screen(or input) totallly showing up on the different user screen. Those screens have customer sensetive information.

RE: Rsecurity breach on tomcat 6.0.26

2011-10-11 Thread Caldarale, Charles R
From: zach Li [mailto:zach...@hotmail.com] Subject: Rsecurity breach on tomcat 6.0.26 one user screen(or input) totallly showing up on the different user screen. Your webapp is most likely storing references to the request or response objects in static or instance fields of a servlet (or

RE: Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Need help on SSL problem on new server after move from existing server Connector port=443 address=10.171.10.119 debug=4 There is no debug attribute on the Connector element any longer. Nor was it there in

Re: Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/11/2011 5:51 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Need help on SSL problem on new server after move from existing server minSpareThreads=25 maxSpareThreads=75

Re: Tomcat 7.0.22 maven repository

2011-10-11 Thread charlesk40
Just checked today again and they are there. Thanks so much! markt-2 wrote: On 11/10/2011 18:29, charlesk40 wrote: Hi, Can we get the the 7.0.22 up on the Maven repository? Already done. I think the latest one I see is 7.0.21. The repository you are looking at hasn't sync'd

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Brian Burch
On 11/10/11 22:24, Christopher Schultz wrote: Super thoughts, Chris, but thanks also to everyone else who has commented. I really appreciate everyone's contributions because (until now) I felt I was out there on my own, ignorant and stupid. It is reassuring to find that my analysis is not

NPE exception in org.apache.catalina.connector.CoyoteAdapter.service

2011-10-11 Thread viola lu
Hi, Dev: I met an urgent NPE exception in tomcat NIO connector, more details : https://issues.apache.org/bugzilla/show_bug.cgi?id=52009 Appreciate your help! -- viola Apache Geronimo

Re: How to save the log info to log file

2011-10-11 Thread ganu MailList
Thanks 2011/10/11, Pid p...@pidster.com: On 09/10/2011 03:24, ganu MailList wrote: In windows, How to let the tomcat write the catalina log to the log file, I find that in the linux ,the log will be saved to the log file , but in the window 7, the log is print to the console. how to set ?