RE: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Konstantin Preißer
1.patch Thank you very much for your fast feedback. I applied the patch for Tomcat 8.5.x and it seems to fix the issue: Static text/JavaScript files are served untouched (their encoding is not changed), which means JavaScript files encoded as UTF-8 (without BOM) are working again in the browser.

RE: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Konstantin Preißer
I can update Tomcat from x.y.z to x.y.(z+n), without static JavaScript files suddenly getting broken (which isn't immediately obvious as mostly the script per se will work, only that some special string characters outside of ASCII are displayed incorrectly to the user). Shouldn

Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-28 Thread Konstantin Preißer
: 3" header as Tomcat 8.5.16.) Why would Tomcat want to modify static files, instead of just serving them as-is? Note: Bisecting shows that the problem seems to have been introduced with r1800455 [2]. Thanks! Regards, Konstantin Preißer [1] https://notepad-plus-

RE: Tomcat port listening as SYSTEM

2016-03-28 Thread Konstantin Preißer
DESKTOP-F1DTQBM:0 LISTENING [java.exe] Regards, Konstantin Preißer > -Original Message- > From: SUSIL SAHU [mailto:susilsahu...@gmail.com] > Sent: Monday, March 28, 2016 4:37 PM > To: Tomcat Users List > Subject: Re: Tomcat port listening as SYSTEM > > It&#x

[OT] RE: 80ms delay switching between worker threads

2015-10-31 Thread Konstantin Preißer
em it prints "3323580" so the resolution should be around ~0.3 microseconds. Regards, Konstantin Preißer [1] https://msdn.microsoft.com/en-us/library/windows/desktop/dn553408%28v=vs.85%29.aspx [2] https://msdn.microsoft.com/de-de/library/windows/desktop/ms644905%28v=vs.85%29.aspx

RE: AW: WebSocket asynchronous reads

2015-08-27 Thread Konstantin Preißer
t on the new modular ASP.Net 5 runtime [2] which will also be officially supported by MS for Linux and OS X). I don't have knowledge about NIO in Java, but for extending the current API I could imagine some startReceive() method (as a counterpart to RemoteEndpoint.Async#sendText()

[OT] RE: Tomcat 8 jspx and HTML5

