RE: Proposed name encoding patch

2001-01-19 Thread Tal Dayan
Yes, this may work. Just remember to encode the escape char '_' as well even though it is a valid java id char. Otherwise, the mapping may not be unique. Tal -Original Message- From: Steve Downey [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 10:50 AM To: '[EMAIL

Security problem

2001-01-19 Thread Andrea Barbieri
HI to all, i have found some problem in configuring security on site (Sparc Solaris 5.7) with Tomcat 3.2 (in virtual host). Everything goes Ok, but when I tried to configure Basic Realm on a particular Servlet class or sub dir of WEB-INF i didn't found any solution. Is it possible to keep in

RE: cvs commit: jakarta-tomcat RELEASE-PLAN-3.3

2001-01-19 Thread horn_ken
I also think it would be good idea to require Jasper's JspServlet still function properly if used in Tomcat 3.3, even though Tomcat 3.3 now uses an interceptor to manage JSP compilation. (Jasper is still used for translation to servlet source, but the interceptor controls the rest). +1 (We

RE: Rollover for each day ? Is this possible ??

2001-01-19 Thread Ceki Gulcu
Jim, Ooops! I got a DateRollingAppender from you too? Eirik Lygre has also sent me one. Roberto Leong has too. Their contributions are attached. Jim, can you please repost your contribution on this list? I seem to have lost it. Sorry, I haven't been handling this item particularly well. What

Re: Rollover for each day ? Is this possible ??

2001-01-19 Thread Anders Kristensen
A couple of comments. JDK 1.3 comes with timer classes in java.util.Timer and TimerTask. They don't have the functionality of cron but that could be built on top if necessary. Using the timer infrastructure of java.util has the advantage that fewer threads will be created overall in a system, and

Re: Rollover for each day ? Is this possible ??

2001-01-19 Thread eirik . lygre
Since I'm partly to blame :-), my few cents: 1) I don't have any strong opinions about threads vs checking each-time. I guess I chose checking each time because it seemed simpler to implement. 2) My appender uses a configurable file format, making it possible to customize the file format.

RE: Interceptors

2001-01-19 Thread Paulo Gaspar
As a "piping" mechanism (as opposed to a "hooking" one) the kind of thing Donald described is my favorite one. My other $0.02 are that I agree 100% with Jon on this. People will get confused if you have 2 different ways of using valves from a minor version to the other. Have fun, Paulo Gaspar

RE: Interceptors

2001-01-19 Thread Paulo Gaspar
Over the weekend I will start having a look at 3.x HEAD. If you do not think that document is urgent and no one faster at doing it pops up, I can try writing something like that. Have fun, Paulo Gaspar P.S.: BTW, I was also refering to specialized events has in Swing. That is the kind of thing

Tomcat 4.0 w/Apache question

2001-01-19 Thread Matthew Dornquast
Couple of simple questions to help us get TC 4.0 going like we had for Tomcat 3.1 1. Which Apache connectors can we use to talk to TC 4.0? I know of mod_jserv, mod_jk, and mod_webapp. Which of these work with TC4.0 and which one is best given our requirements. 2. I need to set up the

BugRat Report #805 has been filed.

2001-01-19 Thread BugRat Mail System
Bug report #805 has just been filed. You can view the report at the following URL: http://znutar.cortexity.com/BugRatViewer/ShowReport/805 REPORT #805 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: serious

Call for volunteers

2001-01-19 Thread cmanolache
Hi, As you know, a number of people expressed interest on releasing a new dot version of tomcat3. They believe that the changes made so far to the main branch are making the code more maintainable and faster than 3.2. This cannot happen without your help. Before making an official proposal and

Re: Call for volunteers

2001-01-19 Thread Andrea Barbieri
Ciao a tutti, hi to you Costin: i can help for points 3. Code review/Documentation: The code is not perfect, but it should do its job. Reading the tomcat.core and making sure it's ok is essential. 5. Testing your application with tomcat :-) ( this is probably a better and more important test

