cvs commit: jakarta-tomcat-4.0/webapps/admin/users group.jsp groups.jspf role.jsp roles.jspf user.jsp users.jspf

2002-02-09 Thread craigmcc

craigmcc02/02/10 00:06:21

  Modified:catalina/src/share/org/apache/catalina Group.java User.java
   catalina/src/share/org/apache/catalina/mbeans
mbeans-descriptors.xml
   catalina/src/share/org/apache/catalina/users
AbstractGroup.java AbstractUser.java
MemoryGroup.java MemoryUser.java
   webapps/admin/WEB-INF struts-config.xml
   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users
GroupForm.java ListGroupsAction.java
ListRolesAction.java ListUsersAction.java
SaveGroupAction.java SaveRoleAction.java
SaveUserAction.java SetUpGroupAction.java
SetUpRoleAction.java SetUpUserAction.java
UserForm.java
   webapps/admin/users group.jsp groups.jspf role.jsp
roles.jspf user.jsp users.jspf
  Added:   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users
UserUtils.java
  Log:
  Complete full support for associating roles with users and groups, and
  associating groups with users.  Modulo any remaining bugs, the "User
  and Group Administration" section of the admin app should be fully
  functional.
  
  Revision  ChangesPath
  1.5   +10 -4 
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Group.java
  
  Index: Group.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Group.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Group.java3 Feb 2002 00:56:57 -   1.4
  +++ Group.java10 Feb 2002 08:06:19 -  1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Group.java,v 1.4 
2002/02/03 00:56:57 craigmcc Exp $
  - * $Revision: 1.4 $
  - * $Date: 2002/02/03 00:56:57 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Group.java,v 1.5 
2002/02/10 08:06:19 craigmcc Exp $
  + * $Revision: 1.5 $
  + * $Date: 2002/02/10 08:06:19 $
*
* 
* The Apache Software License, Version 1.1
  @@ -74,7 +74,7 @@
* inherits the {@link Role}s assigned to the group.
*
* @author Craig R. McClanahan
  - * @version $Revision: 1.4 $ $Date: 2002/02/03 00:56:57 $
  + * @version $Revision: 1.5 $ $Date: 2002/02/10 08:06:19 $
* @since 4.1
*/
   
  @@ -157,6 +157,12 @@
* @param role The old role
*/
   public void removeRole(Role role);
  +
  +
  +/**
  + * Remove all {@link Role}s from those assigned to this group.
  + */
  +public void removeRoles();
   
   
   }
  
  
  
  1.5   +16 -4 
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/User.java
  
  Index: User.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/User.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- User.java 3 Feb 2002 00:56:57 -   1.4
  +++ User.java 10 Feb 2002 08:06:19 -  1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/User.java,v 1.4 
2002/02/03 00:56:57 craigmcc Exp $
  - * $Revision: 1.4 $
  - * $Date: 2002/02/03 00:56:57 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/User.java,v 1.5 
2002/02/10 08:06:19 craigmcc Exp $
  + * $Revision: 1.5 $
  + * $Date: 2002/02/10 08:06:19 $
*
* 
* The Apache Software License, Version 1.1
  @@ -75,7 +75,7 @@
* of specific {@link Role}s.
*
* @author Craig R. McClanahan
  - * @version $Revision: 1.4 $ $Date: 2002/02/03 00:56:57 $
  + * @version $Revision: 1.5 $ $Date: 2002/02/10 08:06:19 $
* @since 4.1
*/
   
  @@ -197,11 +197,23 @@
   
   
   /**
  + * Remove all {@link Group}s from those this user belongs to.
  + */
  +public void removeGroups();
  +
  +
  +/**
* Remove a {@link Role} from those assigned to this user.
*
* @param role The old role
*/
   public void removeRole(Role role);
  +
  +
  +/**
  + * Remove all {@link Role}s from those assigned to this user.
  + */
  +public void removeRoles();
   
   
   }
  
  
  
  1.28  +19 -1 
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v
 

Re: Jakarta 2001 PMC: Last chance for correction of voter list.

2002-02-09 Thread Bill Barker


Do votes have to be recieved from the @apache.org address, or can comitters
uses thier real addresses?  AFAIK my @apache.org address is nothing but a
marker for the cvs commit messages.  (Yes, I've spent enough time on *nix
systems to know how to use "Mail".  I am just hoping that I don't have to
re-live the nightmare :}

- Original Message -
From: "Dirk-Willem van Gulik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <*[EMAIL PROTECTED]>
Sent: Saturday, February 09, 2002 2:20 PM
Subject: Jakarta 2001 PMC: Last chance for correction of voter list.


