RE: META-INF/Context.xml path question

2014-01-14 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, January 13, 2014 3:16 PM To: Tomcat Users List Subject: Re: META-INF/Context.xml path question On 13/01/2014 17:38, Bob DeRemer wrote: We're trying to determine if it's possible to build a WAR

META-INF/Context.xml path question

2014-01-13 Thread Bob DeRemer
path. We have reviewed the docs and the only approach that has worked for us is adding a separate Context element to the Tomcat/conf/Server.xml file. Thanks, _ ThingWorx, a PTC owned company Bob DeRemer, Sr. Director Architecture

RE: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-14 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Saturday, December 14, 2013 9:06 AM To: Tomcat Users List Subject: Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49? On 13/12/2013 13:12, Bob DeRemer wrote: We have been profiling

high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread Bob DeRemer
| | | | | | | | | | | | | | | +---java.util.concurrent.LinkedBlockingQueue.offer(Object) | 11,668 12 % | 15 | Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE

RE: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-12-09 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, November 27, 2013 12:59 PM To: Tomcat Users List Subject: Re: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk) On 27/11/2013 17:28, Bob DeRemer wrote

seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-11-27 Thread Bob DeRemer
When testing our WebSocket application under heavy load we eventually get the following exception from the JSR-356 ServerEndpoint's RemoteEndpoint.Basic when trying to write our binary response message: java.lang.IllegalStateException: The remote endpoint was in state [BINARY_FULL_WRITING]

