Re: Tomcat 8.5: wrong classloader used during context startup?

2017-05-19 Thread Michael Heinen
Am 18.05.2017 um 19:01 schrieb Mark Thomas: On 17/05/2017 14:32, Michael Heinen wrote: I am currently migrating a web app from Tomcat 7.0.73 to 8.5.15. An embedded Tomcat is used on development systems. The web-inf/lib folder of the application contains a jar with a SAXParserFactory

Tomcat 8.5: wrong classloader used during context startup?

2017-05-17 Thread Michael Heinen
I am currently migrating a web app from Tomcat 7.0.73 to 8.5.15. An embedded Tomcat is used on development systems. The web-inf/lib folder of the application contains a jar with a SAXParserFactory implementation. This SAXParserFactory is now used with TC 8.5 by the WebXmlParser in order to

Re: Embedded tomcat does not find web-fragment in jars outside web-inf\lib

2017-05-11 Thread Michael Heinen
Am 10.05.2017 um 19:59 schrieb Mark Thomas: On 10/05/17 12:40, Michael Heinen wrote: Am 10.05.2017 um 12:18 schrieb Mark Thomas: On 10/05/17 10:26, Michael Heinen wrote: Am 10.05.2017 um 00:40 schrieb Mark Thomas: On 09/05/17 15:25, Michael Heinen wrote: Hi all, I am currently mirgating

Re: Embedded tomcat does not find web-fragment in jars outside web-inf\lib

2017-05-10 Thread Michael Heinen
Am 10.05.2017 um 12:18 schrieb Mark Thomas: On 10/05/17 10:26, Michael Heinen wrote: Am 10.05.2017 um 00:40 schrieb Mark Thomas: On 09/05/17 15:25, Michael Heinen wrote: Hi all, I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43. On development platforms we use an embedded

Re: Embedded tomcat does not find web-fragment in jars outside web-inf\lib

2017-05-10 Thread Michael Heinen
Am 10.05.2017 um 00:40 schrieb Mark Thomas: On 09/05/17 15:25, Michael Heinen wrote: Hi all, I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43. On development platforms we use an embedded tomcat. On of the jars on the classpath contains a web-fragment.xml in it's META-INF

Embedded tomcat does not find web-fragment in jars outside web-inf\lib

2017-05-09 Thread Michael Heinen
Hi all, I am currently mirgating an application from Tomcat 7.0.73 to 8.0.43. On development platforms we use an embedded tomcat. On of the jars on the classpath contains a web-fragment.xml in it's META-INF folder. This jar file is NOT located within the webApp but simply on the classpath.

Re: Tomcat 7 applet session problem

2011-07-07 Thread Michael Heinen
It could be caused by the useHttpOnly attribute of the context to prevent cross-site scripting attacks. HttpOnly cookies are not allowed to be passed to any client side script or Plug-in - such as a java applet. see e.g.

check uiseHttpOnly programmatically

2011-06-17 Thread Michael Heinen
Hi, is there any way to check programmatically in a Servlet whether the context attribute useHttpOnly is set for cookies? Thanks, Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

memory leak warning ThreadLocal with key of type [null] in 6.0.29

2011-02-01 Thread Michael Heinen
Hi, I got following warning after stopping my context with Tomcat 6.0.29 01.02.2011 15:58:00 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SCHWERWIEGEND: The web application [/myapp] created a ThreadLocal with key of type [null] (value [com.MyClass$1@7cef53]) and a value

RE: performance problems with Tomcat 6 and JSF 1.2

2010-02-17 Thread Michael Heinen
Thanks Mark. Two demo apps with a single jsp are available at: http://www.datafilehost.com/download-eec20011.html Just call for JSF 1.2 http://server:port/jsf12/faces/100hout.jsp http://server:port/jsf12/faces/1000hout.jsp http://server:port/jsf12/faces/2000hout.jsp for JSF 1.1

RE: performance problems with Tomcat 6 and JSF 1.2

2010-02-16 Thread Michael Heinen
, On 2/12/2010 11:11 AM, Michael Heinen wrote: I noticed serious performance problems with JSF 1.2 and Tomcat which seems to be caused by Tomcat. One major performace problem is bug https://issues.apache.org/bugzilla/show_bug.cgi?id=48600 Setting metadata-complete=true in web.xml improved

performance problems with Tomcat 6 and JSF 1.2

2010-02-12 Thread Michael Heinen
Hi, I noticed serious performance problems with JSF 1.2 and Tomcat which seems to be caused by Tomcat. One major performace problem is bug https://issues.apache.org/bugzilla/show_bug.cgi?id=48600 Setting metadata-complete=true in web.xml improved the speed significantly But there seems to be

JasperException in 6.0.24 with JSF tag

2010-01-26 Thread Michael Heinen
Hi, I recently updated from Tomcat 6.0.20 to 6.0.24. Now some jsps with jsf tags are not compiling anymore. Following tag results in a JasperException in 6.0.24 but compiles fine with older versions: h:outputText value=\\ Stack: Caused by: org.apache.jasper.JasperException: