Under "User Definition" in the /admin application, the "Users",
"Groups", and "Roles" functionality does not work with the JNDIRealm. 
While troubleshooting this, I found that the real cause of the problem
was being hidden by a programming error -- an error response was being
sent, but the code did not immediately return, but rather fell through
to the forwarding code, resulting in an error like, "unable to forward
after response has been committed".

Patches for this problem for these three items are attached.  I'll keep
digging on the actual problem with JNDIRealm and the manager, now that I
have a real error message.

Thanks,

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com
Index: ListRolesAction.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListRolesAction.java,v
retrieving revision 1.3
diff -u -r1.3 ListRolesAction.java
--- ListRolesAction.java        10 Feb 2002 08:06:20 -0000      1.3
+++ ListRolesAction.java        23 Jul 2003 20:24:10 -0000
@@ -164,6 +164,7 @@
                 (HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                  resources.getMessage
                  (locale, "users.error.attribute.get", "roles"));
+            return null;
         }
 
         // Stash the results in request scope

Index: ListUsersAction.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListUsersAction.java,v
retrieving revision 1.3
diff -u -r1.3 ListUsersAction.java
--- ListUsersAction.java        10 Feb 2002 08:06:20 -0000      1.3
+++ ListUsersAction.java        23 Jul 2003 20:25:13 -0000
@@ -164,6 +164,7 @@
                 (HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                  resources.getMessage
                  (locale, "users.error.attribute.get", "users"));
+            return null;
         }
 
         // Stash the results in request scope


Index: ListGroupsAction.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/ListGroupsAction.java,v
retrieving revision 1.3
diff -u -r1.3 ListGroupsAction.java
--- ListGroupsAction.java       10 Feb 2002 08:06:20 -0000      1.3
+++ ListGroupsAction.java       23 Jul 2003 20:25:31 -0000
@@ -164,6 +164,7 @@
                 (HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                  resources.getMessage
                  (locale, "users.error.attribute.get", "groups"));
+            return null;
         }
 
         // Stash the results in request scope


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to