2015-08-10 Thread Konstantin Preißer
in browsers when using the XHTML content type. (I would guess that because XHTML is not used very often, people often forget to think about it when writing code/libraries dealing with HTML code or to test it with XHTML documents, even though the XHTML syntax is part of the HTML5 spec

RE: Tomcat 8 jspx and HTML5

2015-08-08 Thread Konstantin Preißer
Hi Christopher, > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Saturday, August 8, 2015 2:32 PM > > This is a common problem, and the reason for it is that for > some reason, in every browser I've ever seen, completely fails to > parse corr

RE: iis isapi redirect problem

2015-07-23 Thread Konstantin Preißer
to the "App_Code" directory in your IIS web application directory. Then you can enable the module by adding it to the web.config file in the configuration/system.webServer/modules section: Regards, Konstantin Preißer [1] https://en.wikipedia.org/

RE: tomcat on windows 2012 weirdness

2014-12-17 Thread Konstantin Preißer
etc.) The Developer Tools should show the current browser mode and document mode of IE. - In IE on a Windows Server OS, for security reasons the IE enhanced security mode is active which will block some content on websites in the "internet" security zone (while for intranet si

RE: [ANN] New committer: Felix Schumacher

2014-09-19 Thread Konstantin Preißer
Welcome! Regards, Konstantin Preißer > -Original Message- > From: Rainer Jung [mailto:rj...@apache.org] > Sent: Friday, September 19, 2014 9:49 AM > To: Tomcat Developers List; Tomcat Users List > Subject: [ANN] New committer: Felix Schumacher > > On behalf of th

RE: Restricting SSL access within webapp

2014-08-02 Thread Konstantin Preißer
, not only for a part of it. Additionally, HTTP Strict Transport Security [1] will help to prevent that the user accidentally views a website over HTTP instead of HTTPS, and requires that the whole website uses SSL. Regards, Konstantin Preißer [1] http://en.wikipedia.org/wiki/HTTP_Stric

RE: Windows performance issue

2014-07-21 Thread Konstantin Preißer
ps directory to. This time, when I then started Tomcat, it took only 2300 ms like when I used the local path for the appBase. So this might be an option if you want to store the webapps directory on some SMB file server. Note however, that after a restart you have to re-mount the VHDX file (e.g. using a diskpart script). Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Regarding JSESSIONIDSSO Cookie maintained by tomcat

2014-06-24 Thread Konstantin Preißer
eleting a cookie, I think it might be better to send a > > Set-Cookie header with an empty value, so that the value is > > overwritten by the browser if for some reason the cookie is not yet > > expired. > > > > E.g., instead of Set-Cookie: > > JSESSIO

RE: Browsers suddenly start timing out when accessing port 80 of secure site

2014-06-24 Thread Konstantin Preißer
mpliant browsers (hopefully IE too in near future) to only view a site in HTTPS. I haven't tested how Firefox handles this, but I can imagine that when the website on :8443 sets an HSTS header and the user enters "www.example.com", that Firefox automatically switches this to "

RE: Regarding JSESSIONIDSSO Cookie maintained by tomcat

2014-06-18 Thread Konstantin Preißer
uot; Set-Cookie header should include the same HttpOnly and Secure flags that were included in the original Set-Cookie header. Also, when deleting a cookie, I think it might be better to send a Set-Cookie header with an empty value, so that the value is overwritten by the browser if for

RE: (Slightly OT): Server JVM 7

2014-05-29 Thread Konstantin Preißer
rver' JVM at `C:\Program Files (x86)\Java\jre8\bin\server\jvm.dll'. Please install or use the JRE or JDK that contains these missing components. C:\>"C:\Program Files\Java\jre8\bin\java" -version java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_0

RE: [SECURITY] CVE-2014-0099 Apache Tomcat information disclosure

2014-05-27 Thread Konstantin Preißer
n if they can't > control what that data is, that is still information disclosure. OK, thanks for the clarification! Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: [SECURITY] CVE-2014-0097 Apache Tomcat information disclosure

2014-05-27 Thread Konstantin Preißer
long a = 6148914691236517205L; long b = a * 10 + 3; System.out.println(a == b); it will print "true". However, I don't know if such example is really the one that causes issues, as this number is pretty high (but I did not found how smaller numbers coul

RE: Unsure on error: PojoEndpointBase or no Session data in chat websocket app

2014-05-01 Thread Konstantin Preißer
-specific variables. Additional note: When you iterate over a Set that is returned by Collections.synchronizedSet(), you need to manually synchronize over the Set to avoid non-deterministic behavior - see [2]. Regards, Konstantin Preiße

RE: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-07 Thread Konstantin Preißer
Hi Chuck, > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Monday, April 7, 2014 7:06 PM > To: Tomcat Users List > Subject: RE: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does > not work > > > From: Konsta

RE: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-07 Thread Konstantin Preißer
jp13 worker.worker1.host=localhost worker.worker1.port=8019 On that system, Tomcat listens on both [::]:8019 and 0.0.0.0:8019, and the ISAPI connector uses 127.0.0.1:8019 to connect to Tomcat. The "hosts" file on this system doesn't contain any entry. Regards, Konstantin Prei

RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-17 Thread Konstantin Preißer
ks for analyzing and solving the issue! Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-03 Thread Konstantin Preißer
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Monday, March 3, 2014 5:38 PM > When sending the following request to IIS: > POST /TestWebapp/Servlet HTTP/1.1 > Host: localhost > Connection: keep-alive > Content-Lengt

RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-03 Thread Konstantin Preißer
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Monday, March 3, 2014 5:19 PM > To: 'Tomcat Users List' > Subject: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request > without request body > Note: I do

Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-03 Thread Konstantin Preißer
e...) In Tomcat's log you can see that Tomcat hangs at s.read(buf), so it seems it somehow does not notice that the request body length is 0. Any idea what's going on there? Note: I do not yet have examined what AJP packets are sent between Tomcat and ISAPI Redirector. Regards, K

RE: Status of the current IIS ISAPI Redirector for Tomcat

2014-02-15 Thread Konstantin Preißer
forward > > > requests to Tomcat. However, personally I never to this due to the > > security > > > implications, and the performance benefit for IIS serving static > > resources > > > directly instead of letting Tomcat serve them was rather not not