(working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Bob DeRemer
=org.apache.coyote.http11.Http11NioProtocol acceptorThreadCount=8 maxKeepAliveRequests=-1 connectionTimeout=-1 maxConnections=-1 maxThreads=2 redirectPort=443 / Bob DeRemer Senior

RE: (working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, November 07, 2013 1:52 PM To: Tomcat Users List Subject: Re: (working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance On 07/11/2013 18:20, Bob DeRemer wrote

Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Bob DeRemer
As part of loading testing our JSR-356 websocket implementation (running in Tomcat 7.0.48), we've created a subset of Tomcat jars to use as our client jsr-356 jars. Q1: are there any plans to create a client jsr-356 jar - similar to the Tyrus RI? Secondly, during this load testing, we have

RE: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, November 06, 2013 12:46 PM To: Tomcat Users List Subject: Re: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable? On 06/11/2013 17:07, Bob DeRemer wrote: As part of loading

RE: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, November 06, 2013 1:06 PM To: Tomcat Users List Subject: Re: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable? On 06/11/2013 18:01, Bob DeRemer wrote: -Original Message

Tomcat 7.0.48 JSR-356 Server (appears ??) to be closing websockets under heavy load with REASON (1006) network name is no longer available

2013-11-06 Thread Bob DeRemer
BACKGROUND: We've been load testing our websocket implementation running behind EC2 ELB. The ELB is using 4 LARGE EC2 instances we have running Tomcat with our websocket implementation. We have each Tomcat configured with the following settings: Connector port=80

RE: Tomcat 7.0.48 JSR-356 Server (appears ??) to be closing websockets under heavy load with REASON (1006) network name is no longer available

2013-11-06 Thread Bob DeRemer
-Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Wednesday, November 06, 2013 1:41 PM To: Tomcat Users List Subject: Tomcat 7.0.48 JSR-356 Server (appears ??) to be closing websockets under heavy load with REASON (1006) network name is no longer

RE: weird behavior using Tomcat 7 JSR-356 client implementation in standalone multi-threaded test client

2013-11-03 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Sunday, November 03, 2013 11:24 AM To: Tomcat Users List Subject: Re: weird behavior using Tomcat 7 JSR-356 client implementation in standalone multi-threaded test client On 03/11/2013 02:29, Bob DeRemer wrote

Can Tomcat 7 jsr-356 plumbing be configured to automatically send websocket ping/pong on a specified interval?

2013-11-03 Thread Bob DeRemer
During our testing of large scale websocket connections going through Amazon ELB, we've found that ELB will timeout idle TCP connections after 60 seconds. Our testing scenarios is one where we want to ramp up 10(s) of 1000s of websocket connections - then, after they are all connected, start

RE: Can Tomcat 7 jsr-356 plumbing be configured to automatically send websocket ping/pong on a specified interval?

2013-11-03 Thread Bob DeRemer
-Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Sunday, November 03, 2013 8:31 PM To: Tomcat Users List Subject: Can Tomcat 7 jsr-356 plumbing be configured to automatically send websocket ping/pong on a specified interval? During our testing

weird behavior using Tomcat 7 JSR-356 client implementation in standalone multi-threaded test client

2013-11-02 Thread Bob DeRemer
BACKGROUND: We've created a test client that spins up multiple websocket clients - each in their own thread. While using their own thread isn't very resource efficient, that's ok. We want each client's send/receive to be isolated from each other. Our client logic is using a JSR356 client

attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO

2013-11-01 Thread Bob DeRemer
QUESTION: I'm looking for some advice on what Tomcat NIO connector settings to use to support 100K concurrent websocket connections. Hopefully I can reach this goal through a combination of Tomcat NIO Connector settings, and Server 2008 R2 configuration [if needed]. BACKGROUND: We're scale

RE: attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO

2013-11-01 Thread Bob DeRemer
, 6:00 PM, Bob DeRemer wrote: QUESTION: I'm looking for some advice on what Tomcat NIO connector settings to use to support 100K concurrent websocket connections. Hopefully I can reach this goal through a combination of Tomcat NIO Connector settings, and Server 2008 R2 configuration

RE: attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO

2013-11-01 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, November 01, 2013 7:16 PM To: Tomcat Users List Subject: Re: attempting to achieve 100K concurrent websocket connections on Tomcat 7.0.48 NIO On 01/11/2013 22:00, Bob DeRemer wrote: QUESTION: I'm

Possible serious bug in Tomcat 7's websocket UpgradeUtil when handling concurrent connections that use a custom ServerEndpointConfig.Configurator

2013-10-27 Thread Bob DeRemer
It appears that there is a problem in Tomcat's static UpgradeUtil.doUpgrade logic when handling concurrent connection/upgrade requests that rely on a custom ServerEndpointConfig.Configurator.modifyHandshake to grab [per-upgrade-request] client header values and inject them into the wsSession

are there any websocket-specific tomcat 7 connector settings?

2013-10-24 Thread Bob DeRemer
the socket.* options still apply if needed. We are currently testing with the latest trunk build of 7.0 (48-dev) using the NIO connector only - no APR. Thanks, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE

RE: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-22 Thread Bob DeRemer
-Original Message- From: Niki Dokovski [mailto:nick...@gmail.com] Sent: Tuesday, October 22, 2013 1:11 AM To: Tomcat Users List Subject: Re: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns? On Tue,

is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-21 Thread Bob DeRemer
the WebSocket session is currently sending another message) Is my understanding correct, or am I missing something? Thanks in advance for any clarification. Thanks, Bob DeRemer http://www.thingworx.comhttp://www.thingworx.com/ Skype: bob.deremer.thingworx

RE: possible tomcat 7.0.47 jsr-356 bug: NULL pointer being thrown when DecodeException is caught in PojoMessageHandlerWholeBaseT.onMessage

2013-10-20 Thread Bob DeRemer
to do something else to get this internal session initialize - in addition to calling: addMessageHandler(this) in the onOpen of my Endpoint-derived class? Thanks, Bob DeRemer Senior Director, Architecture and Development http://www.thingworx.com Skype: bob.deremer.thingworx O

possible tomcat 7.0.47 jsr-356 bug: NULL pointer being thrown when DecodeException is caught in PojoMessageHandlerWholeBaseT.onMessage

2013-10-19 Thread Bob DeRemer
initialize - in addition to calling: addMessageHandler(this) in the onOpen of my Endpoint-derived class? Thanks, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE.51A12030] http://www.thingworx.comhttp

RE: possible tomcat 7.0.47 jsr-356 bug: NULL pointer being thrown when DecodeException is caught in PojoMessageHandlerWholeBaseT.onMessage

2013-10-19 Thread Bob DeRemer
I have re-posted to DEV so please disregard From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Saturday, October 19, 2013 8:46 AM To: Tomcat Users List Subject: possible tomcat 7.0.47 jsr-356 bug: NULL pointer being thrown when DecodeException is caught

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

2013-09-20 Thread Bob DeRemer
-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 Message- From: Mark Thomas [mailto:ma...@apache.org

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

2013-09-20 Thread Bob DeRemer
From: Nick Williams [mailto:nicho...@nicholaswilliams.net] Sent: Friday, September 20, 2013 10:48 AM To: Tomcat Users List Subject: Re: any update on an anticipated release date for 7.0.43? On Sep 20, 2013, at 9:18 AM, Bob DeRemer wrote: -Original Message- From: Bob DeRemer

any update on an anticipated release date for 7.0.43?

2013-09-17 Thread Bob DeRemer
Has a decision (even tentative) been made on when 7.0.43 GA (w/ jsr 356) will release? Just curious if this will be before the end of September. Thanks, Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

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

2013-09-17 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, September 17, 2013 11:49 AM To: Tomcat Users List Subject: Re: any update on an anticipated release date for 7.0.43? On 17/09/2013 15:53, Bob DeRemer wrote: Has a decision (even tentative) been made

RE: solution - RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake?

2013-09-10 Thread Bob DeRemer
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, September 10, 2013 6:12 AM To: Tomcat Users List Subject: Re: solution - RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake? Bob DeRemer wrote

can a Filter be used to pre-process calls to a websocket endpoint?

2013-09-10 Thread Bob DeRemer
Is it possible to programmatically add a Servlet Filter to Tomcat during the ContextInitialized call so that it filters requests going to a websocket endpoint? Thanks, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001

RE: solution - RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake?

2013-09-10 Thread Bob DeRemer
-Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Tuesday, September 10, 2013 8:56 AM To: Tomcat Users List Subject: RE: solution - RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake? -Original

RE: can a Filter be used to pre-process calls to a websocket endpoint?

2013-09-10 Thread Bob DeRemer
From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Tuesday, September 10, 2013 10:08 AM To: Tomcat Users List Subject: can a Filter be used to pre-process calls to a websocket endpoint? Is it possible to programmatically add a Servlet Filter to Tomcat during

RE: solution - RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake?

2013-09-10 Thread Bob DeRemer
PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 9/10/13 10:35 AM, Bob DeRemer wrote: It appears I can call addFilter dynamically when my webapp starts up and front-end the websocket endpoint with a Filter - processing the initial HTTP request completely before any websocket communication

how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake?

2013-09-09 Thread Bob DeRemer
override gets called. If I'm missing anything, please let me know. Thanks, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE.51A12030] http://www.thingworx.comhttp://www.thingworx.com/ Skype: bob.deremer.thingworx

RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake?

2013-09-09 Thread Bob DeRemer
-Original Message- From: Niki Dokovski [mailto:nick...@gmail.com] Sent: Monday, September 09, 2013 1:11 PM To: Tomcat Users List Subject: Re: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake? On Mon, Sep 9, 2013 at 5:26 PM, Bob DeRemer

solution - RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake?

2013-09-09 Thread Bob DeRemer
-Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Monday, September 09, 2013 1:30 PM To: Tomcat Users List Subject: RE: how to access HTTP response from jsr-356 ServerEndpointConfig.Configurator.modifyHandshake? -Original Message- From

RE: (7.0.40) Seeing deadlock followed by maxThread usage using a Async Servlet AsyncContext.dispatch with BIO

2013-09-06 Thread Bob DeRemer
Mikusa wrote: On Sep 5, 2013, at 3:30 PM, Bob DeRemer bob.dere...@thingworx.com wrote: I'm trying to determine if there are any known issues using an Async servlet with the default BIO connector in Tomcat 7.0.40 on windows server 2008. PROBLEM: We have a situation where we're

RE: (7.0.40) Seeing deadlock followed by maxThread usage using a Async Servlet AsyncContext.dispatch with BIO

2013-09-06 Thread Bob DeRemer
-Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Friday, September 06, 2013 9:45 AM To: Tomcat Users List Subject: RE: (7.0.40) Seeing deadlock followed by maxThread usage using a Async Servlet AsyncContext.dispatch with BIO -Original

RE: Does JSR-356 provide a way for a client to pass security info on connect?

2013-09-05 Thread Bob DeRemer
...@gmail.com wrote: On Thu, Sep 5, 2013 at 12:44 AM, Bob DeRemer bob.dere...@thingworx.comwrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, September 04, 2013 3:59 PM To: Tomcat Users List Subject: Re: Does JSR-356 provide a way

RE: Does JSR-356 provide a way for a client to pass security info on connect?

2013-09-05 Thread Bob DeRemer
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, September 05, 2013 10:04 AM To: Tomcat Users List Subject: Re: Does JSR-356 provide a way for a client to pass security info on connect? Bob DeRemer wrote: -Original Message- From: Niki

RE: Does JSR-356 provide a way for a client to pass security info on connect?

2013-09-05 Thread Bob DeRemer
: SHA256 Bob, On 9/5/13 12:32 PM, Bob DeRemer wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, September 05, 2013 10:04 AM To: Tomcat Users List Subject: Re: Does JSR-356 provide a way for a client to pass security info on connect? And when

(7.0.40) Seeing deadlock followed by maxThread usage using a Async Servlet AsyncContext.dispatch with BIO

2013-09-05 Thread Bob DeRemer
) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description

Does JSR-356 provide a way for a client to pass security info on connect?

2013-09-04 Thread Bob DeRemer
an auth check in the ServerEndpoint onOpen (or, possibly at an earlier stage) - before the actual websocket gets established. I know we can do this at the application level in the onMessage, but it'd be good to handle this before setting up the actual websocket if possible. Thanks, Bob

is there a GA timeframe for 7.0 w/ jsr-356?

2013-09-04 Thread Bob DeRemer
With the 7.0 dev branch supporting jsr-356 for a couple weeks, I wanted to see if there is a timeframe yet for a 7.0 GA release w/ jsr-356 support? Thanks, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE

RE: is there a GA timeframe for 7.0 w/ jsr-356?

2013-09-04 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, September 04, 2013 5:30 PM To: Tomcat Users List Subject: Re: is there a GA timeframe for 7.0 w/ jsr-356? On 04/09/2013 22:26, Bob DeRemer wrote: With the 7.0 dev branch supporting jsr-356

RE: Does JSR-356 provide a way for a client to pass security info on connect?

2013-09-04 Thread Bob DeRemer
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, September 04, 2013 3:59 PM To: Tomcat Users List Subject: Re: Does JSR-356 provide a way for a client to pass security info on connect? Bob DeRemer wrote: I'm curious if there's anything defined

RE: is it possible to dynamically add servlets and websocket endpoints during startup based on our own configuration settings?

2013-09-03 Thread Bob DeRemer
:28, Bob DeRemer wrote: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, August 23, 2013 8:14 AM To: Tomcat Users List Subject: Re: is it possible to dynamically add servlets and websocket endpoints during startup based on our own configuration

RE: is it possible to dynamically add servlets and websocket endpoints during startup based on our own configuration settings?

2013-09-03 Thread Bob DeRemer
21:35, Bob DeRemer wrote: Just getting around to trying this - maybe a stupid question, but how do I get access to the WsServerContainer instance? From the ServletContext. You want the attribute called javax.websocket.server.ServerContainer Thanks, I got the ServerContainer and can now

RE: is it possible to dynamically add servlets and websocket endpoints during startup based on our own configuration settings?

2013-08-23 Thread Bob DeRemer
:32, Bob DeRemer wrote: I'm in the process of developing a configurable server application which must handle various protocols, but the respective endpoints must be configurable. Specifically, I would like to programmatically add both HTTP servlet(s) as well as WebSocket Servlets/Endpoints

RE: standalone use of Tomcat 8 websocket-api.jar getWebSocketContainer returning null

2013-08-22 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, August 22, 2013 1:37 PM To: Tomcat Users List Subject: Re: standalone use of Tomcat 8 websocket-api.jar getWebSocketContainer returning null On 22/08/2013 17:39, Bob DeRemer wrote: I'm trying to use

is it possible to dynamically add servlets and websocket endpoints during startup based on our own configuration settings?

2013-08-22 Thread Bob DeRemer
, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE.51A12030] http://www.thingworx.comhttp://www.thingworx.com/ Skype: bob.deremer.thingworx O: 610.594.6200 x812 M: 717.881.3986

Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames

