[GUMP@vmgump]: Project tomcat-trunk-validate (in module tomcat-trunk) failed
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-validate 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-validate : Tomcat 8.x, a web server implementing the Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on checkstyle exists, no need to add for property checkstyle.jar. -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build) Work ended in a state of : Failed Elapsed: 30 secs Command Line: /usr/lib/jvm/java-7-oracle/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar -Dexecute.validate=true validate [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-7-oracle/lib/tools.jar:/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/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-20140312.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/tar get/commons-exec-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-20140312.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-20140312.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-20140312.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-17.0-SNAPSHOT.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar - Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml build-prepare: [delete] Deleting directory /srv/gump/public/workspace/tomcat-trunk/output/build/temp [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/temp compile-prepare: download-validate: proxyflags: setproxy: testexist: [echo] Testing for /srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar downloadzip: validate: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/res/checkstyle [checkstyle] Running Checkstyle 5.7-SNAPSHOT on 2769 files [checkstyle] /srv/gump/public/workspace/tomcat-trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java:75: Line matches the illegal pattern '\s+$'. [checkstyle] /srv/gump/public/workspace/tomcat-trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java:67: Line matches the illegal pattern '\s+$'. BUILD FAILED /srv/gump/public/workspace/tomcat-trunk/build.xml:539: Got 2 errors and 0 warnings. Total time: 30 seconds - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/rss.xml - Atom: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/atom.xml == Gump Tracking Only === Produced by Apache Gump(TM) version 2.3. Gump Run 20140312060005, vmgump.apache.org:vmgump:20140312060005 Gump E-mail Identifier (unique within run) #1. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release Apache Tomcat Connectors 1.2.39
On Fri, Feb 28, 2014 at 10:35 PM, Mladen Turk wrote: > Hi, > > Apache Tomcat Connectors 1.2.39 release candidate is ready > for vote at [1]. The build was done using tag [2]. > This version fixes few bugs found in released > version 1.2.37 and adds some new features like IPV6 support. > > > The VOTE will remain open for at least 48 hours. > > The Apache Tomcat Connectors 1.2.39 is > [ ] Stable, go ahead and release > [ ] Broken because of ... > > +1 Belated I know... Builds with some warnings on OS X Mavericks. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Tested with Apache 2.0, 2.2 and 2.4, worker and prefork builds. All crash due to https://issues.apache.org/bugzilla/show_bug.cgi?id=55696 . With minor patch all builds tested fine with complex web apps. cheers tim > > [1] http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.39/ > [2] https://svn.apache.org/repos/asf/tomcat/jk/tags/JK_1_2_39/ > > Regards > -- > ^TM > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
svn commit: r1576625 - in /tomcat/trunk/java/org/apache/coyote/http11/upgrade: Nio2ServletInputStream.java Nio2ServletOutputStream.java
Author: remm Date: Wed Mar 12 07:54:49 2014 New Revision: 1576625 URL: http://svn.apache.org/r1576625 Log: Fix whitespace. Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java?rev=1576625&r1=1576624&r2=1576625&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java Wed Mar 12 07:54:49 2014 @@ -72,7 +72,7 @@ public class Nio2ServletInputStream exte attachment.setError(true); readPending = false; if (exc instanceof AsynchronousCloseException) { -// If already closed, don't call onError and close again +// If already closed, don't call onError and close again return; } onError(exc); Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java?rev=1576625&r1=1576624&r2=1576625&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java Wed Mar 12 07:54:49 2014 @@ -64,7 +64,7 @@ public class Nio2ServletOutputStream ext attachment.setError(true); writePending = false; if (exc instanceof AsynchronousCloseException) { -// If already closed, don't call onError and close again +// If already closed, don't call onError and close again return; } onError(exc); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576628 - in /tomcat/trunk/test/org/apache/tomcat/websocket: TestWebSocketFrameClient.java TesterFirehoseServer.java
Author: remm Date: Wed Mar 12 08:09:37 2014 New Revision: 1576628 URL: http://svn.apache.org/r1576628 Log: Add some progress info to the websockets frame test. Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1576628&r1=1576627&r2=1576628&view=diff == --- tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java (original) +++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java Wed Mar 12 08:09:37 2014 @@ -76,6 +76,8 @@ public class TestWebSocketFrameClient ex wsSession.addMessageHandler(handler); wsSession.getBasicRemote().sendText("Hello"); +System.out.println("Sent Hello message, waiting for data"); + // Ignore the latch result as the message count test below will tell us // if the right number of messages arrived handler.getLatch().await(TesterFirehoseServer.WAIT_TIME_MILLIS, Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java?rev=1576628&r1=1576627&r2=1576628&view=diff == --- tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java (original) +++ tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java Wed Mar 12 08:09:37 2014 @@ -109,6 +109,8 @@ public class TesterFirehoseServer { } } +System.out.println("Recieved " + msg + ", now sending data"); + session.getUserProperties().put( "org.apache.tomcat.websocket.BLOCKING_SEND_TIMEOUT", Long.valueOf(SEND_TIME_OUT_MILLIS)); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53119] java.nio.BufferOverflowException in AjpAprProcessor.output() when AJP client disconnects
https://issues.apache.org/bugzilla/show_bug.cgi?id=53119 --- Comment #9 from Claes Mogren --- Update! We're using shibboleth for SAML authentication and they recommend that you increase the package size. We've been running with the default AJP-connector for over a year with packetSize="65536" and ProxyIOBufferSize 65536 in Apache, but when we turned that off the AjpNioProcessor works again. What is the best way to debug this problem? Should I create a new ticket? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576687 - /tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java
Author: markt Date: Wed Mar 12 10:48:58 2014 New Revision: 1576687 URL: http://svn.apache.org/r1576687 Log: Clean-up. No functional change. Modified: tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java Modified: tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java?rev=1576687&r1=1576686&r2=1576687&view=diff == --- tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java (original) +++ tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java Wed Mar 12 10:48:58 2014 @@ -106,93 +106,116 @@ import org.apache.tomcat.util.res.String * @author Craig R. McClanahan * @author Remy Maucherat */ -public class DefaultServlet -extends HttpServlet { +public class DefaultServlet extends HttpServlet { private static final long serialVersionUID = 1L; -// - Instance Variables +/** + * The string manager for this package. + */ +protected static final StringManager sm = StringManager.getManager(Constants.Package); + +/** + * Array containing the safe characters set. + */ +protected static final URLEncoder urlEncoder; +/** + * Full range marker. + */ +protected static final ArrayList FULL = new ArrayList<>(); + +/** + * MIME multipart separation string + */ +protected static final String mimeSeparation = "CATALINA_MIME_BOUNDARY"; + +/** + * JNDI resources name. + */ +protected static final String RESOURCES_JNDI_NAME = "java:/comp/Resources"; + +/** + * Size of file transfer buffer in bytes. + */ +protected static final int BUFFER_SIZE = 4096; + + +// - Static Initializer + +static { +urlEncoder = new URLEncoder(); +urlEncoder.addSafeCharacter('-'); +urlEncoder.addSafeCharacter('_'); +urlEncoder.addSafeCharacter('.'); +urlEncoder.addSafeCharacter('*'); +urlEncoder.addSafeCharacter('/'); +} + + +// - Instance Variables /** * The debugging detail level for this servlet. */ protected int debug = 0; - /** * The input buffer size to use when serving resources. */ protected int input = 2048; - /** * Should we generate directory listings? */ protected boolean listings = false; - /** * Read only flag. By default, it's set to true. */ protected boolean readOnly = true; - /** * Should be serve gzip versions of files. By default, it's set to false. */ protected boolean gzip = false; - /** * The output buffer size to use when serving resources. */ protected int output = 2048; - -/** - * Array containing the safe characters set. - */ -protected static final URLEncoder urlEncoder; - - /** * Allow customized directory listing per directory. */ protected String localXsltFile = null; - /** * Allow customized directory listing per context. */ protected String contextXsltFile = null; - /** * Allow customized directory listing per instance. */ protected String globalXsltFile = null; - /** * Allow a readme file to be included. */ protected String readmeFile = null; - /** * The complete set of web application resources */ protected transient WebResourceRoot resources = null; - /** * File encoding to be used when reading static files. If none is specified * the platform default is used. */ protected String fileEncoding = null; - /** * Minimum size for sendfile usage in bytes. */ @@ -203,56 +226,9 @@ public class DefaultServlet */ protected boolean useAcceptRanges = true; -/** - * Full range marker. - */ -protected static final ArrayList FULL = new ArrayList<>(); - - -// - Static Initializer - - -/** - * GMT timezone - all HTTP dates are on GMT - */ -static { -urlEncoder = new URLEncoder(); -urlEncoder.addSafeCharacter('-'); -urlEncoder.addSafeCharacter('_'); -urlEncoder.addSafeCharacter('.'); -urlEncoder.addSafeCharacter('*'); -urlEncoder.addSafeCharacter('/'); -} - - -/** - * MIME multipart separation string - */ -protected static final String mimeSeparation = "CATALINA_MIME_BOUNDARY"; - - -/** - * JNDI resources name. - */ -protected static final String RESOURCES_JNDI_NAME = "java:/comp/Resources"; - - -/** - * The string manager for this package. - */ -protecte
[Bug 56239] NullPointerException when finishing response under the Linux traffic control
https://issues.apache.org/bugzilla/show_bug.cgi?id=56239 --- Comment #6 from Mark Thomas --- In the original description you stated that you changed Tomcat version to 7.0.52 and still observed the same problem. In comment #5 you stated that you could not reproduce the problem when using 7.0.52. Which of those statement is correct? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576722 - /tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java
Author: markt Date: Wed Mar 12 12:57:14 2014 New Revision: 1576722 URL: http://svn.apache.org/r1576722 Log: Fix an Eclipse nag now the received message is used. Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java?rev=1576722&r1=1576721&r2=1576722&view=diff == --- tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java (original) +++ tomcat/trunk/test/org/apache/tomcat/websocket/TesterFirehoseServer.java Wed Mar 12 12:57:14 2014 @@ -95,8 +95,7 @@ public class TesterFirehoseServer { } @OnMessage -public void onMessage(Session session, -@SuppressWarnings("unused") String msg) throws IOException { +public void onMessage(Session session, String msg) throws IOException { if (started) { return; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56239] NullPointerException when finishing response under the Linux traffic control
https://issues.apache.org/bugzilla/show_bug.cgi?id=56239 --- Comment #7 from Mark Thomas --- It is not immediately obvious that this is the same issue so yes, please create a new bugzilla issue and provide the necessary information to enable this to be reproduced. -- 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 53119] java.nio.BufferOverflowException in AjpAprProcessor.output() when AJP client disconnects
https://issues.apache.org/bugzilla/show_bug.cgi?id=53119 --- Comment #10 from Mark Thomas --- It is not immediately obvious that this is the same issue so yes, please create a new bugzilla issue and provide the necessary information to enable this to be reproduced. -- 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 56239] NullPointerException when finishing response under the Linux traffic control
https://issues.apache.org/bugzilla/show_bug.cgi?id=56239 --- Comment #8 from Mark Thomas --- (In reply to Mark Thomas from comment #7) > It is not immediately obvious that this is the same issue so yes, please > create a new bugzilla issue and provide the necessary information to enable > this to be reproduced. Ignore this comment. Wrong bug. -- 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 56248] New: Automatic deployment with TCD deletes customized context.xml file
https://issues.apache.org/bugzilla/show_bug.cgi?id=56248 Bug ID: 56248 Summary: Automatic deployment with TCD deletes customized context.xml file Product: Tomcat 7 Version: 7.0.52 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Manager Assignee: dev@tomcat.apache.org Reporter: jsb_apa...@360works.com I was very happy to see the changes to automatic deployment, and that customized context.xml files in conf/Catalina/localhost/.xml are preserved when a war file is replaced on the server. However, when using the ant tasks that come with TCD (and I suspect when using the Tomcat manager, although I have not tested that), it appears that the webapp is deleted and then uploaded (as opposed to just being replaced), which is causing the customized context.xml file to be lost and replaced with a default version. === Reply from Mark Thomas === Hmm. It looks like the update command does an undeployment followed by a deploy rather than a replacement of the WAR file and a redeploy. You aren't going to be able to fix that without code changes to Tomcat. Changing the behaviour seems reasonable here. I suggest you open a bugzilla issue for this. -- 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 56248] Automatic deployment with TCD deletes customized context.xml file
https://issues.apache.org/bugzilla/show_bug.cgi?id=56248 Jesse Barnum changed: What|Removed |Added CC||jsb_apa...@360works.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
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 8.x, a web server implementing the Java Servlet 3.1, ... 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. -DEBUG- Dependency on tomcat-trunk 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-trunk/output/build/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: 28 mins 42 secs Command Line: /usr/lib/jvm/java-7-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.12-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140312-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20140312.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140312-native-src.tar.gz -Dexecute.test.nio=false -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/apache-co mmons/pool -Dcommons-dbcp.home=/srv/gump/public/workspace/apache-commons/dbcp -Dexecute.test.nio2=true -Dexecute.test.bio=false -Deasymock.jar=/srv/gump/public/workspace/easymock/easymock/target/easymock-3.3-SNAPSHOT.jar -Dhamcrest.jar=/srv/gump/public/workspace/hamcrest/hamcrest-java/build/hamcrest-core-20140312.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-7-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/servle t-api.jar:/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/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/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/works
svn commit: r1576765 - /tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java
Author: remm Date: Wed Mar 12 14:49:12 2014 New Revision: 1576765 URL: http://svn.apache.org/r1576765 Log: Switch to a semaphore here (for the flush, since the previous one would have issues if run after non blocking writes). Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java?rev=1576765&r1=1576764&r2=1576765&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java Wed Mar 12 14:49:12 2014 @@ -23,6 +23,7 @@ import java.nio.channels.AsynchronousClo import java.nio.channels.ClosedChannelException; import java.nio.channels.CompletionHandler; import java.util.concurrent.ExecutionException; +import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; @@ -35,7 +36,7 @@ public class Nio2ServletOutputStream ext private final Nio2Channel channel; private final int maxWrite; private final CompletionHandler> completionHandler; -private volatile boolean writePending = false; +private final Semaphore writePending = new Semaphore(1); public Nio2ServletOutputStream(SocketWrapper socketWrapper) { super(socketWrapper); @@ -49,20 +50,26 @@ public class Nio2ServletOutputStream ext failed(new ClosedChannelException(), attachment); return; } -writePending = false; +writePending.release(); } if (!Nio2Endpoint.isInline()) { try { onWritePossible(); } catch (IOException e) { -failed(e, attachment); +attachment.setError(true); +onError(e); +try { +close(); +} catch (IOException ioe) { +// Ignore +} } } } @Override public void failed(Throwable exc, SocketWrapper attachment) { attachment.setError(true); -writePending = false; +writePending.release(); if (exc instanceof AsynchronousCloseException) { // If already closed, don't call onError and close again return; @@ -99,7 +106,7 @@ public class Nio2ServletOutputStream ext throw new EOFException(); } count += writtenThisLoop; -if (!block && writePending) { +if (!block && writePending.availablePermits() == 0) { // Prevent concurrent writes in non blocking mode, // leftover data has to be buffered return count; @@ -131,12 +138,11 @@ public class Nio2ServletOutputStream ext throw new IOException(e); } } else { -synchronized (completionHandler) { -if (!writePending) { +if (writePending.tryAcquire()) { +synchronized (completionHandler) { buffer.clear(); buffer.put(b, off, len); buffer.flip(); -writePending = true; Nio2Endpoint.startInline(); channel.write(buffer, socketWrapper.getTimeout(), TimeUnit.MILLISECONDS, socketWrapper, completionHandler); Nio2Endpoint.endInline(); @@ -150,7 +156,9 @@ public class Nio2ServletOutputStream ext @Override protected void doFlush() throws IOException { try { -if (!writePending) { +// Block until a possible non blocking write is done +if (writePending.tryAcquire(socketWrapper.getTimeout(), TimeUnit.MILLISECONDS)) { +writePending.release(); channel.flush().get(socketWrapper.getTimeout(), TimeUnit.MILLISECONDS); } } catch (InterruptedException | ExecutionException | TimeoutException e) { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576768 - in /tomcat/trunk: java/org/apache/catalina/realm/MemoryRealm.java test/org/apache/catalina/realm/TestMemoryRealm.java webapps/docs/changelog.xml
Author: markt Date: Wed Mar 12 14:52:09 2014 New Revision: 1576768 URL: http://svn.apache.org/r1576768 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56246 Fix NullPointerException in MemoryRealm when authenticating an unknown user. Added: tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java (with props) Modified: tomcat/trunk/java/org/apache/catalina/realm/MemoryRealm.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/realm/MemoryRealm.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/MemoryRealm.java?rev=1576768&r1=1576767&r2=1576768&view=diff == --- tomcat/trunk/java/org/apache/catalina/realm/MemoryRealm.java (original) +++ tomcat/trunk/java/org/apache/catalina/realm/MemoryRealm.java Wed Mar 12 14:52:09 2014 @@ -113,7 +113,12 @@ public class MemoryRealm extends RealmB GenericPrincipal principal = principals.get(username); -boolean validated = compareCredentials(credentials, principal.getPassword()); +boolean validated; +if (principal == null) { +validated = false; +} else { +validated = compareCredentials(credentials, principal.getPassword()); +} if (validated) { if (log.isDebugEnabled()) Added: tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java?rev=1576768&view=auto == --- tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java (added) +++ tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java Wed Mar 12 14:52:09 2014 @@ -0,0 +1,37 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +package org.apache.catalina.realm; + +import java.security.Principal; + +import org.junit.Assert; +import org.junit.Test; + +public class TestMemoryRealm { + +/** + * Unknown user triggers NPE. + */ +@Test +public void testBug56246() { +MemoryRealm memoryRealm = new MemoryRealm(); + +Principal p = memoryRealm.authenticate("foo", "bar"); + +Assert.assertNull(p); +} +} Propchange: tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java -- svn:eol-style = native Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1576768&r1=1576767&r2=1576768&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Mar 12 14:52:09 2014 @@ -108,6 +108,10 @@ Add methods of get the idle time from last client access time to org.apache.catalina.Session. (kfujino) + +56246: Fix NullPointerException in MemoryRealm when +authenticating an unknown user. (markt) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576770 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/realm/MemoryRealm.java test/org/apache/catalina/realm/TestMemoryRealm.java webapps/docs/changelog.xml
Author: markt Date: Wed Mar 12 14:53:29 2014 New Revision: 1576770 URL: http://svn.apache.org/r1576770 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56246 Fix NullPointerException in MemoryRealm when authenticating an unknown user. Added: tomcat/tc7.0.x/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java - copied unchanged from r1576768, tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1576768 Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java?rev=1576770&r1=1576769&r2=1576770&view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java Wed Mar 12 14:53:29 2014 @@ -140,7 +140,12 @@ public class MemoryRealm extends RealmB GenericPrincipal principal = principals.get(username); -boolean validated = compareCredentials(credentials, principal.getPassword()); +boolean validated; +if (principal == null) { +validated = false; +} else { +validated = compareCredentials(credentials, principal.getPassword()); +} if (validated) { if (log.isDebugEnabled()) Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1576770&r1=1576769&r2=1576770&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Mar 12 14:53:29 2014 @@ -78,6 +78,10 @@ is permitted) when a call to AsyncContext.complete() takes effect. (markt) + +56246: Fix NullPointerException in MemoryRealm when +authenticating an unknown user. (markt) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56246] NPE in MemoryRealm when authenticating unknown user
https://issues.apache.org/bugzilla/show_bug.cgi?id=56246 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED OS||All --- Comment #1 from Mark Thomas --- Thanks for the report. This has been fixed in trunk for 8.0.4 and in 7.0.x for 7.0.53 onwards. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576786 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11Nio2Protocol.java upgrade/Nio2Processor.java upgrade/Nio2ServletInputStream.java upgrade/Nio2ServletOutputStream.java
Author: remm Date: Wed Mar 12 15:39:13 2014 New Revision: 1576786 URL: http://svn.apache.org/r1576786 Log: Use a regular processSocket to cleanup after an error, so that the connection is removed, etc. Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2Processor.java tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletOutputStream.java Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java?rev=1576786&r1=1576785&r2=1576786&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Protocol.java Wed Mar 12 15:39:13 2014 @@ -240,7 +240,7 @@ public class Http11Nio2Protocol extends @Override public Http11Nio2Processor createProcessor() { Http11Nio2Processor processor = new Http11Nio2Processor( -proto.getMaxHttpHeaderSize(), (Nio2Endpoint)proto.endpoint, +proto.getMaxHttpHeaderSize(), (Nio2Endpoint) proto.endpoint, proto.getMaxTrailerSize(), proto.getMaxExtensionSize()); processor.setAdapter(proto.getAdapter()); processor.setMaxKeepAliveRequests(proto.getMaxKeepAliveRequests()); @@ -265,7 +265,7 @@ public class Http11Nio2Protocol extends SocketWrapper socket, HttpUpgradeHandler httpUpgradeProcessor) throws IOException { -return new Nio2Processor(socket, httpUpgradeProcessor); +return new Nio2Processor(proto.endpoint, socket, httpUpgradeProcessor); } @Override Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2Processor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2Processor.java?rev=1576786&r1=1576785&r2=1576786&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2Processor.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2Processor.java Wed Mar 12 15:39:13 2014 @@ -20,6 +20,7 @@ import javax.servlet.http.HttpUpgradeHan import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; +import org.apache.tomcat.util.net.AbstractEndpoint; import org.apache.tomcat.util.net.Nio2Channel; import org.apache.tomcat.util.net.SocketWrapper; @@ -31,11 +32,12 @@ public class Nio2Processor extends Abstr private static final int INFINITE_TIMEOUT = -1; -public Nio2Processor(SocketWrapper wrapper, +public Nio2Processor(AbstractEndpoint endpoint, +SocketWrapper wrapper, HttpUpgradeHandler httpUpgradeProcessor) { super(httpUpgradeProcessor, -new Nio2ServletInputStream(wrapper), -new Nio2ServletOutputStream(wrapper)); +new Nio2ServletInputStream(endpoint, wrapper), +new Nio2ServletOutputStream(endpoint, wrapper)); wrapper.setTimeout(INFINITE_TIMEOUT); } Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java?rev=1576786&r1=1576785&r2=1576786&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/Nio2ServletInputStream.java Wed Mar 12 15:39:13 2014 @@ -26,19 +26,23 @@ import java.util.concurrent.ExecutionExc import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; +import org.apache.tomcat.util.net.AbstractEndpoint; import org.apache.tomcat.util.net.Nio2Channel; import org.apache.tomcat.util.net.Nio2Endpoint; +import org.apache.tomcat.util.net.SocketStatus; import org.apache.tomcat.util.net.SocketWrapper; public class Nio2ServletInputStream extends AbstractServletInputStream { +private final AbstractEndpoint endpoint; private final SocketWrapper wrapper; private final Nio2Channel channel; private final CompletionHandler> completionHandler; private boolean flipped = false; private volatile boolean readPending = false; -public Nio2ServletInputStream(SocketWrapper wrapper) { +public Nio2ServletInputStream(AbstractEndpoint endpoint0, SocketWrapper wrapper) { +this.endpoint = endpoint0; this.wrapper = wrapper; this.channel = wrapper.getSocket(); this.completionHandler = n
buildbot success in ASF Buildbot on tomcat-7-trunk
The Buildbot has detected a restored build on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/1799 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1576770 Blamelist: markt Build succeeded! sincerely, -The Buildbot
[jira] [Created] (MTOMCAT-262) tomcatConfigurationFilesDirectory not honoured
jieryn created MTOMCAT-262: -- Summary: tomcatConfigurationFilesDirectory not honoured Key: MTOMCAT-262 URL: https://issues.apache.org/jira/browse/MTOMCAT-262 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0 Reporter: jieryn Assignee: Olivier Lamy (*$^¨%`£) Priority: Minor http://tomcat.apache.org/maven-plugin-2.0/tomcat7-maven-plugin/exec-war-mojo.html http://rmannibucau.wordpress.com/2014/03/11/executable-jar-with-tomee-and-tomcat-maven-plugin/ We are forced to pass -Dsystem=properties to the executable war because :exec-war and :exec-war-only do not include additional files found in tomcatConfigurationFilesDirectory. -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Created] (MTOMCAT-263) tomcat7:exec-war can't create .extract/webapps
jieryn created MTOMCAT-263: -- Summary: tomcat7:exec-war can't create .extract/webapps Key: MTOMCAT-263 URL: https://issues.apache.org/jira/browse/MTOMCAT-263 Project: Apache Tomcat Maven Plugin Issue Type: Bug Affects Versions: 2.2, 2.1 Reporter: jieryn {code}bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar Exception in thread "main" java.lang.Exception: FATAL: impossible to create directories:.extract/webapps at org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) at org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) at org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) {code} -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Updated] (MTOMCAT-263) tomcat7:exec-war can't create .extract/webapps
[ https://issues.apache.org/jira/browse/MTOMCAT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jieryn updated MTOMCAT-263: --- Description: {noformat} bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar Exception in thread "main" java.lang.Exception: FATAL: impossible to create directories:.extract/webapps at org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) at org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) at org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) {noformat} was: {code}bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar Exception in thread "main" java.lang.Exception: FATAL: impossible to create directories:.extract/webapps at org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) at org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) at org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) {code} > tomcat7:exec-war can't create .extract/webapps > -- > > Key: MTOMCAT-263 > URL: https://issues.apache.org/jira/browse/MTOMCAT-263 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug >Affects Versions: 2.1, 2.2 >Reporter: jieryn > > {noformat} > bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar > Exception in thread "main" java.lang.Exception: FATAL: impossible to create > directories:.extract/webapps > at > org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) > at > org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) > at > org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Updated] (MTOMCAT-263) tomcat7:exec-war can't create .extract/webapps
[ https://issues.apache.org/jira/browse/MTOMCAT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jieryn updated MTOMCAT-263: --- Description: bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar Exception in thread "main" java.lang.Exception: FATAL: impossible to create directories:.extract/webapps at org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) at org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) at org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) was: {noformat} bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar Exception in thread "main" java.lang.Exception: FATAL: impossible to create directories:.extract/webapps at org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) at org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) at org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) {noformat} > tomcat7:exec-war can't create .extract/webapps > -- > > Key: MTOMCAT-263 > URL: https://issues.apache.org/jira/browse/MTOMCAT-263 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug >Affects Versions: 2.1, 2.2 >Reporter: jieryn > > bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar > Exception in thread "main" java.lang.Exception: FATAL: impossible to create > directories:.extract/webapps > at > org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) > at > org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) > at > org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-263) tomcat7:exec-war can't create .extract/webapps
[ https://issues.apache.org/jira/browse/MTOMCAT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931922#comment-13931922 ] jieryn commented on MTOMCAT-263: Weirdly, that .extract/webapps directory is in fact created.. > tomcat7:exec-war can't create .extract/webapps > -- > > Key: MTOMCAT-263 > URL: https://issues.apache.org/jira/browse/MTOMCAT-263 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug >Affects Versions: 2.1, 2.2 >Reporter: jieryn > > bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar > Exception in thread "main" java.lang.Exception: FATAL: impossible to create > directories:.extract/webapps > at > org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586) > at > org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204) > at > org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212) -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56239] NullPointerException when finishing response under the Linux traffic control
https://issues.apache.org/bugzilla/show_bug.cgi?id=56239 --- Comment #9 from Lsk --- (In reply to Mark Thomas from comment #6) > In the original description you stated that you changed Tomcat version to > 7.0.52 and still observed the same problem. > > In comment #5 you stated that you could not reproduce the problem when using > 7.0.52. > > Which of those statement is correct? I mean i changed tomcat version to 7.0.52 then, NullPointerException has gone .. and my testcases was right.. but i don't understand what is the difference between 7.0.39 and 7.0.52 ? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576810 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
Author: remm Date: Wed Mar 12 16:30:42 2014 New Revision: 1576810 URL: http://svn.apache.org/r1576810 Log: Add non SSL version of the frame test. Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1576810&r1=1576809&r2=1576810&view=diff == --- tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java (original) +++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java Wed Mar 12 16:30:42 2014 @@ -43,6 +43,51 @@ import org.apache.tomcat.websocket.Teste public class TestWebSocketFrameClient extends TomcatBaseTest { @Test +public void testConnectToServerEndpoint() throws Exception { + +Tomcat tomcat = getTomcatInstance(); +// Must have a real docBase - just use temp +Context ctx = +tomcat.addContext("", System.getProperty("java.io.tmpdir")); +ctx.addApplicationListener(new ApplicationListener( +TesterFirehoseServer.Config.class.getName(), false)); +Tomcat.addServlet(ctx, "default", new DefaultServlet()); +ctx.addServletMapping("/", "default"); + +tomcat.start(); + +WebSocketContainer wsContainer = +ContainerProvider.getWebSocketContainer(); +ClientEndpointConfig clientEndpointConfig = +ClientEndpointConfig.Builder.create().build(); +Session wsSession = wsContainer.connectToServer( +TesterProgrammaticEndpoint.class, +clientEndpointConfig, +new URI("ws://localhost:" + getPort() + +TesterFirehoseServer.Config.PATH)); +CountDownLatch latch = +new CountDownLatch(TesterFirehoseServer.MESSAGE_COUNT); +BasicText handler = new BasicText(latch); +wsSession.addMessageHandler(handler); +wsSession.getBasicRemote().sendText("Hello"); + +System.out.println("Sent Hello message, waiting for data"); + +// Ignore the latch result as the message count test below will tell us +// if the right number of messages arrived +handler.getLatch().await(TesterFirehoseServer.WAIT_TIME_MILLIS, +TimeUnit.MILLISECONDS); + +Queue messages = handler.getMessages(); +Assert.assertEquals( +TesterFirehoseServer.MESSAGE_COUNT, messages.size()); +for (String message : messages) { +Assert.assertEquals(TesterFirehoseServer.MESSAGE, message); +} +} + + +@Test public void testConnectToServerEndpointSSL() throws Exception { Tomcat tomcat = getTomcatInstance(); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 56239] NullPointerException when finishing response under the Linux traffic control
https://issues.apache.org/bugzilla/show_bug.cgi?id=56239 --- Comment #10 from Christopher Schultz --- You can read the changelog (as you have done) or you can view diffs in Subversion. Nobody is going to hunt-down the exact patch that fixes this particular issue for you. As for the changelog, search for anything NIO-related. A lot of things have been modified in the connectors recently to make them more similar to each other and easier to maintain. It's possible that your edge-case was removed as a part of that effort, and so it doesn't appear as a particular bugfix, etc. If you really want to track down exactly what fixed it, start with 7.0.40 and keep upgrading until you hit a release that does not reproduce the problem. Then you can look at diffs. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576908 - /tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java
Author: markt Date: Wed Mar 12 21:16:22 2014 New Revision: 1576908 URL: http://svn.apache.org/r1576908 Log: Correct comment Modified: tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java Modified: tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java?rev=1576908&r1=1576907&r2=1576908&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java (original) +++ tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java Wed Mar 12 21:16:22 2014 @@ -334,7 +334,7 @@ public class ManagerServlet extends Http response.setContentType("text/plain; charset=" + Constants.CHARSET); PrintWriter writer = response.getWriter(); -// Process the requested command (note - "/deploy" is not listed here) +// Process the requested command if (command == null) { writer.println(smClient.getString("managerServlet.noCommand")); } else if (command.equals("/deploy")) { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1576923 - /tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java
Author: markt Date: Wed Mar 12 21:28:17 2014 New Revision: 1576923 URL: http://svn.apache.org/r1576923 Log: Better Javadoc Modified: tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java Modified: tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java?rev=1576923&r1=1576922&r2=1576923&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java (original) +++ tomcat/trunk/java/org/apache/catalina/manager/ManagerServlet.java Wed Mar 12 21:28:17 2014 @@ -629,10 +629,13 @@ public class ManagerServlet extends Http * Deploy a web application archive (included in the current request) * at the specified context path. * - * @param writer Writer to render results to - * @param cn Name of the application to be installed - * @param tag Tag to be associated with the webapp - * @param request Servlet request we are processing + * @param writer Writer to render results to + * @param cn Name of the application to be installed + * @param tag Tag to be associated with the webapp + * @param update Flag that indicates that any existing app should be + * replaced + * @param request Servlet request we are processing + * @param smClient i18n messages using the locale of the client */ protected synchronized void deploy (PrintWriter writer, ContextName cn, @@ -727,9 +730,10 @@ public class ManagerServlet extends Http * Install an application for the specified path from the specified * web application archive. * - * @param writer Writer to render results to - * @param tag Revision tag to deploy from - * @param cn Name of the application to be installed + * @param writerWriter to render results to + * @param tag Revision tag to deploy from + * @param cnName of the application to be installed + * @param smClient i18n messages using the locale of the client */ protected void deploy(PrintWriter writer, ContextName cn, String tag, StringManager smClient) { @@ -794,14 +798,15 @@ public class ManagerServlet extends Http * Install an application for the specified path from the specified * web application archive. * - * @param writer Writer to render results to - * @param config URL of the context configuration file to be installed - * @param cn Name of the application to be installed - * @param war URL of the web application archive to be installed - * @param update true to override any existing webapp on the path + * @param writerWriter to render results to + * @param configURL of the context configuration file to be installed + * @param cnName of the application to be installed + * @param war URL of the web application archive to be installed + * @param updatetrue to override any existing webapp on the path + * @param smClient i18n messages using the locale of the client */ protected void deploy(PrintWriter writer, String config, ContextName cn, -String war, boolean update, StringManager smClient) { +String war, boolean update, StringManager smClient) { if (config != null && config.length() == 0) { config = null; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [GUMP@vmgump]: Project tomcat-trunk-test-nio2 (in module tomcat-trunk) failed
2014-03-12 15:44 GMT+01:00 Bill Barker : > Full details are available at: > > http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-nio2/index.html > So, after debugging it, I can confirm there's an issue with the test TestWebSocketFrameClient.testConnectToServerEndpointSSL It does seem to be caused by a characteristic of NIO2, where the data has to be encrypted inline (unlike the NIO1 connector). I don't see any reasonable workaround for this. The test uses a lot of resources (2GB+ of RAM for me, plus significant CPU), so this processing time could spike. This then seems to cause a deadlock in the websockets code, which I have been able to reproduce 100% of the time by adding a Thread.sleep(20) at the beginning of Nio(2)ServletOutputStream.doWrite (for both NIO and NIO2 connectors, the behavior then becomes identical). So this can apparently could only affect heavily loaded servers using SSL. The deadlock is later broken up by the FutureSendHandler timeout. Although this failure only occurs with the NIO2 connector, I don't consider its behavior to be incorrect, as non blocking is not supposed to block on any IO operation, but this doesn't mean all calls need to have zero processing time. I'll try to investigate more this likely deadlock sometime later if Mark doesn't have any ideas about it. Rémy
[Bug 56253] New: StringIndexOutOfBoundsException in AbstractArchiveResourceSet.list() method
https://issues.apache.org/bugzilla/show_bug.cgi?id=56253 Bug ID: 56253 Summary: StringIndexOutOfBoundsException in AbstractArchiveResourceSet.list() method Product: Tomcat 8 Version: trunk Hardware: All OS: All Status: NEW Severity: major Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: larry.isa...@sas.com Created attachment 31384 --> https://issues.apache.org/bugzilla/attachment.cgi?id=31384&action=edit Simple patch to add needed string length check. Like in the AbstractArchiveResourceSet.getResource() method, the pathInJar variable can be an empty string in the list() method too. A length check is needed for list() the same as for getResource(). Marking as major since this is needed for the Eclipse Tomcat "Serve modules without publishing" feature to work with Tomcat 8. Thanks, Larry -- 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
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 8.x, a web server implementing the Java Servlet 3.1, ... 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. -DEBUG- Dependency on tomcat-trunk 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-trunk/output/build/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: 29 mins 53 secs Command Line: /usr/lib/jvm/java-7-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.12-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140313-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20140313.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140313-native-src.tar.gz -Dexecute.test.nio=true -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/apache-com mons/pool -Dcommons-dbcp.home=/srv/gump/public/workspace/apache-commons/dbcp -Dexecute.test.nio2=false -Dexecute.test.bio=false -Deasymock.jar=/srv/gump/public/workspace/easymock/easymock/target/easymock-3.3-SNAPSHOT.jar -Dhamcrest.jar=/srv/gump/public/workspace/hamcrest/hamcrest-java/build/hamcrest-core-20140313.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-7-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/servle t-api.jar:/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/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/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat -trunk/output/bui
[GUMP@vmgump]: Project tomcat-trunk-test-nio2 (in module tomcat-trunk) failed
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, 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-trunk-test-nio2 : Tomcat 8.x, a web server implementing the Java Servlet 3.1, ... 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. -DEBUG- Dependency on tomcat-trunk 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-trunk/output/build/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: 28 mins 57 secs Command Line: /usr/lib/jvm/java-7-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.12-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140313-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20140313.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140313-native-src.tar.gz -Dexecute.test.nio=false -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/apache-co mmons/pool -Dcommons-dbcp.home=/srv/gump/public/workspace/apache-commons/dbcp -Dexecute.test.nio2=true -Dexecute.test.bio=false -Deasymock.jar=/srv/gump/public/workspace/easymock/easymock/target/easymock-3.3-SNAPSHOT.jar -Dhamcrest.jar=/srv/gump/public/workspace/hamcrest/hamcrest-java/build/hamcrest-core-20140313.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-7-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/servle t-api.jar:/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/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/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump
[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
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 has an issue affecting its community integration. This issue affects 1 projects. 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 : Tomcat 8.x, a web server implementing the Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/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. -DEBUG- Dependency on tomcat-trunk exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build timed out -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-trunk/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build) Work ended in a state of : Failed Elapsed: 60 mins Command Line: /usr/lib/jvm/java-7-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.12-SNAPSHOT.jar -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.2-SNAPSHOT.jar -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140313-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20140313.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20140313-native-src.tar.gz -Dexecute.test.nio=false -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/apache-co mmons/pool -Dcommons-dbcp.home=/srv/gump/public/workspace/apache-commons/dbcp -Dexecute.test.nio2=false -Dexecute.test.bio=true -Deasymock.jar=/srv/gump/public/workspace/easymock/easymock/target/easymock-3.3-SNAPSHOT.jar -Dhamcrest.jar=/srv/gump/public/workspace/hamcrest/hamcrest-java/build/hamcrest-core-20140313.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-7-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/servle t-api.jar:/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/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/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat -trunk/output/build/lib/tomcat-spdy.jar:/sr