jaasrealm regression

2013-08-05 Thread Romain Manni-Bucau
Hi

it seems we can now configure jaasrealm to use a jaas config file from the
webapp. That's great but it would need to fallback to old behavior (jaas
system property to find its location) by default otherwise apps using an
older tomcat are broken.

wdyt?

*Romain Manni-Bucau*
*Twitter: @rmannibucau *
*Blog: **http://rmannibucau.wordpress.com/*
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*


[Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

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

--- Comment #13 from Jeremy Boynes  ---
Created attachment 30678
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30678&action=edit
Proposal for transformer registration API

(In reply to Nick Williams from comment #11)
> Okeydokey. addTransformer() and removeTransformer() is my preference and
> also what's easiest on the Spring folks (it will require no code change on
> their part to work), so that's the direction we'll go.

I'd suggest adding these in a separate interface for just this functionality so
that applications don't need to depend on the actual implementation. The Tomcat
API package (org.apache.tomcat) might be a good location.

-- 
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 55305] DefaultServlet sets ContentType after opening stream [COPY OF 19721]

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

--- Comment #8 from wozza.xing  ---
(In reply to Christopher Schultz from comment #4)
> (In reply to wozza.xing from comment #1)
> > I would also happily contribute this filter as an example on how to use
> > apache xalan to compile/cache xslt (Translets) and apply the templates to
> > xml content that has a xslt processing instruction in the FilterChain.
> 
> Does this do anything that Apache Cocoon does not already do?


Yes, and I think there IS real demand for this directly in the app server.  For
standards based templating for quasi-programmer/page authors using JSP and
tomcat.

Resin supports XSLT filters for JSP page authors and maybe Tomcat should to.

http://www.caucho.com/resin-3.1/doc/xslt-filter.xtp

Cacoon & Carrot2 & spring also support XSLT in a basic way and depends on the
author understanding that framework and probably programming. 

Orelly even gets into how to build one.

http://docstore.mik.ua/orelly/xml/jxslt/ch08_04.htm

another excerpt from 

http://www.cs.put.poznan.pl/dweiss/xml/projects/xslt-filter/index.xml?lang=en

I needed an XSLT filter for a long time. These few solutions you can find on
the Web are usually very simple — buffering of the servlet's output and
preprocessing with a given XSLT stylesheet. My goal was to create something
more advanced — a production-quality XSLT filter which could preprocess XML
files with various xml-stylesheet directives, output methods and encodings,
take into consideration processing errors and such. This is the result.

But this discussion needs to move out of this 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



Re: Time for 7.0.43? Looking for a new release manager

2013-08-05 Thread Violeta Georgieva
2013/8/1 Mark Thomas wrote:
>
> All,
>
> Continuing the roughly monthly release cycle for 7.0.x, it is the start
> of a new month and time for another release.
>
> The open 7.0.x bugs have been fixed so 7.0.x/trunk should be in a
> suitable state for tagging.
>
> I'd like to free up some more time for Tomcat 8 so I am therefore
> looking to hand over the role of release manager for 7.0.x to another
> committer.

I would like to be a release manager for 7.0.x.

Regards
Violeta

>
> The process is pretty straight forward these days. I'll add something to
> the wiki to document the process but I usually spend more time waiting
> for files to upload than anything else.
>
> Mark
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


Re: [VOTE][RESULT] Release Apache Tomcat 8.0.0-RC1

2013-08-05 Thread Elgs Qian Chen
Awesome! Thank you Mark.

By the way, what are the main differences between version 7 and 8?

Von meinem iPhone gesendet

Am Aug 6, 2013 um 4:56 AM schrieb "Mark Thomas" :

> On 05/08/2013 19:44, Mark Thomas wrote:
>>> The proposed 8.0.0-RC1 release is:
>>> [ ] Broken - do not release
>>> [ ] Alpha - go ahead and release as 8.0.0-RC1 alpha
>> 
>> Alpha - binding: markt, remm, violetagg, jboynes, yoavs, rjung,
>> olamy
>>non-binding: Ognjen Blagojevic, Nick Williams
>> 
>> No other votes were cast. The vote therefore passes.
>> 
>> As a new major version it will probably take a little bit longer to get
>> all the various bits into place for this release. I'll start that shortly.
> 
> The site has been updated with the various parts required for a new
> major release (security, migration, download, docs, navigation, which
> version etc.) but I haven't posted the release announcement yet to give
> the remaining mirrors time to sync up.
> 
> I'm aiming to post the release announcement sometime tomorrow.
> 
> Mark
> 
> 
> -
> 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



[Bug 55314] Provide option to allow programmatic deployment of server (WebSocket) endpoint at runtime

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

--- Comment #5 from rstoyanc...@yahoo.com ---
Mark, many thanks for the change although it looks like we had different ideas
about the end result. From what I can see the solution makes it possible to
call ServerContainer.addEndpoint at runtime after which WsFilter handles
matching WebSocket handshake request.

What I had in mind is the ability to create a Servlet that can do centralized
HTTP request processing including WebSocket handshake requests, i.e. instead of
WsFilter. It's what I meant with the comparison to the Tomcat 7
WebSocketServlet.

The obvious issue is that JSR-356 doesn't provide this, at least not yet. The
client-side connectToServer is similar in spirit but nothing like it on the
server side. I imagined it would be something like:

WsHandshakeRequest wsRequest = ...
WsHandshakeResponse wsResponse = ...
WsServerContainer wsContainer = ...

wsContainer.upgrade(wsRequest, wsResponse, endpoint);

So any intermediate solution would have to be Tomcat specific. Just a thought
here on maybe providing a separate interface marked clearly as an intermidiate
solution that will remain stable until the spec has an alternative and that
will be deprecated afterwards, something like:

NonCompliantWsServerContainer container = ...
container.upgrade(wsRequest, wsResponse, endpoint);

-- 
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: r1510731 - in /tomcat/site/trunk: docs/whichversion.html xdocs/whichversion.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 21:01:16 2013
New Revision: 1510731

URL: http://svn.apache.org/r1510731
Log:
Add some text for 8.0.x

Modified:
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/docs/whichversion.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/whichversion.html?rev=1510731&r1=1510730&r2=1510731&view=diff
==
--- tomcat/site/trunk/docs/whichversion.html (original)
+++ tomcat/site/trunk/docs/whichversion.html Mon Aug  5 21:01:16 2013
@@ -381,6 +381,59 @@ stably for extended periods of time.
 
 
 
+
+Apache Tomcat 
8.x
+
+
+
+
+
+
+
+
+Apache Tomcat 8.x is the current focus of development, It
+builds upon the improvements made in Tomcat 7.0.x and implements the
+Servlet 3.1, JSP 2.3, EL 3.0
+and Web Socket 1.0 specifications. In addition
+to that, it includes the following improvements:
+
+
+A single, common resources implementation to replace the multiple resource
+extension features provided in earlier versions.
+
+
+
+
+
+
+Tomcat 8 is currently in an alpha state. Regular (at least monthly) release
+candidates are being made available for testing. All the specifications are
+feature complete as of 8.0.0-RC1. The remaining work includes:
+
+
+  
+Review the EG discussions of the various grey areas in the specifications
+  and implement any changes considered appropriate.
+  
+Complete the work to have Jasper initialized and configured purely via a
+  ServletContainerInitializer.
+  
+Switch to using UTF-8 as the default URI encoding.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 Apache Tomcat 
7.x
 
@@ -391,11 +444,10 @@ stably for extended periods of time.
 
 
 
-Apache Tomcat 7.x is the current focus of
-development.  It builds upon the improvements made in Tomcat 6.0.x and
-implements the Servlet 3.0, JSP 2.2 and
-EL 2.2 specifications. In addition to that, it includes the
-following improvements:
+Apache Tomcat 7.x builds upon the improvements made in
+Tomcat 6.0.x and implements the Servlet 3.0,
+JSP 2.2 and EL 2.2 specifications. In 
addition
+to that, it includes the following improvements:
 
 
 Web application memory leak detection and prevention

Modified: tomcat/site/trunk/xdocs/whichversion.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/whichversion.xml?rev=1510731&r1=1510730&r2=1510731&view=diff
==
--- tomcat/site/trunk/xdocs/whichversion.xml (original)
+++ tomcat/site/trunk/xdocs/whichversion.xml Mon Aug  5 21:01:16 2013
@@ -135,13 +135,39 @@ stably for extended periods of time.
 
 
 
+
+
+
+Apache Tomcat 8.x is the current focus of development, It
+builds upon the improvements made in Tomcat 7.0.x and implements the
+Servlet 3.1, JSP 2.3, EL 3.0
+and Web Socket 1.0 specifications. In addition
+to that, it includes the following improvements:
+
+A single, common resources implementation to replace the multiple resource
+extension features provided in earlier versions.
+
+
+
+Tomcat 8 is currently in an alpha state. Regular (at least monthly) release
+candidates are being made available for testing. All the specifications are
+feature complete as of 8.0.0-RC1. The remaining work includes:
+
+  Review the EG discussions of the various grey areas in the specifications
+  and implement any changes considered appropriate.
+  Complete the work to have Jasper initialized and configured purely via a
+  ServletContainerInitializer.
+  Switch to using UTF-8 as the default URI encoding.
+
+
+
+
 
 
-Apache Tomcat 7.x is the current focus of
-development.  It builds upon the improvements made in Tomcat 6.0.x and
-implements the Servlet 3.0, JSP 2.2 and
-EL 2.2 specifications. In addition to that, it includes the
-following improvements:
+Apache Tomcat 7.x builds upon the improvements made in
+Tomcat 6.0.x and implements the Servlet 3.0,
+JSP 2.2 and EL 2.2 specifications. In 
addition
+to that, it includes the following improvements:
 
 Web application memory leak detection and prevention
 Improved security for the Manager and Host Manager applications



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



Re: [VOTE][RESULT] Release Apache Tomcat 8.0.0-RC1

2013-08-05 Thread Mark Thomas
On 05/08/2013 19:44, Mark Thomas wrote:
>> The proposed 8.0.0-RC1 release is:
>> [ ] Broken - do not release
>> [ ] Alpha - go ahead and release as 8.0.0-RC1 alpha
> 
> Alpha - binding: markt, remm, violetagg, jboynes, yoavs, rjung,
>  olamy
> non-binding: Ognjen Blagojevic, Nick Williams
> 
> No other votes were cast. The vote therefore passes.
> 
> As a new major version it will probably take a little bit longer to get
> all the various bits into place for this release. I'll start that shortly.

The site has been updated with the various parts required for a new
major release (security, migration, download, docs, navigation, which
version etc.) but I haven't posted the release announcement yet to give
the remaining mirrors time to sync up.

I'm aiming to post the release announcement sometime tomorrow.

Mark


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



svn commit: r1510721 - in /tomcat/site/trunk: docs/ xdocs/stylesheets/

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 20:45:45 2013
New Revision: 1510721

URL: http://svn.apache.org/r1510721
Log:
Fix broken docs link

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/ci.html
tomcat/site/trunk/docs/contact.html
tomcat/site/trunk/docs/download-60.html
tomcat/site/trunk/docs/download-70.html
tomcat/site/trunk/docs/download-80.html
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/docs/download-native.html
tomcat/site/trunk/docs/findhelp.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/docs/heritage.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/irc.html
tomcat/site/trunk/docs/legal.html
tomcat/site/trunk/docs/lists.html
tomcat/site/trunk/docs/maven-plugin.html
tomcat/site/trunk/docs/migration-6.html
tomcat/site/trunk/docs/migration-7.html
tomcat/site/trunk/docs/migration-8.html
tomcat/site/trunk/docs/migration.html
tomcat/site/trunk/docs/oldnews-2010.html
tomcat/site/trunk/docs/oldnews-2011.html
tomcat/site/trunk/docs/oldnews-2012.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/resources.html
tomcat/site/trunk/docs/security-3.html
tomcat/site/trunk/docs/security-4.html
tomcat/site/trunk/docs/security-5.html
tomcat/site/trunk/docs/security-6.html
tomcat/site/trunk/docs/security-7.html
tomcat/site/trunk/docs/security-8.html
tomcat/site/trunk/docs/security-impact.html
tomcat/site/trunk/docs/security-jk.html
tomcat/site/trunk/docs/security-native.html
tomcat/site/trunk/docs/security.html
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/docs/tomcat-55-eol.html
tomcat/site/trunk/docs/tools.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/docs/whoweare.html
tomcat/site/trunk/xdocs/stylesheets/project.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Mon Aug  5 20:45:45 2013
@@ -77,7 +77,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/ci.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/ci.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/ci.html (original)
+++ tomcat/site/trunk/docs/ci.html Mon Aug  5 20:45:45 2013
@@ -76,7 +76,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/contact.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Mon Aug  5 20:45:45 2013
@@ -76,7 +76,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/download-60.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/download-60.html (original)
+++ tomcat/site/trunk/docs/download-60.html Mon Aug  5 20:45:45 2013
@@ -76,7 +76,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/download-70.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-70.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/download-70.html (original)
+++ tomcat/site/trunk/docs/download-70.html Mon Aug  5 20:45:45 2013
@@ -76,7 +76,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/download-80.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/download-80.html (original)
+++ tomcat/site/trunk/docs/download-80.html Mon Aug  5 20:45:45 2013
@@ -76,7 +76,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=1510721&r1=1510720&r2=1510721&view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Mon Aug  5 20:45:45 2013
@@ -76,7 +76,7 @@
 
 
 
-Tomcat 8.0
+Tomcat 8.0
 
 
 Tomcat 7.0

Modified: tomcat/site/trunk/docs/download-native.html
URL: 
http://s

svn commit: r1510719 - in /tomcat/site/trunk: docs/ xdocs/stylesheets/

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 20:43:26 2013
New Revision: 1510719

URL: http://svn.apache.org/r1510719
Log:
Add 8.0.x docs and download links

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/ci.html
tomcat/site/trunk/docs/contact.html
tomcat/site/trunk/docs/download-60.html
tomcat/site/trunk/docs/download-70.html
tomcat/site/trunk/docs/download-80.html
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/docs/download-native.html
tomcat/site/trunk/docs/findhelp.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/docs/heritage.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/irc.html
tomcat/site/trunk/docs/legal.html
tomcat/site/trunk/docs/lists.html
tomcat/site/trunk/docs/maven-plugin.html
tomcat/site/trunk/docs/migration-6.html
tomcat/site/trunk/docs/migration-7.html
tomcat/site/trunk/docs/migration-8.html
tomcat/site/trunk/docs/migration.html
tomcat/site/trunk/docs/oldnews-2010.html
tomcat/site/trunk/docs/oldnews-2011.html
tomcat/site/trunk/docs/oldnews-2012.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/resources.html
tomcat/site/trunk/docs/security-3.html
tomcat/site/trunk/docs/security-4.html
tomcat/site/trunk/docs/security-5.html
tomcat/site/trunk/docs/security-6.html
tomcat/site/trunk/docs/security-7.html
tomcat/site/trunk/docs/security-8.html
tomcat/site/trunk/docs/security-impact.html
tomcat/site/trunk/docs/security-jk.html
tomcat/site/trunk/docs/security-native.html
tomcat/site/trunk/docs/security.html
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/docs/tomcat-55-eol.html
tomcat/site/trunk/docs/tools.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/docs/whoweare.html
tomcat/site/trunk/xdocs/stylesheets/project.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=1510719&r1=1510718&r2=1510719&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Mon Aug  5 20:43:26 2013
@@ -54,6 +54,9 @@
 Which version?
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 
@@ -74,6 +77,9 @@
 
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 

Modified: tomcat/site/trunk/docs/ci.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/ci.html?rev=1510719&r1=1510718&r2=1510719&view=diff
==
--- tomcat/site/trunk/docs/ci.html (original)
+++ tomcat/site/trunk/docs/ci.html Mon Aug  5 20:43:26 2013
@@ -53,6 +53,9 @@
 Which version?
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 
@@ -73,6 +76,9 @@
 
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/contact.html?rev=1510719&r1=1510718&r2=1510719&view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Mon Aug  5 20:43:26 2013
@@ -53,6 +53,9 @@
 Which version?
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 
@@ -73,6 +76,9 @@
 
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 

Modified: tomcat/site/trunk/docs/download-60.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=1510719&r1=1510718&r2=1510719&view=diff
==
--- tomcat/site/trunk/docs/download-60.html (original)
+++ tomcat/site/trunk/docs/download-60.html Mon Aug  5 20:43:26 2013
@@ -53,6 +53,9 @@
 Which version?
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 
@@ -73,6 +76,9 @@
 
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 

Modified: tomcat/site/trunk/docs/download-70.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-70.html?rev=1510719&r1=1510718&r2=1510719&view=diff
==
--- tomcat/site/trunk/docs/download-70.html (original)
+++ tomcat/site/trunk/docs/download-70.html Mon Aug  5 20:43:26 2013
@@ -53,6 +53,9 @@
 Which version?
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 
@@ -73,6 +76,9 @@
 
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 

Modified: tomcat/site/trunk/docs/download-80.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1510719&r1=1510718&r2=1510719&view=diff
==
--- tomcat/site/trunk/docs/download-80.html (original)
+++ tomcat/site/trunk/docs/download-80.html Mon Aug  5 20:43:26 2013
@@ -53,6 +53,9 @@
 Which version?
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 
@@ -73,6 +76,9 @@
 
 
 
+Tomcat 8.0
+
+
 Tomcat 7.0
 
 

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=1510719

svn commit: r1510714 - in /tomcat/site/trunk: docs/whichversion.html xdocs/whichversion.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 20:35:12 2013
New Revision: 1510714

URL: http://svn.apache.org/r1510714
Log:
Add 8.0.x to version page and separate out columns for specifcations.

Modified:
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/docs/whichversion.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/whichversion.html?rev=1510714&r1=1510713&r2=1510714&view=diff
==
--- tomcat/site/trunk/docs/whichversion.html (original)
+++ tomcat/site/trunk/docs/whichversion.html Mon Aug  5 20:35:12 2013
@@ -201,7 +201,10 @@ mapping between the specifications and t
 
 
   
-Servlet/JSP Spec
+Servlet Spec
+  JSP Spec
+  EL Spec
+  WebSocket Spec
   Apache Tomcat 
version
   Actual release 
revision
   Minimum Java 
Version
@@ -211,7 +214,23 @@ mapping between the specifications and t
 
 
   
-3.0/2.2
+3.1
+  2.3
+  3.0
+  1.0
+  8.0.x
+  8.0.0-RC1 (alpha)
+  1.7
+
+
+
+
+
+  
+3.0
+  2.2
+  2.2
+  N/A
   7.0.x
   7.0.42
   1.6
@@ -221,7 +240,10 @@ mapping between the specifications and t
 
 
   
-2.5/2.1
+2.5
+  2.1
+  2.1
+  N/A
   6.0.x
   6.0.37
   1.5
@@ -231,7 +253,10 @@ mapping between the specifications and t
 
 
   
-2.4/2.0
+2.4
+  2.0
+  N/A
+  N/A
   5.5.x (archived)
   5.5.36 (archived)
   1.4
@@ -241,7 +266,10 @@ mapping between the specifications and t
 
 
   
-2.3/1.2
+2.3
+  1.2
+  N/A
+  N/A
   4.1.x (archived)
   4.1.40 (archived)
   1.3
@@ -251,7 +279,10 @@ mapping between the specifications and t
 
 
   
-2.2/1.1
+2.2
+  1.1
+  N/A
+  N/A
   3.3.x (archived)
   3.3.2 (archived)
   1.1

Modified: tomcat/site/trunk/xdocs/whichversion.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/whichversion.xml?rev=1510714&r1=1510713&r2=1510714&view=diff
==
--- tomcat/site/trunk/xdocs/whichversion.xml (original)
+++ tomcat/site/trunk/xdocs/whichversion.xml Mon Aug  5 20:35:12 2013
@@ -20,42 +20,70 @@ mapping between the specifications and t
 
 
 
-  Servlet/JSP Spec
+  Servlet Spec
+  JSP Spec
+  EL Spec
+  WebSocket Spec
   Apache Tomcat version
   Actual release revision
   Minimum Java Version
 
 
 
-  3.0/2.2
+  3.1
+  2.3
+  3.0
+  1.0
+  8.0.x
+  8.0.0-RC1 (alpha)
+  1.7
+
+
+
+  3.0
+  2.2
+  2.2
+  N/A
   7.0.x
   7.0.42
   1.6
 
 
 
-  2.5/2.1
+  2.5
+  2.1
+  2.1
+  N/A
   6.0.x
   6.0.37
   1.5
 
 
 
-  2.4/2.0
+  2.4
+  2.0
+  N/A
+  N/A
   5.5.x (archived)
   5.5.36 (archived)
   1.4
 
 
 
-  2.3/1.2
+  2.3
+  1.2
+  N/A
+  N/A
   4.1.x (archived)
   4.1.40 (archived)
   1.3
 
 
 
-  2.2/1.1
+  2.2
+  1.1
+  N/A
+  N/A
   3.3.x (archived)
   3.3.2 (archived)
   1.1



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



svn commit: r1510713 - in /tomcat/site/trunk: docs/sitemap-main.xml xdocs/sitemap-main.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 20:34:40 2013
New Revision: 1510713

URL: http://svn.apache.org/r1510713
Log:
Add 8.0.x docs to sitemap

Modified:
tomcat/site/trunk/docs/sitemap-main.xml
tomcat/site/trunk/xdocs/sitemap-main.xml

Modified: tomcat/site/trunk/docs/sitemap-main.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/sitemap-main.xml?rev=1510713&r1=1510712&r2=1510713&view=diff
==
--- tomcat/site/trunk/docs/sitemap-main.xml (original)
+++ tomcat/site/trunk/docs/sitemap-main.xml Mon Aug  5 20:34:40 2013
@@ -12,6 +12,11 @@
 
   
   
+http://tomcat.apache.org/tomcat-8.0-doc/
+monthly
+0.9
+  
+  
 http://tomcat.apache.org/tomcat-7.0-doc/
 monthly
 0.8

Modified: tomcat/site/trunk/xdocs/sitemap-main.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/sitemap-main.xml?rev=1510713&r1=1510712&r2=1510713&view=diff
==
--- tomcat/site/trunk/xdocs/sitemap-main.xml (original)
+++ tomcat/site/trunk/xdocs/sitemap-main.xml Mon Aug  5 20:34:40 2013
@@ -12,6 +12,11 @@
 
   
   
+http://tomcat.apache.org/tomcat-8.0-doc/
+monthly
+0.9
+  
+  
 http://tomcat.apache.org/tomcat-7.0-doc/
 monthly
 0.8



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



svn commit: r1510708 - in /tomcat/site/trunk: docs/migration-8.html docs/migration.html xdocs/migration-8.xml xdocs/migration.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 20:24:51 2013
New Revision: 1510708

URL: http://svn.apache.org/r1510708
Log:
Initial migration guide

Added:
tomcat/site/trunk/docs/migration-8.html   (with props)
tomcat/site/trunk/xdocs/migration-8.xml
  - copied, changed from r1510686, tomcat/site/trunk/xdocs/migration-7.xml
Modified:
tomcat/site/trunk/docs/migration.html
tomcat/site/trunk/xdocs/migration.xml

Added: tomcat/site/trunk/docs/migration-8.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-8.html?rev=1510708&view=auto
==
--- tomcat/site/trunk/docs/migration-8.html (added)
+++ tomcat/site/trunk/docs/migration-8.html Mon Aug  5 20:24:51 2013
@@ -0,0 +1,638 @@
+
+
+
+Apache Tomcat - Migration Guide - Tomcat 8.0.x
+
+
+
+
+
+
+
+
+
+http://tomcat.apache.org/";>
+Apache Tomcat
+
+http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" 
border="0">
+
+
+
+http://www.google.com/search"; method="get">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Apache Tomcat
+
+
+
+Home
+
+
+Taglibs
+
+
+Maven Plugin
+
+
+
+Download
+
+
+
+Which version?
+
+
+Tomcat 7.0
+
+
+Tomcat 6.0
+
+
+Tomcat Connectors
+
+
+Tomcat Native
+
+
+http://archive.apache.org/dist/tomcat/";>Archives
+
+
+
+Documentation
+
+
+
+Tomcat 7.0
+
+
+Tomcat 6.0
+
+
+Tomcat Connectors
+
+
+Tomcat Native
+
+
+http://wiki.apache.org/tomcat/FrontPage";>Wiki
+
+
+Migration Guide
+
+
+
+Problems?
+
+
+
+Security Reports
+
+
+Find help
+
+
+http://wiki.apache.org/tomcat/FAQ";>FAQ
+
+
+Mailing Lists
+
+
+Bug Database
+
+
+IRC
+
+
+
+Get Involved
+
+
+
+Overview
+
+
+SVN Repositories
+
+
+Buildbot
+
+
+https://reviews.apache.org/groups/tomcat/";>Reviewboard
+
+
+Tools
+
+
+
+Media
+
+
+
+http://blogs.apache.org/tomcat/";>Blog
+
+
+http://twitter.com/theapachetomcat";>Twitter
+
+
+
+Misc
+
+
+
+Who We Are
+
+
+Heritage
+
+
+http://www.apache.org";>Apache Home
+
+
+Resources
+
+
+Contact
+
+
+Legal
+
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
+
+
+
+
+
+
+Table of 
Contents
+
+
+
+
+
+
+
+
+General
+
+
+Migrating from 7.0.x to 8.0.x
+
+
+Java 7 required
+
+
+Specification APIs
+
+
+Servlet 3.1 API
+
+
+Default connector 
implementation
+
+
+Web application resources
+
+
+Internal APIs
+
+
+
+
+Upgrading 8.0.x
+
+
+Tomcat 8.0.x 
configuration file differences
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+General
+
+
+
+
+
+
+
+Please read general Migration Guide page first,
+for common considerations that apply to migration or upgrade between versions
+of Apache Tomcat.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Migrating from 
7.0.x to 8.0.x
+
+
+
+
+
+
+  
+ This section lists all the known changes between 7.0.x and 8.0.x which may
+  cause backwards compatibility problems when upgrading.
+
+  
+
+
+
+Java 7 
required
+
+
+
+
+
+
+Apache Tomcat 8.0.x requires Java 7 or later. Apache Tomcat 7.0.x
+required Java 6.
+
+  
+
+
+
+
+
+
+
+
+
+
+  
+
+
+
+Specification 
APIs
+
+
+
+
+
+
+Apache Tomcat 8 supports Java Servlet 3.1, JavaServer Pages 2.3,
+Expression Language 2.3 and Java WebSocket 1.0
+http://wiki.apache.org/tomcat/Specifications";>specifications.
+The changes between versions of specifications may be found in the
+Changes appendix in each of specification documents.
+
+
+  
+
+
+
+
+
+
+
+
+
+  
+  
+
+
+
+Servlet 3.1 
API
+
+
+
+
+  
+
+In JSP pages that use wildcard import syntax the new classes added in
+Servlet API may conflict with ones in web applications.
+For example, if package "a" contains class
+ReadListener, the following JSP page will cease to compile in
+Tomcat 8:
+
+
+
+
+
+
+
+
+
+
+<%@page import="a.*"%>
+<% ReadListener listener = new ReadListener(); %>
+
+
+
+
+
+
+
+
+
+This happens because implicit import of javax.servlet.*
+and explicit import of a.* will provide conflicting
+definitions of class ReadListener that was added in Servlet
+3.1. The solution is to use the explicit import,
+import="a.ReadListener".
+
+  
+
+
+
+
+
+
+
+
+
+
+  
+
+
+
+Default 
connector implementation
+
+
+
+
+
+
+The default HTTP and AJP connector implementation has switched from the
+Java blocking IO implementation (BIO) to the Java non-blocking IO
+implementation (NIO). BIO may still be used but Servlet 3.1 and WebSocket
+1.0 features that use non-blocking IO will then use blocking IO instead
+which may cause unexpected application behavior.
+
+  
+
+
+
+
+
+
+
+
+
+
+  
+
+
+
+Web application 
resources
+
+
+
+
+
+
+The Aliases, VirtualLoader, VirtualDirContext, JAR resources and external
+repositories features that all provided a way to add resources to a web
+application have been replaced with a single framework rather than each
+being implemented separately (this was becoming increasingly difficult to
+maintain). The resources
+doc

svn commit: r1510706 - in /tomcat/site/trunk: docs/bugreport.html xdocs/bugreport.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 20:24:23 2013
New Revision: 1510706

URL: http://svn.apache.org/r1510706
Log:
8.0.x has a published changelog now
Use more recent versions in bug example

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/xdocs/bugreport.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=1510706&r1=1510705&r2=1510706&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Mon Aug  5 20:24:23 2013
@@ -555,8 +555,8 @@ problem you are having before reporting 
 The same problem should be reported only once, but the fix may
 be applied to different Tomcat versions. While doing so, the bug report
 is moved between different products. A bug that is originally
-reported against Tomcat 7 is moved to Tomcat 6 and maybe later to
-Tomcat 5. So it makes sense to search all the versions at once.
+reported against Tomcat 8 is moved to Tomcat 7 and maybe later to
+Tomcat 6. So it makes sense to search all the versions at once.
 
 
 Here is a quick list of supported products:
@@ -690,7 +690,9 @@ problem you are having before reporting 
 
   
 Tomcat 8.0 (trunk)
-  none
+  
+http://tomcat.apache.org/tomcat-8.0-doc/changelog.html";>changelog.html
+  
   
 http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml";>changelog.xml
   

Modified: tomcat/site/trunk/xdocs/bugreport.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/bugreport.xml?rev=1510706&r1=1510705&r2=1510706&view=diff
==
--- tomcat/site/trunk/xdocs/bugreport.xml (original)
+++ tomcat/site/trunk/xdocs/bugreport.xml Mon Aug  5 20:24:23 2013
@@ -137,8 +137,8 @@ problem you are having before reporting 
 The same problem should be reported only once, but the fix may
 be applied to different Tomcat versions. While doing so, the bug report
 is moved between different products. A bug that is originally
-reported against Tomcat 7 is moved to Tomcat 6 and maybe later to
-Tomcat 5. So it makes sense to search all the versions at once.
+reported against Tomcat 8 is moved to Tomcat 7 and maybe later to
+Tomcat 6. So it makes sense to search all the versions at once.
 
 Here is a quick list of supported products:
 
@@ -205,7 +205,9 @@ problem you are having before reporting 
 
 
   Tomcat 8.0 (trunk)
-  none
+  
+http://tomcat.apache.org/tomcat-8.0-doc/changelog.html";>changelog.html
+  
   
 http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml";>changelog.xml
   



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



Re: [VOTE] Release Apache Tomcat 8.0.0-RC1

2013-08-05 Thread Rainer Jung
On 05.08.2013 18:22, Mark Thomas wrote:
> On 05/08/2013 11:49, Rainer Jung wrote:

>> The "Thread-4" has stack
>>
>>java.lang.Thread.State: RUNNABLE
>> at sun.nio.ch.SolarisEventPort.portGet(Native Method)
>> at sun.nio.ch.SolarisEventPort.access$400(SolarisEventPort.java:38)
>> at
>> sun.nio.ch.SolarisEventPort$EventHandlerTask.run(SolarisEventPort.java:167)
>> at java.lang.Thread.run(Thread.java:724)
>>
>> and gets started between NioBlockingSelector.BlockPoller-2 and
>> ContainerBackgroundProcessor[StandardEngine[Catalina]]. Not sure whether
>> it is started by the JVM under the hood, but if we create it ourselves
>> we should probably give it a name.

Unfortunately we can't :(

Stack at thread creation is:

at java.lang.Thread.init(Thread.java:439)
at java.lang.Thread.(Thread.java:479)
at sun.nio.ch.ThreadPool$1.newThread(ThreadPool.java:45)
at
sun.nio.ch.AsynchronousChannelGroupImpl$2.run(AsynchronousChannelGroupImpl.java:123)
at
sun.nio.ch.AsynchronousChannelGroupImpl$2.run(AsynchronousChannelGroupImpl.java:118)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.nio.ch.AsynchronousChannelGroupImpl.startInternalThread(AsynchronousChannelGroupImpl.java:118)
at
sun.nio.ch.AsynchronousChannelGroupImpl.startThreads(AsynchronousChannelGroupImpl.java:132)
at sun.nio.ch.SolarisEventPort.start(SolarisEventPort.java:82)
at
sun.nio.ch.SolarisAsynchronousChannelProvider.openAsynchronousChannelGroup(SolarisAsynchronousChannelProvider.java:65)
at
java.nio.channels.AsynchronousChannelGroup.withCachedThreadPool(AsynchronousChannelGroup.java:233)
at
org.apache.tomcat.websocket.WsWebSocketContainer.(WsWebSocketContainer.java:116)
at org.apache.tomcat.websocket.server.WsSci.init(WsSci.java:130)
at org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:47)

and the code in WsWebSocketContainer provides a thread factory that does
set a sensible name. But Thread-4 is some JDK internal thread we can't
influence. Here's the relevant snippet of JDK code:

117 private void startInternalThread(final Runnable task) {
118 AccessController.doPrivileged(new PrivilegedAction() {
119 @Override
120 public Void run() {
121 // internal threads should not be visible to
application so
122 // cannot use user-supplied thread factory
123
ThreadPool.defaultThreadFactory().newThread(task).start();
124 return null;
125 }
126  });
127 }
128
"./jdk/src/share/classes/sun/nio/ch/AsynchronousChannelGroupImpl.java"

So we have to live with that. Code looks the same in Java 8.

Regards,

Rainer

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



svn commit: r1510686 - in /tomcat/site/trunk: docs/security-8.html docs/security.html xdocs/security-8.xml xdocs/security.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 19:45:45 2013
New Revision: 1510686

URL: http://svn.apache.org/r1510686
Log:
Add Tomcat 8 security page

Added:
tomcat/site/trunk/docs/security-8.html   (with props)
tomcat/site/trunk/xdocs/security-8.xml
  - copied, changed from r1510677, tomcat/site/trunk/xdocs/security-7.xml
Modified:
tomcat/site/trunk/docs/security.html
tomcat/site/trunk/xdocs/security.xml

Added: tomcat/site/trunk/docs/security-8.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/security-8.html?rev=1510686&view=auto
==
--- tomcat/site/trunk/docs/security-8.html (added)
+++ tomcat/site/trunk/docs/security-8.html Mon Aug  5 19:45:45 2013
@@ -0,0 +1,345 @@
+
+
+
+Apache Tomcat - Apache Tomcat 8 vulnerabilities
+
+
+
+
+
+
+
+
+
+http://tomcat.apache.org/";>
+Apache Tomcat
+
+http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" 
border="0">
+
+
+
+http://www.google.com/search"; method="get">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Apache Tomcat
+
+
+
+Home
+
+
+Taglibs
+
+
+Maven Plugin
+
+
+
+Download
+
+
+
+Which version?
+
+
+Tomcat 7.0
+
+
+Tomcat 6.0
+
+
+Tomcat Connectors
+
+
+Tomcat Native
+
+
+http://archive.apache.org/dist/tomcat/";>Archives
+
+
+
+Documentation
+
+
+
+Tomcat 7.0
+
+
+Tomcat 6.0
+
+
+Tomcat Connectors
+
+
+Tomcat Native
+
+
+http://wiki.apache.org/tomcat/FrontPage";>Wiki
+
+
+Migration Guide
+
+
+
+Problems?
+
+
+
+Security Reports
+
+
+Find help
+
+
+http://wiki.apache.org/tomcat/FAQ";>FAQ
+
+
+Mailing Lists
+
+
+Bug Database
+
+
+IRC
+
+
+
+Get Involved
+
+
+
+Overview
+
+
+SVN Repositories
+
+
+Buildbot
+
+
+https://reviews.apache.org/groups/tomcat/";>Reviewboard
+
+
+Tools
+
+
+
+Media
+
+
+
+http://blogs.apache.org/tomcat/";>Blog
+
+
+http://twitter.com/theapachetomcat";>Twitter
+
+
+
+Misc
+
+
+
+Who We Are
+
+
+Heritage
+
+
+http://www.apache.org";>Apache Home
+
+
+Resources
+
+
+Contact
+
+
+Legal
+
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
+
+
+
+
+
+
+Table of 
Contents
+
+
+
+
+
+
+
+
+Apache Tomcat 8.x 
vulnerabilities
+
+
+Fixed in Apache Tomcat 
8.0.0-RC1
+
+
+Not a vulnerability in Tomcat
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Apache Tomcat 
8.x vulnerabilities
+
+
+
+
+
+
+This page lists all security vulnerabilities fixed in released versions
+   of Apache Tomcat 8.x. Each vulnerability is given a
+   security impact rating by the Apache
+   Tomcat security team — please note that this rating may vary from
+   platform to platform. We also list the versions of Apache Tomcat the 
flaw
+   is known to affect, and where a flaw has not been verified list the
+   version with a question mark.
+
+
+
+Note: Vulnerabilities that are not Tomcat vulnerabilities
+   but have either been incorrectly reported against Tomcat or where Tomcat
+   provides a workaround are listed at the end of this page.
+
+
+Please note that binary patches are never provided. If you need to
+   apply a source code patch, use the building instructions for the
+   Apache Tomcat version that you are using. For Tomcat 8.0 those are
+   building.html 
and
+   BUILDING.txt.
+   Both files can be found in the webapps/docs subdirectory
+   of a binary distributive. You may also want to review the
+   Security 
Considerations
+   page in the documentation.
+
+
+If you need help on building or configuring Tomcat or other help on
+   following the instructions to mitigate the known vulnerabilities listed
+   here, please send your questions to the public
+   Tomcat Users mailing list
+
+
+
+
+If you have encountered an unlisted security vulnerability or other
+   unexpected behaviour that has security
+   impact, or if the descriptions here are incomplete,
+   please report them privately to the
+   Tomcat Security Team. Thank you.
+
+
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+Fixed in 
Apache Tomcat 8.0.0-RC1released 1 August 
2013
+
+
+
+
+
+
+
+No reports
+
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+Not a 
vulnerability in Tomcat
+
+
+
+
+
+
+
+No reports
+
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Copyright © 1999-2013, The Apache Software Foundation
+
+Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache 
Tomcat
+project logo are trademarks of the Apache Software Foundation.
+
+
+
+
+
+
+

Propchange: tomcat/site/trunk/docs/security-8.html
--
svn:eol-style = native

Modified: tomcat/site/trunk/docs/security.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/security.html?rev=1510686&r1=1510685&r2=1510686&view=diff
==
--- tomcat/site/trunk/docs/secur

svn commit: r1510682 - in /tomcat/site/trunk: docs/download-80.cgi docs/download-80.html xdocs/download-80.cgi xdocs/download-80.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 19:39:47 2013
New Revision: 1510682

URL: http://svn.apache.org/r1510682
Log:
Create the 8.0.x download page

Added:
tomcat/site/trunk/docs/download-80.cgi   (with props)
tomcat/site/trunk/docs/download-80.html   (with props)
tomcat/site/trunk/xdocs/download-80.cgi
  - copied unchanged from r1510677, tomcat/site/trunk/xdocs/download-70.cgi
tomcat/site/trunk/xdocs/download-80.xml
  - copied, changed from r1510677, tomcat/site/trunk/xdocs/download-70.xml

Added: tomcat/site/trunk/docs/download-80.cgi
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.cgi?rev=1510682&view=auto
==
--- tomcat/site/trunk/docs/download-80.cgi (added)
+++ tomcat/site/trunk/docs/download-80.cgi Mon Aug  5 19:39:47 2013
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Wrapper script around mirrors.cgi script
+# (we must change to that directory in order for python to pick up the
+#  python includes correctly)
+cd /www/www.apache.org/dyn/mirrors
+/www/www.apache.org/dyn/mirrors/mirrors.cgi $*

Propchange: tomcat/site/trunk/docs/download-80.cgi
--
svn:eol-style = native

Added: tomcat/site/trunk/docs/download-80.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1510682&view=auto
==
--- tomcat/site/trunk/docs/download-80.html (added)
+++ tomcat/site/trunk/docs/download-80.html Mon Aug  5 19:39:47 2013
@@ -0,0 +1,557 @@
+
+
+
+Apache Tomcat - Apache Tomcat 8 Downloads
+
+
+
+
+
+
+
+
+http://tomcat.apache.org/";>
+Apache Tomcat
+
+http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" 
border="0">
+
+
+
+http://www.google.com/search"; method="get">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Apache Tomcat
+
+
+
+Home
+
+
+Taglibs
+
+
+Maven Plugin
+
+
+
+Download
+
+
+
+Which version?
+
+
+Tomcat 7.0
+
+
+Tomcat 6.0
+
+
+Tomcat Connectors
+
+
+Tomcat Native
+
+
+http://archive.apache.org/dist/tomcat/";>Archives
+
+
+
+Documentation
+
+
+
+Tomcat 7.0
+
+
+Tomcat 6.0
+
+
+Tomcat Connectors
+
+
+Tomcat Native
+
+
+http://wiki.apache.org/tomcat/FrontPage";>Wiki
+
+
+Migration Guide
+
+
+
+Problems?
+
+
+
+Security Reports
+
+
+Find help
+
+
+http://wiki.apache.org/tomcat/FAQ";>FAQ
+
+
+Mailing Lists
+
+
+Bug Database
+
+
+IRC
+
+
+
+Get Involved
+
+
+
+Overview
+
+
+SVN Repositories
+
+
+Buildbot
+
+
+https://reviews.apache.org/groups/tomcat/";>Reviewboard
+
+
+Tools
+
+
+
+Media
+
+
+
+http://blogs.apache.org/tomcat/";>Blog
+
+
+http://twitter.com/theapachetomcat";>Twitter
+
+
+
+Misc
+
+
+
+Who We Are
+
+
+Heritage
+
+
+http://www.apache.org";>Apache Home
+
+
+Resources
+
+
+Contact
+
+
+Legal
+
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
+
+
+
+
+
+
+Tomcat 8 
Downloads
+
+
+
+
+
+
+Welcome to the Tomcat 8.x download page. This page provides download
+links for obtaining the latest version of Tomcat 8.0.x, as well as links
+to the archives of older releases.
+
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+Quick 
Navigation
+
+
+
+
+
+
+https://www.apache.org/dist/tomcat/tomcat-8/KEYS";>KEYS |
+8.0.0-RC1 |
+Browse |
+http://archive.apache.org/dist/tomcat/tomcat-8";>Archives
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+Release 
Integrity
+
+
+
+
+
+
+You must verify the integrity of the downloaded files.
+We provide OpenPGP signatures for every release file.  This signature 
should
+be matched against the
+https://www.apache.org/dist/tomcat/tomcat-8/KEYS";>KEYS file
+which contains the OpenPGP keys of Tomcat's Release Managers. We also
+provide an MD5 checksum for every release file. After you
+download the file, you should calculate a checksum for your download, and
+make sure it is the same as ours.
+
+  
+
+
+
+
+
+
+
+
+
+
+
+
+Mirrors
+
+
+
+
+
+   
+
+You are currently using [preferred].  If you
+   encounter a problem with this mirror, please select another
+   mirror.  If all mirrors are failing, there are backup
+   mirrors (at the end of the mirrors list) that should be
+   available.[if-any logo][end]
+
+
+   Other mirrors: 
+ [if-any http]
+   [for http][http][end]
+ [end]
+ [if-any ftp]
+   [for ftp][ftp][end]
+ [end]
+ [if-any backup]
+   [for backup][backup] (backup)[end]
+   [end]
+ 
+
+
+  
+   
+  
+
+
+
+
+
+
+
+
+
+
+
+
+8.0.0-RC1
+
+
+
+
+
+  
+
+  
+Please see the 
+  README
+  file for packaging information.  It explains what every distribution 
contains.
+  
+
+  
+
+
+
+Binary 
Distributions
+
+
+
+
+  
+
+
+Core:
+  
+  
+
+
+zip 
+(https://www

Re: svn commit: r1510665 [26/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread Mark Thomas
On 05/08/2013 21:20, Mark Thomas wrote:
> On 05/08/2013 21:14, Nick Williams wrote:
>>
>> On Aug 5, 2013, at 2:10 PM, ma...@apache.org wrote:
>>
>>> Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html
>>> URL: 
>>> http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html?rev=1510665&view=auto
>>> ==
>>> --- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html 
>>> (added)
>>> +++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html 
>>> Mon Aug  5 19:10:09 2013
>>> @@ -0,0 +1,345 @@
>>> +>> "http://www.w3.org/TR/html4/loose.dtd";>
>>> +
>>> +
>>> +
>>> +
>>> +Serialized Form (Servlet 3.0 API Documentation - Apache Tomcat 
>>> 8.0.0-RC1)
>>> +
>>> +
>>> +
>>> +
>>> +

svn commit: r1510672 - in /tomcat/site/trunk/docs/tomcat-8.0-doc: ./ WEB-INF/ api/ api/org/ api/org/apache/ api/org/apache/catalina/ api/org/apache/catalina/ant/ api/org/apache/catalina/ant/jmx/ api/o

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 19:22:52 2013
New Revision: 1510672

URL: http://svn.apache.org/r1510672
Log:
Complete Tomcat-8 docs


[This commit notification would consist of 616 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



svn commit: r1510674 - /tomcat/trunk/build.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 19:24:41 2013
New Revision: 1510674

URL: http://svn.apache.org/r1510674
Log:
Correct title. Servlet 3.0 -> Servlet 3.1

Modified:
tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1510674&r1=1510673&r2=1510674&view=diff
==
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Mon Aug  5 19:24:41 2013
@@ -1684,9 +1684,9 @@ Apache Tomcat ${version} native binaries
   sourcepath="${tomcat.dist}/src/java"
   destdir="${tomcat.dist}/webapps/docs/servletapi"
   version="true"
-  windowtitle="Servlet 3.0 API Documentation - Apache Tomcat ${version}"
-  doctitle="Servlet 3.0 API - Apache Tomcat ${version}"
-  header="Servlet 3.0 - Apache Tomcat ${version}"
+  windowtitle="Servlet 3.1 API Documentation - Apache Tomcat ${version}"
+  doctitle="Servlet 3.1 API - Apache Tomcat ${version}"
+  header="Servlet 3.1 - Apache Tomcat ${version}"
   bottom="Copyright © 2000-${year} Apache Software Foundation. 
All Rights Reserved."
   encoding="ISO-8859-1"
   additionalparam="-breakiterator"



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



Re: svn commit: r1510665 [26/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread Mark Thomas
On 05/08/2013 21:14, Nick Williams wrote:
> 
> On Aug 5, 2013, at 2:10 PM, ma...@apache.org wrote:
> 
>> Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html
>> URL: 
>> http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html?rev=1510665&view=auto
>> ==
>> --- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html 
>> (added)
>> +++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html 
>> Mon Aug  5 19:10:09 2013
>> @@ -0,0 +1,345 @@
>> +> "http://www.w3.org/TR/html4/loose.dtd";>
>> +
>> +
>> +
>> +
>> +Serialized Form (Servlet 3.0 API Documentation - Apache Tomcat 
>> 8.0.0-RC1)
>> +
>> +
>> +
>> +
>> +

svn commit: r1510666 [15/15] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi: ./ javax/ javax/servlet/ javax/servlet/jsp/ javax/servlet/jsp/el/ javax/servlet/jsp/tagext/ javax/servlet/jsp/tagext/do

2013-08-05 Thread markt
Propchange: tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/serialized-form.html
--
svn:eol-style = native

Added: tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/stylesheet.css
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/stylesheet.css?rev=1510666&view=auto
==
--- tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/stylesheet.css (added)
+++ tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/stylesheet.css Mon Aug  5 
19:13:51 2013
@@ -0,0 +1,474 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+body {
+background-color:#ff;
+color:#353833;
+font-family:Arial, Helvetica, sans-serif;
+font-size:76%;
+margin:0;
+}
+a:link, a:visited {
+text-decoration:none;
+color:#4c6b87;
+}
+a:hover, a:focus {
+text-decoration:none;
+color:#bb7a2a;
+}
+a:active {
+text-decoration:none;
+color:#4c6b87;
+}
+a[name] {
+color:#353833;
+}
+a[name]:hover {
+text-decoration:none;
+color:#353833;
+}
+pre {
+font-size:1.3em;
+}
+h1 {
+font-size:1.8em;
+}
+h2 {
+font-size:1.5em;
+}
+h3 {
+font-size:1.4em;
+}
+h4 {
+font-size:1.3em;
+}
+h5 {
+font-size:1.2em;
+}
+h6 {
+font-size:1.1em;
+}
+ul {
+list-style-type:disc;
+}
+code, tt {
+font-size:1.2em;
+}
+dt code {
+font-size:1.2em;
+}
+table tr td dt code {
+font-size:1.2em;
+vertical-align:top;
+}
+sup {
+font-size:.6em;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+clear:both;
+height:0px;
+overflow:hidden;
+}
+.aboutLanguage {
+float:right;
+padding:0px 21px;
+font-size:.8em;
+z-index:200;
+margin-top:-7px;
+}
+.legalCopy {
+margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+color:#FF;
+text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+color:#bb7a2a;
+}
+.tab {
+background-color:#0066FF;
+background-image:url(resources/titlebar.gif);
+background-position:left top;
+background-repeat:no-repeat;
+color:#ff;
+padding:8px;
+width:5em;
+font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+background-image:url(resources/background.gif);
+background-repeat:repeat-x;
+color:#FF;
+padding:.8em .5em .4em .8em;
+height:auto;/*height:1.8em;*/
+font-size:1em;
+margin:0;
+}
+.topNav {
+background-image:url(resources/background.gif);
+background-repeat:repeat-x;
+color:#FF;
+float:left;
+padding:0;
+width:100%;
+clear:right;
+height:2.8em;
+padding-top:10px;
+overflow:hidden;
+}
+.bottomNav {
+margin-top:10px;
+background-image:url(resources/background.gif);
+background-repeat:repeat-x;
+color:#FF;
+float:left;
+padding:0;
+width:100%;
+clear:right;
+height:2.8em;
+padding-top:10px;
+overflow:hidden;
+}
+.subNav {
+background-color:#dee3e9;
+border-bottom:1px solid #9eadc0;
+float:left;
+width:100%;
+overflow:hidden;
+}
+.subNav div {
+clear:left;
+float:left;
+padding:0 0 5px 6px;
+}
+ul.navList, ul.subNavList {
+float:left;
+margin:0 25px 0 0;
+padding:0;
+}
+ul.navList li{
+list-style:none;
+float:left;
+padding:3px 6px;
+}
+ul.subNavList li{
+list-style:none;
+float:left;
+font-size:90%;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, 
.bottomNav a:active, .bottomNav a:visited {
+color:#FF;
+text-decoration:none;
+}
+.topNav a:hover, .bottomNav a:hover {
+text-decoration:none;
+color:#bb7a2a;
+}
+.navBarCell1Rev {
+background-image:url(resources/tab.gif);
+background-color:#a88834;
+color:#FF;
+margin: auto 5px;
+border:1px solid #c9aa44;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+clear:both;
+margin:0 20px;
+padding:5px 0 0 0;
+}
+.indexHeader {
+margin:10px;
+position:relative;
+}
+.indexHeader h1 {
+font-size:1.3em;
+}
+.title {
+color:#2c4557;
+margin:10px 0;
+}
+.subTitle {
+margin:5px 0 0 0;
+}
+.header ul {
+margin:0 0 25px 0;
+padding:0;
+}
+.footer ul {
+margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+list-style:none;
+font-size:1.2em;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, 
div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+background-color:#dee3e9;
+border-top:1px solid #9eadc0;
+border-bottom:1px solid #9eadc0;
+margin:0 0 6px -8px;
+padding:2px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+background-color:#dee3e9;
+border-top:1px solid #9eadc0;
+border-bottom:1px solid #9eadc0;
+margin:0 0 6px -8px;
+padding:2px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+  

Re: svn commit: r1510665 [26/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread Nick Williams

On Aug 5, 2013, at 2:10 PM, ma...@apache.org wrote:

> Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html
> URL: 
> http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html?rev=1510665&view=auto
> ==
> --- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html 
> (added)
> +++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html Mon 
> Aug  5 19:10:09 2013
> @@ -0,0 +1,345 @@
> + "http://www.w3.org/TR/html4/loose.dtd";>
> +
> +
> +
> +
> +Serialized Form (Servlet 3.0 API Documentation - Apache Tomcat 
> 8.0.0-RC1)
> +
> +
> +
> +
> +

svn commit: r1510666 [5/15] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi: ./ javax/ javax/servlet/ javax/servlet/jsp/ javax/servlet/jsp/el/ javax/servlet/jsp/tagext/ javax/servlet/jsp/tagext/doc

2013-08-05 Thread markt
Added: 
tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/javax/servlet/jsp/JspWriter.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/javax/servlet/jsp/JspWriter.html?rev=1510666&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/javax/servlet/jsp/JspWriter.html 
(added)
+++ 
tomcat/site/trunk/docs/tomcat-8.0-doc/jspapi/javax/servlet/jsp/JspWriter.html 
Mon Aug  5 19:13:51 2013
@@ -0,0 +1,1046 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+JspWriter (JSP 2.3 API Documentation - Apache Tomcat 8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+JSP 2.3 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+javax.servlet.jsp
+Class JspWriter
+
+
+
+java.lang.Object
+
+
+java.io.Writer
+
+
+javax.servlet.jsp.JspWriter
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+java.io.Closeable, java.io.Flushable, java.lang.Appendable, 
java.lang.AutoCloseable
+
+
+Direct Known Subclasses:
+BodyContent
+
+
+
+public abstract class JspWriter
+extends java.io.Writer
+
+ The actions and template data in a JSP page is written using the JspWriter
+ object that is referenced by the implicit variable out which is initialized
+ automatically using methods in the PageContext object.
+
+ This abstract class emulates some of the functionality found in the
+ java.io.BufferedWriter and java.io.PrintWriter classes, however it differs in
+ that it throws java.io.IOException from the print methods while PrintWriter
+ does not.
+ 
+ Buffering
+ 
+ The initial JspWriter object is associated with the PrintWriter object of the
+ ServletResponse in a way that depends on whether the page is or is not
+ buffered. If the page is not buffered, output written to this JspWriter
+ object will be written through to the PrintWriter directly, which will be
+ created if necessary by invoking the getWriter() method on the response
+ object. But if the page is buffered, the PrintWriter object will not be
+ created until the buffer is flushed and operations like setContentType() are
+ legal. Since this flexibility simplifies programming substantially, buffering
+ is the default for JSP pages.
+ 
+ Buffering raises the issue of what to do when the buffer is exceeded. Two
+ approaches can be taken:
+ 
+ Exceeding the buffer is not a fatal error; when the buffer is exceeded,
+ just flush the output.
+ Exceeding the buffer is a fatal error; when the buffer is exceeded, raise
+ an exception.
+ 
+ 
+ Both approaches are valid, and thus both are supported in the JSP technology.
+ The behavior of a page is controlled by the autoFlush attribute, which
+ defaults to true. In general, JSP pages that need to be sure that correct and
+ complete data has been sent to their client may want to set autoFlush to
+ false, with a typical case being that where the client is an application
+ itself. On the other hand, JSP pages that send data that is meaningful even
+ when partially constructed may want to set autoFlush to true; such as when
+ the data is sent for immediate display through a browser. Each application
+ will need to consider their specific needs.
+ 
+ An alternative considered was to make the buffer size unbounded; but, this
+ had the disadvantage that runaway computations would consume an unbounded
+ amount of resources.
+ 
+ The "out" implicit variable of a JSP implementation class is of this type. If
+ the page directive selects autoflush="true" then all the I/O operations on
+ this class shall automatically flush the contents of the buffer if an
+ overflow condition would result if the current operation were performed
+ without a flush. If autoflush="false" then all the I/O operations on this
+ class shall throw an IOException if performing the current operation would
+ result in a buffer overflow condition.
+See Also:Writer, 
+BufferedWriter, 
+PrintWriter
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+Fields 
+
+Modifier and Type
+Field and Description
+
+
+protected boolean
+autoFlush
+Whether the JspWriter is autoflushing.
+
+
+
+protected int
+bufferSize
+The size of the buffer used by the JspWriter.
+
+
+
+static int
+DEFAULT_BUFFER
+Constant indicating that the Writer is buffered and is 
using the
+ implementation default buffer size.
+
+
+
+static int
+NO_BUFFER
+Constant indicating that the Writer 

svn commit: r1510665 [26/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread markt
Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html?rev=1510665&view=auto
==
--- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html 
(added)
+++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html Mon 
Aug  5 19:10:09 2013
@@ -0,0 +1,345 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+Serialized Form (Servlet 3.0 API Documentation - Apache Tomcat 
8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Serialized Form
+
+
+
+
+Package javax.servlet
+
+
+
+
+Class javax.servlet.GenericServlet extends java.lang.Object 
implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Class javax.servlet.ServletContextAttributeEvent 
extends ServletContextEvent implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Serialized Fields
+
+
+name
+java.lang.String name
+
+
+value
+java.lang.Object value
+
+
+
+
+
+
+
+
+Class javax.servlet.ServletContextEvent extends 
java.util.EventObject implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Class javax.servlet.ServletException extends java.lang.Exception 
implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Class javax.servlet.ServletRequestAttributeEvent 
extends ServletRequestEvent implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Serialized Fields
+
+
+name
+java.lang.String name
+
+
+value
+java.lang.Object value
+
+
+
+
+
+
+
+
+Class javax.servlet.ServletRequestEvent extends 
java.util.EventObject implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Class javax.servlet.UnavailableException extends ServletException implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Serialized Fields
+
+
+servlet
+Servlet servlet
+
+
+permanent
+boolean permanent
+
+
+seconds
+int seconds
+
+
+
+
+
+
+
+
+Package javax.servlet.http
+
+
+
+
+Class javax.servlet.http.Cookie extends java.lang.Object 
implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Serialized Fields
+
+
+name
+java.lang.String name
+
+
+value
+java.lang.String value
+
+
+comment
+java.lang.String comment
+
+
+domain
+java.lang.String domain
+
+
+maxAge
+int maxAge
+
+
+path
+java.lang.String path
+
+
+secure
+boolean secure
+
+
+version
+int version
+
+
+httpOnly
+boolean httpOnly
+
+
+
+
+
+
+
+
+Class javax.servlet.http.HttpServlet extends GenericServlet implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Class javax.servlet.http.HttpSessionBindingEvent extends HttpSessionEvent implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+Serialized Fields
+
+
+name
+java.lang.String name
+
+
+value
+java.lang.Object value
+
+
+
+
+
+
+
+
+Class javax.servlet.http.HttpSessionEvent extends 
java.util.EventObject implements Serializable
+
+serialVersionUID:
+1L
+
+
+
+
+
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+Copyright © 2000-2013 Apache Software 
Foundation. All Rights Reserved.
+
+

Propchange: 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/serialized-form.html
--
svn:eol-style = native

Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/stylesheet.css
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/stylesheet.css?rev=1510665&view=auto
==
--- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/stylesheet.css (added)
+++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/stylesheet.css Mon Aug  5 
19:10:09 2013
@@ -0,0 +1,474 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+body {
+background-color:#ff;
+color:#353833;
+font-family:Arial, Helvetica, sans-serif;
+font-size:76%;
+margin:0;
+}
+a:link, a:visited {
+text-decoration:none;
+color:#4c6b87;
+}
+a:hover, a:focus {
+text-decoration:none;
+color:#bb7a2a;
+}

svn commit: r1510665 [19/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread markt
Added: 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html?rev=1510665&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html
 Mon Aug  5 19:10:09 2013
@@ -0,0 +1,1109 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+HttpServletRequest (Servlet 3.0 API Documentation - Apache Tomcat 
8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next 
Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+javax.servlet.http
+Interface 
HttpServletRequest
+
+
+
+
+
+
+All Superinterfaces:
+ServletRequest
+
+
+All Known Implementing Classes:
+HttpServletRequestWrapper
+
+
+
+public interface HttpServletRequest
+extends ServletRequest
+Extends the ServletRequest interface to provide request
+ information for HTTP servlets.
+ 
+ The servlet container creates an HttpServletRequest object and
+ passes it as an argument to the servlet's service methods
+ (doGet, doPost, etc).
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+Fields 
+
+Modifier and Type
+Field and Description
+
+
+static java.lang.String
+BASIC_AUTH
+String identifier for Basic authentication.
+
+
+
+static java.lang.String
+CLIENT_CERT_AUTH
+String identifier for Client Certificate 
authentication.
+
+
+
+static java.lang.String
+DIGEST_AUTH
+String identifier for Digest authentication.
+
+
+
+static java.lang.String
+FORM_AUTH
+String identifier for Form authentication.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods 
+
+Modifier and Type
+Method and Description
+
+
+boolean
+authenticate(HttpServletResponse response)
+Triggers the same authentication process as would be 
triggered if the
+ request is for a resource that is protected by a security constraint.
+
+
+
+java.lang.String
+changeSessionId()
+Changes the session ID of the session associated with this 
request.
+
+
+
+java.lang.String
+getAuthType()
+Returns the name of the authentication scheme used to 
protect the
+ servlet.
+
+
+
+java.lang.String
+getContextPath()
+Returns the portion of the request URI that indicates the 
context of the
+ request.
+
+
+
+Cookie[]
+getCookies()
+Returns an array containing all of the Cookie 
objects the
+ client sent with this request.
+
+
+
+long
+getDateHeader(java.lang.String name)
+Returns the value of the specified request header as a 
long
+ value that represents a Date object.
+
+
+
+java.lang.String
+getHeader(java.lang.String name)
+Returns the value of the specified request header as a
+ String.
+
+
+
+java.util.Enumeration
+getHeaderNames()
+Returns an enumeration of all the header names this request 
contains.
+
+
+
+java.util.Enumeration
+getHeaders(java.lang.String name)
+Returns all the values of the specified request header as an
+ Enumeration of String objects.
+
+
+
+int
+getIntHeader(java.lang.String name)
+Returns the value of the specified request header as an 
int.
+
+
+
+java.lang.String
+getMethod()
+Returns the name of the HTTP method with which this request 
was made, for
+ example, GET, POST, or PUT.
+
+
+
+Part
+getPart(java.lang.String name)
+Gets the named Part or null if the Part does not 
exist.
+
+
+
+java.util.Collection
+getParts()
+Return a collection of all uploaded Parts.
+
+
+
+java.lang.String
+getPathInfo()
+Returns any extra path information associated with the URL 
the client
+ sent when it made this request.
+
+
+
+java.lang.String
+getPathTranslated()
+Returns any extra path information after the servlet name 
but before the
+ query string, and translates it to a real path.
+
+
+
+java.lang.String
+getQueryString()
+Returns the query string that is contained in the request 
URL after the
+ path.
+
+
+
+java.lang.String
+getRemoteUser()
+Returns the login of the user making this request, if the 
user has been
+ authenticated, or null if the user has not been
+ authenticated.
+
+
+
+java.lang.String
+getRequestedSessionId()
+Returns the session ID specified by the client.
+
+
+
+java.lang.String
+getRequestURI()
+Returns the part of

svn commit: r1510665 [18/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread markt
Added: 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServlet.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServlet.html?rev=1510665&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServlet.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServlet.html
 Mon Aug  5 19:10:09 2013
@@ -0,0 +1,791 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+HttpServlet (Servlet 3.0 API Documentation - Apache Tomcat 
8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next 
Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+javax.servlet.http
+Class HttpServlet
+
+
+
+java.lang.Object
+
+
+javax.servlet.GenericServlet
+
+
+javax.servlet.http.HttpServlet
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+java.io.Serializable, Servlet, ServletConfig
+
+
+
+public abstract class HttpServlet
+extends GenericServlet
+Provides an abstract class to be subclassed to create
+ an HTTP servlet suitable for a Web site. A subclass of
+ HttpServlet must override at least
+ one method, usually one of these:
+
+ 
+  doGet, if the servlet supports HTTP GET requests
+  doPost, for HTTP POST requests
+  doPut, for HTTP PUT requests
+  doDelete, for HTTP DELETE requests
+  init and destroy,
+ to manage resources that are held for the life of the servlet
+  getServletInfo, which the servlet uses to
+ provide information about itself
+ 
+
+ There's almost no reason to override the service
+ method. service handles standard HTTP
+ requests by dispatching them to the handler methods
+ for each HTTP request type (the doMethod
+ methods listed above).
+
+ Likewise, there's almost no reason to override the
+ doOptions and doTrace methods.
+
+ Servlets typically run on multithreaded servers,
+ so be aware that a servlet must handle concurrent
+ requests and be careful to synchronize access to shared resources.
+ Shared resources include in-memory data such as
+ instance or class variables and external objects
+ such as files, database connections, and network
+ connections.
+ See the
+ http://java.sun.com/Series/Tutorial/java/threads/multithreaded.html";>
+ Java Tutorial on Multithreaded Programming for more
+ information on handling multiple threads in a Java program.
+Version:
+  $Version$
+Author:
+  Various
+See Also:Serialized 
Form
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+HttpServlet()
+Does nothing, because this is an abstract class.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods 
+
+Modifier and Type
+Method and Description
+
+
+protected void
+doDelete(HttpServletRequest req,
+HttpServletResponse resp)
+Called by the server (via the service method)
+ to allow a servlet to handle a DELETE request.
+
+
+
+protected void
+doGet(HttpServletRequest req,
+ HttpServletResponse resp)
+Called by the server (via the service method) 
to
+ allow a servlet to handle a GET request.
+
+
+
+protected void
+doHead(HttpServletRequest req,
+  HttpServletResponse resp)
+Receives an HTTP HEAD request from the protected
+ service method and handles the
+ request.
+
+
+
+protected void
+doOptions(HttpServletRequest req,
+ HttpServletResponse resp)
+Called by the server (via the service method)
+ to allow a servlet to handle a OPTIONS request.
+
+
+
+protected void
+doPost(HttpServletRequest req,
+  HttpServletResponse resp)
+Called by the server (via the service method)
+ to allow a servlet to handle a POST request.
+
+
+
+protected void
+doPut(HttpServletRequest req,
+ HttpServletResponse resp)
+Called by the server (via the service method)
+ to allow a servlet to handle a PUT request.
+
+
+
+protected void
+doTrace(HttpServletRequest req,
+   HttpServletResponse resp)
+Called by the server (via the service method)
+ to allow a servlet to handle a TRACE request.
+
+
+
+protected long
+getLastModified(HttpServletRequest req)
+Returns the time the HttpServletRequest
+ object was last modified,
+ in milliseconds since midnight January 1, 1970 GMT.
+
+
+
+protected void
+service(HttpServletRequest req,
+   HttpServletResponse resp)
+Receives standard HTTP requests from the publ

svn commit: r1510665 [6/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread markt
Added: 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/HttpMethodConstraintElement.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/HttpMethodConstraintElement.html?rev=1510665&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/HttpMethodConstraintElement.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/HttpMethodConstraintElement.html
 Mon Aug  5 19:10:09 2013
@@ -0,0 +1,286 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+HttpMethodConstraintElement (Servlet 3.0 API Documentation - Apache 
Tomcat 8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+javax.servlet
+Class 
HttpMethodConstraintElement
+
+
+
+java.lang.Object
+
+
+javax.servlet.HttpConstraintElement
+
+
+javax.servlet.HttpMethodConstraintElement
+
+
+
+
+
+
+
+
+
+
+public class HttpMethodConstraintElement
+extends HttpConstraintElement
+Since:
+  Servlet 3.0
+ TODO SERVLET3 - Add comments
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+HttpMethodConstraintElement(java.lang.String methodName) 
+
+
+HttpMethodConstraintElement(java.lang.String methodName,
+   HttpConstraintElement constraint) 
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods 
+
+Modifier and Type
+Method and Description
+
+
+java.lang.String
+getMethodName() 
+
+
+
+
+
+
+Methods inherited from class javax.servlet.HttpConstraintElement
+getEmptyRoleSemantic,
 getRolesAllowed,
 getTransportGuarantee
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, 
toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+HttpMethodConstraintElement
+public HttpMethodConstraintElement(java.lang.String methodName)
+
+
+
+
+
+
+
+HttpMethodConstraintElement
+public HttpMethodConstraintElement(java.lang.String methodName,
+   HttpConstraintElement constraint)
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+getMethodName
+public java.lang.String getMethodName()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+Copyright © 2000-2013 Apache Software 
Foundation. All Rights Reserved.
+
+

Propchange: 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/HttpMethodConstraintElement.html
--
svn:eol-style = native

Added: 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/MultipartConfigElement.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/MultipartConfigElement.html?rev=1510665&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/MultipartConfigElement.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/MultipartConfigElement.html
 Mon Aug  5 19:10:09 2013
@@ -0,0 +1,329 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+MultipartConfigElement (Servlet 3.0 API Documentation - Apache Tomcat 
8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+javax.servlet
+Class 
ServletOutputStream
+
+
+
+java.lang.Object
+
+
+java.io.OutputStream
+
+
+javax.servlet.ServletOutputStream
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
+
+
+
+public abstract class ServletOutputStream
+extends java.io.OutputStream
+Provides an output stream for sending binary data to the 
client. A
+ ServletOutputStream object is normally retrieved via the
+ ServletResponse.getOutputStream()
 method.
+ 
+ This is an abstract class that the servlet container implements. Subclasses
+ of this class must implement the java.io.OutputStream.write(int)
+ method.
+Version:
+  $Version$
+Author:
+  Various
+See Also:ServletResponse
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Modifier
+Constructor and Description
+
+
+protected 
+ServletOutputStream()
+Does nothing, because this is an abstract class.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods 
+
+Modifier and Type
+Method and Description
+
+
+abstract boolean
+isReady()
+Checks if a non-blocking write will succeed.
+
+
+
+void
+print(boolean b)
+Writes a boolean value to the client, with no 
carriage
+ return-line feed (CRLF) character at the end.
+
+
+
+void
+print(char c)
+Writes a character to the client, with no carriage 
return-line feed
+ (CRLF) at the end.
+
+
+
+void
+print(double d)
+Writes a double value to the client, with no 
carriage
+ return-line feed (CRLF) at the end.
+
+
+
+void
+print(float f)
+Writes a float value to the client, with no 
carriage
+ return-line feed (CRLF) at the end.
+
+
+
+void
+print(int i)
+Writes an int to the client, with no carriage return-line 
feed (CRLF) at
+ the end.
+
+
+
+void
+print(long l)
+Writes a long value to the client, with no 
carriage
+ return-line feed (CRLF) at the end.
+
+
+
+void
+print(java.lang.String s)
+Writes a String to the client, without a 
carriage
+ return-line feed (CRLF) character at the end.
+
+
+
+void
+println()
+Writes a carriage return-line feed (CRLF) to the 
client.
+
+
+
+void
+println(boolean b)
+Writes a boolean value to the client, followed 
by a carriage
+ return-line feed (CRLF).
+
+
+
+void
+println(char c)
+Writes a character to the client, followed by a carriage 
return-line feed
+ (CRLF).
+
+
+
+void
+println(double d)
+Writes a double value to the client, followed 
by a carriage
+ return-line feed (CRLF).
+
+
+
+void
+println(float f)
+Writes a float value to the client, followed 
by a carriage
+ return-line feed (CRLF).
+
+
+
+void
+println(int i)
+Writes an int to the client, followed by a carriage 
return-line feed
+ (CRLF) character.
+
+
+
+void
+println(long l)
+Writes a long value to the client, followed by 
a carriage
+ return-line feed (CRLF).
+
+
+
+void
+println(java.lang.String s)
+Writes a String to the client, followed by a 
carriage
+ return-line feed (CRLF).
+
+
+
+abstract void
+setWriteListener(WriteListener listener)
+Sets the WriteListener for this ServletOutputStream and
+ thereby switches to non-blocking IO.
+
+
+
+
+
+
+
+Methods inherited from class java.io.OutputStream
+close, flush, write, write, write
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, 
toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+ServletOutputStream
+protected ServletOutputStream()
+Does nothing, because this is an abstract class.
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+print
+public void print(java.lang.String s)
+   throw

svn commit: r1510665 [2/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

2013-08-05 Thread markt
Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/help-doc.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/help-doc.html?rev=1510665&view=auto
==
--- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/help-doc.html (added)
+++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/help-doc.html Mon Aug  5 
19:10:09 2013
@@ -0,0 +1,217 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+API Help (Servlet 3.0 API Documentation - Apache Tomcat 
8.0.0-RC1)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - Apache Tomcat 
8.0.0-RC1
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+How This API Document Is Organized
+This API (Application Programming Interface) document 
has pages corresponding to the items in the navigation bar, described as 
follows.
+
+
+
+
+Overview
+The Overview page is the front page of 
this API document and provides a list of all packages with a summary for each.  
This page can also contain an overall description of the set of packages.
+
+
+Package
+Each package has a page that contains a list of its classes and interfaces, 
with a summary for each. This page can contain six categories:
+
+Interfaces (italic)
+Classes
+Enums
+Exceptions
+Errors
+Annotation Types
+
+
+
+Class/Interface
+Each class, interface, nested class and nested interface has its own 
separate page. Each of these pages has three sections consisting of a 
class/interface description, summary tables, and detailed member 
descriptions:
+
+Class inheritance diagram
+Direct Subclasses
+All Known Subinterfaces
+All Known Implementing Classes
+Class/interface declaration
+Class/interface description
+
+
+Nested Class Summary
+Field Summary
+Constructor Summary
+Method Summary
+
+
+Field Detail
+Constructor Detail
+Method Detail
+
+Each summary entry contains the first sentence from the detailed 
description for that item. The summary entries are alphabetical, while the 
detailed descriptions are in the order they appear in the source code. This 
preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+Each annotation type has its own separate page with the following 
sections:
+
+Annotation Type declaration
+Annotation Type description
+Required Element Summary
+Optional Element Summary
+Element Detail
+
+
+
+Enum
+Each enum has its own separate page with the following sections:
+
+Enum declaration
+Enum description
+Enum Constant Summary
+Enum Constant Detail
+
+
+
+Tree (Class Hierarchy)
+There is a Class Hierarchy page for all 
packages, plus a hierarchy for each package. Each hierarchy page contains a 
list of classes and a list of interfaces. The classes are organized by 
inheritance structure starting with java.lang.Object. The 
interfaces do not inherit from java.lang.Object.
+
+When viewing the Overview page, clicking on "Tree" displays the hierarchy 
for all packages.
+When viewing a particular package, class or interface page, clicking 
"Tree" displays the hierarchy for only that package.
+
+
+
+Deprecated API
+The Deprecated API page lists all of the 
API that have been deprecated. A deprecated API is not recommended for use, 
generally due to improvements, and a replacement API is usually given. 
Deprecated APIs may be removed in future implementations.
+
+
+Index
+The Index contains an alphabetic list of all 
classes, interfaces, constructors, methods, and fields.
+
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or 
related page.
+
+
+Frames/No Frames
+These links show and hide the HTML frames.  All pages are available with or 
without frames.
+
+
+All Classes
+The All Classes link shows all 
classes and interfaces except non-static nested types.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its 
serialization fields and methods. This information is of interest to 
re-implementors, not to developers using the API. While there is no link in the 
navigation bar, you can get to this information by going to any serialized 
class and clicking "Serialized Form" in the "See also" section of the class 
description.
+
+
+Constant Field Values
+The Constant Field Values page lists the 
static final fields and their values.
+
+
+This help file applies to API documentation generated using the standard 
doclet.
+
+
+
+
+
+
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+Servlet 3.0 - A

svn commit: r1510662 [1/10] - in /tomcat/site/trunk/docs/tomcat-8.0-doc: ./ websocketapi/ websocketapi/javax/ websocketapi/javax/websocket/ websocketapi/javax/websocket/server/ websocketapi/resources/

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 19:04:49 2013
New Revision: 1510662

URL: http://svn.apache.org/r1510662
Log:
Tomcat 8 docs (committing in stages due to poor internet connection)

Added:
tomcat/site/trunk/docs/tomcat-8.0-doc/
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/allclasses-frame.html   
(with props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/allclasses-noframe.html  
 (with props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/constant-values.html   
(with props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/deprecated-list.html   
(with props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/help-doc.html   (with 
props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/index-all.html   (with 
props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/index.html   (with props)
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/
tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/ClientEndpoint.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/ClientEndpointConfig.Builder.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/ClientEndpointConfig.Configurator.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/ClientEndpointConfig.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/CloseReason.CloseCode.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/CloseReason.CloseCodes.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/CloseReason.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/ContainerProvider.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/DecodeException.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Decoder.Binary.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Decoder.BinaryStream.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Decoder.Text.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Decoder.TextStream.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Decoder.html 
  (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/DeploymentException.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/EncodeException.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Encoder.Binary.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Encoder.BinaryStream.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Encoder.Text.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Encoder.TextStream.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Encoder.html 
  (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Endpoint.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/EndpointConfig.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Extension.Parameter.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/Extension.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/HandshakeResponse.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/MessageHandler.Partial.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/MessageHandler.Whole.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/MessageHandler.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/OnClose.html 
  (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/OnError.html 
  (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/OnMessage.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/OnOpen.html  
 (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/PongMessage.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/RemoteEndpoint.Async.html
   (with props)

tomcat/site/trunk/docs/tomcat-8.0-doc/websocketapi/javax/websocket/RemoteEndpoint.Basic.html
   (with props)

tomcat/

svn commit: r1510630 - in /tomcat/site/trunk: build.properties.default build.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 18:07:14 2013
New Revision: 1510630

URL: http://svn.apache.org/r1510630
Log:
Add the plumbing to add the Tomcat 8 docs to the web-site

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/build.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1510630&r1=1510629&r2=1510630&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Mon Aug  5 18:07:14 2013
@@ -38,6 +38,7 @@ tomcat.loc=http://www.apache.org/dist/to
 # - Tomcat versions -
 tomcat60=6.0.36
 tomcat70=7.0.42
+tomcat80=8.0.0-RC1
 
 
 # - Download destination -
@@ -49,3 +50,6 @@ tomcat60.home=${tomcat-site-docs.home}/$
 
 
tomcat70.loc=${tomcat.loc}/tomcat-7/v${tomcat70}/bin/apache-tomcat-${tomcat70}-fulldocs.tar.gz
 
 tomcat70.home=${tomcat-site-docs.home}/${tomcat70}
+
+tomcat80.loc=${tomcat.loc}/tomcat-8/v${tomcat80}/bin/apache-tomcat-${tomcat80}-fulldocs.tar.gz
 
+tomcat80.home=${tomcat-site-docs.home}/${tomcat80}

Modified: tomcat/site/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=1510630&r1=1510629&r2=1510630&view=diff
==
--- tomcat/site/trunk/build.xml (original)
+++ tomcat/site/trunk/build.xml Mon Aug  5 18:07:14 2013
@@ -130,6 +130,28 @@
 
   
 
+  
+
+
+
+  
+  
+  
+
+
+
+
+
+
+
+  
+
+  
+
+  
+
   



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



[Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

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

--- Comment #12 from Nick Williams  ---
I noticed WebappClassLoader's toString() method includes a lot of information
about the ClassLoader, such as the parent ClassLoader, context name, delegation
setting, and repository. Should I also change toString() to append information
about any attached transformers?

-- 
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: r2682 - /release/tomcat/tomcat-8/KEYS

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 17:53:13 2013
New Revision: 2682

Log:
Create KEYS file for Tomcat 8

Added:
release/tomcat/tomcat-8/KEYS
  - copied unchanged from r2681, release/tomcat/tomcat-7/KEYS


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



svn commit: r2682 - /release/tomcat/tomcat-8/KEYS

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 17:53:13 2013
New Revision: 2682

Log:
Create KEYS file for Tomcat 8

Added:
release/tomcat/tomcat-8/KEYS
  - copied unchanged from r2681, release/tomcat/tomcat-7/KEYS


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



svn commit: r2681 - /dev/tomcat/tomcat-8/v8.0.0-RC1/ /release/tomcat/tomcat-8/v8.0.0-RC1/

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 17:49:07 2013
New Revision: 2681

Log:
Release 8.0.0-RC1

Added:
release/tomcat/tomcat-8/v8.0.0-RC1/
  - copied from r2680, dev/tomcat/tomcat-8/v8.0.0-RC1/
Removed:
dev/tomcat/tomcat-8/v8.0.0-RC1/


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



svn commit: r2681 - /dev/tomcat/tomcat-8/v8.0.0-RC1/ /release/tomcat/tomcat-8/v8.0.0-RC1/

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 17:49:07 2013
New Revision: 2681

Log:
Release 8.0.0-RC1

Added:
release/tomcat/tomcat-8/v8.0.0-RC1/
  - copied from r2680, dev/tomcat/tomcat-8/v8.0.0-RC1/
Removed:
dev/tomcat/tomcat-8/v8.0.0-RC1/


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



[VOTE][RESULT] Release Apache Tomcat 8.0.0-RC1

2013-08-05 Thread Mark Thomas
> The proposed 8.0.0-RC1 release is:
> [ ] Broken - do not release
> [ ] Alpha - go ahead and release as 8.0.0-RC1 alpha

Alpha - binding: markt, remm, violetagg, jboynes, yoavs, rjung,
 olamy
non-binding: Ognjen Blagojevic, Nick Williams

No other votes were cast. The vote therefore passes.

As a new major version it will probably take a little bit longer to get
all the various bits into place for this release. I'll start that shortly.

Mark

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



[Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

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

--- Comment #11 from Nick Williams  ---
Okeydokey. addTransformer() and removeTransformer() is my preference and also
what's easiest on the Spring folks (it will require no code change on their
part to work), so that's the direction we'll go.

-- 
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 55358] Provide better error message for IS_SECURITY_ENABLED

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Mark Thomas  ---
This belongs on the users mailing 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



[Bug 55358] New: Provide better error message for IS_SECURITY_ENABLED

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

Bug ID: 55358
   Summary: Provide better error message for IS_SECURITY_ENABLED
   Product: Tomcat 6
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: hau...@acm.org

http://tomcat.10.x6.nabble.com/Fwd-Can-t-run-jsp-pages-on-tomcat-6-0-10-td2048493.html#a2048498
and
http://tomcat.10.x6.nabble.com/Re-Fwd-Can-amp-39-t-run-jsp-pages-on-tomcat-6-0-10-td2070638.html
do not really get to a solution.

I looked at the source (Bug 52697), but it wasn't obvious, why I get the error
:

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
at
org.apache.naming.resources.DirContextURLConnection.(DirContextURLConnection.java:67)
at
org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:89)
at java.net.URL.openConnection(URL.java:945)
at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:435)
at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:399)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)

Could it be caused by server.xml ?

-- 
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: [VOTE] Release Apache Tomcat 8.0.0-RC1

2013-08-05 Thread Mark Thomas
On 05/08/2013 11:49, Rainer Jung wrote:
> Hi Mark,
> 
> thanks for the thorough inspection of my results. I'll try to make sure
> that I won't include now known false positives in future reports.

No problem. I'd rather a few false positives than a few false negatives.

> On 04.08.2013 18:14, Mark Thomas wrote:
>> On 03/08/2013 12:06, Rainer Jung wrote:
>>> Overview:
>>>
>>> - one crash in tcnative during unit tests
>>> - MBeans indicate common loader is gone (is that expected?
>>>   At least the common.loader entry still exists in catalina.properties)
>> Expected as StandardClassLoader has been removed. That decision is
>> reversible of there is a use case for having the class loader visible in
>> JMX.
> 
> So the common loader still exists but is a URLClassLoader?

Correct.

>>> ! Unit tests few failures and errors:
>> These need looking at. Note: Many of the tests are timing sensitive and
>> do not fail consistently. Making the tests less sensitive to timing is
>> an ongoing task.
> 
> .. and my build and test system is especially slow (sometimes helpful to
> detect race conditions).
> 
> The APR crash is probably PR 51813. I added the crash info to BZ after
> Chris pointed me to it.
> 
>>>   - Catalina:j2eeType=WebModule,name=//localhost attribute
>>> ignoreAnnotations switched from "true" to "false",
>> Need to look in to that.
> 
> I double checked, it is really like that.

OK. Still on the TODO list.

>>>   - platform MBean java.lang:type=Threading shows 4 more (daemon)
>>> threads
>> OK.
> 
> Here are the details, which look OK to me, except for Thread-4:
> 
> Directly after start:
> 
> only for TC 7
> - ajp-bio-8009-AsyncTimeout
> - http-bio-8080-AsyncTimeout
> - Low Memory Detector (JVM internal)
> 
> only for TC 8a
> - ajp-nio-8009-ClientPoller-0
> - ajp-nio-8009-ClientPoller-1
> - http-nio-8080-ClientPoller-0
> - http-nio-8080-ClientPoller-1
> - NioBlockingSelector.BlockPoller-1
> - NioBlockingSelector.BlockPoller-2
> - Service Thread (JVM internal)
> - Thread-4
> 
> and after the first request was handled TC 7 also shows
> "SnakeWebSocketServlet Timer".
> 
> The "Thread-4" has stack
> 
>java.lang.Thread.State: RUNNABLE
> at sun.nio.ch.SolarisEventPort.portGet(Native Method)
> at sun.nio.ch.SolarisEventPort.access$400(SolarisEventPort.java:38)
> at
> sun.nio.ch.SolarisEventPort$EventHandlerTask.run(SolarisEventPort.java:167)
> at java.lang.Thread.run(Thread.java:724)
> 
> and gets started between NioBlockingSelector.BlockPoller-2 and
> ContainerBackgroundProcessor[StandardEngine[Catalina]]. Not sure whether
> it is started by the JVM under the hood, but if we create it ourselves
> we should probably give it a name.

+1.

>>>   - platform MBean java.lang:type=OperatingSystem show 88 open file
>>> descriptors instead of 61
>> Worth just checking what those files are.
> 
> I checked again and those are:
> 
> - multiple times poll devices and FIFOs (probably due to NIO)
> - some additional TC jars (websocket, spdy, jni, storeconfig)
> - some addition JDK jars (JDK 7 vs. 6)
> 
> So it looks OK to me.
> 
> What I noticed: the global web.xml directly after start has 9 FDs open
> for it (TC 7) resp. 5 (TC 8). After the first GC those are gone, so
> probably only a finalizer thing and not problematic.
> 
>>> - org.apache.tomcat.util.net.TestCustomSsl
>>>   - (old) BIO twice "Exception getting SSL attributes"
>>> in org.apache.coyote.http11.Http11Processor actionInternal
>>> exception is:
>>> javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
>>>   - (old) NIO twice "Exception re-negotiating SSL connection"
>>> in org.apache.coyote.http11.Http11NioProcessor actionInternal
>> Need to check.
> 
> Note that those also exist for TC 7 at least since 7.0.11.

OK. Expected then.

>>> - tribes: several warnings (41), numbers up by 22 from 7.0.42.
>>>   Mostly same types of messages.
>> Probably OK but should check.
> 
> The types of messages are the same as for TC 7.

OK.

Thanks,

Mark


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



svn commit: r1510590 - /tomcat/trunk/java/org/apache/catalina/deploy/mbeans-descriptors.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 16:19:33 2013
New Revision: 1510590

URL: http://svn.apache.org/r1510590
Log:
Update NamingResources MBean description for new class name

Modified:
tomcat/trunk/java/org/apache/catalina/deploy/mbeans-descriptors.xml

Modified: tomcat/trunk/java/org/apache/catalina/deploy/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/mbeans-descriptors.xml?rev=1510590&r1=1510589&r2=1510590&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/deploy/mbeans-descriptors.xml 
(original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/mbeans-descriptors.xml Mon Aug 
 5 16:19:33 2013
@@ -17,14 +17,14 @@
 -->
 
 
-  
+ type="org.apache.catalina.deploy.NamingResourcesImpl">
 
 

[jira] [Comment Edited] (MTOMCAT-221) Deploy fails if server requires client-auth

2013-08-05 Thread Aaron Pelton (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729584#comment-13729584
 ] 

Aaron Pelton edited comment on MTOMCAT-221 at 8/5/13 3:49 PM:
--

Has there been any progress on this? I too am encountering this issue where our 
environment requires client-auth, and therefore the tomcat7-maven-plugin must 
be capable of doing a deploy/redeploy goal with a -Djavax.net.ssl.keyStore 
argument passed to maven.  With ssl debug on, I see that the keystore is never 
accessed.  I'm currently using Maven 3.0.4 and saw another post about this 
maven version having issues with SSL arguments.  Chris mentions above that 
3.0.5 did not work either.  I see that 3.1.0 is now available, however, it says 
it's using wagon 2.4 which Maven 3.0.5 was doing.  I see that this plugin is 
using Apach HTTP Client under the covers. I don't have much experience with 
that library, but from what I saw in the source code, it has it's own 
SocketFactory implementation different from the default one that ships with 
Java. Additionally, it appears by default it does not respect Java System 
Properties. There is a different constructor to take Keystore information which 
may need to be called out explicitly? Or, somewhere before TomcatManager enters 
into the HTTPClient code, you may need to provide some flag to use the 
SSLSocketFactory.createSystemSSLContext() rather than the default 
createSSLContext()?  For the time being, as a work around, I can only think to 
have Jenkins run a shell script to SCP over the new artifact, and then SSH and 
move it to the tomcat webapps folder.

Using JDK 1.7 and CentOS x64

  was (Author: apelton):
Has there been any progress on this? I too am encountering this issue where 
our environment requires client-auth, and therefore the tomcat7-maven-plugin 
must be capable of doing a deploy/redeploy goal with a -Djavax.net.ssl.keyStore 
argument passed to maven.  With ssl debug on, I see that the keystore is never 
accessed.  I'm currently using Maven 3.0.4 and saw another post about this 
maven version having issues with SSL arguments.  Chris mentions above that 
3.0.5 did not work either.  I see that 3.1.0 is now available, however, it says 
it's using wagon 2.4 which Maven 3.0.5 was doing.  I see that this plugin is 
using Apach HTTP Client under the covers. I don't have much experience with 
that library, but from what I saw in the source code, it has it's own 
SocketFactory implementation different from the default one that ships with 
Java. Additionally, it appears by default it does not respect Java System 
Properties. There is a different constructor to take Keystore information which 
may need to be called out explicitly? Or, somewhere before TomcatManager enters 
into the HTTPClient code, you may need to provide some flag to use the 
SSLSocketFactory.createSystemSSLContext() rather than the default 
createSSLContext()?  For the time being, as a work around, I can only think to 
have Jenkins run a shell script to SCP over the new artifact, and then SSH and 
move it to the tomcat webapps folder.
  
> Deploy fails if server requires client-auth
> ---
>
> Key: MTOMCAT-221
> URL: https://issues.apache.org/jira/browse/MTOMCAT-221
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Bug
>  Components: tomcat7
>Affects Versions: 2.0, 2.1
> Environment: Ubuntu 12.04, OpenJDK1.6
>Reporter: Chris Owens
>Assignee: Olivier Lamy (*$^¨%`£)
>  Labels: certificate, deploy, maven, ssl
>
> The tomcat7-maven-plugin fails to deploy to a server that requires client 
> authentication. Running with -Djavax.net.ssl.debug=all reveals that maven 
> never opens the keystore file. 
> Tried:  Maven 3.0.4 and 3.0.5, both as distributed and with the replacement 
> wagon-lightweight-http jar mentioned in WAGON-372.   Tried with versions 2.0 
> ad 2.1 of the tomcat7-maven-plugin.
> Very likely related: https://jira.codehaus.org/browse/WAGON-372

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (MTOMCAT-221) Deploy fails if server requires client-auth

2013-08-05 Thread Aaron Pelton (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729584#comment-13729584
 ] 

Aaron Pelton commented on MTOMCAT-221:
--

Has there been any progress on this? I too am encountering this issue where our 
environment requires client-auth, and therefore the tomcat7-maven-plugin must 
be capable of doing a deploy/redeploy goal with a -Djavax.net.ssl.keyStore 
argument passed to maven.  With ssl debug on, I see that the keystore is never 
accessed.  I'm currently using Maven 3.0.4 and saw another post about this 
maven version having issues with SSL arguments.  Chris mentions above that 
3.0.5 did not work either.  I see that 3.1.0 is now available, however, it says 
it's using wagon 2.4 which Maven 3.0.5 was doing.  I see that this plugin is 
using Apach HTTP Client under the covers. I don't have much experience with 
that library, but from what I saw in the source code, it has it's own 
SocketFactory implementation different from the default one that ships with 
Java. Additionally, it appears by default it does not respect Java System 
Properties. There is a different constructor to take Keystore information which 
may need to be called out explicitly? Or, somewhere before TomcatManager enters 
into the HTTPClient code, you may need to provide some flag to use the 
SSLSocketFactory.createSystemSSLContext() rather than the default 
createSSLContext()?  For the time being, as a work around, I can only think to 
have Jenkins run a shell script to SCP over the new artifact, and then SSH and 
move it to the tomcat webapps folder.

> Deploy fails if server requires client-auth
> ---
>
> Key: MTOMCAT-221
> URL: https://issues.apache.org/jira/browse/MTOMCAT-221
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Bug
>  Components: tomcat7
>Affects Versions: 2.0, 2.1
> Environment: Ubuntu 12.04, OpenJDK1.6
>Reporter: Chris Owens
>Assignee: Olivier Lamy (*$^¨%`£)
>  Labels: certificate, deploy, maven, ssl
>
> The tomcat7-maven-plugin fails to deploy to a server that requires client 
> authentication. Running with -Djavax.net.ssl.debug=all reveals that maven 
> never opens the keystore file. 
> Tried:  Maven 3.0.4 and 3.0.5, both as distributed and with the replacement 
> wagon-lightweight-http jar mentioned in WAGON-372.   Tried with versions 2.0 
> ad 2.1 of the tomcat7-maven-plugin.
> Very likely related: https://jira.codehaus.org/browse/WAGON-372

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[Bug 55357] New: Cannot deserialize session when it contains Externalizable objects (using PersistentManager)

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

Bug ID: 55357
   Summary: Cannot deserialize session when it contains
Externalizable objects (using PersistentManager)
   Product: Tomcat 7
   Version: 7.0.42
  Hardware: PC
Status: NEW
  Severity: major
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: maxime.fala...@gmail.com

I'm using PersistentManager with JDBCStore to store sessions in my database.
But in my webapplication, there is an object in my session which is an instance
of org.apache.el.MethodExpressionImpl. This class implements the Externalizable
interface but in this readExternal method it uses
org.apache.el.util.ReflectionUtil.forName(String) which use
Thread.currentThread().getContextClassLoader() as its ClassLoader.

It seems to be incorrect because this method return a StandardClassLoader which
cannot find my classes in WEB-INF/lib directory of my webapp.

Is it the problem of the MethodExpressionImpl class which use this method or
the JDBCStore which does not set the thread contextClassLoader as the
WebappClassLoader ?

Here is the stacktrace :

SEVERE: Error processing request
java.lang.IllegalStateException: Erreur lors de la désérialisation de la
session 1634C328D27A31CB9FC4D52392FDB05F: {1}
at
org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:713)
at
org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:503)
at
org.apache.catalina.connector.Request.isRequestedSessionIdValid(Request.java:2391)
at
org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:954)
at
org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:688)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:402)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: javax.faces.event.ActionEvent
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at org.apache.el.util.ReflectionUtil.forName(ReflectionUtil.java:62)
at org.apache.el.util.ReflectionUtil.toTypeArray(ReflectionUtil.java:88)
at
org.apache.el.MethodExpressionImpl.readExternal(MethodExpressionImpl.java:290)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1835)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1794)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at
com.sun.facelets.el.TagMethodExpression.readExternal(TagMethodExpression.java:101)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1835)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1794)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at java.util.ArrayList.readObject(ArrayList.java:733)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.

[Bug 55317] Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader

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

--- Comment #10 from Mark Thomas  ---
(In reply to Nick Williams from comment #9)

> Mark, what do you think?

My primary concern has already been articulated in comment #1.

> If you don't have a preference, I'll probably go
> Rainer's route but with addTransformer() and removeTransformer() as it's
> more flexible but also uses a convention (addTransformer()) that other
> containers use.

I have a very small preference for addTransformer() and removeTransformer() but
I'm happy to defer to the preferences of the Spring folks.

Mark

-- 
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: r1510490 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/config/ajp.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 14:17:34 2013
New Revision: 1510490

URL: http://svn.apache.org/r1510490
Log:
Remove experimental label from AJP NIO connector.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1510488

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=1510490&r1=1510489&r2=1510490&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Mon Aug  5 14:17:34 2013
@@ -208,6 +208,14 @@
   
 
   
+  
+
+  
+Remove the experimental label from the AJP NIO connector documentation.
+(markt)
+  
+
+  
   
 
   

Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml?rev=1510490&r1=1510489&r2=1510490&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml Mon Aug  5 14:17:34 2013
@@ -263,9 +263,6 @@
   following attributes in addition to the common Connector attributes listed
   above.
 
-  WARNING: The NIO connector for
-  AJP is experimental.
-
   
 
 



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



svn commit: r1510488 - /tomcat/trunk/webapps/docs/config/ajp.xml

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 14:13:44 2013
New Revision: 1510488

URL: http://svn.apache.org/r1510488
Log:
Remove experimental label from AJP NIO connector.

Modified:
tomcat/trunk/webapps/docs/config/ajp.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=1510488&r1=1510487&r2=1510488&view=diff
==
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Mon Aug  5 14:13:44 2013
@@ -264,9 +264,6 @@
   following attributes in addition to the common Connector attributes listed
   above.
 
-  WARNING: The NIO connector for
-  AJP is experimental.
-
   
 
 



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



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

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 13:50:51 2013
New Revision: 1510477

URL: http://svn.apache.org/r1510477
Log:
Fix failing test.

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=1510477&r1=1510476&r2=1510477&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
Mon Aug  5 13:50:51 2013
@@ -522,6 +522,11 @@ public class TestNonBlockingAPI extends 
 DATA, written, CHUNK_SIZE);
 written += CHUNK_SIZE;
 }
+if (written == WRITE_SIZE) {
+// Clear the output buffer else data may be lost when
+// calling complete
+ctx.getResponse().flushBuffer();
+}
 System.out.println("Write took:" + (end - start) +
 " ms. Bytes before=" + before + " after=" + written);
 // only call complete if we have emptied the buffer



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



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

2013-08-05 Thread markt
Author: markt
Date: Mon Aug  5 13:40:46 2013
New Revision: 1510475

URL: http://svn.apache.org/r1510475
Log:
More refactoring of validation trying to debug failures on OSX with NIO.

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=1510475&r1=1510474&r2=1510475&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
Mon Aug  5 13:40:46 2013
@@ -53,16 +53,25 @@ import org.apache.tomcat.util.buf.ByteCh
 
 public class TestNonBlockingAPI extends TomcatBaseTest {
 
-private static final byte[] CHUNK = new byte[1024 * 1024];
-private static final long WRITE_SIZE  = CHUNK.length * 5;
+private static final int CHUNK_SIZE = 1024 * 1024;
+private static final int WRITE_SIZE  = CHUNK_SIZE * 5;
+private static final byte[] DATA = new byte[WRITE_SIZE];
+
 
 static {
-byte[] seq = new byte[] {'0', '1', '2', '3', '4', '5', '6', '7',
-'8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
-int i = 0;
-while (i < CHUNK.length) {
-System.arraycopy(seq, 0, CHUNK, i, 16);
-i += 16;
+// Use this sequence for padding to make it easier to spot errors
+byte[] padding = new byte[] {'z', 'y', 'x', 'w', 'v', 'u', 't', 's',
+'r', 'q', 'p', 'o', 'n', 'm', 'l', 'k'};
+int blockSize = padding.length;
+
+for (int i = 0; i < WRITE_SIZE / blockSize; i++) {
+String hex = String.format("%01X", Integer.valueOf(i));
+int hexSize = hex.length();
+int padSize = blockSize - hexSize;
+
+System.arraycopy(padding, 0, DATA, i * blockSize, padSize);
+System.arraycopy(
+hex.getBytes(), 0, DATA, i * blockSize + padSize, hexSize);
 }
 }
 
@@ -137,7 +146,7 @@ public class TestNonBlockingAPI extends 
 // Validate the result.
 // Response line
 String resultString = result.toString();
-System.out.println("Read " + resultString.length() + " bytes");
+System.out.println("Client read " + resultString.length() + " bytes");
 int lineStart = 0;
 int lineEnd = resultString.indexOf('\n', 0);
 String line = resultString.substring(lineStart, lineEnd + 1);
@@ -183,26 +192,46 @@ public class TestNonBlockingAPI extends 
 System.out.println(line.substring(0, 32));
 } else {
 System.out.println(line);
-}
+}
 if (chunkSize + 2 != line.length()) {
 System.out.println("Chunk wrong length. Was " + line.length() +
 " Expected " + (chunkSize + 2));
-// look for failed position
-int pos = 0;
-String seq = "0123456789ABCDEF";
-// Assume starts with 0
-while (pos + seq.length() < line.length() &&
-line.subSequence(pos, pos + seq.length()).equals(seq)) 
{
-pos += seq.length();
-}
-if (pos + seq.length() < line.length()) {
-System.out.println("Failed at position " + pos + " " +
-line.substring(pos, pos + seq.length()));
-} else {
-System.out.println("Failed at position " + pos + " " +
-line.substring(pos));
+
+byte[] resultBytes = resultString.getBytes();
+
+// Find error
+boolean found = false;
+for (int i = totalBodyRead; i < (totalBodyRead + 
line.length()); i++) {
+if (DATA[i] != resultBytes[lineStart + i - totalBodyRead]) 
{
+int dataStart = i - 16;
+if (dataStart < 0) {
+dataStart = 0;
+}
+int dataEnd = i + 16;
+if (dataEnd > DATA.length) {
+dataEnd = DATA.length;
+}
+int resultStart = lineStart + i - totalBodyRead - 16;
+if (resultStart < 0) {
+resultStart = 0;
+}
+int resultEnd = lineStart + i - totalBodyRead + 16;
+if (resultEnd > resultString.length()) {
+resultEnd = resultString.length();
+}
+System.out.println("Mis-match tx: " + new String(
+DATA, data

Re: [VOTE] Release Apache Tomcat 8.0.0-RC1

2013-08-05 Thread Rainer Jung
Hi Mark,

thanks for the thorough inspection of my results. I'll try to make sure
that I won't include now known false positives in future reports.

Some few remarks inline.

On 04.08.2013 18:14, Mark Thomas wrote:
> On 03/08/2013 12:06, Rainer Jung wrote:
>> Overview:
>>
>> - one crash in tcnative during unit tests
>> - MBeans indicate common loader is gone (is that expected?
>>   At least the common.loader entry still exists in catalina.properties)
> Expected as StandardClassLoader has been removed. That decision is
> reversible of there is a use case for having the class loader visible in
> JMX.

So the common loader still exists but is a URLClassLoader? Otherwise I
guess we should remove to common.loader property in catalina.properties?

>> ! Unit tests few failures and errors:
> These need looking at. Note: Many of the tests are timing sensitive and
> do not fail consistently. Making the tests less sensitive to timing is
> an ongoing task.

.. and my build and test system is especially slow (sometimes helpful to
detect race conditions).

The APR crash is probably PR 51813. I added the crash info to BZ after
Chris pointed me to it.

>>   - Catalina:j2eeType=WebModule,name=//localhost attribute
>> ignoreAnnotations switched from "true" to "false",
> Need to look in to that.

I double checked, it is really like that.

>>   - platform MBean java.lang:type=Threading shows 4 more (daemon)
>> threads
> OK.

Here are the details, which look OK to me, except for Thread-4:

Directly after start:

only for TC 7
- ajp-bio-8009-AsyncTimeout
- http-bio-8080-AsyncTimeout
- Low Memory Detector (JVM internal)

only for TC 8a
- ajp-nio-8009-ClientPoller-0
- ajp-nio-8009-ClientPoller-1
- http-nio-8080-ClientPoller-0
- http-nio-8080-ClientPoller-1
- NioBlockingSelector.BlockPoller-1
- NioBlockingSelector.BlockPoller-2
- Service Thread (JVM internal)
- Thread-4

and after the first request was handled TC 7 also shows
"SnakeWebSocketServlet Timer".

The "Thread-4" has stack

   java.lang.Thread.State: RUNNABLE
at sun.nio.ch.SolarisEventPort.portGet(Native Method)
at sun.nio.ch.SolarisEventPort.access$400(SolarisEventPort.java:38)
at
sun.nio.ch.SolarisEventPort$EventHandlerTask.run(SolarisEventPort.java:167)
at java.lang.Thread.run(Thread.java:724)

and gets started between NioBlockingSelector.BlockPoller-2 and
ContainerBackgroundProcessor[StandardEngine[Catalina]]. Not sure whether
it is started by the JVM under the hood, but if we create it ourselves
we should probably give it a name.

>>   - platform MBean java.lang:type=OperatingSystem show 88 open file
>> descriptors instead of 61
> Worth just checking what those files are.

I checked again and those are:

- multiple times poll devices and FIFOs (probably due to NIO)
- some additional TC jars (websocket, spdy, jni, storeconfig)
- some addition JDK jars (JDK 7 vs. 6)

So it looks OK to me.

What I noticed: the global web.xml directly after start has 9 FDs open
for it (TC 7) resp. 5 (TC 8). After the first GC those are gone, so
probably only a finalizer thing and not problematic.

>> - org.apache.tomcat.util.net.TestCustomSsl
>>   - (old) BIO twice "Exception getting SSL attributes"
>> in org.apache.coyote.http11.Http11Processor actionInternal
>> exception is:
>> javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
>>   - (old) NIO twice "Exception re-negotiating SSL connection"
>> in org.apache.coyote.http11.Http11NioProcessor actionInternal
> Need to check.

Note that those also exist for TC 7 at least since 7.0.11.

>> - tribes: several warnings (41), numbers up by 22 from 7.0.42.
>>   Mostly same types of messages.
> Probably OK but should check.

The types of messages are the same as for TC 7.


Regards,

Rainer

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



svn commit: r1510404 - /tomcat/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml

2013-08-05 Thread rjung
Author: rjung
Date: Mon Aug  5 09:20:25 2013
New Revision: 1510404

URL: http://svn.apache.org/r1510404
Log:
Remove obsolete JMX attributes.

Modified:
tomcat/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml

Modified: tomcat/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml?rev=1510404&r1=1510403&r2=1510404&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml 
(original)
+++ tomcat/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml Mon Aug 
 5 09:20:25 2013
@@ -36,19 +36,6 @@
   description="The reloadable flag for this Loader"
  type="boolean"/>
 
-
-
-
-
-
-
 
 
-
-
 

[Bug 51813] Tomcat randomly crashes with [libtcnative-1.so.1+0x152ca] Java_org_apache_tomcat_jni_Socket_sendbb+0x5a

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

--- Comment #10 from Rainer Jung  ---
Here's another occurance:

[junit] Running org.apache.tomcat.websocket.TestWebSocketFrameClient
[junit] Aug 02, 2013 2:52:50 PM
org.apache.catalina.core.AprLifecycleListener init
[junit] INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using
APR version 1.4.8.
[junit] Aug 02, 2013 2:52:50 PM
org.apache.catalina.core.AprLifecycleListener init
[junit] INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters [false], random [true].
[junit] Aug 02, 2013 2:52:50 PM
org.apache.catalina.core.AprLifecycleListener initializeSSL
[junit] INFO: OpenSSL successfully initialized (OpenSSL 1.0.1esp1 12 Feb
2013)
[junit] Aug 02, 2013 2:52:52 PM org.apache.coyote.AbstractProtocol init
[junit] INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
[junit] Aug 02, 2013 2:52:52 PM org.apache.catalina.core.StandardService
startInternal
[junit] INFO: Starting service Tomcat
[junit] Aug 02, 2013 2:52:52 PM org.apache.catalina.core.StandardEngine
startInternal
[junit] INFO: Starting Servlet Engine: Apache Tomcat/8.0.0-RC1
[junit] Aug 02, 2013 2:52:53 PM org.apache.coyote.AbstractProtocol start
[junit] INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-59353"]
[junit] Aug 02, 2013 2:53:53 PM org.apache.coyote.AbstractProtocol pause
[junit] INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-59353"]
[junit] Aug 02, 2013 2:53:54 PM org.apache.catalina.core.StandardService
stopInternal
[junit] INFO: Stopping service Tomcat
[junit] Aug 02, 2013 2:53:54 PM org.apache.coyote.AbstractProtocol stop
[junit] INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-59353"]
[junit] #
[junit] # A fatal error has been detected by the Java Runtime Environment:
[junit] #
[junit] #  SIGSEGV (0xb) at pc=0xb76dfe74, pid=11403, tid=26
[junit] #
[junit] # JRE version: 7.0_25-b15
[junit] # Java VM: Java HotSpot(TM) Server VM (23.25-b01 mixed mode
solaris-sparc )
[junit] # Problematic frame:
[junit] # C  [libtcnative-1.so.0.1.27+0xfe74]Tests run: 1, Failures: 1,
Errors: 0, Skipped: 0, Time elapsed: 66.655 sec
[junit]   Java_org_apache_tomcat_jni_Socket_recv+0x34
[junit] #
[junit] # Core dump written. Default location:
/shared/build/dev/tomcat/incoming/tc8.0.x/8.0.0-RC1/tmp-8.0.0-RC1/apache-tomcat-8.0.0-RC1-src-gz/core
or core.11403
[junit] #
[junit] # An error report file with more information is saved as:
[junit] #
/shared/build/dev/tomcat/incoming/tc8.0.x/8.0.0-RC1/tmp-8.0.0-RC1/apache-tomcat-8.0.0-RC1-src-gz/hs_err_pid11403.log
[junit]  -
[junit]   0  (0xb7af8558)  [b6|00|   24]
[junit]  [   0x]
[junit]  [   0xb794be80]
[junit]  [   0x0c81]
[junit]  -
[junit]   1  (0xb7af8568)  [00|b7|   25]
[junit]  [   0xb7af6f78]
[junit]  [   0x]
[junit]  [   0x8081]
[junit]  -



 b76dfe74 Java_org_apache_tomcat_jni_Socket_recv (30b528, b30ff188,
b30fd09c, b29500, b30ff214, 0) + 34
 fbc0f780 * org/apache/tomcat/jni/Socket.recv(J[BII)I+32362
 fbc0f72c * org/apache/tomcat/jni/Socket.recv(J[BII)I+0
 fbc068ec *
org/apache/coyote/http11/upgrade/AprServletInputStream.doRead(Z[BII)I+73
(line 101)
 fbc068ec *
org/apache/coyote/http11/upgrade/AbstractServletInputStream.read([BII)I+20
(line 229)
 fbc068ec *
org/apache/tomcat/websocket/server/WsFrameServer.onDataAvailable()V+46
(line 89)
 fbc06b84 *
org/apache/tomcat/websocket/server/WsHttpUpgradeHandler$WsReadListener.onDataAvailable()V+4
(line 384)
 fbc0771c *
org/apache/coyote/http11/upgrade/AbstractServletInputStream.onDataAvailable()V+11
(line 337)
 fbc06b84 *
org/apache/coyote/http11/upgrade/AbstractProcessor.upgradeDispatch(Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+11
(line 189)
 fbc073e0 *
org/apache/coyote/AbstractProtocol$AbstractConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+171
(line 1221)
 fbc06848 *
org/apache/coyote/http11/Http11AprProtocol$Http11ConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+76
(line 546)
 fbc073e0 *
org/apache/tomcat/util/net/AprEndpoint$SocketProcessor.doRun()V+26 (line
4492)
 fbc06b84 *
org/apache/tomcat/util/net/AprEndpoint$SocketProcessor.run()V+55 (line 4468)
...

GDB tells my:

#7  0xb76dfe74 in Java_org_apache_tomcat_jni_Socket_recv (e=0x30b528,
o=0xb30ff188, sock=, buf=0xb30ff214, offset=0,
toread=8192) at src/network.c:733
733