Re: [ANN] Tomcat 4.1.22 Alpha released

2003-03-11 Thread Henri Gomez
Costin Manolache wrote: Henri Gomez wrote: Henri Gomez wrote: Remy Maucherat wrote: Tomcat 4.1.22 Alpha is now available for testing. Changes over 4.1.21 include: - Fix for mangling with JSPC - Fix precompilation with tag libraries packaged in JARs - Fix JDBC store thread safety bug which

Re: JK2 for AOLserver 4.0

2003-03-11 Thread Henri Gomez
Alexander Leyke wrote: Hello, I am a developer at AOL and have been recently working on a JK2 family module for AOLserver. The module is ready now and I'd like to take steps necessary to contribute the sources to Tomcat project. I read the guidelines for contribution, but still am a bit

Tomcat as it's own apache subproject ?

2003-03-11 Thread Henri Gomez
Did some of you ever think that Tomcat could became a direct Apache subproject, like ant ? It seems Maven follow the same way. As such having Tomcat as a direct Apache projects will allow a Tomcat PMC ? Costin, Remy, other commiters, what do you think ?

DO NOT REPLY [Bug 17867] New: - new virtual host doesn't work after restart

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17867. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17860] - JAVA_ENDORSED_DIRS overrides jdk1.4's default java.endorsed.dirs property

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17860. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17860] - JAVA_ENDORSED_DIRS overrides jdk1.4's default java.endorsed.dirs property

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17860. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17873] New: - jar_cache files that are deleted are kept open by the tomcat java process

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17873. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

JDBCRealm getPassword() unimplemented in Tomcat 4.1.18 (returns null)

2003-03-11 Thread Uddhav Shirname
Hi, I am unable to authenticate using digest authentication. I browsed through the code and found that getPassword() method in JDBCRealm returns null (harcoded). I am using the following configuration. Am I missing something somewhere? server.xml: -- Realm

Re: JDBCRealm getPassword() unimplemented in Tomcat 4.1.18 (returns null)

2003-03-11 Thread Uddhav Shirname
Hi, I have implemeted the methods getPassword() and getPrincipal() in JDBCRealm. Digest authentication works for me with these changes. One thing that still doest work is if I have stored the password in encrypted form in the database. I have doubts if this will always work in the scenario

Re: cvs commit: jakarta-tomcat-4.0/webapps/admin/valve accessLogValve.jspremoteAddrValve.jsp remoteHostValve.jsp requestDumperValve.jsp singleSignOnValve.jsp

2003-03-11 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: amyroh 2003/03/11 06:15:45 Modified:webapps/admin banner.jsp webapps/admin/WEB-INF/classes/org/apache/webapp/admin Lists.java TomcatTreeBuilder.java

DO NOT REPLY [Bug 17878] New: - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: JK2 for AOLserver 4.0

2003-03-11 Thread Costin Manolache
Alexander Leyke wrote: I am a developer at AOL and have been recently working on a JK2 family module for AOLserver. The module is ready now and I'd like to take steps necessary to contribute the sources to Tomcat project. I read the Just send the patches and the new files. You can open an

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java ServerLifecycleListener.java

2003-03-11 Thread Costin Manolache
[EMAIL PROTECTED] wrote: amyroh 2003/03/10 19:25:52 Modified:catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java ServerLifecycleListener.java Log: Set to use JSR77 names as default. Please make sure tomcat 5 is also updated. I would do

Re: Tomcat as it's own apache subproject ?

2003-03-11 Thread Costin Manolache
Henri Gomez wrote: Did some of you ever think that Tomcat could became a direct Apache subproject, like ant ? It seems Maven follow the same way. As such having Tomcat as a direct Apache projects will allow a Tomcat PMC ? Costin, Remy, other commiters, what do you think ? I'm

Re: Tomcat as it's own apache subproject ?

2003-03-11 Thread Henri Gomez
Costin Manolache wrote: Henri Gomez wrote: Did some of you ever think that Tomcat could became a direct Apache subproject, like ant ? It seems Maven follow the same way. As such having Tomcat as a direct Apache projects will allow a Tomcat PMC ? Costin, Remy, other commiters, what do you think