2013-08-16 Thread Bob DeRemer
sent, Tomcat just closes the websocket connection. I the response fits in a single frame, it's fine. Where can I look to try and troubleshoot this? Thanks, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE

RE: Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames

2013-08-16 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, August 16, 2013 1:40 PM To: Tomcat Users List Subject: Re: Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames On 16/08/2013 18:08, Bob DeRemer wrote: Hi Tomcat

RE: Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames

2013-08-16 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, August 16, 2013 3:18 PM To: Tomcat Users List Subject: Re: Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames On 16/08/2013 20:01, Bob DeRemer wrote

RE: Any concrete timeline for JSR-356 in Tomcat 7?

2013-08-08 Thread Bob DeRemer
PM, Mark Thomas wrote: On 07/08/2013 18:59, Bob DeRemer wrote: Hi Mark, This is a follow-up to my previous question about the tomcat 7 servlet websocket deprecation: http://marc.info/?l=tomcat-userm=137580047908854w=2 We've discussed this internally and believe we need to look

RE: Any concrete timeline for JSR-356 in Tomcat 7?

2013-08-08 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, August 07, 2013 1:40 PM To: Tomcat Users List Subject: Re: Any concrete timeline for JSR-356 in Tomcat 7? On 07/08/2013 18:59, Bob DeRemer wrote: Hi Mark, This is a follow-up to my previous

