Re: How to save the log info to log file

2011-10-11 Thread ganu MailList
Thanks 2011/10/11, Pid : > 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 ? > > Inst

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: 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 wi

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

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" maxSpar

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 > > There is no "debug" attribute on the element > any longer. Nor was it there in Tomcat 5.5, so that makes me suspicious of the whole se

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

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. Anyo

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,

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 th

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Brian Burch : > > 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 defined). The st

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 n

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" 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 Tomcat

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 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 m

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: http://old.nabble.com/Tomcat-7.0.22-maven-repository-tp32629315p32629315.h

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 v

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 MESSAGE--

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 > wrote: >> "limit to X number", and negative integers mean "all available >> processors minus X". > > My first instinct was to say "that's crazy, fool!" but

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: 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: 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 > interm

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 >

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 Engin

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.

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. I

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 contex

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) { super(contextClas

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 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/examp

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: Put logging.properties in $TOMCAT_HOME/virtualcp/my-webapp/logging.properties. Works like a charm. Thanks again! Dan On Tue, Oct 11, 2011

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 12:08, Konstantin Kolinko 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 > http://localhost:8080

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Paul Wilson : > On 11 October 2011 10:43, Konstantin Kolinko 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 think it was a part of http://svn.apac

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 10:43, Konstantin Kolinko 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 getContextPath should not >

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 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 >

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 so

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 the

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

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Dan Checkoway : > 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 the manager webapp

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 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 5my-

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 i

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 exam

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 10.