cvs commit: jakarta-tomcat-5 .cvsignore

2003-03-11 Thread remm
remm2003/03/11 09:21:16 Modified:..cvsignore Log: - Add embed to the ignore list. Revision ChangesPath 1.4 +1 -0 jakarta-tomcat-5/.cvsignore Index: .cvsignore === RCS file:

DO NOT REPLY [Bug 17878] - JSPC not working properly with package names

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17878. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: cvs commit: jakarta-tomcat-4.0/webapps/admin/valve accessLogValve.jsp remoteAddrValve.jsp remoteHostValve.jsp requestDumperValve.jsp singleSignOnValve.jsp

2003-03-11 Thread Amy Roh
[EMAIL PROTECTED] wrote: amyroh 2003/03/11 06:15:45 Modified:webapps/admin banner.jsp webapps/admin/WEB-INF/classes/org/apache/webapp/admin Lists.java TomcatTreeBuilder.java

RE: More Clustering Features - feedback wanted

2003-03-11 Thread Jason Corley
Absolutely. I might use the admin app just for that feature (course I'm just a user not a committer). Jason -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 2:58 PM To: Tomcat Developers List Subject: More Clustering Features - feedback

DO NOT REPLY [Bug 17892] New: - contextDestroyed not given time and finalizers not called on shutdown

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17892. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: More Clustering Features - feedback wanted

2003-03-11 Thread Remy Maucherat
Filip Hanik wrote: hey yaall, so I have the basic replication implemented, I'm gonna write some test contexts and also submit a tcp loadbalancer (java) so that people can really play around with it. Sounds good :) For the next set of features I was actually thinking of distributed deployment,

Re: cvs commit: jakarta-tomcat-4.0/webapps/admin/valve accessLogValve.jspremoteAddrValve.jsp remoteHostValve.jsp requestDumperValve.jsp singleSignOnValve.jsp

2003-03-11 Thread Remy Maucherat
Amy Roh wrote: [EMAIL PROTECTED] wrote: Amy, could you talk to someone before making that sort of changes ? The idea is that the stable branch is stable, and that big changes will bring no interesting feature except instability. Why didn't you start doing them in the 5.0 branch and then

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java ServerLifecycleListener.java

2003-03-11 Thread Costin Manolache
Amy Roh wrote: [EMAIL PROTECTED] wrote: amyroh 2003/03/10 19:25:52 Modified:catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java ServerLifecycleListener.java Log: Set to use JSR77 names as default. Please make sure tomcat 5 is also

DO NOT REPLY [Bug 17900] New: - keys() will not return first session

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17900. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: cvs commit: jakarta-tomcat-4.0/webapps/admin/valve accessLogValve.jsp remoteAddrValve.jsp remoteHostValve.jsp requestDumperValve.jsp singleSignOnValve.jsp

2003-03-11 Thread Amy Roh
I don't see anything you get in return for changing the names. Sure, it's more consistent, but it doesn't help stability (hopefully, 4.1.x has now entered the mature phase of its lifecycle), so I don't see any incentive. The changes can be easily reverted based on the TOMCAT_4_1_22

Re: More Clustering Features - feedback wanted

2003-03-11 Thread Glenn Nielsen
Filip Hanik wrote: hey yaall, so I have the basic replication implemented, I'm gonna write some test contexts and also submit a tcp loadbalancer (java) so that people can really play around with it. For the next set of features I was actually thinking of distributed deployment, currently TC5

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_ajp13.c

2003-03-11 Thread costin
costin 2003/03/11 16:41:32 Modified:jk/native2/common jk_worker_ajp13.c Log: Check for null - because in C you don't get NullPointerExceptions :-) Revision ChangesPath 1.47 +1 -1 jakarta-tomcat-connectors/jk/native2/common/jk_worker_ajp13.c Index:

Re: Tomcat as it's own apache subproject ?

2003-03-11 Thread Glenn Nielsen
Henri Gomez wrote: Did some of you ever think that Tomcat could became a direct Apache subproject, like ant ? It seems Maven follow the same way. As such having Tomcat as a direct Apache projects will allow a Tomcat PMC ? Costin, Remy, other commiters, what do you think ? That is a tempting

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session JDBCStore.java

2003-03-11 Thread glenn
glenn 2003/03/11 17:19:03 Modified:catalina/src/share/org/apache/catalina/session JDBCStore.java Log: Fix Bug 17900, first session skipped Revision ChangesPath 1.11 +7 -10

RE: More Clustering Features - feedback wanted

2003-03-11 Thread Filip Hanik
-Original Message- From: Glenn Nielsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 4:36 PM To: Tomcat Developers List Subject: Re: More Clustering Features - feedback wanted Filip Hanik wrote: hey yaall, so I have the basic replication implemented, I'm gonna

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session JDBCStore.java

2003-03-11 Thread glenn
glenn 2003/03/11 17:21:58 Modified:catalina/src/share/org/apache/catalina/session JDBCStore.java Log: Fix Bug 17900, first session skipped Revision ChangesPath 1.5 +7 -10

cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.1.txt

2003-03-11 Thread glenn
glenn 2003/03/11 17:23:35 Modified:.RELEASE-NOTES-4.1.txt Log: Update release notes Revision ChangesPath 1.63 +5 -1 jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt Index: RELEASE-NOTES-4.1.txt

DO NOT REPLY [Bug 17900] - keys() will not return first session

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17900. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

JAAS Auth

2003-03-11 Thread Costin Manolache
Hi, I'm close to get JAAS realm and the memory LoginModule working - if I remember correctly we agreed to make JAAS the default for 5.0 ( I don't remember any objections ). I never tried it in 4.x - but from the code and code I strongly doubt it works. There is one change I would like to make.

