svn commit: r766937 - in /tomcat/trunk/modules/jdbc-pool: build.xml test/org/apache/tomcat/jdbc/interceptor/
Author: fhanik Date: Tue Apr 21 01:15:15 2009 New Revision: 766937 URL: http://svn.apache.org/viewvc?rev=766937&view=rev Log: Add dependency to tomcat 7 now Added: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/interceptor/ Modified: tomcat/trunk/modules/jdbc-pool/build.xml Modified: tomcat/trunk/modules/jdbc-pool/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/build.xml?rev=766937&r1=766936&r2=766937&view=diff == --- tomcat/trunk/modules/jdbc-pool/build.xml (original) +++ tomcat/trunk/modules/jdbc-pool/build.xml Tue Apr 21 01:15:15 2009 @@ -56,7 +56,7 @@ - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766936 - in /tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test: FairnessTest.java TestException.java
Author: fhanik Date: Tue Apr 21 01:14:36 2009 New Revision: 766936 URL: http://svn.apache.org/viewvc?rev=766936&view=rev Log: not sure what went wrong, my SVN is going ape #!$ Added: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java Modified: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/FairnessTest.java Modified: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/FairnessTest.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/FairnessTest.java?rev=766936&r1=766935&r2=766936&view=diff == --- tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/FairnessTest.java (original) +++ tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/FairnessTest.java Tue Apr 21 01:14:36 2009 @@ -38,25 +38,34 @@ } protected boolean run = true; -protected long sleep = 10; -protected long complete = 2; +protected long sleep = Long.getLong("sleep", 10); +protected long complete = Long.getLong("complete",2); +protected boolean printthread = Boolean.getBoolean("printthread"); CountDownLatch latch = null; protected void printThreadResults(TestThread[] threads, String name) { long minfetch = Long.MAX_VALUE, maxfetch = Long.MIN_VALUE, totalfetch = 0; +long maxwait = 0, minwait = Long.MAX_VALUE, averagewait = 0, totalwait = 0; float avgfetch = 0; for (int i=0; i0) sleep(FairnessTest.this.sleep); } catch (InterruptedException x) { interrupted(); } @@ -229,9 +236,9 @@ } if (System.getProperty("print-thread-stats")!=null) { System.out.println("["+getName()+"] "+ -"\n\tMax time to retrieve connection:"+(((float)max)/1000f/1000f)+" ms."+ -"\n\tTotal time to retrieve connection:"+(((float)totalmax)/1000f/1000f)+" ms."+ -"\n\tAverage time to retrieve connection:"+(((float)totalmax)/1000f/1000f)/(float)nroffetch+" ms."+ +"\n\tMax time to retrieve connection:"+(((float)maxwait)/1000f/1000f)+" ms."+ +"\n\tTotal time to retrieve connection:"+(((float)totalwait)/1000f/1000f)+" ms."+ +"\n\tAverage time to retrieve connection:"+(((float)totalwait)/1000f/1000f)/(float)nroffetch+" ms."+ "\n\tMax time to close connection:"+(((float)cmax)/1000f/1000f)+" ms."+ "\n\tTotal time to close connection:"+(((float)totalcmax)/1000f/1000f)+" ms."+ "\n\tAverage time to close connection:"+(((float)totalcmax)/1000f/1000f)/(float)nroffetch+" ms."+ @@ -241,3 +248,4 @@ } } } + Added: tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java?rev=766936&view=auto == --- tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java (added) +++ tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestException.java Tue Apr 21 01:14:36 2009 @@ -0,0 +1,42 @@ +package org.apache.tomcat.jdbc.test; + +import java.lang.reflect.Method; +import java.sql.Connection; +import java.sql.SQLException; + +import org.apache.tomcat.jdbc.pool.ConnectionPool; +import org.apache.tomcat.jdbc.pool.JdbcInterceptor; +import org.apache.tomcat.jdbc.pool.PooledConnection; +import org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor; +import org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport; + +public class TestException extends DefaultTestCase { + +public TestException(String name) { +super(name); +} + +public void testException() throws Exception { +init(); + datasource.getPoolProperties().setJdbcInterceptors(TestInterceptor.class.getName()); +Connection con = datasource.getConnection(); +try { +con.createStatement(); +}catch (Exception x) { + +} +} + + +public static class TestInterceptor extends JdbcInterceptor { + +@Override +public void reset(ConnectionPool parent, PooledConnection con) { +// TODO Auto-generated method stub + +} + + +} + +} - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766928 - /tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java
Author: fhanik Date: Tue Apr 21 00:25:11 2009 New Revision: 766928 URL: http://svn.apache.org/viewvc?rev=766928&view=rev Log: The fair queue outperforms the j.u.c blocking queue implementation. lets use our impl as default Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java?rev=766928&r1=766927&r2=766928&view=diff == --- tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java (original) +++ tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java Tue Apr 21 00:25:11 2009 @@ -68,7 +68,7 @@ protected String initSQL; protected boolean testOnConnect =false; private String jdbcInterceptors=null; -private boolean fairQueue = false; +private boolean fairQueue = true; private boolean useEquals = false; private InterceptorDefinition[] interceptors = null; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766912 - /tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java
Author: fhanik Date: Mon Apr 20 23:25:51 2009 New Revision: 766912 URL: http://svn.apache.org/viewvc?rev=766912&view=rev Log: narrow down the interface for extension purposes Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java?rev=766912&r1=766911&r2=766912&view=diff == --- tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java (original) +++ tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java Mon Apr 20 23:25:51 2009 @@ -17,6 +17,7 @@ package org.apache.tomcat.jdbc.pool; import java.util.Collection; +import java.util.Deque; import java.util.Iterator; import java.util.LinkedList; import java.util.NoSuchElementException; @@ -39,7 +40,7 @@ public class FairBlockingQueue implements BlockingQueue { ReentrantLock lock = new ReentrantLock(false); -LinkedList items = null; +Deque items = null; LinkedList> waiters = null; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766906 - /tomcat/trunk/.classpath
Author: fhanik Date: Mon Apr 20 22:59:55 2009 New Revision: 766906 URL: http://svn.apache.org/viewvc?rev=766906&view=rev Log: Add source to the path of dbcp, and remove the module paths from the main project Modified: tomcat/trunk/.classpath Modified: tomcat/trunk/.classpath URL: http://svn.apache.org/viewvc/tomcat/trunk/.classpath?rev=766906&r1=766905&r2=766906&view=diff == --- tomcat/trunk/.classpath (original) +++ tomcat/trunk/.classpath Mon Apr 20 22:59:55 2009 @@ -1,8 +1,6 @@ - - @@ -12,6 +10,6 @@ - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766905 - /tomcat/trunk/webapps/docs/config/systemprops.xml
Author: fhanik Date: Mon Apr 20 22:57:44 2009 New Revision: 766905 URL: http://svn.apache.org/viewvc?rev=766905&view=rev Log: fix typo Modified: tomcat/trunk/webapps/docs/config/systemprops.xml Modified: tomcat/trunk/webapps/docs/config/systemprops.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/systemprops.xml?rev=766905&r1=766904&r2=766905&view=diff == --- tomcat/trunk/webapps/docs/config/systemprops.xml (original) +++ tomcat/trunk/webapps/docs/config/systemprops.xml Mon Apr 20 22:57:44 2009 @@ -39,8 +39,8 @@ Set this to a fully qualified name of a class that implements org.apache.tomcat.util.IntrospectionUtils.PropertySource. Required to have a public constructor with no arguments. - Use this to add a property source, that will be invoked when s{parameter} - denoted parameters are found in the XML files that tomcat parses. + Use this to add a property source, that will be invoked when ${parameter} + denoted parameters are found in the XML files that Tomcat parses. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: How do I check out the source for Tomcat 5.5.23 (as of Apr 2009)?
leonelag wrote: > Hello all, > > It's 2009 already and Tomcat 5.5.23 is not the latest version of Tomcat. > > The folder structure of the Tomcat repo may be a bit confusing: > http://tomcat.apache.org/svn.html ; as a seasoned Subversion user, I > expected to be able to check out the source from a URL like: > http://svn.apache.org/repos/asf/tomcat/tags/tomcat-5.5.23 > > Unfortunately, there isn't a single URL to download the source of this > version of Tomcat, which is split across several folders. > > Checking out the latest version of the 5.5.x trunk is straightforward, with > a checkout from a single URL. > But how do I checkout the source for version 5.5.23 ? mkdir tomcat-5.5.25 cd tomcat-5.5.23 svn co \ http://svn.apache.org/repos/asf/tomcat/build/tags/tc5.5.x/TOMCAT_5_5_23/ \ build svn co \ http://svn.apache.org/repos/asf/tomcat/container/tags/tc5.5.x/TOMCAT_5_5_23/ \ container svn co \ http://svn.apache.org/repos/asf/tomcat/connectors/tags/tc5.5.x/TOMCAT_5_5_23/ \ connectors svn co \ http://svn.apache.org/repos/asf/tomcat/jasper/tags/tc5.5.x/TOMCAT_5_5_23/ \ jasper svn co \ http://svn.apache.org/repos/asf/tomcat/servletapi/tags/servlet2.4-jsp2.0-tc5.x/TOMCAT_5_5_23/ \ servletapi Modify the tag of you want a different release. Or just download the src tarball. Mark > > Thanks > Leonel > > > > > > > - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
How do I check out the source for Tomcat 5.5.23 (as of Apr 2009)?
Hello all, It's 2009 already and Tomcat 5.5.23 is not the latest version of Tomcat. The folder structure of the Tomcat repo may be a bit confusing: http://tomcat.apache.org/svn.html ; as a seasoned Subversion user, I expected to be able to check out the source from a URL like: http://svn.apache.org/repos/asf/tomcat/tags/tomcat-5.5.23 Unfortunately, there isn't a single URL to download the source of this version of Tomcat, which is split across several folders. Checking out the latest version of the 5.5.x trunk is straightforward, with a checkout from a single URL. But how do I checkout the source for version 5.5.23 ? Thanks Leonel -- View this message in context: http://www.nabble.com/How-do-I-check-out-the-source-for-Tomcat-5.5.23-%28as-of-Apr-2009%29--tp23140306p23140306.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r766526 - in /tomcat/trunk: java/org/apache/tomcat/util/digester/Digester.java webapps/docs/config/systemprops.xml
Mark Thomas wrote: fha...@apache.org wrote: + Use this to add a property source, that will be invoked when s{parameter} + denoted parameters are found in the XML files that tomcat parses. Do you mean ${parameter} here? yes, will fix the typo Filip Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.
On 20/04/2009, Mark Thomas wrote: > sebb wrote: > > On 20/04/2009, Mark Thomas wrote: > >> Mark Thomas wrote: > >> > Looks like we need to run native2ascii over a quite a few French and > >> > German files. > > > > Surely the ISO-8859-1 (Latin-1) character set supports most accents in > > Latin languages, so there should be no need to use Unicode escapes for > > these? > > > I would have expected it to work but it appears that it doesn't. It is I would have too - which is why I wrote this reply - but that obviously changes things. > probably related to the users default platform encoding. I suspect the > issues are when a user is using something other than ISO-8859-1 or UTF-8 > but I haven't done any testing to prove this. > > > Looks to me like the problem with the Spanish version is due to a > > packaging error in the tomcat-I18n-es.jar file, which contains > > corrupted copies of the original files. > > > The issue appears to be wider than that. > > > > Using Unicode escapes should prevent this packing error from > > recurring, but seems rather a drastic measure, as it makes the > > properties files rather harder to read. > > > Preventing the packaging error is not my primary motivation with these > patches. My primary motivation is making sure these files work as > intended for all users. OK, point taken. > In the rare cases where someone needs to work on these files and wants > to do it in native form it is trivial to use native2ascii to convert the > files to native form, edit them and then convert them back. > > > Mark > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.
sebb wrote: > On 20/04/2009, Mark Thomas wrote: >> Mark Thomas wrote: >> > Looks like we need to run native2ascii over a quite a few French and >> > German files. > > Surely the ISO-8859-1 (Latin-1) character set supports most accents in > Latin languages, so there should be no need to use Unicode escapes for > these? I would have expected it to work but it appears that it doesn't. It is probably related to the users default platform encoding. I suspect the issues are when a user is using something other than ISO-8859-1 or UTF-8 but I haven't done any testing to prove this. > Looks to me like the problem with the Spanish version is due to a > packaging error in the tomcat-I18n-es.jar file, which contains > corrupted copies of the original files. The issue appears to be wider than that. > Using Unicode escapes should prevent this packing error from > recurring, but seems rather a drastic measure, as it makes the > properties files rather harder to read. Preventing the packaging error is not my primary motivation with these patches. My primary motivation is making sure these files work as intended for all users. In the rare cases where someone needs to work on these files and wants to do it in native form it is trivial to use native2ascii to convert the files to native form, edit them and then convert them back. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.
On 20/04/2009, Mark Thomas wrote: > Mark Thomas wrote: > > Looks like we need to run native2ascii over a quite a few French and > > German files. Surely the ISO-8859-1 (Latin-1) character set supports most accents in Latin languages, so there should be no need to use Unicode escapes for these? Looks to me like the problem with the Spanish version is due to a packaging error in the tomcat-I18n-es.jar file, which contains corrupted copies of the original files. Using Unicode escapes should prevent this packing error from recurring, but seems rather a drastic measure, as it makes the properties files rather harder to read. > > Done for trunk and fixes proposed for 6.0.x. > > > Mark > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.
Mark Thomas wrote: > Looks like we need to run native2ascii over a quite a few French and > German files. Done for trunk and fixes proposed for 6.0.x. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766664 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Mon Apr 20 11:57:00 2009 New Revision: 74 URL: http://svn.apache.org/viewvc?rev=74&view=rev Log: Propose i18n fixes Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=74&r1=73&r2=74&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Mon Apr 20 11:57:00 2009 @@ -269,3 +269,11 @@ http://svn.apache.org/viewvc?rev=765662&view=rev +1: markt, remm -1: + +* Fix use of non-ASCII characters in property files + http://people.apache.org/~markt/patches/2009-04-20-native2ascii-de.patch (German) + http://people.apache.org/~markt/patches/2009-04-20-native2ascii-en.patch (English) + http://people.apache.org/~markt/patches/2009-04-20-native2ascii-es.patch (Spanish) + http://people.apache.org/~markt/patches/2009-04-20-native2ascii-fr.patch (French) + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r766660 - /tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties
Author: markt Date: Mon Apr 20 11:33:41 2009 New Revision: 70 URL: http://svn.apache.org/viewvc?rev=70&view=rev Log: Ran Native2ascii over i18n files Fixes to German files Modified: tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties Modified: tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties?rev=70&r1=766659&r2=70&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties (original) +++ tomcat/trunk/java/org/apache/catalina/manager/LocalStrings_de.properties Mon Apr 20 11:33:41 2009 @@ -13,18 +13,18 @@ # See the License for the specific language governing permissions and # limitations under the License. -htmlManagerServlet.appsAvailable=Verfügbar +htmlManagerServlet.appsAvailable=Verf\u00fcgbar htmlManagerServlet.appsName=Anzeigename htmlManagerServlet.appsPath=Kontext Pfad htmlManagerServlet.appsReload=Neu laden htmlManagerServlet.appsUndeploy=Entfernen -htmlManagerServlet.appsExpire=Lösche Sitzungen +htmlManagerServlet.appsExpire=L\u00f6sche Sitzungen htmlManagerServlet.appsSessions=Sitzungen htmlManagerServlet.appsStart=Start htmlManagerServlet.appsStop=Stop htmlManagerServlet.appsTasks=Kommandos htmlManagerServlet.appsTitle=Anwendungen -htmlManagerServlet.expire.explain=mit Inaktivität ≥ +htmlManagerServlet.expire.explain=mit Inaktivit\u00e4t ≥ htmlManagerServlet.expire.unit=Minuten htmlManagerServlet.helpHtmlManager=Hilfeseite HTML Manager (englisch) htmlManagerServlet.helpHtmlManagerFile=html-manager-howto.html @@ -37,7 +37,7 @@ htmlManagerServlet.deployTitle=Installieren htmlManagerServlet.deployUpload=Lokale WAR Datei zur Installation hochladen htmlManagerServlet.deployUploadFail=FEHLER - Hochladen zur Installation fehlgeschlagen, Ausnahme: {0} -htmlManagerServlet.deployUploadFile=WAR Datei auswählen +htmlManagerServlet.deployUploadFile=WAR Datei ausw\u00e4hlen htmlManagerServlet.deployUploadNotWar=FEHLER - Hochgeladene Datei \"{0}\" muss ein .war sein htmlManagerServlet.deployUploadNoFile=FEHLER - Hochladen fehlgeschlagen, keine Datei vorhanden htmlManagerServlet.deployUploadWarExists=FEHLER - WAR Datei \"{0}\" existiert bereits auf Server @@ -53,43 +53,43 @@ htmlManagerServlet.serverTitle=Server Informationen htmlManagerServlet.serverVersion=Tomcat Version htmlManagerServlet.title=Tomcat Webanwendungs-Manager -managerServlet.alreadyContext=FEHLER - Anwendung existiert bereits für Kontext Pfad {0} +managerServlet.alreadyContext=FEHLER - Anwendung existiert bereits f\u00fcr Kontext Pfad {0} managerServlet.alreadyDocBase=FEHLER - Verzeichnis {0} bereits in Benutzung managerServlet.configured=OK - Anwendung von Kontext-Datei {0} installiert managerServlet.deployed=OK - Anwendung mit Kontext Pfad {0} installiert managerServlet.exception=FEHLER - Ausnahme aufgetreten {0} managerServlet.deployed=OK - Anwendung mit Kontext Pfad {0} installiert -managerServlet.invalidPath=FEHLER - Ungültiger Kontext Pfad {0} angegeben -managerServlet.invalidWar=FEHLER - Ungültige URL {0} für Anwendung angegeben -managerServlet.listed=OK - Auflistung der Webanwendungen für virtuellen Server {0} +managerServlet.invalidPath=FEHLER - Ung\u00fcltiger Kontext Pfad {0} angegeben +managerServlet.invalidWar=FEHLER - Ung\u00fcltige URL {0} f\u00fcr Anwendung angegeben +managerServlet.listed=OK - Auflistung der Webanwendungen f\u00fcr virtuellen Server {0} managerServlet.listitem={0}:{1}:{2}:{3} -managerServlet.noAppBase=FEHLER - Kann Verzeichnis für Kontext Pfad {0} nicht finden +managerServlet.noAppBase=FEHLER - Kann Verzeichnis f\u00fcr Kontext Pfad {0} nicht finden managerServlet.noCommand=FEHLER - Es wurde kein Kommando angegeben -managerServlet.noContext=FEHLER - Es existiert kein Kontext für Pfad {0} +managerServlet.noContext=FEHLER - Es existiert kein Kontext f\u00fcr Pfad {0} managerServlet.noDirectory=FEHLER - Pfad {0} ist kein Verzeichnis -managerServlet.noDocBase=FEHLER - Kann Webanwendungs-Verzeichnis nicht entfernen für Kontext Pfad {0} -managerServlet.noGlobal=FEHLER - Keine globalen JNDI Ressourcen verfügbar -managerServlet.noReload=FEHLER - Neu laden nicht unterstützt für WAR mit Pfad {0} +managerServlet.noDocBase=FEHLER - Kann Webanwendungs-Verzeichnis nicht entfernen f\u00fcr Kontext Pfad {0} +managerServlet.noGlobal=FEHLER - Keine globalen JNDI Ressourcen verf\u00fcgbar +managerServlet.noReload=FEHLER - Neu laden nicht unterst\u00fctzt f\u00fcr WAR mit Pfad {0} managerServlet.noRename=FEHLER - Kann hochgeladenes WAR mit Pfad {0} nicht installieren managerServlet.noRole=FEHLER - Benutzer nicht in Rolle {0} -managerServlet.noSelf=FEHLER - Manager-Kommandos können nicht auf die Manager-Anwendung selbst angewendet werden -managerServlet.noWrapper=Container hat setWrapper() für dieses S
svn commit: r766659 - in /tomcat/trunk/java/org/apache: catalina/security/LocalStrings_es.properties tomcat/util/buf/res/LocalStrings_es.properties tomcat/util/http/res/LocalStrings_es.properties tomc
Author: markt Date: Mon Apr 20 11:31:51 2009 New Revision: 766659 URL: http://svn.apache.org/viewvc?rev=766659&view=rev Log: Ran Native2ascii over i18n files Fixes to Spanish files - checked by hand in full Modified: tomcat/trunk/java/org/apache/catalina/security/LocalStrings_es.properties tomcat/trunk/java/org/apache/tomcat/util/buf/res/LocalStrings_es.properties tomcat/trunk/java/org/apache/tomcat/util/http/res/LocalStrings_es.properties tomcat/trunk/java/org/apache/tomcat/util/threads/res/LocalStrings_es.properties Modified: tomcat/trunk/java/org/apache/catalina/security/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/security/LocalStrings_es.properties?rev=766659&r1=766658&r2=766659&view=diff == --- tomcat/trunk/java/org/apache/catalina/security/LocalStrings_es.properties (original) +++ tomcat/trunk/java/org/apache/catalina/security/LocalStrings_es.properties Mon Apr 20 11:31:51 2009 @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -SecurityUtil.doAsPrivilege=Ha tenido lugar una excepción al ejecutar el bloque PrivilegedExceptionAction. +SecurityUtil.doAsPrivilege=Ha tenido lugar una excepci\u00f3n al ejecutar el bloque PrivilegedExceptionAction. Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/res/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/res/LocalStrings_es.properties?rev=766659&r1=766658&r2=766659&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/buf/res/LocalStrings_es.properties (original) +++ tomcat/trunk/java/org/apache/tomcat/util/buf/res/LocalStrings_es.properties Mon Apr 20 11:31:51 2009 @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -hexUtil.bad=Dígito hexadecimal incorrecto -hexUtil.odd=Número de dígitos hexadecimales incorrecto -httpDate.pe=formato de fecha no válido: {0} +hexUtil.bad=D\u00edgito hexadecimal incorrecto +hexUtil.odd=N\u00famero de d\u00edgitos hexadecimales incorrecto +httpDate.pe=formato de fecha no v\u00e1lido: {0} Modified: tomcat/trunk/java/org/apache/tomcat/util/http/res/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/res/LocalStrings_es.properties?rev=766659&r1=766658&r2=766659&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/http/res/LocalStrings_es.properties (original) +++ tomcat/trunk/java/org/apache/tomcat/util/http/res/LocalStrings_es.properties Mon Apr 20 11:31:51 2009 @@ -19,31 +19,31 @@ sc.200=OK sc.201=Creado sc.202=Aceptado -sc.203=Información No-Autorizativa +sc.203=Informaci\u00f3n No-Autorizativa sc.204=Sin Contenido sc.205=Reset Contenido sc.206=Contenido Parcial sc.207=Multi-Estado -sc.300=Múltiples Elecciones +sc.300=M\u00faltiples Elecciones sc.301=Movido permanentemente -sc.302=Movido temporálmente +sc.302=Movido tempor\u00e1lmente sc.303=Mirar Otro sc.304=No Modificado sc.305=Usar Proxy -sc.307=Redirección Temporal -sc.400=Petición incorrecta +sc.307=Redirecci\u00f3n Temporal +sc.400=Petici\u00f3n incorrecta sc.401=No Autorizado sc.402=Pago requerido sc.403=Prohibido sc.404=No Encontrado -sc.405=Método No Permitido +sc.405=M\u00e9todo No Permitido sc.406=No Aceptable -sc.407=Autentificación Proxy Requerida +sc.407=Autentificaci\u00f3n Proxy Requerida sc.408=Request Caducada sc.409=Conflicto sc.410=Ido sc.411=Longitud Requerida -sc.412=Precondición Fallada +sc.412=Precondici\u00f3n Fallada sc.413=Entidad de Request Demasiado Grande sc.414=Request-URI Demasiado Larga sc.415=Tipo de Medio No Soportado @@ -57,6 +57,6 @@ sc.502=Pasarela Incorrecta sc.503=Servicio no Disponible sc.504=Pasarela Caducada -sc.505=Versión de HTTP No Soportada +sc.505=Versi\u00f3n de HTTP No Soportada sc.507=Almacenaje Insuficiente Modified: tomcat/trunk/java/org/apache/tomcat/util/threads/res/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/threads/res/LocalStrings_es.properties?rev=766659&r1=766658&r2=766659&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/threads/res/LocalStrings_es.properties (original) +++ tomcat/trunk/java/org/apache/tomcat/util/threads/res/LocalStrings_es.properties Mon Apr 20 11:31:51 2009 @@ -13,6 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -threadpool.busy=Todos los hilos ({0}) están ahora ocupados, esperando. Incremente maxThreads ({1}) o revise el estado del servlet +threadpool.busy=Todos los hil
svn commit: r766657 - in /tomcat/trunk/java/org/apache: catalina/connector/LocalStrings.properties catalina/core/LocalStrings.properties catalina/realm/LocalStrings.properties naming/LocalStrings.prop
Author: markt Date: Mon Apr 20 11:27:11 2009 New Revision: 766657 URL: http://svn.apache.org/viewvc?rev=766657&view=rev Log: Ran Native2ascii over i18n files It makes sure files end with new line Modified: tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties tomcat/trunk/java/org/apache/naming/LocalStrings.properties tomcat/trunk/java/org/apache/tomcat/util/net/jsse/res/LocalStrings.properties Modified: tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties?rev=766657&r1=766656&r2=766657&view=diff == --- tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties Mon Apr 20 11:27:11 2009 @@ -76,4 +76,4 @@ mapperListener.unregisterContext=Unregister Context {0} mapperListener.registerWrapper=Register Wrapper {0} in Context {1} -inputBuffer.streamClosed=Stream closed \ No newline at end of file +inputBuffer.streamClosed=Stream closed Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=766657&r1=766656&r2=766657&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties Mon Apr 20 11:27:11 2009 @@ -227,4 +227,4 @@ defaultInstanceManager.privilegedServlet=Servlet of class {0} is privileged and cannot be loaded by this web application defaultInstanceManager.restrictedFiltersResource=Restricted filters property file not found defaultInstanceManager.privilegedFilter=Filter of class {0} is privileged and cannot be loaded by this web application -defaultInstanceManager.restrictedListenersResources="Restricted listeners property file not found \ No newline at end of file +defaultInstanceManager.restrictedListenersResources="Restricted listeners property file not found Modified: tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties?rev=766657&r1=766656&r2=766657&view=diff == --- tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/realm/LocalStrings.properties Mon Apr 20 11:27:11 2009 @@ -96,4 +96,4 @@ combinedRealm.authSucess=Authenticated user "{0}" with realm "{1}" combinedRealm.addRealm=Add "{0}" realm, making a total of "{1}" realms lockOutRealm.authLockedUser=An attempt was made to authenticate the locked user "{0}" -lockOutRealm.removeWarning=User "{0}" was removed from the failed users cache after {1} seconds to keep the cache size within the limit set \ No newline at end of file +lockOutRealm.removeWarning=User "{0}" was removed from the failed users cache after {1} seconds to keep the cache size within the limit set Modified: tomcat/trunk/java/org/apache/naming/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/LocalStrings.properties?rev=766657&r1=766656&r2=766657&view=diff == --- tomcat/trunk/java/org/apache/naming/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/naming/LocalStrings.properties Mon Apr 20 11:27:11 2009 @@ -23,4 +23,4 @@ namingContext.readOnly=Context is read only namingContext.invalidName=Name is not valid namingContext.alreadyBound=Name {0} is already bound in this Context -namingContext.noAbsoluteName=Can''t generate an absolute name for this namespace \ No newline at end of file +namingContext.noAbsoluteName=Can''t generate an absolute name for this namespace Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/res/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/jsse/res/LocalStrings.properties?rev=766657&r1=766656&r2=766657&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/jsse/res/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/jsse/res/LocalStrings.properties Mon Apr 20 11:27:11 2009 @@ -15,4 +15,4 @@ jsse.alias_no_key_entry=Alias name {0} does not identify a key entry jsse.keystore_load_failed=Failed to load keystore type {0} with path {1} due to {2} -jsse.invalid_ssl_conf=SSL configurat
Re: svn commit: r766526 - in /tomcat/trunk: java/org/apache/tomcat/util/digester/Digester.java webapps/docs/config/systemprops.xml
fha...@apache.org wrote: > + Use this to add a property source, that will be invoked when > s{parameter} > + denoted parameters are found in the XML files that tomcat > parses. Do you mean ${parameter} here? Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: gsoc project - Tomcat proxy [query]
Sharmistha jat wrote: Please find my wiki page about existing servlet proxy at : http://wiki.apache.org/tomcat/ServletProxy I will continue to add information to this page, please suggest any changes if required A note on the state of each would be cool (It seems J2EP is dead for example). Cheers Jean-Frederic On Thu, Apr 16, 2009 at 8:44 AM, Sharmistha jat wrote: Thanks for suggestion. [:)] On Thu, Apr 16, 2009 at 5:50 AM, Costin Manolache wrote: One suggestion: I think it would be nice to consider scalability - if you have one tomcat frontend forwarding to 100 backends and acting as a load balancer - you probably can't afford one connection per thread. Many of the http forwarders I know use a blocking http client library - I think this would be the wrong approach for tomcat. To do non-blocking you will need to work at coyote level, and probably make few enhancements to register your client connection with the same framework - i.e. use the same Selectors or APR poll. You would also need to implement a non-blocking http client - you can use the nio/apr as starting points as well, but the code is a bit messy ( IMHO ). Or you could just start from scratch - use an existing non-blocking http client. I have a small experimental async http client in sandbox, if you plan to go non-blocking it may be worth checking it out (I'll update it to what I have - it's kind-of-working ). But probably using the NIO/APR connectors would be a better starting point. Costin On Wed, Apr 15, 2009 at 1:18 PM, jean-frederic clere wrote: Sharmistha jat wrote: So, now i would try to install a tomcat cluster and make a simple servlet proxy [reverse] for it, then add in load-balancing logic to it Yep thst is the idea. +++ CUT +++ I have studied a number of servlet proxies like j2ep, noodle & Http Proxy Servlet in past days. Could you write a wiki on that? (Somewhere in http://wiki.apache.org/tomcat/). i guess u mean writing wiki about proxy servlet will give my best shot to it, but would borrow 3-4 days for the task. You looked to the j2ep, noodle etc, don't you? It would be nice to describe a little how they work or that least their main features and the url to there code if applicable. Just like a note on other existing implementation. Ok, will write a wiki on the existing servlet proxies, their approach and working [thanks] Cheers Jean-Frederic Cheers Jean-Frederic And was puzzled about my intent of making proxy and its designing thereof. So, please guide me a little bit about this. Thanks Sharmistha - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org