Re: FW: JNDIRealm and roleNested
Should I take the sources files from the http://svn.apache.org/repos/asf/tomcat/trunk/ trunk or the http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/ tc6.0.x branche ? Mark Thomas wrote: On 26/01/2010 19:45, TahitianGabriel wrote: Hi Mark, Tomcat 6.0.24 has been released and the roleNested=true still doesn't work with roleSearch=(member={1}) Shall I open a bug in https://issues.apache.org/bugzilla bugzilla ? Please do. Also, if you are able to test any patch produced please indicate that in Bugzilla too. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/JNDIRealm-and-roleNested-tp24756476p27346607.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: FW: JNDIRealm and roleNested
Mark, I've opened a bug : https://issues.apache.org/bugzilla/show_bug.cgi?id=48629 https://issues.apache.org/bugzilla/show_bug.cgi?id=48629 I've also attached a patch that fixed the problem. Regards, Gabriel. Mark Thomas wrote: Please do. Also, if you are able to test any patch produced please indicate that in Bugzilla too. Mark -- View this message in context: http://old.nabble.com/JNDIRealm-and-roleNested-tp24756476p27347235.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat 6.0.24 empty logs with windows (not flushed?)
I've just migrated my tomcat 6.0.18 to 6.0.24 under windows. When I start tomcat, the log files are created under the $catalina_home\logs directory. But they are empty (catalina.log, localhost.log, ...). My tomcat server start correctly and the logs are displayed in the console. After a while some logs are at last flushed into the files, but not everything. When I stop the tomcat server, the logs are all flushed into the files but not the last lines (the ones about the shutdown). Has something been change about the log system under windows (maybe a new paramter to tell tomcat to flush the logs in real time)? Under linux everything works fine. Regards, Gabriel. -- View this message in context: http://old.nabble.com/Tomcat-6.0.24-empty-logs-with-windows-%28not-flushed-%29-tp27327976p27327976.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 6.0.24 empty logs with windows (not flushed?)
I've found that it's a known bug : https://issues.apache.org/bugzilla/show_bug.cgi?id=48614 https://issues.apache.org/bugzilla/show_bug.cgi?id=48614 I should have looked in bugzilla before :-). adding the following lines in the logging.properties (under the conf directory) solve the problem : 1catalina.org.apache.juli.FileHandler.bufferSize=-1 2localhost.org.apache.juli.FileHandler.bufferSize=-1 3manager.org.apache.juli.FileHandler.bufferSize=-1 4host-manager.org.apache.juli.FileHandler.bufferSize=-1 Gabriel. -- View this message in context: http://old.nabble.com/Tomcat-6.0.24-empty-logs-with-windows-%28not-flushed-%29-tp27327976p27328155.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: FW: JNDIRealm and roleNested
Hi Mark, Tomcat 6.0.24 has been released and the roleNested=true still doesn't work with roleSearch=(member={1}) Shall I open a bug in https://issues.apache.org/bugzilla bugzilla ? regards, Gabriel. -- View this message in context: http://old.nabble.com/JNDIRealm-and-roleNested-tp24756476p27331784.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: FW: JNDIRealm and roleNested
Hi, It's working great with roleSearch=(member={0}), but not with roleSearch=(member={1}) From tomcat doc : Use {0} to substitute the distinguished name (DN) of the user, and/or {1} to substitute the username. I guess line : filter = roleFormat.format(new String[] { groupDN }); should be changed into something like filter = roleFormat.format(new String[] {null, groupDN }); when roleSearch is using {1} I'm using Domino 8.5 Ldap. Regards, Gabriel. Mark Thomas wrote: Payne, George (ghp5h) wrote: I have tested this and it does exactly what I'd hoped. I tested it with tomcat 6.0.20 as described Many thanks for testing this. I have proposed the patch for Tomcat 6. Mark -- View this message in context: http://www.nabble.com/JNDIRealm-and-roleNested-tp24756476p26105463.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org