RE: Call for volunteers

2001-01-19 Thread Mike Braden
From the user side I'll help with 4,7 as much as I can. (Solaris 8 sparc, x86 - HP-UX 11 possible) -- Mike Braden CNE, MCP+I, MCSE, CCNA, Sun Comp 2k Enterprise E10k Utenzi 808 Aviation Parkway Suite 1100 PO Box 13479 Research Triangle Park, NC 27709 [EMAIL PROTECTED] -Original

RE: Call for volunteers

2001-01-19 Thread GOMEZ Henri
1. Bug fixes. At least 3 commiters will volunteer to integrate the patches that are sent and do fixes them-self. +1 2. Bug reports/verification: we have a large number of bug reports, most of them against previous versions of tomcat. We need people to look at the bugs, try to reproduce them

Re: Call for volunteers

2001-01-19 Thread Dan Milstein
Costin, Although I don't think I'll have enough time to reproduce and fix general bugs which have been submitted, I will happily commit to working on any mod_jk / ajp13 issues which come up. In other words, I don't think I can be part of the core "release team", but I will definitely

Re: Call for volunteers

2001-01-19 Thread Mike Anderson
Costin, I was planning on doing #4 (along with the netscape plugin) for NetWare. Mike Anderson Senior Software Engineer Platform Services Group [EMAIL PROTECTED] Novell, Inc., the leading provider of Net services software www.novell.com [EMAIL PROTECTED] 01/19/01 09:05AM snip... 4.

Re: Call for volunteers

2001-01-19 Thread Brad Cox
I'd be glad to help with the servlet engine code. At 5:31 PM + 01/19/2001, Andrea Barbieri wrote: Ciao a tutti, hi to you Costin: i can help for points 3. Code review/Documentation: The code is not perfect, but it should do its job. Reading the tomcat.core and making sure it's ok is

Re: Interceptors

2001-01-19 Thread Craig R. McClanahan
Jon Stevens wrote: on 1/18/01 4:28 PM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: If you change the names and parameter orders a little, you have just quoted the new api for javax.servlet.Filter in the 2.3 Proposed Final Draft. I'd be game to change the Valve APIs to conform to

Re: BugRat Report #804 has been filed.

2001-01-19 Thread Hans Bergsten
BugRat Mail System wrote: Bug report #804 has just been filed. You can view the report at the following URL: http://znutar.cortexity.com/BugRatViewer/ShowReport/804 REPORT #804 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State:

Re: BugRat Report #804 has been filed.

2001-01-19 Thread Nick Bauman
Hans, can you stick this tip in BugRat as a comment and close the bug out? On Fri, 19 Jan 2001, Hans Bergsten wrote: Note that you can use single quotes around the attribute value so you don't have to escape double quotes in the value. Hans -- Nicolaus Bauman Software Engineer

Re: Call for volunteers

2001-01-19 Thread Anil Vijendran
[EMAIL PROTECTED] wrote: 6. Jasper: making sure the bugs are integrated and the interceptor works as expected, instead of just being faster. I can review and fix bugs here. Don't have time for anything else. -- Peace, Anil +:-)

Bug with mod_jk and Tomcat?

2001-01-19 Thread Filip Hanik
Dear Tomcat developers, We are using Tomcat/Apache with mod_jk. Apache (1.3.14) is running mod_ssl (2.7.1-1.3.14) with OpenSSL (0.9.6). Tomcat 3.2.1 When a servlet is requested under https://www.mydomain.com:/test/MyServlet and the servlet does a simple

Re: Call for volunteers

2001-01-19 Thread Alex Fernández
I'd like to review code, if only to understand the inner workings in Tomcat. Of course, I'd like to test our application -- it's a load tester, so performance is critical. Cheers, Alex. Paulo Gaspar wrote: I can help with these ones (3 and 5) and maybe a bit with "7. User