Any concrete timeline for JSR-356 in Tomcat 7?

2013-08-07 Thread Bob DeRemer
Hi Mark, This is a follow-up to my previous question about the tomcat 7 servlet websocket deprecation: http://marc.info/?l=tomcat-userm=137580047908854w=2 We've discussed this internally and believe we need to look at switching to the JSR-based server-side implementation. How we approach this

RE: any known problems using Tomcat 7.0.42 apr/native (windows) with websockets?

2013-08-06 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, August 06, 2013 3:56 AM To: Tomcat Users List Subject: Re: any known problems using Tomcat 7.0.42 apr/native (windows) with websockets? On 06/08/2013 03:45, Bob DeRemer wrote: QUESTION Is anyone

RE: Is the current Tomcat 7 servlet websocket implementation being deprecated?

2013-08-06 Thread Bob DeRemer
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, August 06, 2013 3:59 AM To: Tomcat Users List Subject: Re: Is the current Tomcat 7 servlet websocket implementation being deprecated? On 06/08/2013 03:54, Bob DeRemer wrote: I've seen some mention

RE: Is the current Tomcat 7 servlet websocket implementation being deprecated?

2013-08-06 Thread Bob DeRemer
-Original Message- From: Niki Dokovski [mailto:nick...@gmail.com] Sent: Tuesday, August 06, 2013 9:12 AM To: Tomcat Users List Subject: Re: Is the current Tomcat 7 servlet websocket implementation being deprecated? On Tue, Aug 6, 2013 at 3:22 PM, Bob DeRemer bob.dere

