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

META-INF/Context.xml path question

2014-01-13 Thread Bob DeRemer
ard webapp path. We have reviewed the docs and the only approach that has worked for us is adding a separate Context element to the /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: >

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

2013-12-13 Thread Bob DeRemer
| 11,731 12 % | 46 | | | | | | | | | | | | | | | +---java.util.concurrent.LinkedBlockingQueue.offer(Object) | 11,668 12 % | 15 | Bob DeRemer Senior Director, Architecture and Development [Description: Description: Description: Desc

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

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] whic

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

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

2013-11-07 Thread Bob DeRemer
eeing websocket connects fail due to TimeoutExceptions and EOFExceptions. ORIGINAL SETTINGS After looking at the Tomcat Connector documentation closer, along with what Glassfish recommends when deploying in production, we modified the settings to the values shown below: WORKING SETTINGS Bob

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) "ne

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: NOTES about our ELB configuration: *

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

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 DeRem

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 e

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 interva

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 th

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

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 tha

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 DeR

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

2013-11-01 Thread Bob DeRemer
can't quite determine what's at the root of it. Thx, Bob > - -chris > > On 11/1/13, 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. > > Hop

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 te

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 th

are there any websocket-specific tomcat 7 connector settings?

2013-10-24 Thread Bob DeRemer
ng all 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.pn

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
;.get() returns? > > On 22/10/2013 00:28, Bob DeRemer wrote: > > I'm trying to understand how Tomcat's outbound message processing > > works with respect to making multiple (concurrent) calls against a > > single RemoteEndpoint.Async using sendText/sendObject. B

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? > > O

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

2013-10-21 Thread Bob DeRemer
ll not be sent because 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.com<http://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 PojoMessageHandlerWholeBase.onMessage

2013-10-20 Thread Bob DeRemer
endpointConfig, > decoderMatch.getTextDecoders(), new Object[1], > 0, false, -1, -1), > MessageHandlerResultType.TEXT); > results.add(result); > } > >

RE: possible tomcat 7.0.47 jsr-356 bug: NULL pointer being thrown when DecodeException is caught in PojoMessageHandlerWholeBase.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 in

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

2013-10-19 Thread Bob DeRemer
ion 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.com&l

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

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- &g

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

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 addi

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

2013-09-10 Thread Bob DeRemer
or.modifyHandshake? > > -BEGIN 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

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 To

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.Configurat

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: 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? >

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

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

2013-09-09 Thread Bob DeRemer
s to the calling request and associated HTTP headers? If not, then I'm not sure how to perform a pre-connected AUTH check based on the current implementation. if there are any other suggestions, please LMK; meanwhile, I'll keep digging to see if there's another solution.

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

2013-09-09 Thread Bob DeRemer
yHandshake 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.com<http://www.thi

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

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

2013-09-06 Thread Bob DeRemer
> On 06/09/2013 13:28, Daniel Mikusa wrote: > > On Sep 5, 2013, at 3:30 PM, Bob DeRemer > 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 ser

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

2013-09-05 Thread Bob DeRemer
pache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) 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

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

2013-09-05 Thread Bob DeRemer
BEGIN PGP SIGNED MESSAGE- > Hash: 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:

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: > &

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

2013-09-05 Thread Bob DeRemer
AM, Niki Dokovski wrote: > > > > > > > > > On Thu, Sep 5, 2013 at 12:44 AM, Bob DeRemer > wrote: > > > >> > >> > >> > -Original Message- > >> > From: André Warnier [mailto:a...@ice-sa.com] > >> > Sent:

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

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 de

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

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

2013-09-04 Thread Bob DeRemer
ether we can do 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 pos

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
settings? > > On 03/09/2013 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 > "

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
ttings? > > On 23/08/2013 13: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 po

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
ttings? > > On 22/08/2013 19: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

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

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

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, Bo

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

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

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

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, B

Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames

2013-08-16 Thread Bob DeRemer
frames are successfully 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: c

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, > &

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

2013-08-08 Thread Bob DeRemer
SHA256 > > Bob, > > On 8/7/13 1:40 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: > >&g

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-user&m=137580047908854&w=2 We've discussed this internally and believe we need to look at switching to the JSR-based server-side implementation. How we approach thi

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

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 w

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 DeR

Is the current Tomcat 7 servlet websocket implementation being deprecated?

2013-08-05 Thread Bob DeRemer
red, what OS 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.com<http://www.thi

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

2013-08-05 Thread Bob DeRemer
multi-threaded 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, Architec

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

2012-10-24 Thread Bob DeRemer
e don't have 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

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

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

2012-01-10 Thread Bob DeRemer
AbstractProtocol.java:523) 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

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

2011-10-26 Thread Bob DeRemer
2011/10/25 Bob DeRemer : > 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: Tues

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

2011-10-25 Thread Bob DeRemer
()); } Ronald. Op dinsdag, 25 oktober 2011 13:33 schreef 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 k

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: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-21 Thread Bob DeRemer
ark Thomas [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 product

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

2011-10-21 Thread Bob DeRemer
nt: Friday, 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 in

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

2011-10-20 Thread Bob DeRemer
caldar...@unisys.com] Sent: Thursday, October 20, 2011 6: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

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

2011-10-20 Thread Bob DeRemer
after 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

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

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

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

2011-08-02 Thread Bob DeRemer
August 02, 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. &

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

2011-08-01 Thread Bob DeRemer
using 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 deploymen

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

2011-08-01 Thread Bob DeRemer
Sent: Monday, August 01, 2011 3:44 PM To: Tomcat Users 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 >

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

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

2011-08-01 Thread Bob DeRemer
probably work, too. 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 Sen

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'

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

2011-06-30 Thread Bob DeRemer
y, June 30, 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/extensi

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

2011-06-30 Thread Bob DeRemer
on startup 2011/7/1 Christopher Schultz : > > On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: >> 2011/6/30 Bob DeRemer : >>>           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> >> >> The above should be an absolute path. >> >> You can

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

2011-06-30 Thread Bob DeRemer
ither in META-INF/context.xml or programmatically on startup 2011/6/30 Bob DeRemer : > 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 ?

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

2011-06-30 Thread Bob DeRemer
uld pickup 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 [

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

2011-06-30 Thread Bob DeRemer
ml or programmatically on startup 2011/6/30 Bob DeRemer : >           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> The above should be an absolute path. You can use system variables, e.g. ${catalina.base}/webapps/mywebapp/WEB-INF

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 this,

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

2011-06-30 Thread Bob DeRemer
software project is done in 90% of the time; 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 de

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

2011-06-30 Thread Bob DeRemer
ssage- From: 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

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 over

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 3:02

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

2011-06-29 Thread Bob DeRemer
ring -BEGIN PGP SIGNED MESSAGE- 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 stil

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

2011-06-29 Thread Bob DeRemer
this: * doing some 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://ww