Re: Interceptors

2001-01-19 Thread Jon Stevens
on 1/19/01 9:38 AM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: Impact on the overall 4.0 release cycle is more problematic -- I think we would want to do this in a new beta round and add a week of intensive testing to make sure nothing got destabilized. Remember that Sun does not

Re: Interceptors

2001-01-19 Thread Craig R. McClanahan
Jon Stevens wrote: on 1/19/01 9:38 AM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: Impact on the overall 4.0 release cycle is more problematic -- I think we would want to do this in a new beta round and add a week of intensive testing to make sure nothing got destabilized.

Re: Catalina + Apache

2001-01-19 Thread Nick Bauman
Craig, These design goals are AWESOME. It makes much more sense to do this way. However, I _did_ do this as you mentioned: I have *.jsp and *.j mapped to specific servlets in my ROOT/WEB-INF/web.xml and all I got was the output of index.jsp as something Netscape had to download. telnetting to

Re: Interceptors

2001-01-19 Thread Jon Stevens
on 1/19/01 11:51 AM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: Agreed ... I'm talking about the *Apache Tomcat* release cycle, where we agreed in the release plan to have a feature freeze / bug fix round on 4.0, and work towards a production quality release quickly. API surgery is not

Re: Catalina + Apache

2001-01-19 Thread Craig R. McClanahan
Nick Bauman wrote: Craig, These design goals are AWESOME. It makes much more sense to do this way. However, I _did_ do this as you mentioned: I have *.jsp and *.j mapped to specific servlets in my ROOT/WEB-INF/web.xml and all I got was the output of index.jsp as something Netscape had to

Re: Call for volunteers

2001-01-19 Thread Hans Bergsten
[EMAIL PROTECTED] wrote: [...] This mail doesn't "commit" yourself to anything - I'm asking for your intention to help and what would you like to help with. I think this is a great way to get a feel for the amount of support before putting it up for a formal vote. Based on the number of

Re: Interceptors

2001-01-19 Thread Remy Maucherat
Quoting Jon Stevens [EMAIL PROTECTED]: on 1/19/01 11:51 AM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: Agreed ... I'm talking about the *Apache Tomcat* release cycle, where we agreed in the release plan to have a feature freeze / bug fix round on 4.0, and work towards a

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Valve APIs