any known problems using Tomcat 7.0.42 apr/native (windows) with websockets?

2013-08-05 Thread Bob DeRemer
client app, Tomcat connector configuration, use of Tomcat websockets on Windows or something else. If anyone has any suggestions, I would greatly appreciate it. If you need additional information, please don't hesitate to ask. Thanks, Bob DeRemer Senior Director, Architecture and Development

Is the current Tomcat 7 servlet websocket implementation being deprecated?

2013-08-05 Thread Bob DeRemer
it was running on, and what client library you used in testing this? Thanks in advance, Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Description: cid:image001.png@01CBE3DE.51A12030] http://www.thingworx.comhttp://www.thingworx.com/ Skype

Any known issues using Tomcat for container/app management, but netty for communication

2012-10-24 Thread Bob DeRemer
to worry about sharing a tomcat installation with other applications. Thanks in advance for any comments/suggestions. Bob DeRemer Senior Director, Architecture and Development http://www.thingworx.com - To unsubscribe, e-mail

RE: periodic (60 sec) problem from Vysper bosh servlet embedded in Tomcat 7.0.23

2012-01-12 Thread Bob DeRemer
, Bob DeRemer wrote: Tomcat Community, I'm not sure if this should be posted here or on the Mina/Vysper list, but since the problem seems to be around Jetty Servlet3 continuation functionality within the context of Tomcat, I thought I'd post here first. Which version of Tomcat, exactly

