You need to enable this through the ALLOW_BACKSLASH property:
https://tomcat.apache.org/tomcat-8.5-doc/config/systemprops.html
On Thu, Jun 15, 2017 at 2:44 PM, Cai, Charles [COMRES/RTC/RTC] <
charles@emerson.com> wrote:
> Hi Guys,
>
> Looking for help here after search on the web for couple
Issue created https://bz.apache.org/bugzilla/show_bug.cgi?id=61185.
On Tue, Jun 13, 2017 at 6:25 PM, Mark Thomas <ma...@apache.org> wrote:
> On 13/06/17 21:30, Rossen Stoyanchev wrote:
> > hi,
> >
> > The spec says:
> >
> > "If the AsyncContext was i
hi,
The spec says:
"If the AsyncContext was initialized via the startAsync(ServletRequest,
ServletResponse) and the request passed is an instance of
HttpServletRequest , then the dispatch is to the URI returned by
HttpServletRequest.getRequestURI()"
However AsyncContextImpl seems to be using
When a browser tab is a closed a stack trace shows up (see below). I think
the stack trace means the closing didn't completely cleanly because the
client didn't wait. Hence probably nothing to worry about, yet the logs
fill up with stack traces. Is there anything that can be done to improve
On Fri, Sep 5, 2014 at 9:33 AM, Mark Thomas ma...@apache.org wrote:
On 05/09/2014 13:46, Rossen Stoyanchev wrote:
When a browser tab is a closed a stack trace shows up (see below). I
think
the stack trace means the closing didn't completely cleanly because the
client didn't wait. Hence
On Fri, Sep 5, 2014 at 10:26 AM, Mark Thomas ma...@apache.org wrote:
On 05/09/2014 15:17, Mark Thomas wrote:
On 05/09/2014 15:06, Rossen Stoyanchev wrote:
On Fri, Sep 5, 2014 at 9:33 AM, Mark Thomas ma...@apache.org wrote:
On 05/09/2014 13:46, Rossen Stoyanchev wrote:
When a browser
I gave this a quick try with the spring-websocket-portfolio sample [1] with
Tomcat 8. The output of the lsof command is just over 200 initially and
then goes up a little but not much (about 10).
From the client-side I configured the SockJS client to use the WebSocket
transport (i.e. using
On Mon, Jun 16, 2014 at 4:04 PM, Prashant Deva prashant.d...@gmail.com
wrote:
Rossen,
Did you use an external queue?
Yes I did have the sample configured to use RabbitMQ for broadcasting
messages. That's running as a separate process though so it shouldn't
change the output of lsof.
How
Spring Security provides CSRF protection as well:
http://docs.spring.io/spring-security/site/docs/3.2.2.RELEASE/reference/htmlsingle/#csrf
On Mon, Mar 24, 2014 at 3:49 PM, Akash Jain akash.delh...@gmail.com wrote:
How can I prevent CSRF protection using Tomcat 7 ?
I have heard that tomcat 7
Hi-
Any comments? I suspect an issue with the reliability of the timeout
setting on Linux since the same behaves more reliably on Windows. In any
case a 15 minute write to a socket with timeout setting of 20 seconds seems
like a bug.
Thanks
On Wed, Mar 19, 2014 at 10:19 PM, Rossen Stoyanchev
hi,
The scenario involves a mobile phone switching from wifi to (unstable)
mobile network. The phone looses the connection but the server doesn't seem
aware. Basically the server tries to send a message and blocks the thread
on which this is done. From the logs it seems to take about 15 minutes
Oops, and here is the (missing) link to original report:
[1] https://github.com/rstoyanchev/spring-websocket-portfolio/issues/31
On Mon, Mar 10, 2014 at 3:58 PM, Mark H. Wood mw...@iupui.edu wrote:
It's probably worth asking what full-fledged enterprise applications
means. I'm not aware of any specification with that title.
Indeed there is no such specification. The point is that Java enterprise
development is not
On Thu, Dec 5, 2013 at 7:05 AM, Mark Thomas ma...@apache.org wrote:
There is also the programmatic interface to WebSockets so once there is
a way to disable the SCI, you can use the programmatic interface to set
everything up.
Yes, the very existence of a programmatic interface alternative
On Thu, Dec 5, 2013 at 10:57 AM, Mark Thomas ma...@apache.org wrote:
On 05/12/2013 14:22, Rossen Stoyanchev wrote:
On Thu, Dec 5, 2013 at 7:05 AM, Mark Thomas ma...@apache.org wrote:
There is also the programmatic interface to WebSockets so once there is
a way to disable the SCI, you
On Sun, Dec 1, 2013 at 4:33 PM, Nir A n...@netomedia.com wrote:
My POC web application has one html page with javascript web socket
send\recieve messages.
What i did notice that might shade light on whats the problem is the
following scenario:
If i press f5 on the browser, the web page is
On Fri, Aug 16, 2013 at 4:58 AM, Sergey Shcherbakov
sshcherba...@gopivotal.com wrote:
Thank you for the hints!
Upgraded to SF 4.0.0.BUILD-SNAPSHOT (14.08.2013) and now getting another
exception:
2013-08-16 10:49:02,711 15913 ERROR [http-nio-8080-exec-4]
On Thu, Aug 15, 2013 at 12:39 PM, Nick Williams
nicho...@nicholaswilliams.net wrote:
I suspect that as both Spring 4 and Tomcat 8 are both in RC / milestone
stage that Tomcat changed in a way Spring wasn't expecting.
Right. This is already fixed actually. Just use Spring Framework
Andre, if you happen to use the Spring Framework already, we have a
milestone release (version 4.0 M1) that provides fallback options based on
the SockJS protocol. The next milestone 2 due in a week will provide higher
level (sub-protocol) support for messaging patterns such as pub-sub and
Is there any way to use the Tomcat maven plugin with Tomcat 8 (i.e. trunk
snapshots)? The documentation lists how to configure Tomcat 6 and 7 only
[1].
Rossen
[1] http://tomcat.apache.org/maven-plugin-trunk/
Mark,
While there is no response on the Servlet spec list, I have some follow-up
questions:
If you call complete() you'll end up with an IllegalStateException when
the error handler kicks in. You have to use dispatch(). The error handle
kicks in as soon as the dispatch() tries to write to the
The questions have been posted on the Servlet spec user list:
https://java.net/projects/servlet-spec/lists/users/archive/2013-05/message/5
On Sun, May 5, 2013 at 1:34 PM, Mark Thomas ma...@apache.org wrote:
On 05/05/2013 17:29, Rossen Stoyanchev wrote:
- Original Message -
From
Thanks!
- Original Message -
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, May 4, 2013 5:57:15 PM
Subject: Re: Status 204 (no content) and Content-Type header
On 04/05/2013 21:21, Mark Thomas wrote:
On 04/05/2013 20:43, Rossen
When a request has been put into async mode (via request.startAsync), the
response may remain open long after the initial container thread has exited.
Meanwhile a non-container thread is allowed to write to the response but if an
IOException occurs, there is obviously no way to report it to
- Original Message -
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Sunday, May 5, 2013 11:35:54 AM
Subject: Re: IOException from the response during an async request
From what I can see to complete the async request in this (or any
async
It appears that Tomcat ignores the Content-Type header when the status is set
to 204 (No Content). I can see the rational for that, however is there a strong
reason why Tomcat should care if it is set by the application? There are some
corner cases [1].
Rossen
[1]
Is the (JSR-356) WebSocket client in trunk meant to be usable in a standalone
app? I have a Maven app that depends on tomcat-websocket and
tomcat-websocket-api that gives the below exception.
java.lang.NoClassDefFoundError: org/apache/tomcat/util/codec/binary/Base64
at
- Original Message -
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, April 30, 2013 5:35:55 PM
Subject: Re: Standalone use of WebSocket client
The Maven snapshot probably isn't recent enough.
Yep. That is it. Let me know if you
- Original Message -
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, April 25, 2013 8:42:55 AM
Subject: Re: AsyncListener.onError and disconnected client
It is. The issue is when is happens.
The issue is that there is no event (I
- Original Message -
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, April 24, 2013 2:14:53 PM
Subject: Re: AsyncListener.onError and disconnected client
On 24/04/2013 18:38, Rossen Stoyanchev wrote:
- Original Message
Hi,
I've seen various discussions here and on the web but I haven't found a
conclusive answer. Why does an AsyncListener not receive onError notifications
when a client disconnects? The scenario is that async processing starts (via
request.startAsync), the Servlet container thread is exited,
- Original Message -
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, April 24, 2013 12:47:54 PM
Subject: Re: AsyncListener.onError and disconnected client
On 24/04/2013 16:33, Rossen Stoyanchev wrote:
Hi,
I've seen various
32 matches
Mail list logo