2001-01-19 Thread Remy Maucherat
Quoting "Craig R. McClanahan" [EMAIL PROTECTED]: THE PROPOSED DESIGN PATTERN: This is an adaptation of the pattern that Peter Donald proposed yesterday, to be slightly more aligned with the Filter API: public interface Valve {-- similar to javax.servlet.Filter public

Re: Interceptors

2001-01-19 Thread Craig R. McClanahan
Remy Maucherat wrote: Quoting Jon Stevens [EMAIL PROTECTED]: on 1/19/01 11:51 AM, "Craig R. McClanahan" [EMAIL PROTECTED] wrote: Agreed ... I'm talking about the *Apache Tomcat* release cycle, where we agreed in the release plan to have a feature freeze / bug fix round on

Stay Tuned...

2001-01-19 Thread James Duncan Davidson
I've been a bit silent in these days after the PMC meeting.. I've been preparing for a big trip to Dublin/Prague/NYC+LinuxWorld over the next two weeks. Luckily I'll be stuck on a plane for 10 hours later today and will be catching up with all email. Replys will flow in from Dublin. :) Just FYI

[PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Craig R. McClanahan
BACKGROUND: One of the unique (AFAIK) features of Tomcat 3.2 as a servlet container is the fact that you can choose to run Tomcat under a Java SecurityManager (when running under a Java2 JDK), with corresponding fine-grained control over the resources that a particular web application can

Re: Interceptors

2001-01-19 Thread Remy Maucherat
Quoting "Craig R. McClanahan" [EMAIL PROTECTED]: You would still need to wrap the response, for example, if your Valve wanted to modify the data content of the response (such as applying compression, or an XSLT transformation). Ok. BTW, I think compression should be part of the HTTP

RE: Catalina + Apache

2001-01-19 Thread GOMEZ Henri
I'd like to see the fixes for mod_webapp about cookies. I've asked many time on the list about the problem but never got any answers -( "...handing C++ to the average programmer seems roughly comparable to handing a loaded .45 to a chimpanzee."

Re: Call for volunteers

2001-01-19 Thread Alex Chaffee
+1 I'm using Tomcat 3.2 on several production sites and I'm not ready to switch to 4.x yet. I'm sorry I haven't had the time to contribute like I did last summer, but I'll see if I can scrounge up some non-billable hours. At any rate, I can definitely help with app testing, and hopefully

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Remy Maucherat
Quoting "Craig R. McClanahan" [EMAIL PROTECTED]: org.apache.catalina.facade.XFacade Nice package name. I wonder where you got it :) * Pass the internal object to the constructor (the facade will be a wrapper around it). * Implement the appropriate servlet API interface (so the facade

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Kief Morris
Craig R. McClanahan typed the following on 02:00 PM 1/19/2001 -0800 THE PROPOSAL: For each Servlet API interface that represents an internal Catalina object exposed to an application object, create a new org.apache.catalina.facade.XFacade class according to the following basic pattern: *

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Kurt Schrader
On Fri, 19 Jan 2001, Remy Maucherat wrote: Since it's the API changes day, may I then suggest that we just merge back all the changes done so far in 4.1, which deal with replacing the resources package with JNDI context. It works, and it's solid. I don't feel like we should leave a whole

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Craig R. McClanahan
Kurt Schrader wrote: On Fri, 19 Jan 2001, Remy Maucherat wrote: Since it's the API changes day, may I then suggest that we just merge back all the changes done so far in 4.1, which deal with replacing the resources package with JNDI context. It works, and it's solid. I don't feel like we

sendRedirect to PDF - repeats 3 times?

2001-01-19 Thread Dave Frankson
Hello all,I am experiencing a strange error, and I'm hoping someone can point me in the right direction.Using Tomcat 3.2.1 or the latest 3.3, I have a simple servlet that has two lines of code in its doGet method which forwards a request to a pdf: System.out.println("Forwarding to the

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Remy Maucherat
Quoting "Craig R. McClanahan" [EMAIL PROTECTED]: Kurt Schrader wrote: So what do we need a 4.1 branch for then? If we take the action Remy recommends, we won't. I'm +1 for this (it will certainly reduce the effort of double-committing all the changes), if we're willing to accept the

sendRedirect, include and forward don't work with mod_jk and non standard ssl port

2001-01-19 Thread Filip Hanik
neither of the above functions work properly when I am using a non standard port for https (ex: 445 instead of 443) Apache 1.3.14 Tomcat 3.2.1 + mod_jk.so Open SSL 0.9.6 mod_ssl 2.7.?-1.3.14 any idea why this is happening? Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical

The case of the disappearing webapps...

2001-01-19 Thread David Weinrich
Howdy, I have some weird behavior with tomcat-4.x ( both 4.0 and 4.1 from cvs ) if I do the following: * place a .war file in the webapps directory ( in this case the struts .war files ). * startup catalina normally...everything works fine. * shutdown catalina. * startup catalina

Re: sendRedirect, include and forward don't work with mod_jk and non standard ssl port

2001-01-19 Thread Dan Milstein
Filip, Which connection protocol are you using? ajp12? ajp13? jserv? -Dan Filip Hanik wrote: neither of the above functions work properly when I am using a non standard port for https (ex: 445 instead of 443) Apache 1.3.14 Tomcat 3.2.1 + mod_jk.so Open SSL 0.9.6 mod_ssl

Re: sendRedirect, include and forward don't work with mod_jk and non standard ssl port

2001-01-19 Thread Filip Hanik
ajp12 should I try ajp13? Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical Architect [EMAIL PROTECTED] - Original Message - From: "Dan Milstein" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:18 PM Subject: Re: sendRedirect, include and

Re: sendRedirect, include and forward don't work with mod_jk and non standard ssl port

2001-01-19 Thread Filip Hanik
this is what happens, the sendRedirect or include or forward switches the url from saying https to say http even though the port is http /Filip Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port.

Re: [PROPOSAL] Tomcat 4.0-beta API Change: Security Manager Facades

2001-01-19 Thread Jason Brittain
Remy Maucherat wrote: Quoting "Craig R. McClanahan" [EMAIL PROTECTED]: org.apache.catalina.facade.XFacade Nice package name. I wonder where you got it :) :) Unless I understand wrong, isn't a "facade" already a well known feature that allows Tomcat 3.x to use more than one

Re: The case of the disappearing webapps...

2001-01-19 Thread David Weinrich
Ok, I think I have found the problem, and I am guessing the following is happening: 19-Jan-2001 15:10:44 StandardHost[localhost]: Undeploying web application at context path /struts-test 19-Jan-2001 15:10:44 StandardHost[localhost]: Removing expanded directory

Re: sendRedirect, include and forward don't work with mod_jk and non standard ssl port

2001-01-19 Thread Dan Milstein
I don't know if that will fix the problem, but if you could try that (i.e. using ajp13 and seeing if you still have this problem), that would definitely help me narrow this down (and since there seem to be some basic redirect problems in TC 3.2 / mod_jk, that would be very, very helpful).

Re: sendRedirect, include and forward don't work with mod_jk and non standard ssl port

2001-01-19 Thread Filip Hanik
Good catch, it works fine with the Ajp13 protocol. so now we know where the problem is. thanks a lot for your help Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical Architect [EMAIL PROTECTED] - Original Message - From: "Dan Milstein" [EMAIL PROTECTED] To: [EMAIL

RE: Interceptors

2001-01-19 Thread Paulo Gaspar
Damn, that is somethink I would like very much to see. Many people indent HTML with spaces - those who code by hand. Some of them (size conscious) unindent them for production and sometimes partially indent again for fixing something! And we often use "font" tags everywhere because of browsers

Re: sendRedirect to PDF - repeats 3 times?

2001-01-19 Thread Dan Milstein
Are you using TC in standalone mode? If not, are you using mod_jk? If so, which protocol are you using for your web server talk to Tomcat (ajp13? ajp12? jserv?). Now that I mention it, what web server are you using? Thanks, -Dan Dave Frankson wrote: Hello all, I am experiencing a

RE: Call for volunteers

2001-01-19 Thread Michael Percy
Costin, It was good meeting and speaking with you at the PMC meeting. I would be more than happy to help with the following: 2. Bug reports/verification: we have a large number of bug reports, most of them against previous versions of tomcat. We need people to look at the bugs, try to

welcome-file

2001-01-19 Thread Jayesh
I tried configuring welcome-file attribute like below. welcome-file-list welcome-file HomePage.jsp /welcome-file /welcome-file-list It doesn't work. Please help. Jayesh _ Do You Yahoo!? Get your free

cvs commit: jakarta-tomcat/src/tests/share/gtest GTest.java

2001-01-19 Thread costin
costin 01/01/19 18:35:36 Added: src/tests/share/gtest GTest.java Log: Added missing file, needed to run the self-test ( was moved from share/ since was not a required part of tomcat, and is used only in the test app ). There are many enhancements needed to make it

Tomcat bug - corrupt library

2001-01-19 Thread Filip Hanik
Hi, if you add in a corrupt library to WEB-INF/lib/ then tomcat will not process the remining of the libraries (jar, zip files) and will start up without notifying you, later when you try to load a class that was in a library that didn't get loaded you get a null pointer. I had a hard time