Status of the current IIS ISAPI Redirector for Tomcat

2014-01-24 Thread Konstantin Preißer
nk about this? Should the ISAPI redirector still stay? Is SPDY the right way for forwarding requests to Tomcat in the future? Thanks! Regards, Konstantin Preißer [1] http://tomcat.apache.org/connectors-doc/reference/iis.html [2] http://forums.iis.net/t/1189728.aspx [3] http:/

RE: [OT] RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-24 Thread Konstantin Preißer
e corruption and no > errors in the log. My Java EE app and tomcat/tomee shuts down and restarts > gracefully inspite/through-it all. > > I'm definitely one happy tomcat user/camper. I have learned to also ignore > the IP addresses from China, Vietnam, etc... that attempt to > access/manipulate my tomcat/tomee server, since the result is usually HTTP > 400 or HTTP 404. :) > > There are still some things that I would like to do and/or learn how to do > with Tomcat; hoping to do so, when/as necessary. > > > > > > > - -chris Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

[OT] RE: Cannot connect from outside using Tomcat 7/APR/SSL on AWS Windows system

2014-01-22 Thread Konstantin Preißer
-ing" firewall, if they just do what they were configured to do... ;-) When setting up the Windows Firewall, I normally only create rules for specific (TCP) ports, not for specific executables, so that the firewall allows connections to a TCP port regardless of what the name or path

RE: Tomcat strips CRLFs from the generated page

2014-01-13 Thread Konstantin Preißer
-finally with resources like PrintWriter; Java 7 has try-with-resources syntax. Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat strips CRLFs from the generated page

2014-01-13 Thread Konstantin Preißer
that contains the page. > > The Test servlet simply reads the file and sends out to the browser. When I > > run this servlet, it strips all CRLFs from line 153 onward. > > > > Thanks. The list strips most attachments. Please upload the files somewhere else and post a link

RE: Request Timeout and empty post data issue

2013-12-26 Thread Konstantin Preißer
request.getParameter("xxx") - it just returned null. It could be possible that a client sends a request with complete headers, but when sending the POST body the client waits too long so that Tomcat applies the connectionTimeout before the full request body is received.

RE: EOFException in AjpNioProcessor

2013-12-23 Thread Konstantin Preißer
Hi André, > -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Monday, December 23, 2013 6:09 PM > To: Tomcat Users List > Subject: Re: EOFException in AjpNioProcessor > > Jesse Barnum wrote: > > On Dec 22, 2013, at 8:54 AM, Konstantin P

RE: EOFException in AjpNioProcessor

2013-12-23 Thread Konstantin Preißer
Hi Jesse, > -Original Message- > From: Jesse Barnum [mailto:jsb_tom...@360works.com] > Sent: Monday, December 23, 2013 5:46 PM > To: Tomcat Users List > Subject: Re: EOFException in AjpNioProcessor > > On Dec 22, 2013, at 8:54 AM, Konstantin Preißer > wrote:

RE: Some security-related questions / enhancements for the Windows Installer

