Re: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Nick Williams
On Mar 10, 2014, at 10:40 AM, Jeffrey Janner wrote: -Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com] Sent: Tuesday, March 04, 2014 2:59 PM To: d...@tomcat.apache.org; users@tomcat.apache.org Subject: ApacheCon North America, Denver, April 7-11 Hello Tomcat

Re: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Nick Williams
On Mar 10, 2014, at 11:17 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 3/10/14, 11:43 AM, Nick Williams wrote: On Mar 10, 2014, at 10:40 AM, Jeffrey Janner wrote: -Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com

Re: Apache Tomcat Summit at ApacheCon NA 2014

2014-01-28 Thread Nick Williams
I didn't know for sure whether I was coming until now, so I couldn't reply earlier. I'll be at ApacheCon (speaking on Log4j) and I will DEFINITELY attend a Tomcat summit! I look forward to meeting you, Mark! Nick On Jan 28, 2014, at 6:47 PM, Mark Thomas wrote: On 23/01/2014 13:29, Mark

Re: [OT] Out of memory exception - top posting

2014-01-25 Thread Nick Williams
On Jan 24, 2014, at 12:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/24/14, 10:18 AM, Mark H. Wood wrote: On Thu, Jan 23, 2014 at 09:24:41PM -0500, Howard W. Smith, Jr. wrote: On Thu, Jan 23, 2014 at 2:08 PM, André Warnier a...@ice-sa.com

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-26 Thread Nick Williams
On Nov 26, 2013, at 5:32 AM, Mark Thomas wrote: On 26/11/2013 04:56, Konstantin Kolinko wrote: 2013/11/26 Nick Williams nicho...@nicholaswilliams.net: On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: There was this change: http://svn.apache.org/viewvc?view=revisionrevision

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-25 Thread Nick Williams
On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: 2013/11/25 Nick Williams nicho...@nicholaswilliams.net: I've written a simple Servlet/WebSocket client that sends a message over the Session each time a GET request comes in. This worked a few months ago: @Override protected

IllegalStateException sending WebSocket message that worked a few months ago

2013-11-24 Thread Nick Williams
I've written a simple Servlet/WebSocket client that sends a message over the Session each time a GET request comes in. This worked a few months ago: @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Nick Williams
Being convinced now that this is a Tomcat bug in violation of the spec--and not something I am doing wrong--I'm going to go ahead and file a bug now. N On Nov 17, 2013, at 9:32 AM, Nick Williams wrote: On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: 2013/11/17 Nick Williams nicho

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Nick Williams
On Nov 18, 2013, at 12:05 PM, Konstantin Kolinko wrote: 2013/11/17 Nick Williams nicho...@nicholaswilliams.net: On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: 2013/11/17 Nick Williams nicho...@nicholaswilliams.net: I have an EL 3.0 edge case that I need help understanding. Am I

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Nick Williams
On Nov 18, 2013, at 12:21 PM, Konstantin Kolinko wrote: 2013/11/18 Nick Williams nicho...@nicholaswilliams.net: Regarding the list() example, map(u - [u.username, u.firstName, u.lastName]) creates a ListObject with 3 elements and you are asking for lastName property on that list

EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-17 Thread Nick Williams
I have an EL 3.0 edge case that I need help understanding. Am I doing something wrong (I don't think so) or is the Tomcat 8.0 implementation missing something? Consider the following EL expression: ${users.stream() .filter(u - fn:contains(u.username, '1'))

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-17 Thread Nick Williams
On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: 2013/11/17 Nick Williams nicho...@nicholaswilliams.net: I have an EL 3.0 edge case that I need help understanding. Am I doing something wrong (I don't think so) or is the Tomcat 8.0 implementation missing something? Consider

Re: @ServerEndpoint Guice

2013-11-07 Thread Nick Williams
On 6 November 2013 16:23, Nick Williams nicho...@nicholaswilliams.netwrote: On Nov 6, 2013, at 7:55 AM, Marko Sanković wrote: Hi, For the last couple of hours I've been trying to inject a simple object into the class that is @ServerEndpoint annotated. As stated: Tomcat implements

Re: @ServerEndpoint Guice

2013-11-06 Thread Nick Williams
On Nov 6, 2013, at 7:55 AM, Marko Sanković wrote: Hi, For the last couple of hours I've been trying to inject a simple object into the class that is @ServerEndpoint annotated. As stated: Tomcat implements the Java WebSocket 1.0 API defined by JSR-356. I'm using Guice as dependency

Re: any update on an anticipated release date for 7.0.43?

2013-09-20 Thread Nick Williams
On Sep 20, 2013, at 9:18 AM, Bob DeRemer wrote: -Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Tuesday, September 17, 2013 12:28 PM To: Tomcat Users List Subject: RE: any update on an anticipated release date for 7.0.43? -Original

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Nick Williams
On Sep 16, 2013, at 4:09 AM, Mark Thomas wrote: On 16/09/2013 10:00, Niki Dokovski wrote: On Fri, Sep 13, 2013 at 9:27 PM, Niki Dokovski nick...@gmail.com wrote: On Fri, Sep 13, 2013 at 8:55 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Sep 13, 2013, at 12:42 PM

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Nick Williams
On Sep 16, 2013, at 11:21 AM, Mark Thomas wrote: On 16/09/2013 16:57, Mark Thomas wrote: The issue is with the lack of clarity from the EG with respect to ordering. I read section 8.2 one way but it is open to interpretation. I've dug back through the Servlet 3.0 mailing list. The text

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-13 Thread Nick Williams
On Sep 13, 2013, at 12:42 PM, Igor Urisman wrote: I couldn't agree more. WebSocket is provided by the container. But the time any app code gets to run, Spring of Fall, container ought to be done. -Igor. On Fri, Sep 13, 2013 at 10:38 AM, Christopher Schultz

Re: Tomcat 8 Websocket API - Cookies Headers

2013-08-23 Thread Nick Williams
In the modifyHandshake method of your Configurator, you can call getUserProperties on the EndpointConfig argument. This returns a modifiable MapString, Object that you can add values to. After modifyHandshake returns and before onOpen is called, the values from that map are copied to the

Re: Tomcat 8 Websocket API - Cookies Headers

2013-08-23 Thread Nick Williams
On Aug 23, 2013, at 1:25 PM, Nick Williams wrote: In the modifyHandshake method of your Configurator, you can call getUserProperties on the EndpointConfig argument. This returns a modifiable MapString, Object that you can add values to. After modifyHandshake returns and before onOpen

Re: Exception by upgrading to WebSocket connection in 8.0.0-RC1

2013-08-15 Thread Nick Williams
On Aug 15, 2013, at 11:27 AM, Mark Thomas wrote: On 15/08/2013 08:41, Sergey Shcherbakov wrote: It looks like I am missing some bit of the Tomcat configuration (to call preInit()?). You shouldn't need to worry about that. Has anybody seen the issue, No. what could be the reason?

Re: /META-INF/context.xml seemingly ignored

2013-08-04 Thread Nick Williams
On Aug 4, 2013, at 11:16 AM, Konstantin Kolinko wrote: 2013/8/4 Mark Thomas ma...@apache.org: On 04/08/2013 02:27, Nick Williams wrote: Yes. There's a TOMCAT_HOME/work/Catalina/localhost/support directory, but TOMCAT_HOME/conf/Catalina is empty. There should be conf/Catalina

Re: Help about my problem

2013-08-03 Thread Nick Williams
On Aug 3, 2013, at 1:55 AM, Mehdi Yousefi wrote: Hi Thanks for your attention it is up on port 8000 but dident respond this is for some medical use and the boss did not accept a risk of updating to last version Well, your boss is wrong and foolish then. Since this is for a medical

/META-INF/context.xml seemingly ignored

2013-08-03 Thread Nick Williams
Guys, I'm using Tomcat 8.0.0-RC1. Hopefully I'm just missing something here. I created a web application with the following /META-INF/context.xml file (I tried both with and without the path=/support attribute). ?xml version='1.0' encoding='utf-8'? Context path=/support Loader

Re: /META-INF/context.xml seemingly ignored

2013-08-03 Thread Nick Williams
On Aug 3, 2013, at 6:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 8/3/13 2:54 PM, Nick Williams wrote: I'm using Tomcat 8.0.0-RC1. Hopefully I'm just missing something here. I created a web application with the following /META-INF

Re: Tomcat Websocket Implementation

2013-08-02 Thread Nick Williams
On Aug 2, 2013, at 12:05 PM, Igor Urisman wrote: Dear all, I'm looking into a solution that will make extensive use of websockets. Details are unimportant, but here's the question that I'd like to have some insight into. The current implementation (official

Re: Tomcat Websocket Implementation

2013-08-02 Thread Nick Williams
On Aug 2, 2013, at 12:42 PM, Nick Williams wrote: On Aug 2, 2013, at 12:05 PM, Igor Urisman wrote: Dear all, I'm looking into a solution that will make extensive use of websockets. Details are unimportant, but here's the question that I'd like to have some insight into. The current

Re: WebappClassLoader problem

2013-07-31 Thread Nick Williams
On Jul 31, 2013, at 11:40 AM, Edward W. Rouse wrote: I'm losing my mind here. I finally went full standard to see if the changes in tomcat 7 would allow me to avoid custom class loaders and contexts, but ran into a catch-22 issue. I was getting: java.lang.ClassCastException:

Re: The Apache Tomcat Connector - Webserver HowTo documentation for Apache Httpd 2.4.x and Tomcat 7

2013-07-29 Thread Nick Williams
On Jul 25, 2013, at 10:59 AM, Rainer Jung wrote: On 25.07.2013 17:14, srinivas yelamanchili wrote: Hi, I installed Apache Httpd 2.4.6 and Tomcat 7.0.42 from source code (.tar.gz) on Redhat Linux and looking for documentation to enable AJP and connect Tomcat with Httpd using AJP/APR I

Re: servlet 3.1, etc?

2013-07-10 Thread Nick Williams
On Jul 10, 2013, at 9:32 AM, Edoardo Panfili wrote: Il 10/07/13 12:18, Mark Thomas ha scritto: On 10/07/2013 00:06, Jess Holle wrote: Is there an ETA (in terms of both a version and rough date) for Tomcat moving to the new spec versions introduced by Java EE 7? Tomcat 8. Implementation

Init params picked up before SCI?

2013-06-17 Thread Nick Williams
It seems obvious, but I couldn't find it mentioned in the spec, which concerns me. Hopefully I'm overlooking something. All init-params in the (merged?) deployment descriptor are guaranteed to be picked up and placed in the ServletContext before any ServletContainerInitializers are triggered,

Re: Init params picked up before SCI?

2013-06-17 Thread Nick Williams
On Jun 17, 2013, at 2:33 PM, Mark Thomas wrote: On 17/06/2013 14:26, Nicholas Williams wrote: On Jun 17, 2013, at 8:15, Nick Williams nicho...@nicholaswilliams.net wrote: It seems obvious, but I couldn't find it mentioned in the spec, which concerns me. Hopefully I'm overlooking

Re: Making sure I understand application startup order correctly

2013-06-01 Thread Nick Williams
On May 31, 2013, at 5:06 AM, Mark Thomas wrote: On 30/05/2013 23:42, Nick Williams wrote: I still have some uncertainties with a couple: #2: 8.2.4 says of ServletContainerInitializers: the order in which these services are discovered MUST follow the application’s class loading

Re: Making sure I understand application startup order correctly

2013-05-30 Thread Nick Williams
On May 29, 2013, at 6:58 AM, Pid wrote: On 29/05/2013 00:24, Nick Williams wrote: Guys, Can some of the fine experts on this list double check my assertions below and let me know if I'm going wrong anywhere? I hope I got it all right. :-) Assertion #1 If metadata-complete=true

Re: Making sure I understand application startup order correctly

2013-05-30 Thread Nick Williams
On May 30, 2013, at 3:38 PM, Mark Thomas wrote: On 30/05/2013 21:04, Nick Williams wrote: On May 29, 2013, at 6:58 AM, Pid wrote: On 29/05/2013 00:24, Nick Williams wrote: Guys, Can some of the fine experts on this list double check my assertions below and let me know if I'm going

Is there a way to make manager applications be first ones loaded?

2013-05-28 Thread Nick Williams
At $work, we have an automated build system that twice-daily compiles our application and deploys it to the Tomcat servers in our QA environment. It uses the Tomcat manager web service (and the Tomcat Ant tasks) to manage this behavior. More precisely, it first builds the application, then

Re: Is there a way to make manager applications be first ones loaded?

2013-05-28 Thread Nick Williams
On May 28, 2013, at 4:49 PM, Nick Williams wrote: At $work, we have an automated build system that twice-daily compiles our application and deploys it to the Tomcat servers in our QA environment. It uses the Tomcat manager web service (and the Tomcat Ant tasks) to manage this behavior

Making sure I understand application startup order correctly

2013-05-28 Thread Nick Williams
Guys, Can some of the fine experts on this list double check my assertions below and let me know if I'm going wrong anywhere? I hope I got it all right. :-) Assertion #1 If metadata-complete=true is present in the deployment descriptor: A) The container does NOT scan /WEB-INF/classes for

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-22 Thread Nick Williams
On May 22, 2013, at 9:09 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 5/21/13 2:38 PM, Mark Thomas wrote: On 21/05/2013 19:01, Michael-O wrote: Mark, I did receive an answer to the issue, citing your findings. See verbatim copy below:

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-22 Thread Nick Williams
On May 22, 2013, at 11:35 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/22/13 10:18 AM, Nick Williams wrote: On May 22, 2013, at 9:09 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 5/21/13 2

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Nick Williams
On May 20, 2013, at 10:56 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/19/13 11:25 AM, Nick Williams wrote: Unfortunately, requiring users to call System.gc() before shutdown for logging to work properly is no better than requiring users

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Nick Williams
On May 20, 2013, at 2:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/20/13 12:48 PM, Nick Williams wrote: On May 20, 2013, at 10:56 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/19/13 11

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Nick Williams
On May 20, 2013, at 4:39 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/20/13 4:10 PM, Nick Williams wrote: On May 20, 2013, at 2:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/20/13 12

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-19 Thread Nick Williams
On May 19, 2013, at 3:33 AM, Mark Thomas wrote: On 19/05/2013 05:57, Nick Williams wrote: Can one of the very knowledgeable developers that have been discussing memory leaks in the last few days (re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-19 Thread Nick Williams
On May 19, 2013, at 10:01 AM, Caldarale, Charles R wrote: From: Nick Williams [mailto:nicho...@nicholaswilliams.net] Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like) Log4j 1 never required a listener to be configured to be shut

LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-18 Thread Nick Williams
Can one of the very knowledgeable developers that have been discussing memory leaks in the last few days (re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread) chime in on this Log4j 2 bug [1]? Log4j 2 appears to be registering a

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Nick Williams
On May 8, 2013, at 6:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/8/13 3:01 AM, Michael-O wrote: I recently have started using the SlowQueryReport to tackle performance issues. The log message, unfortunately, does not contain the

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Nick Williams
On May 8, 2013, at 12:08 PM, Michael-O wrote: Am 2013-05-08 14:38, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/8/13 8:08 AM, Nick Williams wrote: On May 8, 2013, at 6:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Nick Williams
On May 8, 2013, at 12:40 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/8/13 1:34 PM, Nick Williams wrote: On May 8, 2013, at 12:08 PM, Michael-O wrote: Am 2013-05-08 14:38, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE

Re: Java 7 support on Tomcat 5.5

2013-04-01 Thread Nick Williams
On Apr 1, 2013, at 3:44 PM, Satheesh Babu wrote: Good Evening! We're running our production applications in Tomcat 5.5/JRE 1.5, and there is a need for us to migrate our applications to Java 7(JRE 1.7). There is no information available either on java or on Apace Tomcat site regrading

Re: Adding Content-Length response header

2013-03-26 Thread Nick Williams
On Mar 26, 2013, at 3:15 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/26/13 11:08 AM, Konstantin Kolinko wrote: 2013/3/26 Christopher Schultz ch...@christopherschultz.net: Like most folks on the list, I have quite a few dynamic

Re: Tomcat 8 + Tomcat Maven Plugin 2.2 + Tomcat8 Maven Plugin?

2013-03-24 Thread Nick Williams
-embed-*, as per Re: Executable Tomcat JAR/WAR executes fine standalone, class loading errors in JNLP [1] and bug 54745. Thanks, Nick [1] http://tomcat.markmail.org/thread/6qzrm3akiy4e3e5v 2013/3/14 Nick Williams nicho...@nicholaswilliams.net: https://repository.apache.org/content/repositories

Re: Executable Tomcat JAR/WAR executes fine standalone, classloading errors in JNLP

2013-03-22 Thread Nick Williams
On Mar 21, 2013, at 4:31 PM, Nick Williams wrote: I have built an executable Tomcat JAR file. It has all of the Tomcat classes and dependencies zipped into one big JAR. Inside that JAR is also a WAR file, the native DLL, and logging.properties. My com.ul.io.Bootstrap class creates

Re: Tomcat Behavior on Multiple HTTP requests from same browser

2013-03-19 Thread Nick Williams
On Mar 19, 2013, at 8:37 PM, Caldarale, Charles R wrote: From: Saurabh Agrawal [mailto:sagra...@sapient.com] Subject: Tomcat Behavior on Multiple HTTP requests from same browser Let's say I hit http://localhost:9001/homepage.html. Upon hitting the URL, tomcat will assign one of the

Re: Tomcat Behavior on Multiple HTTP requests from same browser

2013-03-19 Thread Nick Williams
suspect a little more reading of the Connector documentation will help you understand exactly how all of this works. Nick P.S. Please remember to bottom post. Don't top post. -Original Message- From: Nick Williams [mailto:nicho...@nicholaswilliams.net] Sent: Wednesday, March 20, 2013

Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
Based on my reading of the WebSocket spec mailing lists and API documentation, if I want to get the HttpSession that exists when a WebSocket connection is negotiated I need to extend ServerEndpointConfig.Configurator, override #modifyHandshake(), and call #getHttpSession() on the

Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
Martin, Don't believe we've spoken before. Good to meet you. I'm working on a book on Servlet 3.1 + WebSockets + Spring Framework 4 + Hibernate + Spring Security. My interest is purely the new Java WebSockets API. The existing Comet implementation in Tomcat 7.0 will be deprecated in 7.0 once

Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
On Mar 17, 2013, at 5:56 PM, Nick Williams wrote: Based on my reading of the WebSocket spec mailing lists and API documentation, if I want to get the HttpSession that exists when a WebSocket connection is negotiated I need to extend ServerEndpointConfig.Configurator, override

Re: Standard or OCSP Native Lib?

2013-03-15 Thread Nick Williams
On Mar 15, 2013, at 10:21 AM, Mladen Turk wrote: Otherwise it'll just slow you down. That's what I was looking for. I didn't see any indication anywhere that OCSP came with a performance hit, so my thought was, why wouldn't you just always use the OCSP version? Thanks for clarifying this.

Re: Embedded Tomcat JavaDoc Not Complete

2013-03-15 Thread Nick Williams
On Mar 15, 2013, at 2:15 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 3/13/13 2:19 PM, Nicholas Williams wrote: On Wed, Mar 13, 2013 at 12:10 PM, Christopher Schultz ch...@christopherschultz.net wrote: You mean addWebapp methods? They seem

Re: Embedded Tomcat JavaDoc Not Complete

2013-03-15 Thread Nick Williams
On Mar 15, 2013, at 3:15 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 3/15/13 3:56 PM, Nick Williams wrote: I tried using a JAR URL. (If I remember correctly, it ended up looking something like jar:url://C:/Users/Nicholas/Desktop/Project

ThreadLocal variables and BIO/NIO/APR

2013-03-15 Thread Nick Williams
I know, I know. Don't use ThreadLocals. I've seen it on this list at least 100 times. But avoiding ThreadLocal variables can be hard: 1) Spring Framework uses ThreadLocals for things like the RequestContext. You can't just turn that off. 2) Spring Security uses ThreadLocals for things like the

Re: ThreadLocal variables and BIO/NIO/APR

2013-03-15 Thread Nick Williams
On Mar 15, 2013, at 4:05 PM, Mark Thomas wrote: On 15/03/2013 20:53, Nick Williams wrote: If I understand this correctly (which I may not), BIO dedicates a thread to a request from beginning to end and then recycles that thread only when the request has completed (which is perfect), but NIO

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-14 Thread Nick Williams
On Mar 14, 2013, at 7:25 AM, Martin Grigorov wrote: On Thu, Mar 14, 2013 at 12:49 PM, Mark Thomas ma...@apache.org wrote: https://repository.apache.org/content/repositories/snapshots/org/apache/tomcat/ Mark Sweet! Thanks! So will I need to add https://repository.apache.org/ as a

NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Nick Williams
Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method to start up an embedded Tomcat. I'm using 7.0.37 Tomcat JARs. public static void main(String... arguments) throws Exception { Tomcat tomcat = new

Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Nick Williams
On Mar 14, 2013, at 2:56 PM, Nick Williams wrote: Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method to start up an embedded Tomcat. I'm using 7.0.37 Tomcat JARs. public static void main(String... arguments

WebSockets problem Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Nick Williams
On Mar 14, 2013, at 4:25 PM, Konstantin Kolinko wrote: 2013/3/15 Nick Williams nicho...@nicholaswilliams.net: On Mar 14, 2013, at 2:56 PM, Nick Williams wrote: Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-13 Thread Nick Williams
On Mar 13, 2013, at 7:44 PM, Mark Thomas wrote: On 12/03/2013 22:08, Nick Williams wrote: On Mar 12, 2013, at 12:39 PM, Mark Thomas wrote: On 12/03/2013 17:38, Mark Thomas wrote: On 12/03/2013 17:27, Nick Williams wrote: I'm experimenting with using Tomcat embedded. I need Tomcat 8.0

Tomcat 8 + Tomcat Maven Plugin 2.2 + Tomcat8 Maven Plugin?

2013-03-13 Thread Nick Williams
https://repository.apache.org/content/repositories/snapshots/org/apache/tomcat/maven/ In snapshots there is only tomcat6-maven-plugin and tomcat7-maven-plugin. So, even though my Maven dependencies are on Tomcat 8.0-SNAPSHOT, any executable war I build with the plugin has Tomcat 7 classes in

Can Tomcat 8 snapshots be published to Maven?

2013-03-12 Thread Nick Williams
I'm experimenting with using Tomcat embedded. I need Tomcat 8.0, because I need Servlet 3.1 and WebSocket features. I can accomplish this manually I'm sure, but all of the tutorials out there for using Tomcat embedded (that I've found) show it using Maven, and frankly I prefer to use Maven when

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-12 Thread Nick Williams
On Mar 12, 2013, at 12:39 PM, Mark Thomas wrote: On 12/03/2013 17:38, Mark Thomas wrote: On 12/03/2013 17:27, Nick Williams wrote: I'm experimenting with using Tomcat embedded. I need Tomcat 8.0, because I need Servlet 3.1 and WebSocket features. I can accomplish this manually I'm sure

Embedded Tomcat JavaDoc Not Complete

2013-03-12 Thread Nick Williams
The JavaDoc for o.a.c.startup.Tomcat [1] is not complete. Importantly, it is lacking complete information about all three addWebapp classes. Ultimately, I want to create one giant JAR file with my classes, Tomcat classes, servlet classes, etc., with a com.mycompany.Bootstrap specified as the

Re: Embedded Tomcat JavaDoc Not Complete

2013-03-12 Thread Nick Williams
On Mar 12, 2013, at 10:47 PM, Nick Williams wrote: The JavaDoc for o.a.c.startup.Tomcat [1] is not complete. Importantly, it is lacking complete information about all three addWebapp classes. Ultimately, I want to create one giant JAR file with my classes, Tomcat classes, servlet classes

Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
I'm trying to create what I thought was a very simple WebSocket example, but boy have I had difficulties… I started by basically coping the EchoAnnotation example from the Tomcat examples. However, it was like my endpoint was never getting instantiated. (Is this temporary? Will Tomcat 8

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
have this feature yet. N On Mar 11, 2013, at 4:59 PM, Nick Williams wrote: I'm trying to create what I thought was a very simple WebSocket example, but boy have I had difficulties… I started by basically coping the EchoAnnotation example from the Tomcat examples. However, it was like my

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
On Mar 11, 2013, at 5:50 PM, Mark Thomas wrote: On 11/03/2013 22:38, Nick Williams wrote: However, I do still have the original question: Will I always need to use a listener to add my endpoints programmatically like I did below? Or will Tomcat eventually scan for endpoints? The examples

Re: Multiple JSESSIONID

2013-03-01 Thread Nick Williams
happen ? or is it created a new session with a new identifier ? Thanks and regards 2013/2/28 Caldarale, Charles R chuck.caldar...@unisys.com: From: Nick Williams [mailto:nicho...@nicholaswilliams.net] Subject: Re: Multiple JSESSIONID That's interesting. I would recommend a servlet filter

Re: Multiple JSESSIONID

2013-03-01 Thread Nick Williams
APOLOGIES FOR TOP POSTING! (see below, were I correctly inline post this apology) On Mar 1, 2013, at 1:58 PM, Nick Williams wrote: Browsers send all of the cookies because that's the compliant thing to do. RFC-2109 [1] says: If multiple cookies satisfy the criteria above, they are ordered

Re: Tomcat 7 doesn't start on Windows

2013-02-28 Thread Nick Williams
On Feb 28, 2013, at 3:46 AM, Stadelmann Josef wrote: Where does CATALINA_HOME point to? Josef Rune reported yesterday that he solved the problem by resetting the registry values. There was some strange garbage in one of the registry values. I'd love to know how it got there, but we probably

Re: Tomcat 7 doesn't start on Windows

2013-02-28 Thread Nick Williams
On Feb 28, 2013, at 9:40 AM, Mark Thomas wrote: On 28/02/2013 07:38, Nick Williams wrote: On Feb 28, 2013, at 3:46 AM, Stadelmann Josef wrote: Where does CATALINA_HOME point to? Josef Rune reported yesterday that he solved the problem by resetting the registry values. There was some

Re: Multiple JSESSIONID

2013-02-28 Thread Nick Williams
On Feb 28, 2013, at 10:50 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 2/28/13 2:43 AM, Jose María Zaragoza wrote: I've seen in my web browser that it has got 2 JSESSIONID for the same domain at the same time JSESSIONID: x

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Nick Williams
On Feb 27, 2013, at 7:36 AM, Rune Stilling wrote: Hi André Thanks for an excellent summary. There's one thing that I haven't been precise enough about I can see. I CANNOT run Tomcat via the RS-parameter: Tomcat7.exe //RS/Tomcat7 If I try the log produces the following:

Re: tomcat 7.0.22 - allowTrace=false not working

2013-02-22 Thread Nick Williams
On Feb 22, 2013, at 7:49 AM, Konstantin Kolinko wrote: 2013/2/18 Sachin sac...@nitman.co.in: I'm testing it with w3af(http://w3af.sourceforge.net) since that's what our security certifying vendor tests application against. And it logs - The URL http://localhost:8080/app/; has the

Re: tomcat 7.0.22 - allowTrace=false not working

2013-02-18 Thread Nick Williams
On Feb 18, 2013, at 12:55 PM, Mark Thomas wrote: On 18/02/2013 18:19, Sachin wrote: I'm testing it with w3af(http://w3af.sourceforge.net) since that's what our security certifying vendor tests application against. And it logs - The URL http://localhost:8080/app/; has the following allowed

Re: tomcat 7.0.22 - allowTrace=false not working

2013-02-18 Thread Nick Williams
On Feb 18, 2013, at 1:11 PM, Mark Thomas wrote: On 18/02/2013 19:03, Nick Williams wrote: On Feb 18, 2013, at 12:55 PM, Mark Thomas wrote: On 18/02/2013 18:19, Sachin wrote: I'm testing it with w3af(http://w3af.sourceforge.net) since that's what our security certifying vendor tests

OT: New Email Address

2013-02-13 Thread Nick Williams
FYI, since some of you may be used to seeing emails from me come from nicholas dot williams at ul dot com: I have used my work email addresses for the Tomcat list for some time, but I have switched now to my personal email address for a variety of reasons: 1) I'm tired of the privileged or

RE: Ant Tasks Question

2012-04-03 Thread Nick Williams
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 03, 2012 9:03 AM To: Tomcat Users List Subject: Re: Ant Tasks Question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 4/2/12 5:43 PM, Nick Williams wrote: As for the ant-i

RE: Ant Tasks Question

2012-04-02 Thread Nick Williams
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, April 02, 2012 3:31 PM To: Tomcat Users List Subject: Re: Ant Tasks Question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/29/12 10:07 PM, Nick Williams wrote: This works great

RE: Ant Tasks Question

2012-04-02 Thread Nick Williams
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, April 02, 2012 4:24 PM To: Tomcat Users List Subject: Re: Ant Tasks Question 2012/4/3 Christopher Schultz ch...@christopherschultz.net: On 3/29/12 10:07 PM, Nick Williams wrote: This works great

Ant Tasks Question

2012-03-29 Thread Nick Williams
We use both Tomcat 6 and 7 ant tasks in our build scripts. I don’t want to declare every single task by hand (I can’t just use taskdef with catalina.tasks, because Tomcat 6 and 7 tasks declare task names that conflict with each other), so I use namespaces: project name=teamcity

RE: Tomcat, JSP and LDAP

2012-03-15 Thread Nick Williams
in less than a day. N -- Nick Williams | Senior Software Developer UL PureSafety Health Safety Software Solutions Toll Free: 888.202.3016 x 177 | Direct: 615.277.3177 | Fax: 615.367.3887 730 Cool Springs Blvd, Suite 400 | Franklin, TN 37067 | www.puresafety.com | www.ul.com UL

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
12, 2012 9:48 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/12/12 4:43 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Tuesday, March 13, 2012 1:46 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? On 1:59 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 1:21 PM, Nick Williams wrote: Hmm... do you have complete control over the version of Tomcat that your clients use? Unfortunately, we do not have complete control over this. This doesn't look good for you :( The JSP compiler

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
, 2012 2:42 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 2:29 PM, Nick Williams wrote: It seems reasonable that Jasper could be separated from the core of Tomcat. We may consider attempting

Precompile JSPs, avoid thousands of servlets?

2012-03-12 Thread Nick Williams
We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application with precompiled JSP files. The Ant tasks from Tomcat to support this effort have been extremely helpful, and I have

RE: SEVERE: The web application created a ThreadLocal (but I removed it)

2012-02-27 Thread Nick Williams
ThreadLocals during this reengineering phase. Thanks for responding! Nick -- *Nick Williams |* Senior Software Developer *UL PureSafety* Health Safety Software Solutions Toll Free: 888.202.3016 x 177 | Direct: 615.277.3177 | Fax: 615.367.3887 730 Cool Springs Blvd, Suite 400 | Franklin

SEVERE: The web application created a ThreadLocal (but I removed it)

2012-02-22 Thread Nick Williams
-- *Nick Williams |* Senior Software Developer *UL PureSafety* Health Safety Software Solutions Toll Free: 888.202.3016 x 177 | Direct: 615.277.3177 | Fax: 615.367.3887 730 Cool Springs Blvd, Suite 400 | Franklin, TN 37067 | www.puresafety.com | www.ul.com

RE: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread Nick Williams
Does anyone have any feeback? Do I need to report a bug? Nick *From:* Nick Williams [mailto:nicholas.willi...@puresafety.com] *Sent:* Friday, May 20, 2011 6:19 PM *To:* 'Tomcat Users List' *Subject:* JK Connector failure after IIS recycle - version 1.2.30 Environment: Windows Server 2008

RE: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread Nick Williams
and/or Apache? N -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, May 25, 2011 3:49 PM To: Tomcat Users List Subject: Re: JK Connector failure after IIS recycle - version 1.2.30 Nick Williams wrote: Does anyone have any feeback? Do I need to report a bug? My own

  1   2   >