> -BEGIN PGP SIGNED MESSAGE-
>
>
> Please find attached the list of voters eligible to vote in the 2002
> Jakarta PMC. If you see showstopper's, serious typo, etc let us known
> immediately. <[EMAIL PROTECTED]> is what will be used for the Ballot on
> the 12th of February.
>
> Errors are to be send to [EMAIL PROTECTED]
>
> Dw.
>
> Schedule Jakarta PMC 2002:
>
> x   0:00 GMT  - 2002-2-7Nominations close
>
> x   0:00 GMT  - 2002-2-9Publication of candidate list.
> x   Publication of voter's list.
>
> 0:00 GMT  - 2002-2-12   Candidate list final and announced.
> Voter's list final and announced.
> Voters receive their ballots.
> Ballot opens
>
> 0:00 GMT  - 2002-2-19   Ballot closes
>
> 0:00 GMT  - 2002-2-21   Voters receive confirmation of their vote
>
> 0:00 GMT  - 2002-2-22   Final tally made and published.
> 0:00 GMT  - 2002-2-22   Archive handed over to the ASF
> board secretariat.
>
> Abey M. Mullassery abey
> Andrew C. Oliver acoliver
> Adam Murdoch adammurdoch
> Andreas V. Kempf akempf
> Anil Vijendran akv
> Alex Chafee alex
> Amy Roh amyroh
> Anders Kristensen anders
> Andy Armstrong andya
> Andy Riedel ariedel
> Arieh Markel arieh
> Arnout Kuiper arnout
> Arron Bates arron
> Arun Jamwal arun
> Arundhati Bhowmick aruna1
> asmuts asmuts
> Juozas Baliuka baliuka
> Henri Yandell bayard
> Brendan Burns bburns
> B. C. Holmes bcholmes
> Hans Bergsten bergsten
> Bill Barker billbarker
> Bip Thelin bip
> Berin Loritsch bloritsch
> Stefan Bodewig bodewig
> Bojan Smojver bojan
> Jeff Brekke brekke
> Brian Goetz briangoetz
> Kevin Burton burton
> carlson carlson
> Rich Catlett catlett
> Christopher Cain ccain
> Cedric Dumoulin cedric
> Ceki Gulcu ceki
> Charles Benett charlesb
> Christopher Elkins chrise
> Christoph Wilhelms chrisw
> Carl Ludwig cl
> Cory Hubert clhubert
> Casey Lucas clucas
> Christopher Lenz cmlenz
> Eung-ju Park colus
> Conor MacNeill conor
> Costin Manolache costin
> Craig R. McClanahan craigmcc
> Cameron Riley criley
> Chris Taylor cstaylor
> Doug Cutting cutting
> Carsten Ziegeler cziegeler
> Dan Milstein danmil
> Danny Angus danny
> Danny Coward dannyc
> Darrell DeBoer darrell
> DaveB daveb
> Dave Kor davekor
> Dave Bryson dbryson
> Daniel F. Savarese dfs
> David Geary dgeary
> Dion Gillard dion
> Dirk Verbeeck dirkv
> Dave Polito djpolito
> Donald Leslie dleslie
> Daniel Rall dlr
> Dan Mandell dmandell
> Dmitri Plotnikov dmitri
> Dmitry Serebrennikov dmitrys
> Eric Dobbs dobbs
> Peter Donald donaldp
> Eugene Gluzberg drag0n2
> Doug Sale dsale
> Doug Davis dug
> James Duncan Davidson duncan
> David Weinrich dweinr1
> David Winterfeldt dwinterfeldt
> Ed Korthof ed
> Eduardo Pelegri-Llopart eduardop
> Erik Hatcher ehatcher
> Eric Rescorla ekr
> Enver Haase enver
> Federico Barbieri fede
> Fedor Karpelevitch fedor
> Gerhard Froehlich froehlich
> Vasile Gaburici gaburici
> Geir Magnusson Jr. geirm
> Michael McCallum gholam
> Giacomo Pati giacomo
> Glenn Nielsen glenn
> Glenn McAllister glennm
> Glen Stampoultzis glens
> Gonzalo D Guallar gonzalo
> James Todd gonzo
> gerhard.schwarz gschwarz
> Paul Hammant hammant
> Harish Prabandham harishp
> Harmeet Bedi hbedi
> Henning Schmiedehausen henning
> GOMEZ Henri hgomez
> Bernie Hoeneisen hoeneisen
> Diane Holt holtdl
> Justyna Horwat horwat
> Ted Husted husted
> Ilkka Priha ilkka
> ingo ingo
> jariw jariw
> Jazmin Jonson jazmin
> Jim Boutcher jboutcher
> John Castura jcastura
> Jeff Turner jefft
> Sung-Gu Park jericho
> jean-frederic clere jfclere
> Jason Hunter jhunter
> Petr Jiricka jiricka
> Jean-Luc Rochat jluc
> Jeff Martin jmartin
> John McNally jmcnally
> Jim Moore jmoore
> Jon Stevens jon
> Jonathan Locke jonl
> James Strachan jstrachan
> Juergen Pill juergen
> Jason van Zyl jvanzyl
> Keith Wannamaker keith
> Kevin Hammond khammond
> Kief Morris kief
> Chris Kimpton kimptoc
> Kin-Man Chung kinman
> Kasper Nielsen knielsen
> Kurt Schrader kschrader
> Larry Isaacs larryi
> Sean Legassick legassick
> Leif Mortenson leif
> Leonard Richardson leonardr
> Leon Messerschmidt leonm
> Leo Simons leosimons
> lawrence_mccay lmccay
> Josh Lucas lucas
> Jan Luehe luehe
> Luis Arias luis
> Magnús Þór Torfason magnus
> Manveen Kaur manveen
> Marc Saegesser marcs

Re: header value too long - 400 error - is that good?

2002-02-09 Thread Bill Barker

>
> In that case tomcat generates HTTP 400. I checked in
> the source code and it seems that the header value
> size limit is set to 4K.
>
Could you please give more infromation about your setup.  In particular, the
version of Tomcat that you are using, and if applicable, the Connecter you
are using (e.g Apache, IIS).


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 6341] - tomcat dies on startup

2002-02-09 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6341

tomcat dies on startup

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-02-10 06:25 ---
For now, I'm marking this as invalid since if the
invoking command contained a -Dtomcat.home=/path/to/tomcat, 
(with the Mac way of specifing paths of course) then Tomcat should work.  
Please re-open with details of your start-up if you still have a problem.

Alternatively, please give the value of your System.getProperty("os.name") so
that I can add a check to skip trying ".." in this case.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/users deleteGroups.jsp deleteRoles.jsp deleteUsers.jsp groups.jspf listGroups.jspf listRoles.jspf listUsers.jspf users.jspf listGroups.jsp listRoles.jsp listUsers.jsp roles.jspf

2002-02-09 Thread craigmcc

craigmcc02/02/09 21:48:58

  Modified:webapps/admin/WEB-INF struts-config.xml
   webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ApplicationResources_en.properties
   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users
ListGroupsAction.java ListRolesAction.java
ListUsersAction.java SaveGroupAction.java
SaveRoleAction.java SaveUserAction.java
UsersTreeBuilder.java
   webapps/admin/users listGroups.jsp listRoles.jsp
listUsers.jsp roles.jspf
  Added:   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users
DeleteGroupsAction.java DeleteRolesAction.java
DeleteUsersAction.java GroupsForm.java
RolesForm.java UsersForm.java
   webapps/admin/users deleteGroups.jsp deleteRoles.jsp