2013-12-22 Thread Konstantin Preißer
ve not yet looked into how the build of the installer works (res/Tomcat.nsi) (e.g. if it has an option to change file permissions, or if one would need to run icacls.exe directly), and if its possible to specify the user under wich Tomcat should run (as I guess the installation of the service is d

RE: EOFException in AjpNioProcessor

2013-12-22 Thread Konstantin Preißer
so this error is reflected at Tomcat (which can therefore throw this exception). Otherwise Tomcat or the Webappp would not know that there was an error and if it e.g. was sending a 10 GB file, it would continue to send it. So, the EOFException here is not caused by an error in the code, but it shou

RE: Some security-related questions / enhancements for the Windows Installer

2013-12-18 Thread Konstantin Preißer
Sorry for the spam... > -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, December 18, 2013 8:00 PM > To: 'Tomcat Users List' > Subject: RE: Some security-related questions / enhancements for the > Windows Insta

RE: Some security-related questions / enhancements for the Windows Installer

2013-12-18 Thread Konstantin Preißer
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, December 18, 2013 6:24 PM > > - the user group "Administrators" is the name in English. In other > > locales, it > is > > different (French : A

RE: EOFException in AjpNioProcessor

2013-12-18 Thread Konstantin Preißer
P connection (normal shutdown) without finishing to write the request body. This could happen if the user clicks the "cancel" button in their browser, so I don't think you need to be concerned about this exception itself, but you should catc

RE: Some security-related questions / enhancements for the Windows Installer

2013-12-18 Thread Konstantin Preißer
Hi André, thank you for your reply. > -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Wednesday, December 18, 2013 4:28 PM > To: Tomcat Users List > Subject: Re: Some security-related questions / enhancements for the > Windows Installer >

Some security-related questions / enhancements for the Windows Installer

2013-12-18 Thread Konstantin Preißer
set to "-1" to disable it, for security reasons? Otherwise other users would be able to shutdown Tomcat by connecting to the shutdown port. What do you think? [1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms684272%28v=vs.85%29.aspx Thanks & Regards, Konstantin

RE: Transfer-Encoding: chunked not working

2013-12-05 Thread Konstantin Preißer
ever's going on is in > Tomcat world.) Can you show what exactly you are doing in your web application to generate the response? I cannot reproduce the problem with a simple servlet that e.g. writes 3 bytes to the response with Tomcat 7.0.47. Regards, Konstantin Preißer --

RE: %F in AccessLogValve

2013-12-05 Thread Konstantin Preißer
pattern="%h %l %u %t "%r" %s %b ttp: %D ttc: %F" /> > > > > And I'm using > Name: tomcat7 > Arch: noarch > Version : 7.0.39 > > > Any id

RE: Another Non-blocking IO Question

2013-11-27 Thread Konstantin Preißer
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, November 27, 2013 5:18 PM > To: 'Tomcat Users List' > Subject: RE: Another Non-blocking IO Question > 2) If I read correctly, when onAllDataRead() is called, you

RE: Another Non-blocking IO Question

2013-11-27 Thread Konstantin Preißer
writing to the response without checking sos.isReady(), but because it is just a few bytes it probably is able to completely write the bytes before sos.write() returns, do it doesn't have practical consequences. Regards, Konstantin Preißer [1] http://svn.apache.org/repos/asf/tomcat/trunk/test/

RE: [OT] RE: Baked-in context paths

2013-11-26 Thread Konstantin Preißer
. on the Apache Infra > > JIRA? > Interesting observation. I think you should report it to infra@ > > - -chris Ok, thanks. I have created an issue here (hope this was the right place): https://issues.apache.org/jira/browse/INFR

RE: setting the text or binary buffer size for websockets

2013-11-19 Thread Konstantin Preißer
ng an existing one, the send method called while the connection is already busy may throw an IllegalStateException." However, even after adding synchronization, I get stability issues and several exceptions on current Tomcat 8 trunk when sending large messages. I have filed

RE: [OT] RE: Baked-in context paths

2013-11-18 Thread Konstantin Preißer
Hi, > -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, November 13, 2013 6:14 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > Hi Jeffrey, > > > -Origin

RE: [OT] RE: Baked-in context paths

2013-11-13 Thread Konstantin Preißer
are also sent as Base64 which then show blank for me. Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: [OT] [Fwd: TomEE Professional Support]

2013-11-13 Thread Konstantin Preißer
ir of the Apache OpenWebBeans project: [1] http://people.apache.org/committers-by-project.html#openwebbeans-pmc [2] http://www.apache.org/foundation/#who-runs-the-asf Regards, Konstantin Preißer > > > regards > > Leon > > > > > > On Wed, Nov 13, 2013 at 2:15 PM, André War

RE: [OT] RE: Baked-in context paths

2013-11-13 Thread Konstantin Preißer
> -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Tuesday, November 12, 2013 8:09 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > Hi Jeffrey, > > > -Original Message- >

RE: [OT] RE: Baked-in context paths

2013-11-12 Thread Konstantin Preißer
lock (which fails), so latter produces the junk which you can see (and probably because of this I get an empty mail). However, I don't have much knowledge about email standards or Outlook to know what exactly is wrong here. Regards, Konstantin Preißer

RE: Some Websocket (Async) questions

2013-10-28 Thread Konstantin Preißer
you haven't already, can you create a Bugzilla entry for this so it > doesn't get forgotten. > > Thanks, > > Mark Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=55715 Regards, Konstantin Preißer --

RE: Some Websocket (Async) questions

2013-10-28 Thread Konstantin Preißer
Hi Mark, thanks a lot for your reply. > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, October 23, 2013 8:58 PM > To: Tomcat Users List > Subject: Re: Some Websocket (Async) questions > > On 23/10/2013 14:09, Konstantin Preißer

RE: Some Websocket (Async) questions

2013-10-23 Thread Konstantin Preißer
Hi, some more questions/issues added below: > -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, October 23, 2013 2:09 AM > To: 'Tomcat Users List' > Subject: Some Websocket (Async) questions > > Hi all, >

Some Websocket (Async) questions

2013-10-22 Thread Konstantin Preißer
hod before the connection is brought down [WSC-4.5-1]." If the last sentence is to be interpreted that the Websocket closing handshake must not be sent until onClose() was called, this would explain it, although that would seem a bit strange to me. Thanks!

RE: [OT] Cannot cleanly undeploy a web application

2013-07-17 Thread Konstantin Preißer
re flag, the file cannot be deleted from other processes while it is opened). Maybe it is a design principle in Windows to not be able to delete a opened file by default, so that a user doesn't accidentally delete a file on which he is still working... but I don't know. Regards

RE: [OT] Accessing HREF Target from Servlet

2013-06-29 Thread Konstantin Preißer
u can see a live demo here: http://bildergalerie.pleier-it.de/?seite=login (it is a german app for sharing pictures). If you click on the Facebook icon, you will be redirected to FB. After you log in, FB will redirect you to the app with a URL l

RE: [OT] Querstion about Class.forName() re. ClassLoaders

2013-05-11 Thread Konstantin Preißer
Class.newInstance() is a legacy method that > can throw a non-declared checked exception "as is", without wrapping it in > InvocationTargetException. (The method is there @since > 1.0 and InvocationTargetException is @since 1.1) > > Best regards, > Konstantin Kol

RE: [OT] Querstion about Class.forName() re. ClassLoaders

2013-05-10 Thread Konstantin Preißer
on December 1, 2012, but did not yet receive a response - so I wanted to make sure my understanding was correct). Thanks! Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