periodic (60 sec) problem from Vysper bosh servlet embedded in Tomcat 7.0.23

2012-01-10 Thread Bob DeRemer
) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1817) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Bob DeRemer

RE: HOW TO detect what app server you're running in

2011-10-26 Thread Bob DeRemer
/10/25 Bob DeRemer bob.dere...@thingworx.com: Yeah, that should do it - should have remembered that - I'm already using this - purely for diagnostic info. Thanks, guys! -Original Message- From: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl] Sent: Tuesday, October 25

HOW TO detect what app server you're running in

2011-10-25 Thread Bob DeRemer
I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do this, ideally with some sample java code, that'd be great. Thanks, Bob

RE: HOW TO detect what app server you're running in

2011-10-25 Thread Bob DeRemer
. Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRemer bob.dere...@thingworx.com: I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-21 Thread Bob DeRemer
, October 21, 2011 2:46 AM To: Tomcat Users List Subject: Re: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp On 21/10/2011 03:00, Bob DeRemer wrote: While I can appreciate the desire to never use Windows, that isn't reality in many of the industries that use our

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-21 Thread Bob DeRemer
[mailto:ma...@apache.org] Sent: Friday, October 21, 2011 7:42 AM To: Tomcat Users List Subject: Re: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp On 21/10/2011 12:22, Bob DeRemer wrote: Hi Mark, With regard to using Tomcat in production, that was meant

JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Bob DeRemer
(addURL, parameters); method.setAccessible(true); method.invoke(webappClassLoader, new Object[]{ jarUrl }); } catch (Throwable t) { throw new IOException(Error, could not add URL to system classloader); } } Bob DeRemer Senior

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Bob DeRemer
using addUrl to dynamically add JAR to running webapp On 20/10/2011 18:18, Bob DeRemer wrote: Hi Tomcat Community: BACKGROUND: I have a Servlet-based WEBAPP that is running in Tomcat7, JDK 1.6.0_27 on Windows Server 2008 R2 64-bit - all 64-bit. We make use of class.newInstance quite

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Bob DeRemer
:07 PM To: Tomcat Users List Subject: RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Subject: RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp I am not using a local

RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-02 Thread Bob DeRemer
, 2011 3:52 AM To: Tomcat Users List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 02/08/2011 02:11, Bob DeRemer wrote: Hi Mark, Actually, in the logs it does tell me that ExpandWar deleteDir failed. This is because my

HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-01 Thread Bob DeRemer
. The only other options I can think of would be installing these dynamic extensions outside the webapp, but that's not ideal since some of these extensions will be HTML/CSS content and we'd like to keep it all under the webapp root. Thanks, Bob DeRemer Senior Director, Architecture

RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-01 Thread Bob DeRemer
Thanks, but I need to do this in a production environment, where we're deploying/re-deploying a WAR and there is no eclipse IDE. In addition, I am dynamically adding extensions to our webapp without having to restart our webapp, which is what republishing from Eclipse does. -bob

RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-01 Thread Bob DeRemer
List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 01/08/2011 20:32, Bob DeRemer wrote: Thanks, but I need to do this in a production environment, where we're deploying/re-deploying a WAR and there is no eclipse IDE

RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment

2011-08-01 Thread Bob DeRemer
the context attributes? Thanks, bob -Original Message- From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Sent: Monday, August 01, 2011 9:12 PM To: Tomcat Users List Subject: RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment Hi Mark

RE: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-30 Thread Bob DeRemer
: Pid [mailto:p...@pidster.com] Sent: Thursday, June 30, 2011 3:45 AM To: Tomcat Users List Subject: Re: HOW TO: create custom Tomcat 6 connector to do port sharing On 30/06/2011 02:10, Bob DeRemer wrote: Chris, Thanks for the feedback. I haven't come across squid yet, so I will take a look

RE: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-30 Thread Bob DeRemer
; the remaining 10% also. Bob DeRemer wrote: Hi Andre, Yes, XMPP typically uses port 5222, but is capable of using 80/443 as well. If we're able to share a port, it solves various IT administration issues when deployed in corporate environments. In addition, it will enable us to have

how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
We're running tomcat 6.0.32 64-bit on Windows Server 2008 R2. We have a requirement to support pluggable extensions to our webapp. We do not want the associated JAR(s) in the WEB-INF/lib directory. Instead, we want to place them in a WEB-INF/lib/extensions folder that we created. To do

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, June 30, 2011 11:27 AM To: Tomcat Users List Subject: Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup 2011/6/30 Bob DeRemer bob.dere...@thingworx.com:           virtualClasspath=/WEB-INF

UPDATE - RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
existing extensions at startup, but could also check/load the JAR(s) dynamically if it can't load them? ** if it does require a custom classloader, can someone point me to an example of how to do this? Thanks again, Bob -Original Message- From: Bob DeRemer [mailto:bob.dere

RE: UPDATE - RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
or programmatically on startup 2011/6/30 Bob DeRemer bob.dere...@thingworx.com: I was able to get this to work.  I had a hunch, so I moved the extensions folder outside the WEB-INF directory.    Any idea why these extra repositories cannot be under the WEB-INF/lib folder ? I think classes should

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
2011/7/1 Christopher Schultz ch...@christopherschultz.net: On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: 2011/6/30 Bob DeRemer bob.dere...@thingworx.com:           virtualClasspath=/WEB-INF/lib/extensions/*.jar/ The above should be an absolute path. You can use system variables, e.g

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
, 2011 10:04 PM To: Tomcat Users List Subject: Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, On 6/30/2011 9:55 PM, Bob DeRemer wrote: I've verified that the WEB-INF/extensions will work, too

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
SIGNED MESSAGE- Hash: SHA1 Bob, On 6/30/2011 10:07 PM, Bob DeRemer wrote: Thanks! I know it's all open and online, I was just hoping someone might be able to point me to some specific classes so I don't have to pour through a lot of irrelevant code. Tomcat's component for JSPs is called

HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-29 Thread Bob DeRemer
custom extension in Tomcat (i.e. custom Tomcat connector that uses Netty for example) * or, some other approach ??? please advise on how you would recommend achieving our goal. Thanks in advance, Bob Bob DeRemer Senior Director, Architecture and Development http://www.thingworx.comhttp

RE: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-29 Thread Bob DeRemer
- Hash: SHA1 Bob, On 6/29/2011 1:10 PM, Bob DeRemer wrote: I've scoured the net for information on how to do port sharing within the context of a Tomcat Servlet-based web application process. While there's some discussion, there still doesn't appear to be any solutions [YET] - that I could

RE: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-29 Thread Bob DeRemer
When installing into certain corporate environments, opening multiple ports can be a problem with IT. By leveraging 80/443 for both protocols, we can eliminate this inevitable deployment problem. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Wednesday, June 29, 2011

RE: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-29 Thread Bob DeRemer
Hi Andre, Yes, XMPP typically uses port 5222, but is capable of using 80/443 as well. If we're able to share a port, it solves various IT administration issues when deployed in corporate environments. In addition, it will enable us to have a single server process and ultimately a simpler