Re: [GUMP@vmgump]: Project tomcat-tc8.0.x-test-apr (in module tomcat-8.0.x) failed

2015-10-07 Thread Mark Thomas


>[concat] Testsuites with failed tests:
>[concat] TEST-org.apache.tomcat.util.net.TestSsl.APR.txt
>[concat] TEST-org.apache.tomcat.websocket.TestWebSocketFrameClient.APR.txt
>[concat] 
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.APR.txt
>[concat] TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.APR.txt

I've been looking into some of these failures (the SSL ones). It looks
like OpenSSL is rejecting the opening client handshake as corrupt. I've
looked at the data in Wireshark and it looks to be OK so I need to do
some more digging.

Mark

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



[Bug 57129] Regression. Load WEB-INF/lib jarfiles in alphabetical order

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57129

--- Comment #13 from Joachim Economou  ---
I understand the argument that an application that depends on Tomcat reading
its jar files alphabetically is broken, however we are talking about a behavior
that has persisted since at least Tomcat 5. It may have been unintentional or
just plain wrong, but there are a lot of projects out there that have come to
depend on it. Moreover it's awfully hard to debug, since most people probably
don't understand that they use that behavior.

I believe that the core problem is that some apps will fail depended on the
underlying file system. If the target is to discourage people having the same
classes in different jars, a warning could be added during classloading
notifying users about that. Still, as Guillaume Smet has already mentioned,
keeping track of them in large projects is not practical.

Even though I am on the fence about matching the behavior of earlier versions,
at the very least it should be mentioned in the migration guide, with the
PreResources workaround.

-- 
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



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

2015-10-07 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-apr has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 3 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-apr :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-apr/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-APR
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-APR/logs
 -WARNING- No directory 