[OT] Querstion about Class.forName() re. ClassLoaders

2013-05-10 Thread Konstantin Preißer
// do something... } or did I misunderstand something? Thanks! Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Konstantin Preißer
rewall options? Otherwise I can't imagine why incoming connections would be rejected despite adding the inbound rule using the steps you described. Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...

RE: html page can not present an java Applet embedded in the page

2013-01-29 Thread Konstantin Preißer
me with IE, Firefox and Chrome (which is also given as a example in the current HTML5 spec [1]): Your don't have the Java plugin installed... However, I would recommend the element because it allows Browsers to display a specific error message when the Java plugin is

RE: BufferOverflowException in AjpNioProcessor

2013-01-18 Thread Konstantin Preißer
re how many requests my Tomcat does process, but I would guess about 50-100 requests per second. The BufferOverflowExceptions seems to occur rarely, it took ~ 12 hours after switching to the NIO connector for the exception to occur. Do you have any ideas? Thanks, Konstantin Preißer

RE: BufferOverflowException in AjpNioProcessor

2013-01-17 Thread Konstantin Preißer
x27;m certain that my applications don't retain references to request objects, but I will also try your suggestion with setting the RECYCLE_FACADES property and switching back to the AJP-NIO connector, to see if these BufferOverflowExceptions still occur. Thanks! Regards, Konst

RE: IIS 8/Windows Server 2012

2012-11-30 Thread Konstantin Preißer
hope to be able to eventually support things like redirecting WebSocket connections (that are supported by IIS 8+) to Tomcat. :) Regards, Konstantin Preißer [1] http://markmail.org/message/q335rbpoylymr77q - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Equivalent of Web Service Extension in IIS6 on XP Professional

2012-07-12 Thread Konstantin Preißer
IS 6.0" could be changed to "If you're using IIS 6.0 or newer", because adding the ISAPI DLL to the allowed Web Service Extensions also applies for IIS 7 and 8 (however, there the section is named "ISAPI and CGI restrictions"). Regards, Konstantin Preißer -

