Re: [VOTE] Release Apache Tomcat 8.0.0-RC4

2013-10-15 Thread Daniel Mikusa
On Oct 15, 2013, at 8:48 AM, Mark Thomas ma...@apache.org wrote:

 The proposed Apache Tomcat 8.0.0 release candidate 4 is now available
 for voting.
 
 Given this is a release candidate I am working on the basis that it is
 equivalent to an alpha. The main changes since RC3 are:
 - Stability fixes in the APR/native connector
 - Stability fixes for non-blocking IO and WebSocket
 - Improvements to unit tests to reduce incidence of false reports
 - Add a drawing board example to the WebSocket examples
 - A handful of bug fixes
 - A small number of enhancements including direct gzip support in the
  default Servlet
 - More HTML clean-up
 
 It can be obtained from:
 https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC4/
 The Maven staging repo is:
 https://repository.apache.org/content/repositories/orgapachetomcat-176/
 The svn tag is:
 http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC4/
 
 The proposed 8.0.0-RC4 release is:
 [ ] Broken - do not release
 [ ] Alpha - go ahead and release as 8.0.0-RC4 alpha
 
 Cheers,
 
 Mark
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org
 

Tested a couple apps that I have and everything worked OK for me.  One note 
though, there are some errors with the examples when I run with the security 
manager enabled.

Here are the steps to replicate the issues:

1.) Downloaded Tomcat 8.0.0-RC4 and unzip.
2.) Run ./bin/catalina.sh start -security.

Here are the errors:

1.) On startup, you'll see this error.  Adding the permission that is listed in 
the stack trace allows the server to start without any errors.

15-Oct-2013 10:05:18.699 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: 
start:
 org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at 
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:130)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:152)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1119)
at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1760)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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:724)
Caused by: java.security.AccessControlException: access denied 
(java.lang.RuntimePermission 
accessClassInPackage.org.apache.tomcat.websocket.server)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at 
java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at 
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1529)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at 
javax.websocket.server.ServerEndpointConfig$Configurator.loadDefault(ServerEndpointConfig.java:174)
at 
javax.websocket.server.ServerEndpointConfig$Configurator.fetchContainerDefaultConfigurator(ServerEndpointConfig.java:151)
at 
javax.websocket.server.ServerEndpointConfig$Builder.init(ServerEndpointConfig.java:68)
at 
javax.websocket.server.ServerEndpointConfig$Builder.create(ServerEndpointConfig.java:56)
at websocket.ExamplesConfig.getEndpointConfigs(ExamplesConfig.java:38)
at org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:99)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5265)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 14 more


2.) After resolving #1, you'll see this error when you access one of the web 
socket examples and the example tries to make a 

RE: [VOTE] Release Apache Tomcat 8.0.0-RC4

2013-10-15 Thread Konstantin Preißer
 -Original Message-
 From: Mark Thomas [mailto:ma...@apache.org]
 Sent: Tuesday, October 15, 2013 2:49 PM
 To: Tomcat Developers List
 Subject: [VOTE] Release Apache Tomcat 8.0.0-RC4
 
 The proposed Apache Tomcat 8.0.0 release candidate 4 is now available
 for voting.
 
 Given this is a release candidate I am working on the basis that it is
 equivalent to an alpha. The main changes since RC3 are:
 - Stability fixes in the APR/native connector
 - Stability fixes for non-blocking IO and WebSocket
 - Improvements to unit tests to reduce incidence of false reports
 - Add a drawing board example to the WebSocket examples
 - A handful of bug fixes
 - A small number of enhancements including direct gzip support in the
   default Servlet
 - More HTML clean-up
 
 It can be obtained from:
 https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC4/
 The Maven staging repo is:
 https://repository.apache.org/content/repositories/orgapachetomcat-176/
 The svn tag is:
 http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC4/
 
 The proposed 8.0.0-RC4 release is:
 [ ] Broken - do not release
 [ ] Alpha - go ahead and release as 8.0.0-RC4 alpha
 
 Cheers,
 
 Mark

Note, that the documentation index.html included in the binaries says:

Apache Tomcat version @VERSION_MAJOR_MINOR@ implements the Servlet 3.1 and 
JavaServer Pages 2.3 specifications from the Java Community Process [...]

I guess this is because the XSLT And task does not have a version.filters 
filterset (and with r1527315 the explicit version number was replaced with the 
@VERSION_MAJOR_MINOR@ variable), but I don't know if it's possible to add a 
filter to the XSLT task (maybe one would need to copy the .xml files elsewhere 
for applying the filter and then start the XSLT task).


Regards,
Konstantin Preißer


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

2013-10-15 Thread Jeanfrancois Arcand

[X] Alpha - go ahead and release as 8.0.0-RC4 alpha

Focused on websocket testing, default configuration.

-- Jeanfrancois


On 2013-10-15 8:48 AM, Mark Thomas wrote:

The proposed Apache Tomcat 8.0.0 release candidate 4 is now available
for voting.

Given this is a release candidate I am working on the basis that it is
equivalent to an alpha. The main changes since RC3 are:
- Stability fixes in the APR/native connector
- Stability fixes for non-blocking IO and WebSocket
- Improvements to unit tests to reduce incidence of false reports
- Add a drawing board example to the WebSocket examples
- A handful of bug fixes
- A small number of enhancements including direct gzip support in the
   default Servlet
- More HTML clean-up

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.0-RC4/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-176/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_8_0_0_RC4/

The proposed 8.0.0-RC4 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 8.0.0-RC4 alpha

Cheers,

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



Re: [VOTE] Release Apache Tomcat 8.0.0-RC4

2013-10-15 Thread Mark Thomas
On 15/10/2013 17:31, Konstantin Preißer wrote:

 Note, that the documentation index.html included in the binaries
 says:
 
 Apache Tomcat version @VERSION_MAJOR_MINOR@ implements the Servlet
 3.1 and JavaServer Pages 2.3 specifications from the Java Community
 Process [...]
 
 I guess this is because the XSLT And task does not have a
 version.filters filterset (and with r1527315 the explicit version
 number was replaced with the @VERSION_MAJOR_MINOR@ variable), but I
 don't know if it's possible to add a filter to the XSLT task (maybe
 one would need to copy the .xml files elsewhere for applying the
 filter and then start the XSLT task).

I just added support for some new elements to the stylesheet. That
seemed like the cleanest solution.

Mark

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

2013-10-15 Thread Mark Thomas
On 15/10/2013 15:23, Daniel Mikusa wrote:
 Tested a couple apps that I have and everything worked OK for me.
 One note though, there are some errors with the examples when I run
 with the security manager enabled.
 
 Here are the steps to replicate the issues:
 
 1.) Downloaded Tomcat 8.0.0-RC4 and unzip. 2.) Run ./bin/catalina.sh
 start -security.
 
 Here are the errors:
 
 1.) On startup, you'll see this error.  Adding the permission that is
 listed in the stack trace allows the server to start without any
 errors.

Fixed.

 2.) After resolving #1, you'll see this error when you access one of
 the web socket examples and the example tries to make a connection.
 Adding the permission listed in the stack trace resolves the errors
 and the web socket examples then work fine.

Fixed.

 3.) Go to the Number Writer Non-Blocking IO example.  You'll get
 the following error.  Again, adding the permission listed in the
 stack trace to catalina.policy seems to resolve the issue and the
 example works OK.

Fixed.

Thanks for the quick feedback.

Mark

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