[GitHub] tomcat pull request #51: #41 Check and update session record if one already ...

2017-04-01 Thread alexisgayte
GitHub user alexisgayte opened a pull request:

https://github.com/apache/tomcat/pull/51

#41 Check and update session record if one already exists.

- Closed the Statement.
- Update followed by insert if row==0 to minimize request.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/alexisgayte/tomcat trunk

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomcat/pull/51.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #51


commit e1be3e3c975a1ca5dec3499d941a5d381a1e0302
Author: Alexis GAYTE 
Date:   2017-04-01T11:37:30Z

#41 Check and update session record if one already exists.


- Closed the Statement.
- Update followed by insert if row==0 to minimize request.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GitHub] tomcat issue #51: #41 Check and update session record if one already exists.

2017-04-01 Thread alexisgayte
Github user alexisgayte commented on the issue:

https://github.com/apache/tomcat/pull/51
  
Hi Guys,
I could not run the test but I use this code for my tomcat8.
That will fix the issue #41.

Also remove and create the session create some issue if you want to link 
the PK in the database.



 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 6.0.52

2017-04-01 Thread Rainer Jung

Am 31.03.2017 um 20:39 schrieb Violeta Georgieva:

Hi,

2017-03-31 20:53 GMT+03:00 Rainer Jung :


Am 31.03.2017 um 16:09 schrieb Violeta Georgieva:


Hi,

2017-03-31 0:55 GMT+03:00 Rainer Jung :





I do not see problems on Windows OS, I'm going to test on Ubuntu
One question: Do you experience this issue only with 6.0.52? What about
0.6.51?



I have to try it. It did not happen in 6.0.50. I'll try with 51 and let

you know but probably only tomorrow.

I succeeded to reproduce it on Windows and Ubuntu.
It is happening only with this version 6.0.52.

I'm working on a patch.


Thanks, great. I can of course retest once you have a proposed patch for 
either 6.0.x or tcnative.


Regards,

Rainer


Regards,
Violeta


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1789838 - in /tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec: BinaryDecoder.java BinaryEncoder.java Decoder.java DecoderException.java Encoder.java EncoderException.java binary/Ba

2017-04-01 Thread markt
Author: markt
Date: Sat Apr  1 20:23:09 2017
New Revision: 1789838

URL: http://svn.apache.org/viewvc?rev=1789838&view=rev
Log:
Deprecated unused code

Modified:
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryDecoder.java
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryEncoder.java
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Decoder.java
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/DecoderException.java
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Encoder.java
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/EncoderException.java

tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java

Modified: 
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryDecoder.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryDecoder.java?rev=1789838&r1=1789837&r2=1789838&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryDecoder.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryDecoder.java 
Sat Apr  1 20:23:09 2017
@@ -18,7 +18,10 @@ package org.apache.tomcat.util.codec;
 
 /**
  * Defines common decoding methods for byte array decoders.
+ *
+ * @deprecated This interface is unused and will be removed in Tomcat 9
  */