deleteUsers.jsp groups.jspf listGroups.jspf
listRoles.jspf listUsers.jspf users.jspf
  Log:
  Implement delete functionality for groups, roles, and users.
  
  Revision  ChangesPath
  1.26  +44 -6 jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- struts-config.xml 10 Feb 2002 03:14:11 -  1.25
  +++ struts-config.xml 10 Feb 2002 05:48:57 -  1.26
  @@ -63,6 +63,7 @@
   
   
  +
   
   
   
   
  +
  +
   
   
  +
  +
   
   
  +
   
   
   
  @@ -160,46 +169,60 @@
   path="/userDBRealm.jsp"
   redirect="false"/>
   
  +
   
   
   
   
  +
  +
   
   
   
   
   
   
  +
  +
   
   
   
   
   
   
  +
  +
   
   
   
   
   
   
  +
 
   
   
  @@ -427,18 +450,33 @@
   
   
   
  +
  +
  +
  +
  +
  +
   
   
   
   
   
   
  
  
  
  1.25  +6 -0  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties
  
  Index: ApplicationResources_en.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- ApplicationResources_en.properties10 Feb 2002 03:14:11 -  1.24
  +++ ApplicationResources_en.properties10 Feb 2002 05:48:57 -  1.25
  @@ -177,10 +177,16 @@
   # -- User Database Module --
   users.actions.group.create=Create New Group
   users.actions.group.delete=Delete Existing Groups
  +users.actions.group.list=List Existing Groups
   users.actions.role.create=Create New Role
   users.actions.role.delete=Delete Existing Roles
  +users.actions.role.list=List Existing Roles
   users.actions.user.create=Create New User
   users.actions.user.delete=Delete Existing Users
  +users.actions.user.list=List Existing Users
  +users.deleteGroups.title=Delete Existing Groups
  +users.deleteRoles.title=Delete Existing Roles
  +users.deleteUsers.title=Delete Existing Users
   users.error.attribute.get=Error retrieving attribute {0}
   users.error.attribute.set=Error modifying attribute {0}
   users.error.invoke=Error invoking operation {0}
  
  
  
  1.2   +67 -30
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListGroupsAction.java
  
  Index: ListGroupsAction.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListGroupsAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ListGroupsAction.java 10 Feb 2002 03:18:37 -  1.1
  +++ ListGroupsAction.java 10 Feb 2002 05:48:57 -  1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListGroupsAction.java,v
 1.1 2002/02/10 03:18:37 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/02/10 03:18:37 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListGroupsAction.java,v
 1.2 2002/02/10 05:48:57 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/02/10 05:48:57 $
*
* 
*
  @@ -64,35 +64,58 @@
   
   
   import java.io.IOException;
  -import java.util.ArrayList;
  -import java.util.Iterator;
  -import java.util.Set;
  -import java.util.TreeS

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/users MemoryGroup.java MemoryRole.java MemoryUser.java MemoryUserDatabase.java

2002-02-09 Thread craigmcc

craigmcc02/02/09 19:20:17

  Modified:catalina/src/share/org/apache/catalina/mbeans
MemoryUserDatabaseMBean.java mbeans-descriptors.xml
   catalina/src/share/org/apache/catalina/users
MemoryGroup.java MemoryRole.java MemoryUser.java
MemoryUserDatabase.java
  Log:
  Synch up the server-side changes required by the new admin functionality.
  
  Revision  ChangesPath
  1.4   +10 -9 
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MemoryUserDatabaseMBean.java
  
  Index: MemoryUserDatabaseMBean.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MemoryUserDatabaseMBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MemoryUserDatabaseMBean.java  3 Feb 2002 00:56:57 -   1.3
  +++ MemoryUserDatabaseMBean.java  10 Feb 2002 03:20:17 -  1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MemoryUserDatabaseMBean.java,v
 1.3 2002/02/03 00:56:57 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/02/03 00:56:57 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MemoryUserDatabaseMBean.java,v
 1.4 2002/02/10 03:20:17 craigmcc Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/02/10 03:20:17 $
*
* 
*
  @@ -85,7 +85,7 @@
* org.apache.catalina.users.MemoryUserDatabase component.
*
* @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2002/02/03 00:56:57 $
  + * @version $Revision: 1.4 $ $Date: 2002/02/10 03:20:17 $