Tomcat SPDY Connector

2012-05-18 Thread Konstantin Preißer
ference between SPDY v2 and v3 is the addition of flow control, which I think is important when using SPDY as server-to-server protocol, to prevent flooding the intermediate server with messages if it has a slow connection to the actual client.) Thanks! Regards, Konstantin Preißer [1

RE: Websocket Questions

2012-04-27 Thread Konstantin Preißer
Model 15 Stepping 13, GenuineIntel --- S Y S T E M --- OS: Windows Server 2008 Build 6002 Service Pack 2 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, tsc Memory: 4k page, physical 41

Websocket Questions

2012-04-27 Thread Konstantin Preißer
where to report the bug. # When I switched to HTTP BIO however, everything worked fine. Thanks! Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: BufferOverflowException in Tomcat 7.0.x at AjpAprProcessor.output()

2012-04-21 Thread Konstantin Preißer
in Kolinko > wrote: > > > > Good report. Can you add this to Bugzilla? Ok, I added a bug report here: https://issues.apache.org/bugzilla/show_bug.cgi?id=53119 Thanks! Regards, Konstantin Preißer - To unsubscribe,

BufferOverflowException in Tomcat 7.0.x at AjpAprProcessor.output()

2012-04-20 Thread Konstantin Preißer
message" is thrown by org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388). The exception occurs neither with AJP-BIO nor with AJP-NIO. Regards, Konstantin Preißer [1] http://markmail.org/message/zogi3tfbz2kyw3jg --

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-18 Thread Konstantin Preißer
:05:48.677 2012] [7588:5124] [error] extension_fix::jk_uri_worker_map.c (554): Could not find worker with name 'worker1' in uri map post processing. Thanks, Konstantin Preißer - To unsubscribe, e-mail: users-unsubsc

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-18 Thread Konstantin Preißer
S_ORG_8_JAKARTA2_ISAPI_REDIRECT with errno=87 [Sun Mar 18 12:10:36.337 2012] [4144:6216] [error] init_jk::jk_isapi_plugin.c (2801): Initializing shm:(null) errno=87. Load balancer will not work properly! But w3wp.exe doesn't crash anymore, so I think it is fixed.

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Konstantin Preißer
hat means I'm using overlapping recycle (a new w3wp.exe is started which takes new requests, and after all old requests are finished, the old w3wp.exe will be stopped). Thanks, Konstantin Preißer - To unsubscri

RE: IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Konstantin Preißer
ype=ajp13 worker.worker1.host=localhost worker.worker1.port=8019 Thanks, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

IIS 7.0 Worker process crashes on App Pool recycling since ISAPI redirector 1.2.33

2012-03-16 Thread Konstantin Preißer
ut I'm not sure. Thanks! Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Some questions about Tomcat ISAPI Connector and its documentation

2012-03-11 Thread Konstantin Preißer
s not mapped to it, it does not prevent accessing directories called "WEB-INF" (e.g. when trying to have IIS serve the static files and Tomcat serve only Servlets/JSPs). > Does this log message bother you ? why would you want to /not/ have

Some questions about Tomcat ISAPI Connector and its documentation

2012-03-10 Thread Konstantin Preißer
times? Because I would expect that the ISAPI redirector just passes the request to Tomcat and let Tomcat decide how requests to forbidden directories are handled, without writing an "emergency" log entry. Thanks! Regards, Konstantin Preißer --

RE: ISAPI errors 87 when disabling IIS 7.0's response buffering

2012-02-23 Thread Konstantin Preißer
icating a problem with one or more parameters. Note that this error is returned by the operating system, so the error number may change in future releases of Windows. So I guess the 87 errors correspond to the 1229 errors (when the connection is invalid). Thanks! Regards, Konstantin Preißer -

RE: Documentation Question