+@Deprecated
 public interface BinaryDecoder extends Decoder {
 
 /**

Modified: 
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryEncoder.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryEncoder.java?rev=1789838&r1=1789837&r2=1789838&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryEncoder.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/BinaryEncoder.java 
Sat Apr  1 20:23:09 2017
@@ -18,7 +18,10 @@ package org.apache.tomcat.util.codec;
 
 /**
  * Defines common encoding methods for byte array encoders.
+ *
+ * @deprecated This interface is unused and will be removed in Tomcat 9
  */
+@Deprecated
 public interface BinaryEncoder extends Encoder {
 
 /**

Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Decoder.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Decoder.java?rev=1789838&r1=1789837&r2=1789838&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Decoder.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Decoder.java Sat Apr 
 1 20:23:09 2017
@@ -23,7 +23,10 @@ package org.apache.tomcat.util.codec;
  * Allows a user to pass a generic Object to any Decoder implementation in the 
codec package.
  * 
  * One of the two interfaces at the center of the codec package.
+ *
+ * @deprecated This interface is unused and will be removed in Tomcat 9
  */
+@Deprecated
 public interface Decoder {
 
 /**

Modified: 
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/DecoderException.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/DecoderException.java?rev=1789838&r1=1789837&r2=1789838&view=diff
==
--- 
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/DecoderException.java 
(original)
+++ 
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/DecoderException.java 
Sat Apr  1 20:23:09 2017
@@ -19,7 +19,10 @@ package org.apache.tomcat.util.codec;
 /**
  * Thrown when there is a failure condition during the decoding process. This 
exception is thrown when a {@link Decoder}
  * encounters a decoding specific exception such as invalid data, or 
characters outside of the expected range.
+ *
+ * @deprecated This exception is unused and will be removed in Tomcat 9
  */
+@Deprecated
 public class DecoderException extends Exception {
 
 /**

Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Encoder.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Encoder.java?rev=1789838&r1=1789837&r2=1789838&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Encoder.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/codec/Encoder.java Sat Apr 
 1 20:23:09 2017
@@ -22,7 +22,10 @@ package org.apache.tomcat.util.codec;
  * This is the sister interface of {@link Decoder}.  Every implementation of 
Encoder provides this
  * common generic interface which allows a user to pass a generic Object to 
any Encoder implementation
  * in the codec package.
+ *
+ * @deprecated This interface is unused and will be removed in Tomcat 9
  */
+@Deprecated
 public i

svn commit: r1789839 - in /tomcat/trunk/java/org/apache/tomcat/util/codec: BinaryDecoder.java BinaryEncoder.java Decoder.java DecoderException.java Encoder.java EncoderException.java binary/BaseNCodec

2017-04-01 Thread markt
Author: markt
Date: Sat Apr  1 20:23:44 2017
New Revision: 1789839

URL: http://svn.apache.org/viewvc?rev=1789839&view=rev
Log:
Remove unused code that has been deprecated in 8.5.x

Removed:
tomcat/trunk/java/org/apache/tomcat/util/codec/BinaryDecoder.java
tomcat/trunk/java/org/apache/tomcat/util/codec/BinaryEncoder.java
tomcat/trunk/java/org/apache/tomcat/util/codec/Decoder.java
tomcat/trunk/java/org/apache/tomcat/util/codec/DecoderException.java
tomcat/trunk/java/org/apache/tomcat/util/codec/Encoder.java
tomcat/trunk/java/org/apache/tomcat/util/codec/EncoderException.java
Modified:
tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java?rev=1789839&r1=1789838&r2=1789839&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java Sat 
Apr  1 20:23:44 2017
@@ -17,10 +17,6 @@
 package org.apache.tomcat.util.codec.binary;
 
 import org.apache.tomcat.util.buf.HexUtils;
-import org.apache.tomcat.util.codec.BinaryDecoder;
-import org.apache.tomcat.util.codec.BinaryEncoder;
-import org.apache.tomcat.util.codec.DecoderException;
-import org.apache.tomcat.util.codec.EncoderException;
 
 /**
  * Abstract superclass for Base-N encoders and decoders.
@@ -29,7 +25,7 @@ import org.apache.tomcat.util.codec.Enco
  * This class is thread-safe.
  * 
  */
-public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder {
+public abstract class BaseNCodec {
 
 /**
  * Holds thread context so classes can be thread-safe.
@@ -313,24 +309,6 @@ public abstract class BaseNCodec impleme
 }
 
 /**
- * Encodes an Object using the Base-N algorithm. This method is provided 
in order to satisfy the requirements of
- * the Encoder interface, and will throw an EncoderException if the 
supplied object is not of type byte[].
- *
- * @param obj
- *Object to encode
- * @return An object (of type byte[]) containing the Base-N encoded data 
which corresponds to the byte[] supplied.
- * @throws EncoderException
- * if the parameter supplied is not of type byte[]
- */
-@Override
-public Object encode(final Object obj) throws EncoderException {
-if (!(obj instanceof byte[])) {
-throw new EncoderException("Parameter supplied to Base-N encode is 
not a byte[]");
-}
-return encode((byte[]) obj);
-}
-
-/**
  * Encodes a byte[] containing binary data, into a String containing 
characters in the Base-N alphabet.
  * Uses UTF8 encoding.
  *
@@ -354,28 +332,6 @@ public abstract class BaseNCodec impleme
 }
 
 /**
- * Decodes an Object using the Base-N algorithm. This method is provided 
in order to satisfy the requirements of
- * the Decoder interface, and will throw a DecoderException if the 
supplied object is not of type byte[] or String.
- *
- * @param obj
- *Object to decode
- * @return An object (of type byte[]) containing the binary data which 
corresponds to the byte[] or String
- * supplied.
- * @throws DecoderException
- * if the parameter supplied is not of type byte[]
- */
-@Override
-public Object decode(final Object obj) throws DecoderException {
-if (obj instanceof byte[]) {
-return decode((byte[]) obj);
-} else if (obj instanceof String) {
-return decode((String) obj);
-} else {
-throw new DecoderException("Parameter supplied to Base-N decode is 
not a byte[] or a String");
-}
-}
-
-/**
  * Decodes a String containing characters in the Base-N alphabet.
  *
  * @param pArray
@@ -393,7 +349,6 @@ public abstract class BaseNCodec impleme
  *A byte array containing Base-N character data
  * @return a byte array containing binary data
  */
-@Override
 public byte[] decode(final byte[] pArray) {
 return decode(pArray, 0, pArray.length);
 }
@@ -417,7 +372,6 @@ public abstract class BaseNCodec impleme
  *a byte array containing binary data
  * @return A byte array containing only the base N alphabetic character 
data
  */
-@Override
 public byte[] encode(final byte[] pArray) {
 if (pArray == null || pArray.length == 0) {
 return pArray;



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1789841 - /tomcat/trunk/java/org/apache/jasper/servlet/JasperInitializer.java

2017-04-01 Thread markt
Author: markt
Date: Sat Apr  1 20:40:31 2017
New Revision: 1789841

URL: http://svn.apache.org/viewvc?rev=1789841&view=rev
Log:
Remove duplicated code. Previous call to SecurityClassLoad.securityClassLoad() 
loads all these classes and more.

Modified:
tomcat/trunk/java/org/apache/jasper/servlet/JasperInitializer.java

Modified: tomcat/trunk/java/org/apache/jasper/servlet/JasperInitializer.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/servlet/JasperInitializer.java?rev=1789841&r1=1789840&r2=1789841&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/servlet/JasperInitializer.java 
(original)
+++ tomcat/trunk/java/org/apache/jasper/servlet/JasperInitializer.java Sat Apr  
1 20:40:31 2017
@@ -50,24 +50,6 @@ public class JasperInitializer implement
 static {
 JspFactoryImpl factory = new JspFactoryImpl();
 
SecurityClassLoad.securityClassLoad(factory.getClass().getClassLoader());
-if( System.getSecurityManager() != null ) {
-String basePackage = "org.apache.jasper.";
-try {
-factory.getClass().getClassLoader().loadClass( basePackage +
-"runtime.JspFactoryImpl$PrivilegedGetPageContext");
-factory.getClass().getClassLoader().loadClass( basePackage +
-"runtime.JspFactoryImpl$PrivilegedReleasePageContext");
-factory.getClass().getClassLoader().loadClass( basePackage +
-"runtime.JspRuntimeLibrary");
-factory.getClass().getClassLoader().loadClass( basePackage +
-"runtime.ServletResponseWrapperInclude");
-factory.getClass().getClassLoader().loadClass( basePackage +
-"servlet.JspServletWrapper");
-} catch (ClassNotFoundException ex) {
-throw new IllegalStateException(ex);
-}
-}
-
 if (JspFactory.getDefaultFactory() == null) {
 JspFactory.setDefaultFactory(factory);
 }



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1789842 - /tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java

2017-04-01 Thread markt
Author: markt
Date: Sat Apr  1 20:42:05 2017
New Revision: 1789842

URL: http://svn.apache.org/viewvc?rev=1789842&view=rev
Log:
Reformat. No functional changed.

Modified:
tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java

Modified: tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java?rev=1789842&r1=1789841&r2=1789842&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java 
(original)
+++ tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java Sat Apr 
 1 20:42:05 2017
@@ -14,8 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.jasper.security;
 
 import org.apache.juli.logging.Log;
@@ -26,7 +24,6 @@ import org.apache.juli.logging.LogFactor
  * Java SecurityManager so that the defineClassInPackage
  * RuntimePermission does not trigger an AccessControlException.
  */
-
 public final class SecurityClassLoad {
 
 private static final Log log = LogFactory.getLog(SecurityClassLoad.class);
@@ -40,65 +37,41 @@ public final class SecurityClassLoad {
 final String basePackage = "org.apache.jasper.";
 try {
 // Ensure XMLInputFactory is loaded with Tomcat's class loader
-loader.loadClass( basePackage +
-"compiler.EncodingDetector");
+loader.loadClass( basePackage + "compiler.EncodingDetector");
+
+loader.loadClass( basePackage + 
"runtime.JspFactoryImpl$PrivilegedGetPageContext");
+loader.loadClass( basePackage + 
"runtime.JspFactoryImpl$PrivilegedReleasePageContext");
+
+loader.loadClass( basePackage + "runtime.JspRuntimeLibrary");
 
-loader.loadClass( basePackage +
-"runtime.JspFactoryImpl$PrivilegedGetPageContext");
-loader.loadClass( basePackage +
-"runtime.JspFactoryImpl$PrivilegedReleasePageContext");
-
-loader.loadClass( basePackage +
-"runtime.JspRuntimeLibrary");
-
-loader.loadClass( basePackage +
-"runtime.ServletResponseWrapperInclude");
-loader.loadClass( basePackage +
-"runtime.TagHandlerPool");
-loader.loadClass( basePackage +
-"runtime.JspFragmentHelper");
-
-loader.loadClass( basePackage +
-"runtime.ProtectedFunctionMapper");
-
-loader.loadClass( basePackage +
-"runtime.PageContextImpl");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$1");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$2");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$3");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$4");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$5");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$6");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$7");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$8");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$9");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$10");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$11");
-loader.loadClass( basePackage +
-"runtime.PageContextImpl$12");
+loader.loadClass( basePackage + 
"runtime.ServletResponseWrapperInclude");
+loader.loadClass( basePackage + "runtime.TagHandlerPool");
+loader.loadClass( basePackage + "runtime.JspFragmentHelper");
+
+loader.loadClass( basePackage + "runtime.ProtectedFunctionMapper");
+
+loader.loadClass( basePackage + "runtime.PageContextImpl");
+loader.loadClass( basePackage + "runtime.PageContextImpl$1");
+loader.loadClass( basePackage + "runtime.PageContextImpl$2");
+loader.loadClass( basePackage + "runtime.PageContextImpl$3");
+loader.loadClass( basePackage + "runtime.PageContextImpl$4");
+loader.loadClass( basePackage + "runtime.PageContextImpl$5");
+loader.loadClass( basePackage + "runtime.PageContextImpl$6");
+loader.loadClass( basePackage + "runtime.PageContextImpl$7");
+loader.loadClass( basePackage + "runtime.PageContextImpl$8");
+loader.loadClass( basePackage + "runtime.PageContextImpl$9");
+loader.loadClass( basePackage + "runtime.PageContextImpl$10");
+loader.loadClass(

[GUMP@vmgump-vm3]: Project tomcat-trunk-test-nio (in module tomcat-trunk) failed

2017-04-01 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-test-nio has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 10 runs.
The current state of this project is 'Failed', with reason 'Build Timed Out'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test-nio :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:
http://vmgump-vm3.apache.org/tomcat-trunk/tomcat-trunk-test-nio/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -INFO- Failed with reason build timed out
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/logs-NIO
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-NIO/logs
 -WARNING- No directory 
[/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-NIO/logs]



The following work was performed:
http://vmgump-vm3.apache.org/tomcat-trunk/tomcat-trunk-test-nio/gump_work/build_tomcat-trunk_tomcat-trunk-test-nio.html
Work Name: build_tomcat-trunk_tomcat-trunk-test-nio (Type: Build)
Work ended in a state of : Failed
Elapsed: 60 mins
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar 
-Djava.net.preferIPv4Stack=/srv/gump/public/workspace/tomcat-trunk/true 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.6-SNAPSHOT.jar
 -Dtest.reports=output/logs-NIO 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20170402-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dbase.path=/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar 
-Dtest.relaxTiming=true 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20170402.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20170402-native-src.
 tar.gz -Dtest.temp=output/test-tmp-NIO -Dtest.accesslog=true 
-Dexecute.test.nio=true 
-Dtest.openssl.path=/srv/gump/public/workspace/openssl-master/dest-20170402/bin/openssl
 -Dexecute.test.apr=false -Dtest.excludePerformance=true 
-Dexecute.test.nio2=false 
-Deasymock.jar=/srv/gump/public/workspace/easymock/core/target/easymock-3.5-SNAPSHOT.jar
 -Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar 
-Dcglib.jar=/srv/gump/packages/cglib/cglib-nodep-2.2.jar test 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.ja
 
r:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/websocket-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jaspic-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-storeconfig.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catali

Re: [CANCEL][VOTE] Release Apache Tomcat 6.0.52

2017-04-01 Thread Violeta Georgieva
Hi,

2017-03-28 22:38 GMT+03:00 Violeta Georgieva :
>
> The proposed Apache Tomcat 6.0.52 release is now available for voting.
>
> Note: This is the last Tomcat 6 release.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-6/v6.0.52/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1129/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_52/
>
> The proposed 6.0.52 release is:
> [X] Broken - do not release
> [ ] Stable - go ahead and release as 6.0.52 Stable

I'm cancelling the vote because of the issue reported by Rainer.

Regards,
Violeta


svn commit: r1789854 - /tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

2017-04-01 Thread violetagg
Author: violetagg
Date: Sun Apr  2 06:45:47 2017
New Revision: 1789854

URL: http://svn.apache.org/viewvc?rev=1789854&view=rev
Log:
6.0.52 did not pass the vote

Modified:
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1789854&r1=1789853&r2=1789854&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Sun Apr  2 06:45:47 2017
@@ -46,7 +46,7 @@
 -->
 
 
-
+
   
 
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r19002 - /dev/tomcat/tomcat-6/v6.0.52/

2017-04-01 Thread violetagg
Author: violetagg
Date: Sun Apr  2 06:46:45 2017
New Revision: 19002

Log:
Tomcat 6.0.52 did not pass the vote

Removed:
dev/tomcat/tomcat-6/v6.0.52/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1789856 - in /tomcat/tc6.0.x/trunk: java/org/apache/coyote/http11/Http11AprProcessor.java webapps/docs/changelog.xml

2017-04-01 Thread violetagg
Author: violetagg
Date: Sun Apr  2 06:58:29 2017
New Revision: 1789856

URL: http://svn.apache.org/viewvc?rev=1789856&view=rev
Log:
Ensure that the socket is returned only once to the poller.

Modified:
tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java?rev=1789856&r1=1789855&r2=1789856&view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java 
Sun Apr  2 06:58:29 2017
@@ -826,8 +826,6 @@ public class Http11AprProcessor implemen
 // (long keepalive), so that the processor should be 
recycled
 // and the method should return true
 openSocket = true;
-// Add the socket to the poller
-endpoint.getPoller().add(socket);
 break;
 }
 request.setStartTime(System.currentTimeMillis());

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1789856&r1=1789855&r2=1789856&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Sun Apr  2 06:58:29 2017
@@ -45,6 +45,13 @@
  General, Catalina, Coyote, Jasper, Cluster, Web applications, Other
 -->
 
+  
+
+  
+Ensure that the socket is returned only once to the poller. (violetagg)
+  
+
+  
 
 
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org