*/
   
   public class MemoryUserDatabaseMBean extends BaseModelMBean {
  @@ -216,13 +216,12 @@
*
* @param groupname Group name of the new group
* @param description Description of the new group
  - * @param roles Roles list for the new group
*/
  -public String createGroup(String groupname, String description,
  -  String roles[]) {
  +public String createGroup(String groupname, String description) {
   
   UserDatabase database = (UserDatabase) this.resource;
   Group group = database.createGroup(groupname, description);
  +/*
   if (roles != null) {
   for (int i = 0; i < roles.length; i++) {
   Role role = database.findRole(roles[i]);
  @@ -233,6 +232,7 @@
   group.addRole(role);
   }
   }
  +*/
   try {
   MBeanUtils.createMBean(group);
   } catch (Exception e) {
  @@ -271,13 +271,13 @@
* @param username User name of the new user
* @param password Password for the new user
* @param fullName Full name for the new user
  - * @param roles Roles list for the new user
*/
   public String createUser(String username, String password,
  - String fullName, String roles[]) {
  + String fullName) {
   
   UserDatabase database = (UserDatabase) this.resource;
   User user = database.createUser(username, password, fullName);
  +/*
   if (roles != null) {
   for (int i = 0; i < roles.length; i++) {
   Role role = database.findRole(roles[i]);
  @@ -288,6 +288,7 @@
   user.addRole(role);
   }
   }
  +*/
   try {
   MBeanUtils.createMBean(user);
   } catch (Exception e) {
  
  
  
  1.27  +2 -8  
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mbeans-descriptors.xml3 Feb 2002 00:56:57 -   1.26
  +++ mbeans-descriptors.xml10 Feb 2002 03:20:17 -  1.27
  @@ -6,7 +6,7 @@
   
   
   
  @@ -700,9 +700,6 @@
 
  -  
   
   
   
 
 
  -  
   
   
   
*
* @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2002/02/03 00:56:58 $
  + * @version $Revision: 1.4 $ $Date: 2002/02/10 03:20:17 $
* @since 4.1
*/
   
  @@ -216,17 +216,17 @@
*/
   public String toString() {
   
  -StringBuffer sb = new StringBuffer(" 0) {
  -sb.append(" roles='");
  +sb.append(" roles=\"");
   int n = 0;
   Iterator values = roles.iterator();
   while (values.hasNext()) {
  @@ -236,7 +236

cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin ListGroupsAction.java ListGroupsForm.java ListUsersAction.java ListUsersForm.java SaveUserAction.java SetUpUserAction.java UserForm.java UsersTreeBuilder.java

2002-02-09 Thread craigmcc

craigmcc02/02/09 19:17:12

  Removed: webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ListGroupsAction.java ListGroupsForm.java
ListUsersAction.java ListUsersForm.java
SaveUserAction.java SetUpUserAction.java
UserForm.java UsersTreeBuilder.java
  Log:
  Remove user administration classes that have migrated to the "users"
  sub-package.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users - New directory

2002-02-09 Thread craigmcc

craigmcc02/02/09 19:17:15

  jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users - New 
directory

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/users footer.jsp group.jsp header.jsp listGroups.jsp listRoles.jsp listUsers.jsp role.jsp roles.jspf user.jsp

2002-02-09 Thread craigmcc

craigmcc02/02/09 19:15:04

  Added:   webapps/admin/users footer.jsp group.jsp header.jsp
listGroups.jsp listRoles.jsp listUsers.jsp role.jsp
roles.jspf user.jsp
  Log:
  Migrated (and new) JSP pages for listing and editing groups, roles, and
  users.
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-4.0/webapps/admin/users/footer.jsp
  
<>
  
  
  1.1  jakarta-tomcat-4.0/webapps/admin/users/group.jsp
  
  Index: group.jsp
  ===
  
  
  <%@ page language="java" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %>
  
  
  
  <%@ include file="header.jsp" %>
  
  
  
  
  
  
  
  
  
  


  

  

  

  

 
  

  

  
  
-
  
  
  <%--
  

  
  

  
  --%>

  

  

  
<%@ include file="../buttons.jsp" %>
  
  

   
 
  
  
  

  

  
  
 
  

  

  

  
  

  
  


  

  

  

  

  
  

  

  
  
  

  
  
  

  
<%@ include file="../buttons.jsp" %>
  
  
  
  
  
  <%@ include file="footer.jsp" %>
  
  
  
  
  
  
  
  1.1  jakarta-tomcat-4.0/webapps/admin/users/header.jsp
  
  Index: header.jsp
  ===
  
  
  




  
  
  
  
  1.1  jakarta-tomcat-4.0/webapps/admin/users/listGroups.jsp
  
  Index: listGroups.jsp
  ===
  
  <%@ page language="java" import="java.net.URLEncoder" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %>
  
  
  
  <%@ include file="header.jsp" %>
  
  
  
  
  
  
  
  
  
  

  
 
  

  

 
  
  

  


  -


  

  <%--

  

  --%>

  
  

  

  
  
  
  <%--<%@ include file="../buttons.jsp" %>--%>

  
<%-- Groups List --%>
  

   
 
  

  

  
  

  


  
 
  

  

 
  

  

  

  

  
  <%--   <%@ include file="../buttons.jsp" %>  --%>
  

  
   
  
  
  
  
  
  1.1  jakarta-tomcat-4.0/webapps/admin/users/listRoles.jsp
  
  Index: listRoles.jsp
  ===
  
  <%@ page language="java" import="java.net.URLEncoder" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %>
  
  
  
  <%@ include file="header.jsp" %>
  
  
  
  
  
  
  
  
  
  

  
 
  

  

 
  
  

  


  -


  

  <%--

  

  --%>

  
  

  

  
  
  
  
  <%@ include file="roles.jspf" %>
  
  
  
  
  
  
  
  1.1  jakarta-tomcat-4.0/webapps/admin/users/listUsers.jsp
 

cvs commit: jakarta-tomcat-4.0/webapps/admin/users - New directory

2002-02-09 Thread craigmcc

craigmcc02/02/09 19:14:16

  jakarta-tomcat-4.0/webapps/admin/users - New directory

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin ApplicationResources_en.properties

2002-02-09 Thread craigmcc

craigmcc02/02/09 19:14:11

  Modified:webapps/admin/WEB-INF struts-config.xml web.xml
   webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ApplicationResources_en.properties
  Removed: webapps/admin listGroups.jsp listUsers.jsp user.jsp
  Log:
  Update struts-config.xml, web.xml, and the message resources for the move
  of user database administration stuff to "users" subdirectories, and remove
  the JSP pages that have been migrated.  Subsequent commits will catch up on
  the new pages and classes.
  
  Revision  ChangesPath
  1.25  +107 -46   jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- struts-config.xml 8 Feb 2002 21:30:34 -   1.24
  +++ struts-config.xml 10 Feb 2002 03:14:11 -  1.25
  @@ -51,18 +51,6 @@
   
   
  -
  -
  -
  -
  -
  -
  -
  -
  -
   
   
  @@ -71,10 +59,28 @@
   
   
  -   
  +
   
   
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
 
   
   
  @@ -134,18 +140,6 @@
   path="/blank.jsp"
   redirect="false"/>
   
  -
  -
  -
  -
  -
  -
   
  @@ -166,6 +160,46 @@
   path="/userDBRealm.jsp"
   redirect="false"/>
   
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
 
   
   
  @@ -355,27 +389,6 @@
   
   
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
   
   
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
   
   
   
  
  
  
  1.9   +1 -1  jakarta-tomcat-4.0/webapps/admin/WEB-INF/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/web.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- web.xml   23 Jan 2002 23:06:53 -  1.8
  +++ web.xml   10 Feb 2002 03:14:11 -  1.9
  @@ -51,7 +51,7 @@
 treebuilders
 
   org.apache.webapp.admin.TomcatTreeBuilder,
  -org.apache.webapp.admin.UsersTreeBuilder
  +org.apache.webapp.admin.users.UsersTreeBuilder
   
   
   2
  
  
  
  1.24  +45 -9 
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties
  
  Index: ApplicationResources_en.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ApplicationResources_en.properties8 Feb 2002 21:55:15 -   1.23
  +++ ApplicationResources_en.properties10 Feb 2002 03:14:11 -  1.24
  @@ -135,15 +135,6 @@
   error.mgrMaxSessions.required=Maximum sessions cannot be empty
   error.mgrMaxSessions.format=Maximum sessions not a valid integer!
   error.mgrMaxSessions.range=Maximum sessions seems out of range. Valid range is 
-1 to 100. 
  -usersTreeBuilder.groupsNode=Group Administration
  -usersTreeBuilder.subtreeNode=User and Group Administration
  -usersTreeBuilder.usersNode=User Administration
  -listGroups.title=Groups List
  -listGroups.groupname=Group Name
  -listGroups.description=Description
  -listUsers.title=Users List
  -listUsers.username=Username
  -listUsers.fullName=Full Name
   logger.directory=Directory
   logger.prefix=Prefix
   logger.suffix=Suffix
  @@ -182,3 +173,48 @@
   error.resource.required=Resource Name is required.
   error.resource.javaprefix=Resource must have "java:" prefix.
   error.pathName.required=Path Name is required.
  +
  +# -- User Database Module --
  +users.actions.group.create=Create New Group
  +users.actions.group.delete=Delete Existing Groups
  +users.actions.role.create=Create New Role
  +users.actions.role.delete=Delete Existing Roles
  +users.actions.user.create=Create New User
  +users.actions.user.delete=Delete Existing Users
  +users.error.attribute.get=Error retrieving attribute {0}
  +users.error.attribute.set=Error modifying attribute {0}
  +users.error.invoke=Error invoking operation {0}
  +users.error.groupname.required=Group Name is required
  +users.error.password.required=Password is required
  +users.error.quotes=Double quote characters are not allowed in field values
  +users.error.rolename.required=Role Name is required
  +users.error.token=Transaction submi

cvs commit: jakarta-tomcat-4.0 OUTSTANDING-BUGS-4.0.3.txt OUTSTANDING-BUGS-4.0.2.txt

2002-02-09 Thread remm

remm02/02/09 18:41:39

  Added:   .Tag: tomcat_40_branch OUTSTANDING-BUGS-4.0.3.txt
  Removed: .Tag: tomcat_40_branch OUTSTANDING-BUGS-4.0.2.txt
  Log:
  - Rename the outstanding bug list.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +28 -0 jakarta-tomcat-4.0/Attic/OUTSTANDING-BUGS-4.0.3.txt
  
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




header value too long - 400 error - is that good?

2002-02-09 Thread Slawek Zachcial

Hi,

I have the following problem. I think it's more for
Tomcat developers than for users so I'm posting it
here.

Let's say you have three servers (not Tomcat :-).
dev1.toto.com, dev2.toto.com, dev3.toto.com. Each of
these servers sets a very long permanent cookie on
client's machine. The client uses all three servers.
Now, let's say you have your great app running on
Tomcat: mytomcatapp.toto.com.

Finally let's say the cookie domain for devX is set to
toto.com.

So all the cookies (from devX) are sent back to your
tomcat app when you try to access its pages. 

In that case tomcat generates HTTP 400. I checked in
the source code and it seems that the header value
size limit is set to 4K.

The bottom line is that some other web applications
may prevent your app users to access your tomcat app.
I had that experience :-(((.

Maybe the "400 error" behaviour should be slightly
modified. Instead of sending this error maybe only 4K
should be read from header value? But I guess there
may be some other concerns behind the scene (ex.
security).

cheers,
slawek

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm SetUpUserDBRealmAction.java UserDBRealmForm.java

2002-02-09 Thread manveen

manveen 02/02/08 13:55:15

  Modified:webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ApplicationResources_en.properties
ApplicationResources_es.properties
   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm
SetUpUserDBRealmAction.java UserDBRealmForm.java
  Log:
  Add a front end check from the tool to ensure that the resourceName in UserDatabase 
Realm has "java:" prefix.
  
  Revision  ChangesPath
  1.23  +1 -0  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties
  
  Index: ApplicationResources_en.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ApplicationResources_en.properties8 Feb 2002 21:37:27 -   1.22
  +++ ApplicationResources_en.properties8 Feb 2002 21:55:15 -   1.23
  @@ -180,4 +180,5 @@
   realm.resource=Resource Name
   realm.pathName=Path Name
   error.resource.required=Resource Name is required.
  +error.resource.javaprefix=Resource must have "java:" prefix.
   error.pathName.required=Path Name is required.
  
  
  
  1.24  +1 -0  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties
  
  Index: ApplicationResources_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ApplicationResources_es.properties8 Feb 2002 21:37:27 -   1.23
  +++ ApplicationResources_es.properties8 Feb 2002 21:55:15 -   1.24
  @@ -180,4 +180,5 @@
   realm.resource=Nombre Del Recurso
   realm.pathName=Nombre Del Path
   error.resource.required=Se requiere el nombre del recurso.
  +error.resource.javaprefix=El recurso debe tener prefijo de "java:"
   error.pathName.required=Se requiere el nombre del path.
  
  
  
  1.2   +5 -7  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/SetUpUserDBRealmAction.java
  
  Index: SetUpUserDBRealmAction.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/SetUpUserDBRealmAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SetUpUserDBRealmAction.java   7 Feb 2002 05:06:53 -   1.1
  +++ SetUpUserDBRealmAction.java   8 Feb 2002 21:55:15 -   1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/SetUpUserDBRealmAction.java,v
 1.1 2002/02/07 05:06:53 manveen Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/02/07 05:06:53 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/SetUpUserDBRealmAction.java,v
 1.2 2002/02/08 21:55:15 manveen Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/02/08 21:55:15 $
*
* 
*
  @@ -92,7 +92,7 @@
* a UserDatabase realm is chosen.
*
* @author Manveen Kaur
  - * @version $Revision: 1.1 $ $Date: 2002/02/07 05:06:53 $
  + * @version $Revision: 1.2 $ $Date: 2002/02/08 21:55:15 $
*/
   
   public class SetUpUserDBRealmAction extends Action {
  @@ -197,9 +197,7 @@
   t.printStackTrace(System.out);
   //forward to error page
   }
  -
  -// Stash the form bean and forward to the display page
  -request.setAttribute("userdbRealmForm", realmFm);
  + 
   // Forward back to the appropriate Realm page
   return (mapping.findForward("UserDBRealm"));
   
  
  
  
  1.2   +7 -4  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/UserDBRealmForm.java
  
  Index: UserDBRealmForm.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/UserDBRealmForm.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UserDBRealmForm.java  7 Feb 2002 05:06:53 -   1.1
  +++ UserDBRealmForm.java  8 Feb 2002 21:55:15 -   1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/UserDBRealmForm.java,v
 1.1 2002/02/07 05:06:53 manveen Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/02/07 05:06:53 $
  + * 

cvs commit: jakarta-tomcat-4.0/webapps/admin memoryRealm.jsp

2002-02-09 Thread manveen

manveen 02/02/08 13:38:35

  Added:   webapps/admin memoryRealm.jsp
  Log:
  JSP for displaying memory realm properties from its mBean.
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-4.0/webapps/admin/memoryRealm.jsp
  
  Index: memoryRealm.jsp
  ===
  
  <%@ page language="java" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %>
  
  
  
  <%@ include file="header.jsp" %>
  
  
  
  
  
  
  
  
  

  
 
  
  
  

  

 
  

    
   - 
 


   

  

  <%@ include file="buttons.jsp" %>

  

   
 
 
  
  
  
  
  

  :
  

  
  
  
  
  :
  
 
   
   
  
  
  
  
  
  :
 
  
  
  
  


  

  
  <%@ include file="buttons.jsp" %>


   
  
  
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin ApplicationResources_en.properties ApplicationResources_es.properties

2002-02-09 Thread manveen

manveen 02/02/08 13:37:27

  Modified:webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ApplicationResources_en.properties
ApplicationResources_es.properties
  Log:
  Added memory realm related properties
  
  Revision  ChangesPath
  1.22  +2 -0  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties
  
  Index: ApplicationResources_en.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- ApplicationResources_en.properties7 Feb 2002 05:06:53 -   1.21
  +++ ApplicationResources_en.properties8 Feb 2002 21:37:27 -   1.22
  @@ -178,4 +178,6 @@
   realm.userRoleTable=User Role Table
   realm.userTable=User Table
   realm.resource=Resource Name
  +realm.pathName=Path Name
   error.resource.required=Resource Name is required.
  +error.pathName.required=Path Name is required.
  
  
  
  1.23  +2 -0  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties
  
  Index: ApplicationResources_es.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ApplicationResources_es.properties7 Feb 2002 05:06:53 -   1.22
  +++ ApplicationResources_es.properties8 Feb 2002 21:37:27 -   1.23
  @@ -178,4 +178,6 @@
   realm.userRoleTable=Vector Del Papel Del Utilizador
   realm.userTable=Vector De Utilizador
   realm.resource=Nombre Del Recurso
  +realm.pathName=Nombre Del Path
   error.resource.required=Se requiere el nombre del recurso.
  +error.pathName.required=Se requiere el nombre del path.
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm MemoryRealmAction.java MemoryRealmForm.java SetUpMemoryRealmAction.java

2002-02-09 Thread manveen

manveen 02/02/08 13:33:02

  Added:   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm
MemoryRealmAction.java MemoryRealmForm.java
SetUpMemoryRealmAction.java
  Log:
  Added functionality to be able to view and edit memory realm properties from the 
admin tool.
  
  Revision  ChangesPath
  1.1  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/MemoryRealmAction.java
  
  Index: MemoryRealmAction.java
  ===
  /*
   * $Header: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/realm/MemoryRealmAction.java,v
 1.1 2002/02/08 21:33:02 manveen Exp $
   * $Revision: 1.1 $
   * $Date: 2002/02/08 21:33:02 $
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   "This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/)."
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Struts", and "Apache Software
   *Foundation" must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache"
   *nor may "Apache" appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * .
   *
   */
  
  package org.apache.webapp.admin.realm;
  
  import java.util.Iterator;
  import java.util.Locale;
  import java.io.IOException;
  import javax.servlet.ServletException;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  import org.apache.struts.action.Action;
  import org.apache.struts.action.ActionErrors;
  import org.apache.struts.action.ActionForm;
  import org.apache.struts.action.ActionForward;
  import org.apache.struts.action.ActionMapping;
  import javax.management.Attribute;
  import javax.management.MBeanServer;
  import javax.management.MBeanServerFactory;
  import javax.management.QueryExp;
  import javax.management.Query;
  import javax.management.ObjectInstance;
  import javax.management.ObjectName;
  import javax.management.JMException;
  import org.apache.struts.util.MessageResources;
  
  import org.apache.webapp.admin.ApplicationServlet;
  import org.apache.webapp.admin.LabelValueBean;
  
  /**
   * Implementation of Action that validates
   * actions on a Memory Realm.
   *
   * @author Manveen Kaur
   * @version $Revision: 1.1 $ $Date: 2002/02/08 21:33:02 $
   */
  
  public final class MemoryRealmAction extends Action {
  
  private static MBeanServer mBServer = null;
  
  // - Public Methods
  
  
  /**
   * Process the specified HTT

cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF struts-config.xml

2002-02-09 Thread manveen

manveen 02/02/08 13:30:34

  Modified:webapps/admin/WEB-INF struts-config.xml
  Log:
  Added memory Realm form and associated actions.
  
  Revision  ChangesPath
  1.24  +40 -11jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- struts-config.xml 7 Feb 2002 05:06:52 -   1.23
  +++ struts-config.xml 8 Feb 2002 21:30:34 -   1.24
  @@ -64,9 +64,13 @@
   type="org.apache.webapp.admin.UserForm"/>
   
   
  -
   
  +
  +
  +
  
   
  @@ -153,6 +157,10 @@
   
  +
  +
   
   
   
  +
  +
  +
  +
  +
  +
  +   
  +
  +
   
   
   
  -  
   
   
   
  @@ -370,17 +392,24 @@
   
   
   
  +   type="org.apache.webapp.admin.realm.JDBCRealmAction"
  +   name="jdbcRealmForm"
  +   scope="session"   
  +   input="/jdbcRealm.jsp"/>
  +
  +
  +
  
   
   
  +   scope="session"
  +   input="/userDBRealm.jsp"/>
   
   
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Jakarta 2001 PMC: Last chance for correction of voter list.

2002-02-09 Thread Dirk-Willem van Gulik

-BEGIN PGP SIGNED MESSAGE-


Please find attached the list of voters eligible to vote in the 2002
Jakarta PMC. If you see showstopper's, serious typo, etc let us known
immediately. <[EMAIL PROTECTED]> is what will be used for the Ballot on
the 12th of February.

Errors are to be send to [EMAIL PROTECTED]

Dw.

Schedule Jakarta PMC 2002:

x   0:00 GMT  - 2002-2-7Nominations close

x   0:00 GMT  - 2002-2-9Publication of candidate list.
x   Publication of voter's list.

0:00 GMT  - 2002-2-12   Candidate list final and announced.
Voter's list final and announced.
Voters receive their ballots.
Ballot opens

0:00 GMT  - 2002-2-19   Ballot closes

0:00 GMT  - 2002-2-21   Voters receive confirmation of their vote

0:00 GMT  - 2002-2-22   Final tally made and published.
0:00 GMT  - 2002-2-22   Archive handed over to the ASF
board secretariat.

Abey M. Mullassery  abey
Andrew C. Oliveracoliver
Adam Murdochadammurdoch
Andreas V. Kempfakempf
Anil Vijendran  akv
Alex Chafee alex
Amy Roh amyroh
Anders Kristensen   anders
Andy Armstrong  andya
Andy Riedel ariedel
Arieh Markelarieh
Arnout Kuiper   arnout
Arron Bates arron
Arun Jamwal arun
Arundhati Bhowmick  aruna1
asmuts  asmuts
Juozas Baliuka  baliuka
Henri Yandell   bayard
Brendan Burns   bburns
B. C. Holmesbcholmes
Hans Bergsten   bergsten
Bill Barker billbarker
Bip Thelin  bip
Berin Loritsch  bloritsch
Stefan Bodewig  bodewig
Bojan Smojver   bojan
Jeff Brekke brekke
Brian Goetz briangoetz
Kevin Burtonburton
carlson carlson
Rich Catlettcatlett
Christopher Cainccain
Cedric Dumoulin cedric
Ceki Gulcu  ceki
Charles Benett  charlesb
Christopher Elkins  chrise
Christoph Wilhelms  chrisw
Carl Ludwig cl
Cory Hubert clhubert
Casey Lucas clucas
Christopher Lenzcmlenz
Eung-ju Parkcolus
Conor MacNeill  conor
Costin Manolachecostin
Craig R. McClanahan craigmcc
Cameron Riley   criley
Chris Taylorcstaylor
Doug Cuttingcutting
Carsten Ziegelercziegeler
Dan Milsteindanmil
Danny Angus danny
Danny Cowarddannyc
Darrell DeBoer  darrell
DaveB   daveb
Dave Kordavekor
Dave Bryson dbryson
Daniel F. Savarese  dfs
David Geary dgeary
Dion Gillarddion
Dirk Verbeeck   dirkv
Dave Polito djpolito
Donald Leslie   dleslie
Daniel Rall dlr
Dan Mandell dmandell
Dmitri Plotnikovdmitri
Dmitry Serebrennikovdmitrys
Eric Dobbs  dobbs
Peter Donalddonaldp
Eugene Gluzberg drag0n2
Doug Sale   dsale
Doug Davis  dug
James Duncan Davidson   duncan
David Weinrich  dweinr1
David Winterfeldt   dwinterfeldt
Ed Korthof  ed
Eduardo Pelegri-Llopart eduardop
Erik Hatcherehatcher
Eric Rescorla   ekr
Enver Haase enver
Federico Barbieri   fede
Fedor Karpelevitch  fedor
Gerhard Froehlich   froehlich
Vasile Gaburici gaburici
Geir Magnusson Jr.  geirm
Michael McCallumgholam
Giacomo Patigiacomo
Glenn Nielsen   glenn
Glenn McAllisterglennm
Glen Stampoultzis   glens
Gonzalo D Guallar   gonzalo
James Todd  gonzo
gerhard.schwarz gschwarz
Paul Hammanthammant
Harish Prabandham   harishp
Harmeet Bedihbedi
Henning Schmiedehausen  henning
GOMEZ Henri hgomez
Bernie Hoeneisenhoeneisen
Diane Holt  holtdl
Justyna Horwat  horwat
Ted Husted  husted
Ilkka Priha ilkka
ingoingo
jariw   jariw
Jazmin Jonson   jazmin
Jim Boutcherjboutcher
John Casturajcastura
Jeff Turner jefft
Sung-Gu Parkjericho
jean-frederic clere jfclere
Jason Hunterjhunter
Petr Jirickajiricka
Jean-Luc Rochat jluc
Jeff Martin jmartin
John McNallyjmcnally
Jim Moore   jmoore
Jon Stevens jon
Jonathan Locke  jonl
James Strachan  jstrachan
Juergen Pilljuergen
Jason van Zyl   jvanzyl
Keith Wannamakerkeith
Kevin Hammond   khammond
Kief Morris kief
Chris Kimpton   kimptoc
Kin-Man Chung   kinman
K

cvs commit: jakarta-tomcat-4.0/catalina/src/conf catalina.policy

2002-02-09 Thread remm

remm02/02/09 10:31:25

  Modified:catalina/src/conf catalina.policy
  Log:
  - Update policy files after moving Jasper around.
  - Also ran into a surprise problem with OpenJMX while testing (which of course lead 
me to believe
it was somehow related to me moving Jasper). Grant an extra permission to have it 
work.
  
  Revision  ChangesPath
  1.21  +4 -22 jakarta-tomcat-4.0/catalina/src/conf/catalina.policy
  
  Index: catalina.policy
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/catalina.policy,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- catalina.policy   17 Jan 2002 00:28:15 -  1.20
  +++ catalina.policy   9 Feb 2002 18:31:25 -   1.21
  @@ -8,7 +8,7 @@
   //
   // * Read access to the document root directory
   //
  -// $Id: catalina.policy,v 1.20 2002/01/17 00:28:15 patrickl Exp $
  +// $Id: catalina.policy,v 1.21 2002/02/09 18:31:25 remm Exp $
   // 
   
   
  @@ -68,11 +68,6 @@
   permission java.security.AllPermission;
   };
   
  -// These permissions apply to the JNDI naming factory
  -grant codeBase "file:${catalina.home}/shared/lib/naming-factory.jar" {
  -permission java.security.AllPermission;
  -};
  -
   // These permissions apply to the privileged admin and manager web applications
   grant codeBase "file:${catalina.home}/server/webapps/admin/WEB-INF/classes/-" {
   permission java.security.AllPermission;  
  @@ -82,22 +77,6 @@
   permission java.security.AllPermission;  
   };
   
  -grant codeBase 
"jar:file:${catalina.home}/server/webapps/admin/WEB-INF/lib/jasper-compiler.jar!/-" {
  -permission java.security.AllPermission;  
  -};
  -
  -grant codeBase 
"jar:file:${catalina.home}/server/webapps/admin/WEB-INF/lib/jasper-runtime.jar!/-" {
  -permission java.security.AllPermission;
  -};
  -
  -grant codeBase 
"jar:file:${catalina.home}/server/webapps/manager/WEB-INF/lib/jasper-compiler.jar!/-" {
  -permission java.security.AllPermission;
  -};   
  -
  -grant codeBase 
"jar:file:${catalina.home}/server/webapps/manager/WEB-INF/lib/jasper-runtime.jar!/-" {
  -permission java.security.AllPermission;
  -};
  -
   // == WEB APPLICATION PERMISSIONS =
   
   
  @@ -137,6 +116,9 @@
   
   // Required for getting BeanInfo
   permission java.lang.RuntimePermission "accessClassInPackage.sun.beans.*";
  +
  +// Required for OpenJMX
  +permission java.lang.RuntimePermission "getAttribute";
   
// Allow read of JAXP compliant XML parser debug
permission java.util.PropertyPermission "jaxp.debug", "read";
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/jasper build.xml

2002-02-09 Thread remm

remm02/02/09 10:27:17

  Modified:jasper   build.xml
  Log:
  - Don't copy jasper-* to each privileged webapp. After extensive testing, it seems
more productive to put one shared copy in server/lib (putting a server-wide copy
in common/lib doesn't seem as good security wise).
  
  Revision  ChangesPath
  1.28  +4 -0  jakarta-tomcat-4.0/jasper/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- build.xml 29 Jan 2002 02:42:25 -  1.27
  +++ build.xml 9 Feb 2002 18:27:17 -   1.28
  @@ -188,6 +188,8 @@
   
 
   
  +
   
   
   
  @@ -201,6 +203,8 @@
   
 
   
  +
   
 
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/webapps build.xml

2002-02-09 Thread remm

remm02/02/09 10:27:01

  Modified:webapps  build.xml
  Log:
  - Don't copy jasper-* to each privileged webapp. After extensive testing, it seems
more productive to put one shared copy in server/lib (putting a server-wide copy
in common/lib doesn't seem as good security wise).
  
  Revision  ChangesPath
  1.22  +0 -8  jakarta-tomcat-4.0/webapps/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/build.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- build.xml 27 Oct 2001 21:20:03 -  1.21
  +++ build.xml 9 Feb 2002 18:27:01 -   1.22
  @@ -88,20 +88,12 @@
   
 
   
  -
  -
  -  
  -
   
   
   
   
 
  -
  -
  -
  -  
   
   
 
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/tester/web/golden JspDoc01.txt

2002-02-09 Thread remm

remm02/02/09 08:40:28

  Modified:tester/src/bin Tag: tomcat_40_branch tester.xml
   tester/web/golden Tag: tomcat_40_branch JspDoc01.txt
  Log:
  - Fix two incorrect tests:
- 404 is the right result IMO in the first case.
- Jasper doesn't generate extra spaces anymore in the second case, which
  looks ok to me.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.69.2.4  +1 -1  jakarta-tomcat-4.0/tester/src/bin/tester.xml
  
  Index: tester.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/tester/src/bin/tester.xml,v
  retrieving revision 1.69.2.3
  retrieving revision 1.69.2.4
  diff -u -r1.69.2.3 -r1.69.2.4
  --- tester.xml20 Dec 2001 14:07:14 -  1.69.2.3
  +++ tester.xml9 Feb 2002 16:40:27 -   1.69.2.4
  @@ -35,7 +35,7 @@
   
   
  +  status="404"/>
   
   
   texttexttexttexttexttext
  \ No newline at end of file
  
+texttexttexttexttexttext
  \ No newline at end of file
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/lib tomcat-ajp.jar tomcat-util.jar

2002-02-09 Thread remm

remm02/02/09 08:24:47

  Modified:lib  Tag: tomcat_40_branch tomcat-ajp.jar
tomcat-util.jar
  Log:
  - Update JK and tomcat-util.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.6   +231 -593  jakarta-tomcat-4.0/lib/Attic/tomcat-ajp.jar
  
<>
  
  
  1.1.2.5   +385 -351  jakarta-tomcat-4.0/lib/Attic/tomcat-util.jar
  
<>
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpRequest.java

2002-02-09 Thread remm

remm02/02/09 08:23:59

  Modified:catalina/src/share/org/apache/catalina/connector/warp Tag:
tomcat_40_branch WarpRequest.java
  Log:
  - Update WARP.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.8.2.2   +6 -5  
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp/Attic/WarpRequest.java
  
  Index: WarpRequest.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp/Attic/WarpRequest.java,v
  retrieving revision 1.8.2.1
  retrieving revision 1.8.2.2
  diff -u -r1.8.2.1 -r1.8.2.2
  --- WarpRequest.java  17 Jan 2002 12:17:16 -  1.8.2.1
  +++ WarpRequest.java  9 Feb 2002 16:23:59 -   1.8.2.2
  @@ -180,11 +180,6 @@
   throws IOException {
   if (closed) throw new IOException("Stream closed");
   
  -if (packet.getType()==Constants.TYPE_CBK_DONE) return(-1);
  -
  -if (packet.getType()!=Constants.TYPE_CBK_DATA)
  -throw new IOException("Invalid WARP packet type for body");
  -
   if (this.packet.pointermailto:[EMAIL PROTECTED]>
For additional commands, e-mail: 




DO NOT REPLY [Bug 6341] New: - tomcat dies on startup

2002-02-09 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6341

tomcat dies on startup

   Summary: tomcat dies on startup
   Product: Tomcat 3
   Version: 3.3 Final
  Platform: Macintosh
OS/Version: MacOS 9
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Config
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


Tomcat (3.3a.1, but also a similar problem with 3.2.4) dies on startup on Mac Classic 
OS (version 9.1). With the exceptions listed below. This is a major pain, as tomcat is 
the only decent free webserver for this platform.

The cause of the java.io.IOException: OSErr: -50 at java.io.File.getCanonicalPath is 
probably the following lines from org/apache/tomcat/util/IntrospectionUtils.java

  File f1=new File ( f, "..");

The ".." path is probably not valid on Classic Mac OS. tomcat 3.2.1 runs ok, so this 
(or a similar) bug probably got introduced somewhere in 3.2.[234]


Jdk11Compat: Installing jar protocol handler
java.io.IOException: OSErr: -50
at java.io.File.getCanonicalPath(File.java)
at org.apache.tomcat.util.IntrospectionUtils.guessInstall(Compiled Code)
at org.apache.tomcat.util.IntrospectionUtils.guessInstall(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled Code)
at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
at org.apache.tomcat.startup.Tomcat.startTomcat(Unknown Source)
at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
at com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
at java.lang.Thread.run(Thread.java)
EmbededTomcat: Default commonCL
ERROR reading /iMac/Applications (Mac OS 9)/jakarta-
tomcat-3.3a.1/conf/server.xml
At Line 13 /Server/ContextManager/LoaderInterceptor11/ useApplicationLoader=true


java.lang.NullPointerException
at org.apache.tomcat.util.xml.ObjectCreate.start(Compiled Code)
at org.apache.tomcat.util.xml.XmlMapper.matchStart(Compiled Code)
at org.apache.tomcat.util.xml.XmlMapper.startElement(Compiled Code)
at org.xml.sax.helpers.XMLReaderAdapter.startElement(Compiled Code)
at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
at org.apache.crimson.parser.Parser2.content(Compiled Code)
at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
at org.apache.crimson.parser.Parser2.content(Compiled Code)
at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
at org.apache.crimson.parser.Parser2.parseInternal(Compiled Code)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at org.apache.tomcat.util.xml.XmlMapper.readXml(Unknown Source)
at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(Unknown 
Source)
at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(Compiled 
Code)
at org.apache.tomcat.core.ContextManager.addInterceptor(Compiled Code)
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled Code)
at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
at org.apache.tomcat.startup.Tomcat.startTomcat(Unknown Source)
at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
at com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
at java.lang.Thread.run(Thread.java)

EmbededTomcat: exception initializing ContextManager
org.apache.tomcat.core.TomcatException: Root cause - null
at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(Unknown 
Source)
at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(Compiled 
Code)
at org.apache.tomcat.core.ContextManager.addInterceptor(Compiled Code)
at org.apache.tomcat.startup.Embed