2012-02-21 Thread Konstantin Preißer
Text Text2 If you save this file as .xhtml on your filesystem and open it, the Browser will render the page correctly (the red is between Text1 and Text2). At least it works with IE 9 (IE <= IE8 don't support XHTML), Firefox, Chrome and Opera. ;-) Regards, Konstantin Preißer -

ISAPI errors 87 when disabling IIS 7.0's response buffering

2012-02-20 Thread Konstantin Preißer
CP connection, I would get a 10053 or 995 error. Are the errors 87 and 1229 expected in such cases? Thanks! Best Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-28 Thread Konstantin Preißer
pened an issue: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=52548 > > Regards, > > Rainer > Thanks to all! Best Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Konstantin Preißer
s change intentional? Does that mean that I must any additional environment variable like CATALINA_BASE? Thanks! Best Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat 7.0.21: BufferOverflowException in AjpAprProcessor.output()

2011-09-23 Thread Konstantin Preißer
th 995 error in the ISAPI log on the server side, but I can't get Tomcat to throw the exception again). :( I might try it with the other connectors (nio/bio), but I'm not sure when I have time for it. But thanks for your suggestions. Regards, Konstantin Preißer ---

RE: Servlet 3.0 File Upload

2011-09-03 Thread Konstantin Preißer
entry with the supplied filename stored in a text field, and use the ID of the entry to generate a filename where the actual file contents are stored. The supplied filename is then only for displaying purposes. Regards, Konstantin Preißer --

RE: Servlet 3.0 File Upload

2011-09-03 Thread Konstantin Preißer
entDisposition). Browser usually send filenames in the "filename" parameter of a Content-Disposition header. Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-23 Thread Konstantin Preißer
le writing an image, and I wanted to avoid the unnecessary flush() calls. ;-) Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

IPv6 support dropped in Tomcat Native 1.1.22 (on Windows)?

2011-08-23 Thread Konstantin Preißer
s displayed every second until I kill Tomcat's process.) Is this intentional? I didn't see anything about dropped IPv6 support in the Native changelog. Regards, Konstantin Preißer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-26 Thread Konstantin Preißer
> -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Sunday, December 12, 2010 10:23 PM > To: users@tomcat.apache.org > Subject: Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly > sending Content body with HTTP 304 Status > > 10054 is a winsock error c

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-12 Thread Konstantin Preißer
054 (0x2746) [1764:3472] [error] iis_done::jk_isapi_plugin.c (1389): Vector termination of chunk encoded response failed with 10054 (0x2746) [1764:10596] [error] iis_write::jk_isapi_plugin.c (1297): Vector write of chunk encoded response failed with 10054 (0x2746) What do these error

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Konstantin Preißer
On 12/03/10 18:05 PM, Pid wrote: > So, if you can consistently repeat this, can you also confirm > that changing the date of the static error page prevents the > 304 from being sent on a subsequent request? Hello, when I change the date of the static error page so that it is newer than the one wh

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Konstantin Preißer
> Now if I do a GET-Request with an "If-modified-since" header to a file which > doesn't exist, Tomcat returns a 302 Not Modified response instead of 404 Not > Found. I think this is because Tomcat compares the date after the > "Is-modified-since" header to the date of the static 404 error file, th

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-11-29 Thread Konstantin Preißer
> At the moment I can't reproduce this issue any more. It happened > some days ago, when I was viewing the webapp by Firefox and > pressed F5 several times, when I noticed that Firefox sometimes > displayed HTTP Headers as plain text. I used a network sniffer to > see what the responses looked

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-11-29 Thread Konstantin Preißer
Hello, > OK, after a bit more investigation I can replicate your responses: One > is a 304 response with a response.flushBuffer() or similar, and the > other is a 304 response with an implicit close. > > I've tested a fix to the ISAPI Redirector to resolve this. > > https://issues.apache.org/bugzi

RE: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-11-27 Thread Konstantin Preißer
> Not saying that there may not be a problem in the isap_redirector, but > in the answers above, I see a header > Server: Microsoft-IIS/6.0 > > Are you sure that it is not IIS which is sending back these responses ? > > Since you are talking about static pages and images, it may be that > thes

Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-11-27 Thread Konstantin Preißer
Good afternoon, This is the first time I ask a question here, so I hope I do it right. I am using Tomcat 7.0.5 (with Tomcat Native 1.1.20 library) on Windows Server 2003 (32-Bit) with Java 1.6.0_22, and I have configured IIS6.0 to use the Jakarta 1.2.31 ISAPI Redirector (with "enable_chunked_enco