[Bug 53377] Cookie JSESSIONID is not secured in HTTPS
https://issues.apache.org/bugzilla/show_bug.cgi?id=53377 --- Comment #1 from Konstantin Kolinko --- It is strange, because it should be working in 5.5. I cannot see where it can fail. For reference, in current 5.5.x (5.5.35): request.secure flag is set in o.a.catalina.connector.CoyoteAdapter#postParseRequest(..) cookie.secure flag is set in o.a.catalina.connector.Request#configureSessionCookie(..), where it is copied from request.secure flag. The cookie is formatted into response header in o.a.tomcat.util.http.ServerCookie#appendCookieValue(..) which is called from Response#addCookieInternal(...). -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347583 - /tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java
Author: kkolinko Date: Thu Jun 7 12:14:02 2012 New Revision: 1347583 URL: http://svn.apache.org/viewvc?rev=1347583&view=rev Log: Review of r1347108. Better cleanup if the test fails: schedule temporary directory for after-test cleanup immediately, instead of after successful test run. close output streams even if write fails. Modified: tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java Modified: tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java?rev=1347583&r1=1347582&r2=1347583&view=diff == --- tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java (original) +++ tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java Thu Jun 7 12:14:02 2012 @@ -112,6 +112,9 @@ public class TestNamingContext extends T File alternate1 = new File(tmpDir, "alternate1"); File alternate2 = new File(tmpDir, "alternate2"); +// Register for clean-up +addDeleteOnTearDown(tmpDir); + if(!tmpDir.mkdirs()) throw new IOException("Could not create temp directory " + tmpDir); if(!docBase.mkdir()) @@ -123,12 +126,20 @@ public class TestNamingContext extends T // Create a file in each alternate directory that we can attempt to access FileOutputStream fos = new FileOutputStream(new File(alternate1, "test1.txt")); -fos.write(foxText.getBytes("UTF-8")); -fos.flush(); fos.close(); +try { +fos.write(foxText.getBytes("UTF-8")); +fos.flush(); +} finally { +fos.close(); +} fos = new FileOutputStream(new File(alternate2, "test2.txt")); -fos.write(loremIpsum.getBytes("UTF-8")); -fos.flush(); fos.close(); +try { +fos.write(loremIpsum.getBytes("UTF-8")); +fos.flush(); +} finally { +fos.close(); +} // Finally, create the Context FileDirContext ctx = new FileDirContext(); @@ -191,9 +202,6 @@ public class TestNamingContext extends T contents = new String(buffer, 0, len, "UTF-8"); assertEquals(loremIpsum, contents); - -// Clean-up -addDeleteOnTearDown(tmpDir); } public static final class Bug49994Servlet extends HttpServlet { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347584 - in /tomcat/tc7.0.x/trunk: ./ test/org/apache/naming/resources/TestNamingContext.java
Author: kkolinko Date: Thu Jun 7 12:22:35 2012 New Revision: 1347584 URL: http://svn.apache.org/viewvc?rev=1347584&view=rev Log: Merged revision 1347583 from tomcat/trunk: Review of r1347108. Better cleanup if the test fails: - schedule temporary directory for after-test cleanup immediately, instead of after successful test run. - close output streams even if write fails. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/test/org/apache/naming/resources/TestNamingContext.java Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1347583 Modified: tomcat/tc7.0.x/trunk/test/org/apache/naming/resources/TestNamingContext.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/naming/resources/TestNamingContext.java?rev=1347584&r1=1347583&r2=1347584&view=diff == --- tomcat/tc7.0.x/trunk/test/org/apache/naming/resources/TestNamingContext.java (original) +++ tomcat/tc7.0.x/trunk/test/org/apache/naming/resources/TestNamingContext.java Thu Jun 7 12:22:35 2012 @@ -112,6 +112,9 @@ public class TestNamingContext extends T File alternate1 = new File(tmpDir, "alternate1"); File alternate2 = new File(tmpDir, "alternate2"); +// Register for clean-up +addDeleteOnTearDown(tmpDir); + if(!tmpDir.mkdirs()) throw new IOException("Could not create temp directory " + tmpDir); if(!docBase.mkdir()) @@ -123,12 +126,20 @@ public class TestNamingContext extends T // Create a file in each alternate directory that we can attempt to access FileOutputStream fos = new FileOutputStream(new File(alternate1, "test1.txt")); -fos.write(foxText.getBytes("UTF-8")); -fos.flush(); fos.close(); +try { +fos.write(foxText.getBytes("UTF-8")); +fos.flush(); +} finally { +fos.close(); +} fos = new FileOutputStream(new File(alternate2, "test2.txt")); -fos.write(loremIpsum.getBytes("UTF-8")); -fos.flush(); fos.close(); +try { +fos.write(loremIpsum.getBytes("UTF-8")); +fos.flush(); +} finally { +fos.close(); +} // Finally, create the Context FileDirContext ctx = new FileDirContext(); @@ -191,9 +202,6 @@ public class TestNamingContext extends T contents = new String(buffer, 0, len, "UTF-8"); assertEquals(loremIpsum, contents); - -// Clean-up -addDeleteOnTearDown(tmpDir); } public static final class Bug49994Servlet extends HttpServlet { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot failure in ASF Buildbot on tomcat-7-trunk
The Buildbot has detected a new failure on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/641 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1347584 Blamelist: kkolinko BUILD FAILED: failed compile_1 sincerely, -The Buildbot - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot failure in ASF Buildbot on tomcat-trunk
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/3053 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stamp: [branch tomcat/trunk] 1347583 Blamelist: kkolinko BUILD FAILED: failed compile_1 sincerely, -The Buildbot
[Bug 53381] New: NPE at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2963)
https://issues.apache.org/bugzilla/show_bug.cgi?id=53381 Priority: P2 Bug ID: 53381 Assignee: dev@tomcat.apache.org Summary: NPE at org.apache.catalina.loader.WebappClassLoader.findResou rceInternal(WebappClassLoader.java:2963) Severity: normal Classification: Unclassified OS: Linux Reporter: ra...@lucierna.com Hardware: PC Status: NEW Version: 6.0.32 Component: Catalina Product: Tomcat 6 I get this exception sometimes. I think that occurs in re-deploys but I am not sure if only occurs in this case. java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2963) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:1242) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1389) at org.aspectj.apache.bcel.util.ClassLoaderRepository.toURL(ClassLoaderRepository.java:276) at org.aspectj.apache.bcel.util.ClassLoaderRepository.loadClass(ClassLoaderRepository.java:289) at org.aspectj.weaver.bcel.BcelWorld.lookupJavaClass(BcelWorld.java:402) at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate(BcelWorld.java:376) at org.aspectj.weaver.ltw.LTWWorld.resolveDelegate(LTWWorld.java:107) at org.aspectj.weaver.World.resolveToReferenceType(World.java:488) at org.aspectj.weaver.World.resolve(World.java:329) at org.aspectj.weaver.World.resolve(World.java:239) at org.aspectj.weaver.ResolvedTypeMunger.matches(ResolvedTypeMunger.java:110) at org.aspectj.weaver.ConcreteTypeMunger.matches(ConcreteTypeMunger.java:82) at org.aspectj.weaver.bcel.BcelWeaver.weaveNormalTypeMungers(BcelWeaver.java:1627) at org.aspectj.weaver.bcel.BcelWeaver.addNormalTypeMungers(BcelWeaver.java:1437) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1128) at org.aspectj.weaver.tools.WeavingAdaptor.getWovenBytes(WeavingAdaptor.java:525) at org.aspectj.weaver.tools.WeavingAdaptor.weaveClass(WeavingAdaptor.java:361) at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java:100) at org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:54) at sun.instrument.TransformerManager.transform(Unknown Source) at sun.instrument.InstrumentationImpl.transform(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredFields(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2034) at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1929) at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1833) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:740) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4920) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3454) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1361) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642) at java.lang.Thread.run(Unknown Source) Any idea about -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53381] NPE at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2963)
https://issues.apache.org/bugzilla/show_bug.cgi?id=53381 --- Comment #1 from Konstantin Kolinko --- The stacktrace mentions org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2034) org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1929) org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1833) 1. So it happens during cleanup of static fields on web application shutdown. It is one of those features to remedy memory leaks in stopped applications. This particular cleanup can be turned off in Tomcat 6 by setting the following system property to the value of false (e.g. in conf/catalina.properties file): org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES See http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html Maybe this feature does not play well with org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter Do you use some form of lazy initialization/loading of classes? 2. Looking at WebappClassLoader.stop() line 1833, closing the JARs happens later than this call to clearReferences(). So it is unclear why JARs appear to be closed. To exclude bug 53225, a question: do you have "JreMemoryLeakPreventionListener" in your server.xml? It should not be an issue in 6.0.x - just confirming. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347737 - in /tomcat/trunk/java/org/apache/catalina/core: LocalStrings.properties LocalStrings_es.properties
Author: kkolinko Date: Thu Jun 7 17:55:38 2012 New Revision: 1347737 URL: http://svn.apache.org/viewvc?rev=1347737&view=rev Log: For https://issues.apache.org/bugzilla/show_bug.cgi?id=53057 Better wording for OpenSSL version number message that was added in r1312006. This is because OpenSSL version number includes name of the library. Sample message: Old: OpenSSL OpenSSL 1.0.0g 18 Jan 2012 successfully initialized New: OpenSSL successfully initialized (OpenSSL 1.0.0g 18 Jan 2012) Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 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=1347737&r1=1347736&r2=1347737&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties Thu Jun 7 17:55:38 2012 @@ -58,7 +58,7 @@ aprListener.initializeFIPSFailed=Failed aprListener.tooLateForSSLEngine=Cannot setSSLEngine: SSL has already been initialized aprListener.tooLateForSSLRandomSeed=Cannot setSSLRandomSeed: SSL has already been initialized aprListener.tooLateForFIPSMode=Cannot setFIPSMode: SSL has already been initialized -aprListener.initializedOpenSSL=OpenSSL {0} successfully initialized +aprListener.initializedOpenSSL=OpenSSL successfully initialized ({0}) asyncContextImpl.requestEnded=The request associated with the AsyncContext has already completed processing. containerBase.threadedStartFailed=A child container failed during start Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties?rev=1347737&r1=1347736&r2=1347737&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties (original) +++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties Thu Jun 7 17:55:38 2012 @@ -51,7 +51,7 @@ aprListener.aprDestroy = No pude apagar aprListener.sslInit = No pude inicializar el SSLEngine (Motor SSL) aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0} con la versión APR {1}. aprListener.flags = Capacidades APR\: IPv6 [{0}], enviar fichero [{1}], aceptar filtros [{2}], aleatorio [{3}]. -aprListener.initializedOpenSSL=OpenSSL {0} inicializado correctamente +aprListener.initializedOpenSSL=OpenSSL inicializado correctamente ({0}) asyncContextImpl.requestEnded = El requerimiento asociado con AsyncContext ya ha completado su procesamiento. containerBase.backgroundProcess.cluster = Excepci\u00F3n al procesar cl\u00FAster {0} de proceso en segundo plano containerBase.backgroundProcess.loader = Excepci\u00F3n al procesar cargador {0} de proceso en segundo plano - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347741 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/LocalStrings.properties java/org/apache/catalina/core/LocalStrings_es.properties
Author: kkolinko Date: Thu Jun 7 18:02:28 2012 New Revision: 1347741 URL: http://svn.apache.org/viewvc?rev=1347741&view=rev Log: Merged revision 1347737 from tomcat/trunk: For https://issues.apache.org/bugzilla/show_bug.cgi?id=53057 Better wording for OpenSSL version number message that was added in r1312006. This is because OpenSSL version number includes name of the library. Sample message: Old: OpenSSL OpenSSL 1.0.0g 18 Jan 2012 successfully initialized New: OpenSSL successfully initialized (OpenSSL 1.0.0g 18 Jan 2012) Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1347737 Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=1347741&r1=1347740&r2=1347741&view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties Thu Jun 7 18:02:28 2012 @@ -65,7 +65,7 @@ aprListener.initializeFIPSFailed=Failed aprListener.tooLateForSSLEngine=Cannot setSSLEngine: SSL has already been initialized aprListener.tooLateForSSLRandomSeed=Cannot setSSLRandomSeed: SSL has already been initialized aprListener.tooLateForFIPSMode=Cannot setFIPSMode: SSL has already been initialized -aprListener.initializedOpenSSL=OpenSSL {0} successfully initialized +aprListener.initializedOpenSSL=OpenSSL successfully initialized ({0}) asyncContextImpl.requestEnded=The request associated with the AsyncContext has already completed processing. containerBase.threadedStartFailed=A child container failed during start Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties?rev=1347741&r1=1347740&r2=1347741&view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties Thu Jun 7 18:02:28 2012 @@ -58,7 +58,7 @@ aprListener.aprDestroy = No pude apagar aprListener.sslInit = No pude inicializar el SSLEngine (Motor SSL) aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0} con la versión APR {1}. aprListener.flags = Capacidades APR\: IPv6 [{0}], enviar fichero [{1}], aceptar filtros [{2}], aleatorio [{3}]. -aprListener.initializedOpenSSL=OpenSSL {0} inicializado correctamente +aprListener.initializedOpenSSL=OpenSSL inicializado correctamente ({0}) asyncContextImpl.requestEnded = El requerimiento asociado con AsyncContext ya ha completado su procesamiento. containerBase.alreadyStarted = Ya ha sido arrancado el Contenedor {0} containerBase.notConfigured = No se ha configurado V\u00E1lvula b\u00E1sica - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 48956] SSI regular expressions not working
https://issues.apache.org/bugzilla/show_bug.cgi?id=48956 --- Comment #4 from Konstantin Kolinko --- (In reply to comment #3) > Hi, I found a bug working with Tomcat, SSI and regular expression that is > still unresolved and my work is essential for proper operation: I do not understand your description. What do you mean by "fails" and what do you mean by "returns nothing"? Please provide: 1. What are the steps to reproduce your problem 2. What is the actual behaviour that you are observing. 3. What do you expect the correct behaviour to be. === By the way: 1. The actual implementation Regexp matching is in org/apache/catalina/ssi/ExpressionParseTree.java, in method compareBranches() 2. The feature was implemented by r1136231 and r1136399 3. r1136399 was result of discussion in "Re: r1136231" thread on dev@. In archives: http://markmail.org/message/g6ba77x7abkhibnn http://marc.info/?t=13081779843&r=1&w=2 4. If you can provide a patch for ExpressionParseTree#compareBranches(), it would be faster. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot success in ASF Buildbot on tomcat-trunk
The Buildbot has detected a restored build on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/3054 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stamp: [branch tomcat/trunk] 1347737 Blamelist: kkolinko Build succeeded! sincerely, -The Buildbot
tcnative documentation is broken on tomcat.apache.org
All, http://tomcat.apache.org/native-doc/ It says that tcnative 2.0.0 has been released, has no date, and links to non-existent files. Same thing with http://tomcat.apache.org/native-doc/news/2010.html Can someone take a look? -chris signature.asc Description: OpenPGP digital signature
Re: tcnative documentation is broken on tomcat.apache.org
2012/6/8 Christopher Schultz : > All, > > http://tomcat.apache.org/native-doc/ > > It says that tcnative 2.0.0 has been released, has no date, and links to > non-existent files. > > Same thing with http://tomcat.apache.org/native-doc/news/2010.html > > Can someone take a look? > Apparently it was built from native/trunk, instead of native/branches/1.1.x I'll take care of it. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347783 - /tomcat/site/trunk/
Author: kkolinko Date: Thu Jun 7 20:47:17 2012 New Revision: 1347783 URL: http://svn.apache.org/viewvc?rev=1347783&view=rev Log: Remove svn:externals property. I'll update instructions accordingly. Modified: tomcat/site/trunk/ (props changed) Propchange: tomcat/site/trunk/ ('svn:externals' removed) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347801 - in /tomcat/site/trunk: ./ jk-xdocs/ jk-xdocs/ajp/ jk-xdocs/generic_howto/ jk-xdocs/images/ jk-xdocs/jk2/ jk-xdocs/miscellaneous/ jk-xdocs/news/ jk-xdocs/reference/ jk-xdocs/webs
Author: kkolinko Date: Thu Jun 7 21:16:21 2012 New Revision: 1347801 URL: http://svn.apache.org/viewvc?rev=1347801&view=rev Log: Add empty copies of jk/trunk/xdocs and native/branches/1.1.x/xdocs. Let's keep them empty. I set svn:ignore=* on them. Update instructions. Added: tomcat/site/trunk/jk-xdocs/ (props changed) - copied from r1347785, tomcat/jk/trunk/xdocs/ tomcat/site/trunk/native-1.1-xdocs/ (props changed) - copied from r1347785, tomcat/native/branches/1.1.x/xdocs/ Removed: tomcat/site/trunk/jk-xdocs/ajp/ tomcat/site/trunk/jk-xdocs/build.xml tomcat/site/trunk/jk-xdocs/empty.xml tomcat/site/trunk/jk-xdocs/generic_howto/ tomcat/site/trunk/jk-xdocs/images/ tomcat/site/trunk/jk-xdocs/index.xml tomcat/site/trunk/jk-xdocs/jk2/ tomcat/site/trunk/jk-xdocs/miscellaneous/ tomcat/site/trunk/jk-xdocs/news/ tomcat/site/trunk/jk-xdocs/project.xml tomcat/site/trunk/jk-xdocs/reference/ tomcat/site/trunk/jk-xdocs/style.css tomcat/site/trunk/jk-xdocs/style.xsl tomcat/site/trunk/jk-xdocs/webserver_howto/ tomcat/site/trunk/native-1.1-xdocs/build.xml tomcat/site/trunk/native-1.1-xdocs/images/ tomcat/site/trunk/native-1.1-xdocs/index.xml tomcat/site/trunk/native-1.1-xdocs/miscellaneous/ tomcat/site/trunk/native-1.1-xdocs/news/ tomcat/site/trunk/native-1.1-xdocs/project.xml tomcat/site/trunk/native-1.1-xdocs/style.css tomcat/site/trunk/native-1.1-xdocs/style.xsl Modified: tomcat/site/trunk/README.txt tomcat/site/trunk/build.xml Modified: tomcat/site/trunk/README.txt URL: http://svn.apache.org/viewvc/tomcat/site/trunk/README.txt?rev=1347801&r1=1347800&r2=1347801&view=diff == --- tomcat/site/trunk/README.txt (original) +++ tomcat/site/trunk/README.txt Thu Jun 7 21:16:21 2012 @@ -82,11 +82,27 @@ To update the documentation for Tomcat 5 To update the documentation for Tomcat Native or Tomcat Connectors: -1. Update the svn-external for tomcat-site to point to the correct revision. - This *must* match the tag for the latest released version. -2. cd into your tomcat-site directory and execute: +One way to update documentation is to: + + - Build it in those projects, e.g. as a part of release process, + and to replace docs/native-doc or docs/connectors-doc with the docs + that you have built. + +Another way is to call the bring the sources into this project and build +them here. + +For the latter: + +1. Use "svn switch" command to switch jk-xdocs or native-1.1-xdocs + directories to xdocs directory of trunk or tag in those projects. + + + Or just copy "xdocs" directory from source distributive of released + version. + +2. cd into your tomcat-site directory and execute one of the following +commands: - svn up ant release-native ant release-jk Modified: tomcat/site/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=1347801&r1=1347800&r2=1347801&view=diff == --- tomcat/site/trunk/build.xml (original) +++ tomcat/site/trunk/build.xml Thu Jun 7 21:16:21 2012 @@ -160,7 +160,7 @@ - + Propchange: tomcat/site/trunk/jk-xdocs/ -- --- svn:ignore (added) +++ svn:ignore Thu Jun 7 21:16:21 2012 @@ -0,0 +1 @@ +* Propchange: tomcat/site/trunk/native-1.1-xdocs/ -- --- svn:ignore (added) +++ svn:ignore Thu Jun 7 21:16:21 2012 @@ -0,0 +1 @@ +* - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347808 - /tomcat/site/trunk/README.txt
Author: kkolinko Date: Thu Jun 7 21:34:47 2012 New Revision: 1347808 URL: http://svn.apache.org/viewvc?rev=1347808&view=rev Log: Update instruction, adding examples of commands Modified: tomcat/site/trunk/README.txt Modified: tomcat/site/trunk/README.txt URL: http://svn.apache.org/viewvc/tomcat/site/trunk/README.txt?rev=1347808&r1=1347807&r2=1347808&view=diff == --- tomcat/site/trunk/README.txt (original) +++ tomcat/site/trunk/README.txt Thu Jun 7 21:34:47 2012 @@ -93,12 +93,41 @@ them here. For the latter: -1. Use "svn switch" command to switch jk-xdocs or native-1.1-xdocs +1. One of two variants: + +A) + + Use "svn switch" command to switch jk-xdocs or native-1.1-xdocs directories to xdocs directory of trunk or tag in those projects. + The command looks like the following: + + To switch to current development versions: + + svn switch "^/tomcat/jk/trunk/xdocs" jk-xdocs + svn switch "^/tomcat/native/branches/1.1.x/xdocs" native-1.1-xdocs + + To switch to tags for released versions: + + svn switch "^/tomcat/jk/tags/JK_1_2_37/xdocs" jk-xdocs + svn switch "^/tomcat/native/tags/TOMCAT_NATIVE_1_1_23/xdocs" native-1.1-xdocs + + To switch back to empty directories: + + svn switch "^/tomcat/site/trunk/jk-xdocs" jk-xdocs + svn switch "^/tomcat/site/trunk/native-1.1-xdocs" native-1.1-xdocs + + + To check to what URLs switched directories are mapped: + + svn info jk-xdocs + svn info native-1.1-xdocs + +B) - Or just copy "xdocs" directory from source distributive of released - version. + Or just copy the contents of "xdocs" directory from source + distributive of released version into empty jk-xdocs or native-1.1-xdocs + directories. 2. cd into your tomcat-site directory and execute one of the following commands: @@ -108,7 +137,7 @@ commands: 3. Check the changes with "svn status" command. - Remember there may be deleted / missing files or new files. + - Remember that there may be deleted / missing files or new files. 4. Commit the changes. 5. In the /www/tomcat.apache.org/ directory on people.a.o execute: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347812 - in /tomcat/site/trunk/docs/native-doc: index.html news/2012.html news/printer/2012.html printer/index.html
Author: kkolinko Date: Thu Jun 7 21:43:06 2012 New Revision: 1347812 URL: http://svn.apache.org/viewvc?rev=1347812&view=rev Log: Update tc-native documentation. Building it from branches/1.1.x. It includes release announcement for 1.1.23. Modified: tomcat/site/trunk/docs/native-doc/index.html tomcat/site/trunk/docs/native-doc/news/2012.html tomcat/site/trunk/docs/native-doc/news/printer/2012.html tomcat/site/trunk/docs/native-doc/printer/index.html Modified: tomcat/site/trunk/docs/native-doc/index.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/index.html?rev=1347812&r1=1347811&r2=1347812&view=diff == --- tomcat/site/trunk/docs/native-doc/index.html (original) +++ tomcat/site/trunk/docs/native-doc/index.html Thu Jun 7 21:43:06 2012 @@ -13,13 +13,13 @@ manual is described in more detail below -08 August 2011 - TC-Native-1.1.22 released -The Apache Tomcat team is proud to announce the immediate availability of Tomcat Native 1.1.22 Stable. +02 March 2012 - TC-Native-1.1.23 released +The Apache Tomcat team is proud to announce the immediate availability of Tomcat Native 1.1.23 Stable. -Download the http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.22/source/tomcat-native-1.1.22-src.tar.gz";>TC-native 1.1.22 release sources - | http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.22/source/tomcat-native-1.1.22-src.tar.gz.asc";>PGP signature +Download the http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.23/source/tomcat-native-1.1.23-src.tar.gz";>TC-native 1.1.23 release sources + | http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.23/source/tomcat-native-1.1.23-src.tar.gz.asc";>PGP signature -Download the http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.22/binaries/";>binaries for selected platforms. +Download the http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.23/binaries/";>binaries for selected platforms. Modified: tomcat/site/trunk/docs/native-doc/news/2012.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/news/2012.html?rev=1347812&r1=1347811&r2=1347812&view=diff == --- tomcat/site/trunk/docs/native-doc/news/2012.html (original) +++ tomcat/site/trunk/docs/native-doc/news/2012.html Thu Jun 7 21:43:06 2012 @@ -1,6 +1,21 @@ The Apache Tomcat Native - News - 2012 News and Statushttp://tomcat.apache.org/";>http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" border="0">LinksDocs HomeMiscellaneous DocumentationChangelogNews20082009201020112012The Apache Tomcat Native - News2012 News and Statusprint-friendlyversion 2012 News & Status + +08 August - TC-Native-1.1.23 released + +The Apache Tomcat team is proud to announce the immediate availability +of Tomcat Native 1.1.23. This is a stable release adding some bug fixes and +experimental support for OCSP and PKCS12 certificates. + + + + Please see the ChangeLog for a full list of changes. + +If you find any bugs while using this release, please fill in the +http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>Bugzilla +Bug Report. When entering bug select Native:JNI Component. + Copyright © 2008-2012, Apache Software Foundation Modified: tomcat/site/trunk/docs/native-doc/news/printer/2012.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/news/printer/2012.html?rev=1347812&r1=1347811&r2=1347812&view=diff == --- tomcat/site/trunk/docs/native-doc/news/printer/2012.html (original) +++ tomcat/site/trunk/docs/native-doc/news/printer/2012.html Thu Jun 7 21:43:06 2012 @@ -1,5 +1,20 @@ The Apache Tomcat Native - News - 2012 News and Statushttp://tomcat.apache.org/";>http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" border="0">The Apache Tomcat Native - News2012 News and Status2012 News & Status + +08 August - TC-Native-1.1.23 released + +The Apache Tomcat team is proud to announce the immediate availability +of Tomcat Native 1.1.23. This is a stable release adding some bug fixes and +experimental support for OCSP and PKCS12 certificates. + + + + Please see the ChangeLog for a full list of changes. + +If you find any bugs while using this release, please fill in the +http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>Bugzilla +Bug Report. When entering bug select Native:JNI Component. + Copyright © 2008-2012, Apache Software Foundation Modified: tomcat/site/trunk/docs/native-doc/printer/index.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/printer/index.html?rev=1347812&r1=1347811&r2=1347812&view=diff =
svn commit: r1347813 - in /tomcat/site/trunk: docs/index.html docs/oldnews.html xdocs/index.xml xdocs/oldnews.xml
Author: kkolinko Date: Thu Jun 7 21:46:30 2012 New Revision: 1347813 URL: http://svn.apache.org/viewvc?rev=1347813&view=rev Log: Move old release of connectors to oldnews. Modified: tomcat/site/trunk/docs/index.html tomcat/site/trunk/docs/oldnews.html tomcat/site/trunk/xdocs/index.xml tomcat/site/trunk/xdocs/oldnews.xml Modified: tomcat/site/trunk/docs/index.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1347813&r1=1347812&r2=1347813&view=diff == --- tomcat/site/trunk/docs/index.html (original) +++ tomcat/site/trunk/docs/index.html Thu Jun 7 21:46:30 2012 @@ -266,39 +266,6 @@ This version fixes few bugs and regressi - -Tomcat Connectors 1.2.36 Released2012-05-14 - - - - - - - -The Apache Tomcat Project is proud to announce the release of version 1.2.36 of -Apache Tomcat Connectors. -This version fixes few bugs found in 1.2.35 release. - - - - -Download | -ChangeLog for 1.2.36 - - - - - - - - - - - - - - - Tomcat 7.0.27 Released2012-04-05 Modified: tomcat/site/trunk/docs/oldnews.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/oldnews.html?rev=1347813&r1=1347812&r2=1347813&view=diff == --- tomcat/site/trunk/docs/oldnews.html (original) +++ tomcat/site/trunk/docs/oldnews.html Thu Jun 7 21:46:30 2012 @@ -185,6 +185,39 @@ + +Tomcat Connectors 1.2.36 Released2012-05-14 + + + + + + + +The Apache Tomcat Project is proud to announce the release of version 1.2.36 of +Apache Tomcat Connectors. +This version fixes few bugs found in 1.2.35 release. + + + + +Download | +ChangeLog for 1.2.36 + + + + + + + + + + + + + + + Tomcat Connectors 1.2.35 Released2012-03-24 Modified: tomcat/site/trunk/xdocs/index.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1347813&r1=1347812&r2=1347813&view=diff == --- tomcat/site/trunk/xdocs/index.xml (original) +++ tomcat/site/trunk/xdocs/index.xml Thu Jun 7 21:46:30 2012 @@ -49,18 +49,6 @@ This version fixes few bugs and regressi - - -The Apache Tomcat Project is proud to announce the release of version 1.2.36 of -Apache Tomcat Connectors. -This version fixes few bugs found in 1.2.35 release. - - -Download | -ChangeLog for 1.2.36 - - - The Apache Tomcat Project is proud to announce the release of version 7.0.27 of Modified: tomcat/site/trunk/xdocs/oldnews.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/oldnews.xml?rev=1347813&r1=1347812&r2=1347813&view=diff == --- tomcat/site/trunk/xdocs/oldnews.xml (original) +++ tomcat/site/trunk/xdocs/oldnews.xml Thu Jun 7 21:46:30 2012 @@ -8,6 +8,18 @@ + + +The Apache Tomcat Project is proud to announce the release of version 1.2.36 of +Apache Tomcat Connectors. +This version fixes few bugs found in 1.2.35 release. + + +Download | +ChangeLog for 1.2.36 + + + The Apache Tomcat Project is proud to announce the release of version 1.2.35 of - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: tcnative documentation is broken on tomcat.apache.org
2012/6/8 Konstantin Kolinko : > 2012/6/8 Christopher Schultz : >> All, >> >> http://tomcat.apache.org/native-doc/ >> >> It says that tcnative 2.0.0 has been released, has no date, and links to >> non-existent files. >> >> Same thing with http://tomcat.apache.org/native-doc/news/2010.html >> >> Can someone take a look? >> > > Apparently it was built from native/trunk, instead of native/branches/1.1.x > Fixed. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1347816 - in /tomcat/site/trunk/docs/native-doc/news: 2008.html 2009.html 2011.html 2012.html printer/2008.html printer/2009.html printer/2011.html printer/2012.html
Author: kkolinko Date: Thu Jun 7 22:00:45 2012 New Revision: 1347816 URL: http://svn.apache.org/viewvc?rev=1347816&view=rev Log: svn:eol-style = native Modified: tomcat/site/trunk/docs/native-doc/news/2008.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/2009.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/2011.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/2012.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/printer/2008.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/printer/2009.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/printer/2011.html (contents, props changed) tomcat/site/trunk/docs/native-doc/news/printer/2012.html (contents, props changed) Modified: tomcat/site/trunk/docs/native-doc/news/2008.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/news/2008.html?rev=1347816&r1=1347815&r2=1347816&view=diff == --- tomcat/site/trunk/docs/native-doc/news/2008.html (original) +++ tomcat/site/trunk/docs/native-doc/news/2008.html Thu Jun 7 22:00:45 2012 @@ -1,41 +1,41 @@ -The Apache Tomcat Native - News - 2008 News and Statushttp://tomcat.apache.org/";>http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" border="0">LinksDocs HomeMiscellaneous DocumentationChangelogNews20082009201020112012The Apache Tomcat Native - News2008 News and Statusprint-friendlyversion -2008 News & Status - - -18 November - TC-Native-1.1.16 released - -The Apache Tomcat team is proud to announce the immediate availability -of Tomcat Native 1.1.16. This is a stable release adding some bug fixes. - - - -11 September - TC-Native-1.1.15 released - -The Apache Tomcat team is proud to announce the immediate availability -of Tomcat Native 1.1.15. This is a stable release adding some bug fixes. - - - -4 July - TC-Native-1.1.14 released - -The Apache Tomcat team is proud to announce the immediate availability -of Tomcat Native 1.1.14. This is a stable release adding some bug fixes. - - - -15 February - TC-Native-1.1.13 released - -The Apache Tomcat team is proud to announce the immediate availability -of Tomcat Native 1.1.13. This is a stable release adding few new features -and some bug fixes. - - Please see the ChangeLog for a full list of changes. - -If you find any bugs while using this release, please fill in the -http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>Bugzilla -Bug Report. When entering bug select Native:JNI Component. - - - -Copyright © 2008-2012, Apache Software Foundation +The Apache Tomcat Native - News - 2008 News and Statushttp://tomcat.apache.org/";>http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" border="0">LinksDocs HomeMiscellaneous DocumentationChangelogNews20082009201020112012The Apache Tomcat Native - News2008 News and Statusprint-friendlyversion +2008 News & Status + + +18 November - TC-Native-1.1.16 released + +The Apache Tomcat team is proud to announce the immediate availability +of Tomcat Native 1.1.16. This is a stable release adding some bug fixes. + + + +11 September - TC-Native-1.1.15 released + +The Apache Tomcat team is proud to announce the immediate availability +of Tomcat Native 1.1.15. This is a stable release adding some bug fixes. + + + +4 July - TC-Native-1.1.14 released + +The Apache Tomcat team is proud to announce the immediate availability +of Tomcat Native 1.1.14. This is a stable release adding some bug fixes. + + + +15 February - TC-Native-1.1.13 released + +The Apache Tomcat team is proud to announce the immediate availability +of Tomcat Native 1.1.13. This is a stable release adding few new features +and some bug fixes. + + Please see the ChangeLog for a full list of changes. + +If you find any bugs while using this release, please fill in the +http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206";>Bugzilla +Bug Report. When entering bug select Native:JNI Component. + + + +Copyright © 2008-2012, Apache Software Foundation \ No newline at end of file Propchange: tomcat/site/trunk/docs/native-doc/news/2008.html -- svn:eol-style = native Modified: tomcat/site/trunk/docs/native-doc/news/2009.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/news/2009.html?rev=1347816&r1=1347815&r2=1347816&view=diff == --- tomcat/site/trunk/docs/native-doc/news/2009.html (original) +++ tomcat/site/trunk/docs/native-doc/news/2009.html Thu Jun 7 22:00:45 2012 @@ -1,19 +1,19 @@ -The Apache Tomcat Native - News - 2009 News and Statushttp:/
[Tomcat Wiki] Trivial Update of "FAQ/Clustering" by ShawnYu
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "FAQ/Clustering" page has been changed by ShawnYu: http://wiki.apache.org/tomcat/FAQ/Clustering?action=diff&rev1=4&rev2=5 1. [[#Q6|Can I add more senders (pooled mode)?]] 1. [[#Q7|What happens when I pull the network cable?]] 1. [[#Q8|On my windows laptop without network my cluster doesn't work.]] - 1. [[#Q9|The cluster dosen't work under linux with two nodes on two boxes.]] + 1. [[#Q9|The cluster doesn't work under Linux with two nodes on two boxes.]] 1. [[#Q10|I get "localhost" rather than "eth0" or another interface when using tcpListenAddress="auto".]] == Answers == @@ -55, +55 @@ The Membership attribute mcastBindAddress="127.0.0.1" must be set! - <>'''The cluster dosen't work under linux with two nodes on two boxes.''' + <>'''The cluster doesn't work under Linux with two nodes on two boxes.''' Check the the following: * Is your network interface enabled for multicast? ifconfig eth0 MULTICAST - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org