svn commit: r1517115 - /tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java

2013-08-24 Thread markt
Author: markt
Date: Sat Aug 24 08:01:26 2013
New Revision: 1517115

URL: http://svn.apache.org/r1517115
Log:
Two of us have got this wrong so separate the tests to make the logic clearer 
and increase the timeout to 10s.

Modified:
tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java

Modified: 
tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java?rev=1517115&r1=1517114&r2=1517115&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
Sat Aug 24 08:01:26 2013
@@ -313,9 +313,13 @@ public class TestNonBlockingAPI extends 
 // Listeners are invoked and access valve entries created on a 
different
 // thread so give that thread a chance to complete its work.
 int count = 0;
-while (count < 50 &&
-!(servlet.wlistener.onErrorInvoked || 
servlet.rlistener.onErrorInvoked) &&
-alv.getEntryCount() < 1) {
+while (count < 100 &&
+!(servlet.wlistener.onErrorInvoked || 
servlet.rlistener.onErrorInvoked)) {
+Thread.sleep(100);
+count ++;
+}
+
+while (count < 100 && alv.getEntryCount() < 1) {
 Thread.sleep(100);
 count ++;
 }



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



[Bug 55478] New: Remove production warning from VirtualWebappLoader JavaDocs

2013-08-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55478

Bug ID: 55478
   Summary: Remove production warning from VirtualWebappLoader
JavaDocs
   Product: Tomcat 6
   Version: 6.0.37
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Documentation
  Assignee: dev@tomcat.apache.org
  Reporter: 1983-01...@gmx.net

VirtualWebappLoader's JavaDocs for Tomcat 6 say:

"This is not meant to be used for production. Its meant to ease development
with IDE's without the need for fully republishing jars in WEB-INF/lib" 

Since this limitation is not given anymore and has been removed from Tomcat 7
JavaDocs, one should remove this erroneous warning from version 6 too.

See this reference too:
http://www.mail-archive.com/users@tomcat.apache.org/msg107848.html

-- 
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 55479] New: JSR 196 (JASPIC) support in Tomcat

2013-08-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55479

Bug ID: 55479
   Summary: JSR 196 (JASPIC) support in Tomcat
   Product: Tomcat 8
   Version: trunk
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: simonmpilking...@gmail.com

"The Java Authentication Service Provider Interface for Containers (JASPIC)
specification defines a service provider interface (SPI) by which
authentication providers that implement message authentication mechanisms may
be integrated in client or server message processing containers or runtimes."

Providing JASPIC support within Tomcat will reduce the amount of work required
to provide authentication for multiple authentication mechanisms and provide
better consistency and portability across different Tomcat-based projects.

Currently JASPIC has support within Geronimo and utilising this seems like the
quickest way forward to providing support within Tomcat itself.

I am interested in contributing code for this feature based on some existing
work already done in this area. I am also emailing the developers' list.

-- 
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: Consider support for the Servlet profile of JSR 196 (JASPIC) in Tomcat 7.0.x

2013-08-24 Thread Pilkington, Simon
A couple of months ago my team started looking at integrating JASPIC into
Tomcat. Providing support for JASPIC in Tomcat will reduce the amount of
work required
to provide authentication as well as providing better consistency and
portability across different Tomcat-based projects.

Based on that there has been some interest within the Tomcat community for
this support and the benefits to my team, I am interested in contributing
code changes to Tomcat in this area and I have just filed issue 55479 for
this work. Previously we have done some investigation to utilizing the
support from Geronimo and this seems like the best way to move forward.

I have just started and I am about to go ahead and build the trunk of
Tomcat as a first step. If anyone has any guidance on how to approach this
task or anything in general about providing JASPIC support in Tomcat, it
would be most appreciated.

Cheers,
Simon Pilkington


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



[Bug 55383] Improve markup and design of Tomcat's HTML pages

2013-08-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55383

Konstantin Preißer  changed:

   What|Removed |Added

  Attachment #30741|0   |1
is obsolete||

--- Comment #9 from Konstantin Preißer  ---
Created attachment 30760
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30760&action=edit
Updated patch for improving HTML markup & style in Tomcat docs

Hi,

I updated the patch (again, sorry) to:

• use only 1 data-* attribute for the comments identifier to be retrieved in
JS.
• replace instances of ... with ...,
  as it is not needed to use a  element to be able to link to a part of a
  document with a fragment identifier (and  is obsolete).
• remove markup that was only needed for a separate printer-friendly version
  of the docs (which was removed with r601180).
• remove markup that was needed for a "status" page which was removed with
  r630006.

-- 
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 (in module tomcat-trunk) failed

2013-08-24 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 has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 38 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 :  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 junit exists, no need to add for property hamcrest.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-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/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: 52 mins 20 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/dist/junit-20130825.jar 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.1-SNAPSHOT.jar
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20130825-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-20130825.jar
 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20130825-native-src.tar.gz
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/apache-commons/pool 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/apache-commons/dbcp 
-Deasymock.jar=/srv/gump/public/workspace/easymock/easymock/target/easymock-3.3-SNAPSHOT.jar
 -Dhamcrest.jar=/srv/gump/public/workspace/junit/dist/junit-20130825.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-s