RE: JAAS Auth

2003-03-11 Thread Filip Hanik
Just an FYI: In JBoss JAAS doesn't really work as expected, if you log in under a context say mywar | -protected -unprotected then getPrincipal() returns null for the unprotected subcontext(directory), but returns the principal under the secured subcontext. we don't want that to

Re: JAAS Auth

2003-03-11 Thread David Graff
Costin, Sorry to mail you directly, but this doesn't seem like a major group discussion kind of thing. At work I'm doing a project that has an interesting set of criteria for user authentication that I haven't really seen a way to do with JAAS readily. Basically it boils down to this, a user

DO NOT REPLY [Bug 14616] - Redirects should be issued prior to authentication challenges

2003-03-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14616. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

4.1 authentication bug / bug 14616

2003-03-11 Thread Keith Wannamaker
Greetings, I brought this up in November. Remy and I have a disagreement on how important fixing this bug is. I want to see if there is a quorum of other committers who understand the problem and think it should be fixed prior to the next stable build release of 4.1. The immediate problem is

RE: JAAS Auth

2003-03-11 Thread Costin Manolache
Filip Hanik wrote: Just an FYI: In JBoss JAAS doesn't really work as expected, if you log in under a context say mywar | -protected -unprotected then getPrincipal() returns null for the unprotected subcontext(directory), but returns the principal under the secured

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardSession.java

2003-03-11 Thread jfarcand
jfarcand2003/03/11 19:53:15 Modified:catalina/src/share/org/apache/catalina/session StandardSession.java Log: Forgot to commit this one. Add a doPrivileged block. Revision ChangesPath 1.14 +18 -6

Re: JDBCRealm getPassword() unimplemented in Tomcat 4.1.18 (returns null)

2003-03-11 Thread Uddhav Shirname
Hi, Does JDBCRealm realm work for DIGEST authentication scheme(I have passwords stored in cleartext form. JDBCRealm works with BASIC authenctication scheme though)? I find the corresponding coding partially implemented. IF it works for for someone, could you please guide me on how you made it

Re: 4.1 authentication bug / bug 14616