[/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-APR/logs]



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-apr/gump_work/build_tomcat-trunk_tomcat-trunk-test-apr.html
Work Name: build_tomcat-trunk_tomcat-trunk-test-apr (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 hour 1 sec
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 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.3-SNAPSHOT.jar
 -Dtest.reports=output/logs-APR 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151007-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar 
-Dtest.apr.loc=/srv/gump/public/workspace/tomcat-native-trunk/dest-20151007/lib 
-Dtest.relaxTiming=true 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20151007.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151007-native-src.tar.gz
 -Dtest.temp=output/test-tmp-APR -Dtest.accesslog=true -
 Dexecute.test.nio=false 
-Dtest.openssl.path=/srv/gump/public/workspace/openssl-master/dest-20151007/bin/openssl
 -Dexecute.test.apr=true -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/catalina-tribes.jar:/srv/g

svn commit: r1707210 - /tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java

2015-10-07 Thread remm
Author: remm
Date: Wed Oct  7 09:09:52 2015
New Revision: 1707210

URL: http://svn.apache.org/viewvc?rev=1707210&view=rev
Log:
Cleanup logic (no change).

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java?rev=1707210&r1=1707209&r2=1707210&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SecureNio2Channel.java Wed Oct 
 7 09:09:52 2015
@@ -86,9 +86,9 @@ public class SecureNio2Channel extends N
 public void completed(Integer result, 
SocketWrapperBase attachment) {
 if (result.intValue() < 0) {
 failed(new EOFException(), attachment);
-return;
+} else {
+endpoint.processSocket(attachment, SocketStatus.OPEN_READ, 
false);
 }
-endpoint.processSocket(attachment, SocketStatus.OPEN_READ, 
false);
 }
 @Override
 public void failed(Throwable exc, SocketWrapperBase 
attachment) {
@@ -100,9 +100,9 @@ public class SecureNio2Channel extends N
 public void completed(Integer result, 
SocketWrapperBase attachment) {
 if (result.intValue() < 0) {
 failed(new EOFException(), attachment);
-return;
+} else {
+endpoint.processSocket(attachment, 
SocketStatus.OPEN_WRITE, false);
 }
-endpoint.processSocket(attachment, SocketStatus.OPEN_WRITE, 
false);
 }
 @Override
 public void failed(Throwable exc, SocketWrapperBase 
attachment) {



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



[GUMP@vmgump]: Project tomcat-tc7.0.x-test-apr (in module tomcat-7.0.x) failed

2015-10-07 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-tc7.0.x-test-apr has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc7.0.x-test-apr :  Tomcat 7.x, a web server implementing Java 
Servlet 3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test-apr/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -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.
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-7.0.x/output/logs-APR
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-7.0.x/output/test-tmp-APR/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test-apr/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test-apr.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test-apr (Type: Build)
Work ended in a state of : Failed
Elapsed: 33 mins 20 secs
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 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151007-native-src.tar.gz
 -Dtest.reports=output/logs-APR 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151007-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar 
-Dtest.apr.loc=/srv/gump/public/workspace/tomcat-native/dest-20151007/lib 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20151007.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.exclu
 dePerformance=true -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/srv/gump/public/workspace/commons-dbcp-1.x 
-Dexecute.test.apr=true -Dexecute.test.bio=false -Dexecute.test.nio=false 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-20151007.jar
 -Dtest.temp=output/test-tmp-APR 
-Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar test 
[Working Directory: /srv/gump/public/workspace/tomcat-7.0.x]
CLASSPATH: 
/usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/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-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.ja
 
r:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/pub

[Bug 57129] Regression. Load WEB-INF/lib jarfiles in alphabetical order

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57129

--- Comment #14 from Guillaume Smet  ---
Hi Joachim,

The issue with PreResources is that you need to use an absolute path which is
quite impractical.

Moreover, it doesn't solve the issue of having something predictable for class
loading order.

It's far from being perfect but I created
https://github.com/openwide-java/tomcat-classloader-ordered to work around this
issue.

That being said, I still think it should be fixed directly in Tomcat.

HTH

-- 
Guillaume

-- 
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



Re: Using CredentialHandlers in application code

2015-10-07 Thread Christopher Schultz
Mark,

On 10/6/15 2:44 PM, Mark Thomas wrote:
> On 06/10/2015 18:05, Christopher Schultz wrote:
>> All,
>>
>> We (somewhat) recently introduced the CredentialHandler to Tomcat in
>> order to make it easier to use different password-munging strategies
>> along with all the Realm implementations. A good example is using a hash
>> like SHA-256 in one case (using MessageDigest) and using PBKDF2 in
>> another case (using SecreyKey, etc.). In the past, we had been limited
>> to whatever the MessageDigest class could support, and we have a nice,
>> flexible system, now.
>>
>> This is great for authentication against data already stored somewhere
>> e.g. a relational database. But it currently does not have an obviously
>> usable component for an application.
>>
>> Yes, you can drop catalina.jar into your application's lib directory and
>> then you can do this:
>>
>> SecretKeyCredentialHandler ch = new SecretKeyCredentialHandler();
>>
>> ch.setAlgorithm(ALGORITHM);
>> ch.setIterations(ITERATIONS);
>> ch.setSaltLength(SALT_LENGTH);;
>> ch.setKeyLength(KEY_LENGTH);
>>
>> hashedPassword = ch.mutate(user.getPassword());
>>
>> ... but there are two downsides to this:
>>
>> 1. The whole of catalina.jar is included in your application, possibly
>>breaking a great many things
>> 2. You have to make sure that all of the values match whatever you have
>>configured in your  element in context.xml
>>(or server.xml)
>>
>> To solve the first problem, I'm wondering if we could produce an
>> artifact during the build that just contains the interfaces, etc. for
>> the CredentialHandlers. This would allow users to build against them and
>> even lazily deploy them with their code.
> 
> It doesn't look to be that easy to extract the relevant classes and
> their dependencies into a separate JAR. If folks want to interact with
> the Tomcat internals I don't think it is unreasonable to expect them to
> compile against the standard JARs.

What about an ant target to build just that JAR? It's pretty simple for
us to add, and we could just leave it in the src package. So it's one
more step for a dev to build a separate JAR (get the source package, or,
alternatively, extract the classes).

Or we could just say "build against catalina.jar, but don't bundle it
with your web app".

>> For the second issue, I don't see any opportunities at present.
>>
>> It doesn't look like the application's Realms are available via JMX if
>> they are declared local to the application -- only the global Realms are
>> represented by MBeans. Also, it doesn't look like the Realms offer
>> access to the CredentialHandlers even if they were available.
>>
>> I think these are two oversights that ought to be corrected: local
>> Realms ought to be locatable via JMX just as local DataSources are
>> available in e.g.
>> Catalina:type=DataSource,host=[host],context=/[context-path],class=javax.sql.DataSource,name="[name]"
>> and also Realms ought to expose information about their CredentialHandlers.
> 
> +1.
> 
>> If those are available, then applications can simply grab the same
>> CredentialHandler that Tomcat is using for authentication and use it for
>> two obvious use-cases I can think of:
>>
>> 1. Preparing new credentials for saving to the user data store (e.g.
>>registration, change-password, etc.)
>> 2. Verifying existing credentials without Tomcat performing
>>authentication (e.g. check-password required to update account
>>info, inspect password history to prohibit repeats, etc.)
>>
>> The only caveat is that the application definitely would not be able to
>> deploy either catalina.jar or catalina-only-credential-handlers.jar,
>> otherwise they'll get ClassCastExceptions when they try to use them. But
>> that's okay: documentation can take care of that to some degree.
>>
>> Does anyone have any thoughts on any of those items? I'd really like for
>> applications to be able to re-use those components if possible.
> 
> Big +1 to the JMX.

I'll have a look at doing that. I'll start with making the CH available
for a Realm since I think that will be slightly easier. Then I'll see
about making local-realms visible. I'm not sure where all of that code
is, so if someone wants to beat me to the punch, I'm happy to let them.

> No so sure about the separate JAR.
> 
> How about a Realm option to expose the CredentialHandler via a customer
> ServletContext attribute? That way users wouldn't have to jump through
> JMX hoops including knowing the container names.

Oh, that would be way better. JMX is ... awful, but it gets the job done
for remote-control and other similar use-cases.

I think it would be really great to have
org.apache.catalina.realm.credentialHandler bound to the in-effect
credential handler for the application. Is there a good way to protect
servlet-context-scoped attributes so they can't be overwritten?

Thanks,
-chris



signature.asc
Description: OpenPGP digital signature


Re: Bug #57505 - Integration tests for JspC

2015-10-07 Thread Jeremy Boynes
On Sep 21, 2015, at 11:23 AM, Dinesh Joshi  wrote:
> 
> Hi all,
> 
> I'm looking to contribute to Tomcat development. I am planning to take a 
> crack at this bug - https://bz.apache.org/bugzilla/show_bug.cgi?id=57505 
> Anybody working on it? Can someone give me some pointers on how I should 
> proceed with it?

IIRC, I opened this after we had a couple of regressions during refactoring of 
Jasper that worked within the container but did not work when run for 
pre-compilation. I don’t think anyone is looking at it and all contributions 
would be welcome.

Pointers … this would be a different type of test case as most of our existing 
integration tests spin up an embedded server which is the opposite of what is 
needed here. JspC is a JavaBean designed for use in an Ant task so executing it 
from a test should not be difficult. Most of the work would be in verifying the 
results. Ideas here might be to pre-process one or more webapps and inspect the 
generated Java or compile it, deploy it to an embedded server and execute the 
pre-compiled pages; the latter might be easier.

Cheers
Jeremy



signature.asc
Description: Message signed with OpenPGP using GPGMail


[Bug 57129] Regression. Load WEB-INF/lib jarfiles in alphabetical order

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57129

--- Comment #15 from Christopher Schultz  ---
(In reply to Guillaume Smet from comment #14)
> The issue with PreResources is that you need to use an absolute path which
> is quite impractical.

While absolute paths are required, they still can be parameterized. See Mark's
example in comment #3 for how to make a JAR relative to where Tomcat is
running.

-- 
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 57673] AccessControlException accessing org.apache.taglibs.standard.xml.accessExternalEntity

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57673

Jeremy Boynes  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

-- 
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



Re: [GUMP@vmgump]: Project tomcat-tc8.0.x-test-apr (in module tomcat-8.0.x) failed

2015-10-07 Thread Mark Thomas
On 07/10/2015 08:46, Mark Thomas wrote:
> 
> 
>>[concat] Testsuites with failed tests:
>>[concat] TEST-org.apache.tomcat.util.net.TestSsl.APR.txt
>>[concat] TEST-org.apache.tomcat.websocket.TestWebSocketFrameClient.APR.txt
>>[concat] 
>> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.APR.txt
>>[concat] TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.APR.txt
> 
> I've been looking into some of these failures (the SSL ones). It looks
> like OpenSSL is rejecting the opening client handshake as corrupt. I've
> looked at the data in Wireshark and it looks to be OK so I need to do
> some more digging.

The good folks at OpenSSL have fixed this. Gump should pick up the new
version on the next build.

Mark


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



svn commit: r1707356 - in /tomcat/tc8.0.x/tags/TOMCAT_8_0_28: ./ build.properties.default

2015-10-07 Thread markt
Author: markt
Date: Wed Oct  7 18:18:41 2015
New Revision: 1707356

URL: http://svn.apache.org/viewvc?rev=1707356&view=rev
Log:
Tag 8.0.28

Added:
tomcat/tc8.0.x/tags/TOMCAT_8_0_28/   (props changed)
  - copied from r1707355, tomcat/tc8.0.x/trunk/
Modified:
tomcat/tc8.0.x/tags/TOMCAT_8_0_28/build.properties.default

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
bugtraq:append = false

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
bugtraq:label = Bugzilla ID (optional)

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
--- bugtraq:logregex (added)
+++ bugtraq:logregex Wed Oct  7 18:18:41 2015
@@ -0,0 +1,2 @@
+(https?\://(bz|issues)\.apache\.org/bugzilla/show_bug.cgi\?id=\d+|BZ\s?\d+)
+(\d+)

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
bugtraq:message = Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
bugtraq:url = https://bz.apache.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
--- svn:ignore (added)
+++ svn:ignore Wed Oct  7 18:18:41 2015
@@ -0,0 +1,7 @@
+.*
+build.properties
+logs
+nbproject
+output
+work
+*.iml

Propchange: tomcat/tc8.0.x/tags/TOMCAT_8_0_28/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Oct  7 18:18:41 2015
@@ -0,0 +1 @@
+/tomcat/trunk:1636524,1637156,1637176,1637188,1637331,1637684,1637695,1638720-1638725,1639653,1640010,1640083-1640084,1640088,1640275,1640322,1640347,1640361,1640365,1640403,1640410,1640652,1640655-1640658,1640688,1640700-1640883,1640903,1640976,1640978,1641000,1641026,1641038-1641039,1641051-1641052,1641058,1641064,1641300,1641369,1641374,1641380,1641486,1641634,1641656-1641692,1641704,1641707-1641718,1641720-1641722,1641735,1641981,1642233,1642280,1642554,1642564,1642595,1642606,1642668,1642679,1642697,1642699,1642766,1643002,1643045,1643054-1643055,1643066,1643121,1643128,1643206,1643209-1643210,1643216,1643249,1643270,1643283,1643309-1643310,1643323,1643365-1643366,1643370-1643371,1643465,1643474,1643536,1643570,1643634,1643649,1643651,1643654,1643675,1643731,1643733-1643734,1643761,1643766,1643814,1643937,1643963,1644017,1644169,1644201-1644203,1644321,1644323,1644516,1644523,1644529,1644535,1644730,1644768,1644784-1644785,1644790,1644793,1644815,1644884,1644886,1644890,1644892
 
,1644910,1644924,1644929-1644930,1644935,1644989,1645011,1645247,1645355,1645357-1645358,1645455,1645465,1645469,1645471,1645473,1645475,1645486-1645488,1645626,1645641,1645685,1645743,1645763,1645951-1645953,1645955,1645993,1646098-1646106,1646178,1646220,1646302,1646304,1646420,1646470-1646471,1646476,1646559,1646717-1646723,1646773,1647026,1647042,1647530,1647655,1648304,1648815,1648907,1649973,1650081,1650365,1651116,1651120,1651280,1651470,1652938,1652970,1653041,1653471,1653550,1653574,1653797,1653815-1653816,1653819,1653840,1653857,1653888,1653972,1654013,1654030,1654050,1654123,1654148,1654159,1654513,1654515,1654517,1654522,1654524,1654725,1654735,1654766,1654785,1654851-1654852,1654978,1655122-1655124,1655126-1655127,1655129-1655130,1655132-1655133,1655312,1655351,1655438,1655441,1655454,168,1656087,1656299,1656319,1656331,1656345,1656350,1656590,1656648-1656650,1656657,1657041,1657054,1657374,1657492,1657510,1657565,1657580,1657584,1657586,1657589,1657592,1657607,1657
 
609,1657682,1657907,1658207,1658734,1658781,1658790,1658799,1658802,1658804,1658833,1658840,1658966,1659043,1659053,1659059,1659188-1659189,1659216,1659263,1659293,1659304,1659306-1659307,1659382,1659384,1659428,1659471,1659486,1659505,1659516,1659521,1659524,1659559,1659562,1659803,1659806,1659814,1659833,1659862,1659905,1659919,1659948,1659967,1659983-1659984,1660060,1660074,1660077,1660133,1660168,1660331-1660332,1660353,1660358,1660924,1661386,1661867,1661972,1661990,1662200,1662308-1662309,1662548,1662614,1662736,1662985,1662988-1662989,1663264,1663277,1663298,1663534,1663562,1663676,1663715,1663754,1663768,1663772,1663781,1663893,1663995,1664143,1664163,1664174,1664301,1664317,1664347,1664657,1664659,1664710,1664863-1664864,1664866,1665085,1665292,1665559,1665653,1665661,1665672,1665694,1665697,1665736,1665779,1665976-1665977,1665980-1665981,1665985-1665986,1665989,1665998,1666004,1666008,1666013,1666017,1666024,1666116,1666386-1666387,1666494,1666496,1666552,1666569,1666579,1
 
37,149,1666757,1666966,1666972,1666985,1666995,1666997,1667292,1667402,1667406,1667546,1667615,1667630,1667636,1667688,1667764,1667871,1668026,1668135,

svn commit: r1707359 - in /tomcat/tc8.0.x/trunk: build.properties.default res/maven/mvn.properties.default webapps/docs/changelog.xml

2015-10-07 Thread markt
Author: markt
Date: Wed Oct  7 18:23:57 2015
New Revision: 1707359

URL: http://svn.apache.org/viewvc?rev=1707359&view=rev
Log:
Prep for the next release

Modified:
tomcat/tc8.0.x/trunk/build.properties.default
tomcat/tc8.0.x/trunk/res/maven/mvn.properties.default
tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc8.0.x/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/build.properties.default?rev=1707359&r1=1707358&r2=1707359&view=diff
==
--- tomcat/tc8.0.x/trunk/build.properties.default (original)
+++ tomcat/tc8.0.x/trunk/build.properties.default Wed Oct  7 18:23:57 2015
@@ -25,7 +25,7 @@
 # - Version Control Flags -
 version.major=8
 version.minor=0
-version.build=28
+version.build=29
 version.patch=0
 version.suffix=-dev
 

Modified: tomcat/tc8.0.x/trunk/res/maven/mvn.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/res/maven/mvn.properties.default?rev=1707359&r1=1707358&r2=1707359&view=diff
==
--- tomcat/tc8.0.x/trunk/res/maven/mvn.properties.default (original)
+++ tomcat/tc8.0.x/trunk/res/maven/mvn.properties.default Wed Oct  7 18:23:57 
2015
@@ -35,7 +35,7 @@ maven.asf.release.repo.url=https://repos
 maven.asf.release.repo.repositoryId=apache.releases
 
 # Release version info
-maven.asf.release.deploy.version=8.0.28
+maven.asf.release.deploy.version=8.0.29
 
 #Where do we load the libraries from
 tomcat.lib.path=../../output/build/lib

Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1707359&r1=1707358&r2=1707359&view=diff
==
--- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Wed Oct  7 18:23:57 2015
@@ -44,7 +44,9 @@
   They eventually become mixed with the numbered issues. (I.e., numbered
   issues do not "pop up" wrt. others).
 -->
-
+
+
+
   
 
   



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



svn commit: r10740 [2/2] - in /dev/tomcat/tomcat-8/v8.0.28: ./ bin/ bin/embed/ bin/extras/ src/

2015-10-07 Thread markt
Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.asc
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.asc (added)
+++ dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.asc Wed Oct  7 
19:09:39 2015
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v2
+
+iQIcBAABCAAGBQJWFWPBAAoJEBDAHFovYFnnFBUQAPBDiO+ju2h3L3xv9UhTQJMD
+Z7eAbvImwRfcHctBHvGDyGiQBZ5iYgmtaHm974mVBVw9NPf/igmkwkNtBi1XBqDg
+9Frzi8ZQKy2V8/L8q1HlD4tnjW6rf4UjJPXMRSDuZGHFk2DWobxWK3Npfm93XDiw
+JVIDSJBJ15pgEyGfbdb1HA+u4f79Auq4NSXMWpWPadFs8TSpPaE6Xu6L14L3I9Uk
+c67oQYpqMipV/8cyJlDA4glruuNWiBpFM2KrNK4OFXql2Sw89+HSqCz7mFWCIRkC
+ZlfnRrzfxqNQLQ6kHVWDysG4zYdTbmWMF6D2IhS88zF1/BCfuxPvLmey/uUOxoz0
+jC7kcI5M5WZj8x7O+J9/JVlpOIOIvHnF0ZfsmRhsZis76FL90oeW+4j/8yLnvm4t
+MYr86CXX1Rj3ZdAH7lrkj3CGhv63xRQDrgwjURT05b14A/I7rbdoDypkkWuNnfVm
+tHheAdpxJG12EJeHM9jtKcgRA/Ytd/63//mPR3ILf2a6LotvFKe1HnqB8r5tM17B
+KmvRS6AUarZLLYR65k8o6L1+jZ/V1DtRJSqqp2a4hf6xTqSup06aQprsmLJBdO0q
+uNANlQZk3WjFCx3PRRPq0OXAgOW/g4IMQKyfs80RIwSXEVJXvDlqfaShpqV+XCnh
+e7OuAwPnRl1swWOPyQfc
+=D5iA
+-END PGP SIGNATURE-

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.md5
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.md5 (added)
+++ dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.md5 Wed Oct  7 
19:09:39 2015
@@ -0,0 +1 @@
+3bee32af490df82b3491a62da64e555e *catalina-ws.jar
\ No newline at end of file

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.sha1
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.sha1 (added)
+++ dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.sha1 Wed Oct  7 
19:09:39 2015
@@ -0,0 +1 @@
+f2f3c578bddb09a9ea809d073a8cf234bf4231a7 *catalina-ws.jar
\ No newline at end of file

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar
==
Binary file - no diff available.

Propchange: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar
--
svn:mime-type = application/octet-stream

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.asc
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.asc (added)
+++ dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.asc Wed Oct 
 7 19:09:39 2015
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v2
+
+iQIcBAABCAAGBQJWFWO/AAoJEBDAHFovYFnnDNoQAKOOmjlqbwgE3KGfCb0vBzDP
+0dMMRahn9ATtmManlBQyrN8UB0hoH4g6dfTs80nYrKYyOPgiw+WN7ou5pGQBGclM
+4NT8YxdR/Lbwet1NTQRHeZzzrLRooFrqZzP7fzzbCE92Q2Cgl2ZyMH+5fqxLHvl3
+8j+45tg7EofG4YS/4+ggGPl1yLxYiGG3vv/G05dL9n8LQlem1xxAcYGGY00CNqjq
+5+813p6v6ElAGxZ1kWCUtewcjIZxJJquEb/99zsI0NLqw5EMDeMEEMbmT9SqdMkP
+bHv6iRA1N30lEv3+qM5hzhalEoramXUzRhrD0PQqczQLUoL7tgXxY43O6CjuJUD1
+f5TdVu+6VdFvs94p40a6YUUQV29OuistT/mlB8DQBL9RvAu8sA+2qeIn90mxNLye
+rjc7mZmmCdBCNaZ3/EhKnWZwBBW6kDso1fa+Y8wG4FK67eU+7xaRh5+dOxlhjxWJ
+j/XgN7cxZG0Omdw56TUoFi00yag6Rfah97PIHipl3NiytADPRtcJEpw1J5fitjvy
+k+C+e99K2yINArX3j2W+dGRt6JVBcrlOrNFMXZENnADfRCSwH0jj8+MxIAf6mIqp
+/lKzc+8TXdR0E6fzCCmR6ox2znny5uSStpCiEkYG7acsUW1Lt+5/4y+4eS7xhLou
+9xfi2Bh4rr9Btv7suJm1
+=HEKY
+-END PGP SIGNATURE-

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.md5
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.md5 (added)
+++ dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.md5 Wed Oct 
 7 19:09:39 2015
@@ -0,0 +1 @@
+72c5604f41fec5e4774c4879848fb120 *tomcat-juli-adapters.jar
\ No newline at end of file

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.sha1
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.sha1 (added)
+++ dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.sha1 Wed 
Oct  7 19:09:39 2015
@@ -0,0 +1 @@
+8aafd9f104ae19d40d9ba38f03d45feac106786c *tomcat-juli-adapters.jar
\ No newline at end of file

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar
==
Binary file - no diff available.

Propchange: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar
--
svn:mime-type = application/octet-stream

Added: dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar.asc
==
--- dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar.asc (add

svn commit: r10740 [1/2] - in /dev/tomcat/tomcat-8/v8.0.28: ./ bin/ bin/embed/ bin/extras/ src/

2015-10-07 Thread markt
Author: markt
Date: Wed Oct  7 19:09:39 2015
New Revision: 10740

Log:
Upload 8.0.28 for voting

Added:
dev/tomcat/tomcat-8/v8.0.28/
dev/tomcat/tomcat-8/v8.0.28/KEYS   (with props)
dev/tomcat/tomcat-8/v8.0.28/README.html   (with props)
dev/tomcat/tomcat-8/v8.0.28/RELEASE-NOTES
dev/tomcat/tomcat-8/v8.0.28/bin/
dev/tomcat/tomcat-8/v8.0.28/bin/README.html   (with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.tar.gz   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.tar.gz.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.tar.gz.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.tar.gz.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.zip   (with 
props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.zip.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.zip.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-deployer.zip.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-fulldocs.tar.gz   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-fulldocs.tar.gz.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-fulldocs.tar.gz.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-fulldocs.tar.gz.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-i64.zip   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-i64.zip.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-i64.zip.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-i64.zip.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x64.zip   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x64.zip.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x64.zip.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x64.zip.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x86.zip   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x86.zip.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x86.zip.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28-windows-x86.zip.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.exe   (with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.exe.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.exe.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.exe.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.tar.gz   (with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.tar.gz.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.tar.gz.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.tar.gz.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.zip   (with props)
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.zip.asc
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.zip.md5
dev/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.zip.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/embed/
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.tar.gz   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.tar.gz.asc
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.tar.gz.md5
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.tar.gz.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.zip   
(with props)
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.zip.asc
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.zip.md5
dev/tomcat/tomcat-8/v8.0.28/bin/embed/apache-tomcat-8.0.28-embed.zip.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/extras/
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-jmx-remote.jar   (with 
props)
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-jmx-remote.jar.asc
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-jmx-remote.jar.md5
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-jmx-remote.jar.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar   (with props)
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.asc
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.md5
dev/tomcat/tomcat-8/v8.0.28/bin/extras/catalina-ws.jar.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar   (with 
props)
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.asc
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.md5
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli-adapters.jar.sha1
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar   (with props)
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar.asc
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar.md5
dev/tomcat/tomcat-8/v8.0.28/bin/extras/tomcat-juli.jar.s

[VOTE] Release Apache Tomcat 8.0.28

2015-10-07 Thread Mark Thomas
The proposed Apache Tomcat 8.0.28 release is now available for voting.

The main changes since 8.0.27 are:

- Allow file based configuration resources (e.g. key stores) to be
  configured using URLs

- Restore code signing to the Windows installer an uninstaller

There is a smaller that usual collection of bug fixes, new features and
performance improvements. For full details, see the changelog:
http://svn.us.apache.org/repos/asf/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.28/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1052/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/TOMCAT_8_0_28/

The proposed 8.0.28 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 8.0.28

-
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



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

2015-10-07 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-nio2 has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test-nio2 :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-nio2/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 failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/logs-NIO2
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-NIO2/logs
 -WARNING- No directory 
[/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-NIO2/logs]



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-nio2/gump_work/build_tomcat-trunk_tomcat-trunk-test-nio2.html
Work Name: build_tomcat-trunk_tomcat-trunk-test-nio2 (Type: Build)
Work ended in a state of : Failed
Elapsed: 44 mins 13 secs
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 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.3-SNAPSHOT.jar
 -Dtest.reports=output/logs-NIO2 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151007-native-src.tar.gz
 -Dexamples.sources.skip=true 
-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-20151007.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151007-native-src.tar.gz
 -Dtest.temp=output/test-tmp-NIO2 -Dtest.accesslog=true 
-Dexecute.test.nio=false -Dtest.openssl.path=/srv/gump/public/workspace/openssl
 -master/dest-20151007/bin/openssl -Dexecute.test.apr=false 
-Dtest.excludePerformance=true -Dexecute.test.nio2=true 
-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/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/out

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

2015-10-07 Thread Mark Thomas
On 07/10/2015 19:19, Bill Barker wrote:



>[concat] Testsuites with failed tests:
>[concat] TEST-org.apache.coyote.http2.TestHttp2Section_5_3.NIO2.txt

It looks like Gump has found more ways to break this test. I'll take
another look. I'm trying to avoid using sleeps but I think we might be
approaching the point where they are required. Either that, or the
structure of the test needs a re-think.

Mark

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



Re: Using CredentialHandlers in application code

2015-10-07 Thread Mark Thomas
On 07/10/2015 16:33, Christopher Schultz wrote:
> Mark,
> 
> On 10/6/15 2:44 PM, Mark Thomas wrote:
>> On 06/10/2015 18:05, Christopher Schultz wrote:
>>> All,
>>>
>>> We (somewhat) recently introduced the CredentialHandler to Tomcat in
>>> order to make it easier to use different password-munging strategies
>>> along with all the Realm implementations. A good example is using a hash
>>> like SHA-256 in one case (using MessageDigest) and using PBKDF2 in
>>> another case (using SecreyKey, etc.). In the past, we had been limited
>>> to whatever the MessageDigest class could support, and we have a nice,
>>> flexible system, now.
>>>
>>> This is great for authentication against data already stored somewhere
>>> e.g. a relational database. But it currently does not have an obviously
>>> usable component for an application.
>>>
>>> Yes, you can drop catalina.jar into your application's lib directory and
>>> then you can do this:
>>>
>>> SecretKeyCredentialHandler ch = new SecretKeyCredentialHandler();
>>>
>>> ch.setAlgorithm(ALGORITHM);
>>> ch.setIterations(ITERATIONS);
>>> ch.setSaltLength(SALT_LENGTH);;
>>> ch.setKeyLength(KEY_LENGTH);
>>>
>>> hashedPassword = ch.mutate(user.getPassword());
>>>
>>> ... but there are two downsides to this:
>>>
>>> 1. The whole of catalina.jar is included in your application, possibly
>>>breaking a great many things
>>> 2. You have to make sure that all of the values match whatever you have
>>>configured in your  element in context.xml
>>>(or server.xml)
>>>
>>> To solve the first problem, I'm wondering if we could produce an
>>> artifact during the build that just contains the interfaces, etc. for
>>> the CredentialHandlers. This would allow users to build against them and
>>> even lazily deploy them with their code.
>>
>> It doesn't look to be that easy to extract the relevant classes and
>> their dependencies into a separate JAR. If folks want to interact with
>> the Tomcat internals I don't think it is unreasonable to expect them to
>> compile against the standard JARs.
> 
> What about an ant target to build just that JAR? It's pretty simple for
> us to add, and we could just leave it in the src package. So it's one
> more step for a dev to build a separate JAR (get the source package, or,
> alternatively, extract the classes).

Meh.

> Or we could just say "build against catalina.jar, but don't bundle it
> with your web app".

That works for me :).

>>> For the second issue, I don't see any opportunities at present.
>>>
>>> It doesn't look like the application's Realms are available via JMX if
>>> they are declared local to the application -- only the global Realms are
>>> represented by MBeans. Also, it doesn't look like the Realms offer
>>> access to the CredentialHandlers even if they were available.
>>>
>>> I think these are two oversights that ought to be corrected: local
>>> Realms ought to be locatable via JMX just as local DataSources are
>>> available in e.g.
>>> Catalina:type=DataSource,host=[host],context=/[context-path],class=javax.sql.DataSource,name="[name]"
>>> and also Realms ought to expose information about their CredentialHandlers.
>>
>> +1.
>>
>>> If those are available, then applications can simply grab the same
>>> CredentialHandler that Tomcat is using for authentication and use it for
>>> two obvious use-cases I can think of:
>>>
>>> 1. Preparing new credentials for saving to the user data store (e.g.
>>>registration, change-password, etc.)
>>> 2. Verifying existing credentials without Tomcat performing
>>>authentication (e.g. check-password required to update account
>>>info, inspect password history to prohibit repeats, etc.)
>>>
>>> The only caveat is that the application definitely would not be able to
>>> deploy either catalina.jar or catalina-only-credential-handlers.jar,
>>> otherwise they'll get ClassCastExceptions when they try to use them. But
>>> that's okay: documentation can take care of that to some degree.
>>>
>>> Does anyone have any thoughts on any of those items? I'd really like for
>>> applications to be able to re-use those components if possible.
>>
>> Big +1 to the JMX.
> 
> I'll have a look at doing that. I'll start with making the CH available
> for a Realm since I think that will be slightly easier. Then I'll see
> about making local-realms visible. I'm not sure where all of that code
> is, so if someone wants to beat me to the punch, I'm happy to let them.

That should be as simple as ensuring the getters are available and
adding them to the MBean descriptors.

Accessing the CH will mean registering the CH. Probably best to do this
as part of the Realm registration.

>> No so sure about the separate JAR.
>>
>> How about a Realm option to expose the CredentialHandler via a customer
>> ServletContext attribute? That way users wouldn't have to jump through
>> JMX hoops including knowing the container names.
> 
> Oh, that would be way better. JMX is ... awfu

svn commit: r1707398 - /tomcat/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java

2015-10-07 Thread markt
Author: markt
Date: Wed Oct  7 21:39:19 2015
New Revision: 1707398

URL: http://svn.apache.org/viewvc?rev=1707398&view=rev
Log:
Fix Gump reported test failure in 5_3.
If a stream isn't fully allocated keep it in the backlog so if a window update 
arrives while the stream is writing it will still get an allocation.

Modified:
tomcat/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java

Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java?rev=1707398&r1=1707397&r2=1707398&view=diff
==
--- tomcat/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java Wed Oct  
7 21:39:19 2015
@@ -570,11 +570,8 @@ public class Http2UpgradeHandler extends
 long windowSize = getWindowSize();
 if (windowSize < 1 || backLogSize > 0) {
 // Has this stream been granted an allocation
-int[] value = backLogStreams.remove(stream);
-if (value != null && value[1] > 0) {
-allocation = value[1];
-decrementWindowSize(allocation);
-} else {
+int[] value = backLogStreams.get(stream);
+if (value == null) {
 value = new int[] { reservation, 0 };
 backLogStreams.put(stream, value);
 backLogSize += reservation;
@@ -583,6 +580,23 @@ public class Http2UpgradeHandler extends
 while (parent != null && 
backLogStreams.putIfAbsent(parent, new int[2]) == null) {
 parent = parent.getParentStream();
 }
+} else {
+if (value[1] > 0) {
+allocation = value[1];
+decrementWindowSize(allocation);
+if (value[0] == 0) {
+// The reservation has been fully allocated
+// so this stream can be removed from the
+// backlog.
+backLogStreams.remove(stream);
+} else {
+// This allocation has been used. Reset the
+// allocation to zero. Leave the stream on
+// the backlog as it still has more bytes 
to
+// write.
+value[1] = 0;
+}
+}
 }
 } else if (windowSize < reservation) {
 allocation = (int) windowSize;
@@ -612,7 +626,7 @@ public class Http2UpgradeHandler extends
 protected synchronized void incrementWindowSize(int increment) throws 
Http2Exception {
 long windowSize = getWindowSize();
 if (windowSize < 1 && windowSize + increment > 0) {
-releaseBackLog(increment);
+releaseBackLog((int) (windowSize +increment));
 }
 super.incrementWindowSize(increment);
 }
@@ -662,7 +676,7 @@ public class Http2UpgradeHandler extends
 int[] value = backLogStreams.get(stream);
 if (value[0] >= allocation) {
 value[0] -= allocation;
-value[1] = allocation;
+value[1] += allocation;
 return 0;
 }
 



-
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

2015-10-07 Thread buildbot
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/400

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: silvanus_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-commit' 
triggered this build
Build Source Stamp: [branch tomcat/trunk] 1707398
Blamelist: markt

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



[Bug 58486] New: JreMemoryLeakPreventionListener: initialize two further JRE classes

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58486

Bug ID: 58486
   Summary: JreMemoryLeakPreventionListener: initialize two
further JRE classes
   Product: Tomcat 8
   Version: trunk
  Hardware: PC
Status: NEW
  Severity: minor
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: lukewoodwar...@yahoo.co.uk

I would like to propose adding a further couple of classes to those that
Tomcat's JreMemoryLeakPreventionListener statically initializes.

The classes com.sun.org.apache.xerces.internal.dom.DOMNormalizer and
com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl, both within
rt.jar, each contain a static final field of type RuntimeException named
'abort'.  When these classes are statically initialized, these exceptions are
created and their stacktraces filled in.  If a web app class happens to be in
the call stack when either class's exception is created, this class cannot then
be garbage collected when the web app is stopped because an exception in a
static field of a class has a reference to it.  This then causes a PermGen leak
as the web apps's classloader, and all of the classes it loaded, cannot be
garbage-collected.

To reproduce this issue, use the following servlet class:

package com.example;

import javax.servlet.ServletException;
import javax.servlet.http.*;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.ls.DOMImplementationLS;

public class DOMNormalizerLeakServlet extends HttpServlet {
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException {
try {
Document document =
DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
document.createElement("test");
DOMImplementationLS implementation =
(DOMImplementationLS)document.getImplementation();
implementation.createLSSerializer().writeToString(document);
response.getWriter().write("done");
}
catch (Exception e) {
throw new ServletException(e);
}
}
}

and the following web.xml file:


http://xmlns.jcp.org/xml/ns/javaee";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd";
 version="3.1">

test
com.example.DOMNormalizerLeakServlet


test
/index.html
   


I've reproduced this problem with the latest Tomcat (8.0.27) and the latest
Oracle JDK8 (1.8.0_60), by:

* deploying a web app consisting of the above servlet class and deployment
descriptor to Tomcat,
* viewing the index.html page generated by Tomcat (the browser should show the
word 'done'),
* reloading the web app using the Tomcat manager app,
* clicking the 'Find leaks' button in the Diagnostics section of the manager
app, which reveals a possible memory leak,
* using a profiler such as JVisualVM to confirm that Tomcat now has a
'destroyed' classloader that could not be garbage collected because there is a
chain of references from a JRE class to the servlet class it loaded.

Here's a path from the classloader to the exception, which I obtained with the
help of JVisualVM:

this - value: org.apache.catalina.loader.WebappClassLoader #3
 <-  - class: com.example.DOMNormalizerLeakServlet, value:
org.apache.catalina.loader.WebappClassLoader #3
  <- [2] - class: java.lang.Object[], value:
com.example.DOMNormalizerLeakServlet class DOMNormalizerLeakServlet
   <- [2] - class: java.lang.Object[], value: java.lang.Object[] #4319
<- backtrace - class: java.lang.RuntimeException, value:
java.lang.Object[] #4318
 <- abort (sticky class) - class:
com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl, value:
java.lang.RuntimeException #1

There is a straightforward workaround for this: add the names of these two
classes to the classesToInitialize attribute for the
JreMemoryLeakPreventionListener.  This then causes the classes to be statically
initialized by Tomcat itself and keeps web app classes out of the stacktrace of
these exceptions.

I have filed a bug report with Oracle to change the behaviour of these two
classes.  However, until this gets fixed (if it gets fixed at all), it would be
appreciated if the JreMemoryLeakPreventionListener could be adapted to handle
these two classes.

-- 
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



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

2015-10-07 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.
The current state of this project is 'Failed', with reason 'Build Failed'.
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.apache.org/gump/public/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 failed
 -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.apache.org/gump/public/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: 41 mins 3 secs
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 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.3-SNAPSHOT.jar
 -Dtest.reports=output/logs-NIO 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151008-native-src.tar.gz
 -Dexamples.sources.skip=true 
-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-20151008.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151008-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-ma
 ster/dest-20151008/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/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gu

[Bug 58487] New: java.net.SocketException: Connection reset

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58487

Bug ID: 58487
   Summary: java.net.SocketException: Connection reset
   Product: Tomcat 6
   Version: 6.0.35
  Hardware: Other
OS: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: ynvpra...@yahoo.com

We are facing strange error in our environment.

Work flow:

SAP->Connector->Hardware LoadBalancer->Tomcatservers

RFC call will happen to Connector. Connector converts the RFC call to SOAP.
Connector configuration has a URL like http://xyz.com/bc/yz.

xyz - is Hardware load balancer URL. That means xyz is loadbalanced URL for
tomcat1:8095,tomcat2:8095&tomcat3:8095.

This configuration is works fine in regular scenarios. But during the peak load
times we observed that following error message in Connector logs.

2015-10-06 15:20:17,223 [JCoServerThread-10] ERROR
com.vertexinc.sic.webservice.AxisWebServiceClient - (Server.userException)
java.net.SocketException: Connection reset
2015-10-06 15:20:17,246 [JCoServerThread-10] ERROR
com.vertexinc.sic.webservice.AxisWebServiceClient - Server error
2015-10-06 15:20:17,246 [JCoServerThread-10] ERROR
com.vertexinc.sic.webservice.AxisWebServiceClient - The Web Service is not in a
valid state.
Details:
java.net.SocketException: Connection reset

This error means the tomcat server closes the connection abruptly. Is it a
resource problem at tomcat server end?

-- 
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 58487] java.net.SocketException: Connection reset

2015-10-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58487

Naga  changed:

   What|Removed |Added

 CC||ynvpra...@yahoo.com

-- 
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



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

2015-10-07 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-nio2 has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test-nio2 :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-nio2/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 failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/logs-NIO2
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-NIO2/logs
 -WARNING- No directory 
[/srv/gump/public/workspace/tomcat-trunk/output/test-tmp-NIO2/logs]



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-nio2/gump_work/build_tomcat-trunk_tomcat-trunk-test-nio2.html
Work Name: build_tomcat-trunk_tomcat-trunk-test-nio2 (Type: Build)
Work ended in a state of : Failed
Elapsed: 42 mins 24 secs
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 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.3-SNAPSHOT.jar
 -Dtest.reports=output/logs-NIO2 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151008-native-src.tar.gz
 -Dexamples.sources.skip=true 
-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-20151008.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20151008-native-src.tar.gz
 -Dtest.temp=output/test-tmp-NIO2 -Dtest.accesslog=true 
-Dexecute.test.nio=false -Dtest.openssl.path=/srv/gump/public/workspace/openssl
 -master/dest-20151008/bin/openssl -Dexecute.test.apr=false 
-Dtest.excludePerformance=true -Dexecute.test.nio2=true 
-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/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api