2003-03-11 Thread Costin Manolache
I think it is reasonable to fix it. This can be serious - if someone relies on application isolation ( like a hosting environment ), the consequences can be really bad, with one webapp guessing the credentials of another one. The fix seems reasonably simple and clean. Costin Keith Wannamaker

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core ContainerBase.java

2003-03-11 Thread costin
costin 2003/03/11 22:04:31 Modified:catalina/src/share/org/apache/catalina/core ContainerBase.java Log: Forgive duplicated start() calls. Nobody is hurt Revision ChangesPath 1.8 +25 -6

Re: 4.1 authentication bug / bug 14616

2003-03-11 Thread Bill Barker
- Original Message - From: Costin Manolache [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 8:52 PM Subject: Re: 4.1 authentication bug / bug 14616 I think it is reasonable to fix it. This can be serious - if someone relies on application isolation ( like a

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java

2003-03-11 Thread costin
costin 2003/03/11 22:24:15 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: - forgive duplicated start() - remove unused imports ( thanks Idea ) - Add support for a defaultWebXml configuration option. It adds a bit

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardHost.java

2003-03-11 Thread costin
costin 2003/03/11 22:28:55 Modified:catalina/src/share/org/apache/catalina/core StandardHost.java Log: - remove unused imports - switch to commons-logging - lazy creation of the deployer. I did it because of some class loader problems ( but the problem

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader WebappLoader.java

2003-03-11 Thread costin
costin 2003/03/11 22:33:37 Modified:catalina/src/share/org/apache/catalina/loader WebappLoader.java Log: Few getters ( Remy: don't panic, I'm not changing the loader ! ). The array will collect the loaders that are set into the class loader and allow

Problems in installing DBPrism on Tomcat

2003-03-11 Thread Muhammad Riyaz Ahsan
I am trying to intall DBPrism for Tomcat. The installation instruction says build dpls.ear, executing $PRISM_HOME/applications/build_dpls.sh (or .bat on windows) extract dpls.war, unziping dpls.ear file generated into $PRISM_HOME/bin. Move to the directory $TOMCAT_HOME/webapps and execute jar

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans ServerLifecycleListener.java

2003-03-11 Thread costin
costin 2003/03/11 22:41:09 Modified:catalina/src/share/org/apache/catalina/mbeans ServerLifecycleListener.java Log: Deal with the case when Service is used to start the server ( no Server ). Remove one more use of the ServerFactory - we already know the

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup ContextConfig.java

2003-03-11 Thread costin
costin 2003/03/11 23:12:28 Modified:catalina/src/share/org/apache/catalina/startup ContextConfig.java Log: - cleanup imports - use a normal properties for authenticators - what's with the resource bundle ??? - use the cleaner API in digester to use the

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm GenericPrincipal.java

2003-03-11 Thread costin
costin 2003/03/11 23:14:18 Modified:catalina/src/share/org/apache/catalina/realm GenericPrincipal.java Log: - more info in toString() - constructor without realm Revision ChangesPath 1.2 +26 -6

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans mbeans-descriptors.xml

2003-03-11 Thread costin
costin 2003/03/11 23:21:52 Modified:catalina/src/share/org/apache/catalina/mbeans mbeans-descriptors.xml Log: A bigger change - expose more info to JMX. Some features may break in /admin, I'll do more tests. - ClassNameMBean is no longer needed, the

Re: 4.1 authentication bug / bug 14616

2003-03-11 Thread Costin Manolache
Bill Barker wrote: I think it is reasonable to fix it. This can be serious - if someone relies on application isolation ( like a hosting environment ), the consequences can be really bad, with one webapp guessing the credentials of another one. The fix seems reasonably simple and clean.

cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5 CoyoteAdapter.java

2003-03-11 Thread billbarker
billbarker2003/03/11 23:50:38 Modified:coyote/src/java/org/apache/coyote/tomcat5 CoyoteAdapter.java Log: Port cookie-validitity check from 4.1 branch. Revision ChangesPath 1.12 +18 -12