AW: Tomcat needs an authenticator valve for OpenID/MSAL!

2023-04-14 Thread Keil, Matthias (ORISA Software GmbH)
ID Connect and JASPIC. Here is an example: https://tomcat.apache.org/tomcat-9.0-doc/config/jaspic.html#Philip_Green_II's_module_for_Google_OAuth_2 When using JASPIC you can use the tomcat mechanisms for authentication and authorization. Greetings Matthias

AW: JASPIC Provider for FORM based Authentication

2021-12-03 Thread Keil, Matthias (ORISA Software GmbH)
Hi Mark, sorry for the late reply. Unfortunately I was sick. Thanks for your advice. The error was in front of the computer 😉. I had misspelled the context path in the appContext Now it works as expected Best regards Matthias Keil -Ursprüngliche Nachricht- Von: Mark Thomas

AW: JASPIC Provider for FORM based Authentication

2021-12-03 Thread Keil, Matthias (ORISA Software GmbH)
-Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 22. November 2021 18:28 An: users@tomcat.apache.org Betreff: Re: JASPIC Provider for FORM based Authentication On 22/11/2021 12:00, Keil, Matthias (ORISA Software GmbH) wrote: > Hello everyone, > > I take up a to

JASPIC Provider for FORM based Authentication

2021-11-22 Thread Keil, Matthias (ORISA Software GmbH)
dynamically by implementing an AuthConfigProvider). Now here are my questions: 1. Is there a possibility to activate the JASPIC provider for only one of the two applications? 2. OR there is an AuthConfigProvider that could implement the FORM based authentication. thanks in advance Matthias

AW: AW: JASPIC AuthConfigProvider packaged with the web application not found

2021-09-30 Thread Keil, Matthias (ORISA Software GmbH)
Dear Mark and Bernd, Thank you for your help and your advice. That helped me alot. I now have an implementation that resides exclusively in the application. Thanks very much :-) Best regards Matthias Keil -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 27. September

AW: JASPIC AuthConfigProvider packaged with the web application not found

2021-09-22 Thread Keil, Matthias (ORISA Software GmbH)
Hi Bernd, Yes, I would like to define my Server Auth module in the jaspic-providers.xml and then provide the class with the web application. Mit vielen Grüßen Matthias Keil -Ursprüngliche Nachricht- Von: Bernd Schatz Gesendet: Dienstag, 21. September 2021 23:25 An: users

AW: JASPIC AuthConfigProvider packaged with the web application not found

2021-09-19 Thread Keil, Matthias (ORISA Software GmbH)
er of additional classes needed to provide the actual SAM. Thank you again Mit vielen Grüßen Matthias Keil -Ursprüngliche Nachricht- Von: Bernd Schatz Gesendet: Freitag, 17. September 2021 09:53 An: users@tomcat.apache.org Betreff: Re: JASPIC AuthConfigProvider packaged with th

JASPIC AuthConfigProvider packaged with the web application not found

2021-09-16 Thread Keil, Matthias (ORISA Software GmbH)
loaded, there are no class loaders for the web application. Technical details - Tomcat 9.0.37, Windows 10, Tomcat in Eclipse "Use workspace metadata", - In the configuration files under $ CATALINA_BASE / conf I only adjusted the jaspic.xml and entered my class there as the provider th

Re: Problem with tomcat connector in IIS using tomcat 9.0.31

2020-03-13 Thread Matthias Fechner
ECT|SECRETKEYSIZE|SERVER_ISSUER|KEYSIZE)) I tested it with the new pattern successfully. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the univer

Re: Problem with tomcat connector in IIS using tomcat 9.0.31

2020-03-12 Thread Matthias Fechner
e next tomcat version, I see it only as a temporary work-around. After the new version is released the configuration option can be completely removed again. I'm not sure if it is worth to find the correct options you have to allow, as tomcat does not log any reason why the connection w

Re: Problem with tomcat connector in IIS using tomcat 9.0.31

2020-03-09 Thread Matthias Fechner
d a workaround are explained here: > https://lists.apache.org/thread.html/r3720861ca584c0b6794cb8bfffafa18fa67b514f3df47ce7ea5329ef%40%3Cusers.tomcat.apache.org%3E thanks, adding this fixed it: allowedRequestAttributesPattern=".*" Gruß Matthias -- "Programming today is a race be

Problem with tomcat connector in IIS using tomcat 9.0.31

2020-03-03 Thread Matthias Fechner
hen just sending the user to tomcat. Regarding the documentation everything seems to be configured correctly, but it does not work. Could anyone help me here, please? -- Thanks a lot Matthias - To unsubscribe, e-

Re: NullPointerException in Response.generateCookieString()

2017-07-17 Thread Matthias Keller
On 17.07.2017 12:29, Konstantin Kolinko wrote: -2017-07-17 11:59 GMT+03:00 Matthias Keller : Hi In our production environment we (sometimes but still often enough) have the problem, that we get an NPE deep within the Response object. This occurs under 8.5.13 and 8.5.16. The stacktrace

NullPointerException in Response.generateCookieString()

2017-07-17 Thread Matthias Keller
Hi In our production environment we (sometimes but still often enough) have the problem, that we get an NPE deep within the Response object. This occurs under 8.5.13 and 8.5.16. The stacktrace (from 8.5.13) is as follows: org.apache.catalina.connector.Response.generateCookieString(Response.j

AW: Status-Code of error-pages is always http-200?

2016-09-05 Thread Matthias Ludwig
Problem solved: It was a programming error in my own code. I set the status myself to 200. -Ursprüngliche Nachricht- Von: Matthias Ludwig [mailto:matthias-lud...@gmx.net] Gesendet: Montag, 5. September 2016 11:24 An: users@tomcat.apache.org Betreff: Status-Code of error-pages is always

Status-Code of error-pages is always http-200?

2016-09-05 Thread Matthias Ludwig
g? Any other ideas that could help me? Thank you very much for any response. Matthias - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat7 / Axis2

2016-08-22 Thread Matthias Schmitt
Hello, Thanks for your help. The article with the C3PO helper threads is very interesting. Mit besten Grüßen/with best regards Matthias Schmitt Am 22.08.16, 21:48 schrieb "Mark Eggers" : >Matthias, > >On 8/22/2016 8:32 AM, Matthias Schmitt wrote: >> Hello ev

Re: Tomcat7 / Axis2

2016-08-22 Thread Matthias Schmitt
best regards Matthias Schmitt Am 22.08.16, 21:36 schrieb "Aurélien Terrestris" : >"We have a Tomcat 7 and Axis 2 for our Java SOAP web service over https on >our Ubuntu server. We also use C3PO connection pooling (also in other web >services which is working fine).

Tomcat7 / Axis2

2016-08-22 Thread Matthias Schmitt
in axis configuration does not take effect. There is no exception message in the log that could help us to reproduce the problem. Thanks for your help, Mit besten Grüßen/with best regards Matthias Schmitt - To unsubscribe

Re: CVE-2016-2107 and Tomcat 6.0.45 / Native 1.1.34

2016-08-22 Thread Matthias Reischenbacher
Hi Mark, thanks for your reply. I wrongly assumed that tc-native 1.2 is not compatible with Tomcat 6 and the 1.1 release branch has to be used instead. But I guess I'm wrong and will give it a try. Thanks again for your help & best regards, Matthias On 22.08.2016 11:26, Mark Thomas wr

CVE-2016-2107 and Tomcat 6.0.45 / Native 1.1.34

2016-08-22 Thread Matthias Reischenbacher
seems to be available for Tomcat 8/9. But what about Tomcat6? Are there plans to release a fixed version of the Tomcat Native libs, that contain a newer version of OpenSSL? According to https://www.openssl.org/news/vulnerabilities.html#2016-2107 this should be 1.0.1t. Thanks & Best regards, Matt

mod_jk.so does not build for 32-bit on 64-bit Linux

2016-07-25 Thread Matthias Apitz
I do wrong? Thanks in advance. matthias $ uname -a Linux srap12dxR1 3.12.28-4-default #1 SMP Thu Sep 25 17:02:34 UTC 2014 (9879bd4) x86_64 x86_64 x86_64 GNU/Linux $ file /home/guru/head/sisis-pap-target/apache/bin/httpd /home/guru/head/sisis-pap-target/apache/bin/httpd: ELF 32-bi

Re: Spurious Problem starting Tomcat7 (garbled class names)

2014-11-11 Thread Matthias Keller
On 08.11.2014 17:59, Konstantin Kolinko wrote: 2014-11-06 19:33 GMT+03:00 Matthias Keller : Hi We have a spurious problem which still happened quite a few times but is not really reproducible since it only occurs on every 1000. startup or something. The effect is that tomcat scans all class

Spurious Problem starting Tomcat7 (garbled class names)

2014-11-06 Thread Matthias Keller
Hi We have a spurious problem which still happened quite a few times but is not really reproducible since it only occurs on every 1000. startup or something. The effect is that tomcat scans all class files but somewhere something goes wrong and it tries to load an invalid class name which is o

Re: Maven Tomcat 6/7/8 plugin

2014-10-07 Thread Matthias Hryniszak
ution (not just in this case but basically everywhere where the Request.getRequestURL() method is used since it does not return proper result). Any ideas on getting the valve installed when running mvn tomcat7:run in the current version (2.2) ? Thanks in advance! Best regards, Matthias. 2014-10-06

Re: Maven Tomcat 6/7/8 plugin

2014-10-06 Thread Matthias Hryniszak
Perfect! I didn't know about this one. Thanks! 2014-10-06 13:37 GMT+02:00 Daniel Mikusa : > On Sun, Oct 5, 2014 at 2:00 PM, Matthias Hryniszak > wrote: > >> It seems I might have expressed myself purely. Let me rephrase: >> >> I'm looking for RemoteIp

Re: Maven Tomcat 6/7/8 plugin

2014-10-05 Thread Matthias Hryniszak
e is installed and proper header exists (as in the isSecure() method returns true). Otherwise it does just HTTP and that in turn makes my local HAProxy do a 302 to HTTPS which ends up in an infinite loop and that's not exactly the result I was hoping for... Cheers, Matthias 2014-10-05 19:31

Maven Tomcat 6/7/8 plugin

2014-10-05 Thread Matthias Hryniszak
Hi all, I'm new to this list so let me briefly introduce myself. My name is Matthias and I live in Poland. I'm a software architect for Lumesse, an British software development company. The core of our development is talent acquisition and talent management software. The part I'm

Re: ClassNotFoundException org.apache.juli.FileHandler in Tomcat 7.0.42 / OpenJDK 6 b27 (FreeBSD)

2013-07-14 Thread Matthias Petermann
Am 13.07.2013 16:07, schrieb Konstantin Kolinko: 2013/7/13 Konstantin Kolinko : 2013/7/13 Matthias Petermann : Hello, when I try to start Tomcat 7.0.42 with OpenJDK 6 b27, it complains about not finding classes for the logging handlers. I created a minimal logging.properties to narrow down

Re: ClassNotFoundException org.apache.juli.FileHandler in Tomcat 7.0.42 / OpenJDK 6 b27 (FreeBSD)

2013-07-13 Thread Matthias Petermann
Am 13.07.2013 16:07, schrieb Konstantin Kolinko: 2013/7/13 Konstantin Kolinko : 2013/7/13 Matthias Petermann : Hello, when I try to start Tomcat 7.0.42 with OpenJDK 6 b27, it complains about not finding classes for the logging handlers. I created a minimal logging.properties to narrow down

ClassNotFoundException org.apache.juli.FileHandler in Tomcat 7.0.42 / OpenJDK 6 b27 (FreeBSD)

2013-07-13 Thread Matthias Petermann
DK 6 port already: http://www.freebsd.org/cgi/query-pr.cgi?pr=177067&cat= At this time it is not clear to me where to look for the root cause. I appreciate your help and hints, looking for directions where to investigate in detail. Kind regards, Matthias

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, >Environment variables are irrelevant when running services. That's why >the registry values exist. That's a good point! Thanks for the nice discussion. > Matthias - can you please elaborate on exactly what "it is not practicable > for our production environment

Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
red in the registry. Is it possible to specify these parameters in setenv.bat or somewhere else? When I start tomcat with "catalina.bat run" the setenv.bat is read. But when I start tomcat as a windows service the setenv.bat i

RE: Connection is closed when CometEvent.close is called during an event

2010-06-29 Thread Reich, Matthias
possible for us to change to Tomcat 7 soon. From the release notes I read that it requires Java 6 and I suspect that we will be bound to Java 5 for quite a while. Hence, is there also any interest in respective improvements for Tomcat 6? Then I could provide an example ser

RE: Connection is closed when CometEvent.close is called during an event

2010-06-15 Thread Reich, Matthias
Konstantin Kolinko wrote: > 2010/6/11 Reich, Matthias : > > > > The concept of long poll is e.g. described in > > > http://www.javaworld.com/javaworld/jw-03-2008/jw-03-asynchhttp .html?page=6 > > > > The sequence of events in my situation is as follows: >

RE: Connection is closed when CometEvent.close is called during an event

2010-06-10 Thread Reich, Matthias
On 10/06/2010 9:49 PM, Konstantin Kolinko wrote: > 2010/6/8 Reich, Matthias: > > I modified the code (in 6.0.20 and 6.0.26) so that the > error flag is not set. > > With that change Tomcat kept the connection open: > > > > ... > >    if (response.isClosed() ||

Connection is closed when CometEvent.close is called during an event

2010-06-08 Thread Reich, Matthias
and fixed in the next Tomcat release? Regards, Matthias - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Virtual hosts on tomcat > 5.5.15

2009-11-18 Thread Matthias Pueski
appBase Now everything works fine. Am Mittwoch, den 18.11.2009, 08:18 -0600 schrieb Caldarale, Charles R: > > From: Matthias Pueski [mailto:matth...@pueski.de] > > Subject: Virtual hosts on tomcat > 5.5.15 > > > > > appBase="/home/blah"> > > >

Virtual hosts on tomcat > 5.5.15

2009-11-18 Thread Matthias Pueski
Does anybody know if some configuration ore something else has changed? Unfortunately I could not find any changelog or any other information about this issue. Does anybody have an idea, what's going wrong? Any suggestions are really appreciated. Cheer

RE: Can we slow down the speed of servlet response ?

2008-04-27 Thread Reich, Matthias
Linux box, you should consider this: http://www.mail-archive.com/users@tomcat.apache.org/msg36968.html -- Matthias -Original Message- From: Wang Han [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 11:25 AM To: Tomcat Users List Subject: Re: Can we slow down the speed of servlet

RE: Share session cookie across subdomains

2008-04-24 Thread Reich, Matthias
ponse must also be modified. -- Matthias -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 9:51 PM To: Tomcat Users List Subject: Re: Share session cookie across subdomains -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zach, Zach Cox

RE: Share session cookie across subdomains

2008-04-21 Thread Reich, Matthias
valve is only suitable if this behavior is acceptable. (e.g. if you can be sure that your site is not accessed by search engine robots, if you have a rather short session timeout and can live with the overhead of creating many unnecessary session objects, ...) -- Matthias -Original Message

RE: different context on different ports, but one tomcat

2008-02-20 Thread Reich, Matthias
connector and thus need more resources than if your webapps can share a connector. -- Matthias -Original Message- From: Szabolcs Márton

RE: Logging in separate Thread

2008-02-14 Thread Reich, Matthias
I think it is better to start one background worker thread and pass the log requests to that thread with the help of a queue. You can also consider to let the worker cache the DNS lookup results. (Usually you will see requests from the same clients lots of times.) - Matthias -Original

RE: NIO connector

2008-02-01 Thread Reich, Matthias
Hi, I am doing it this way: Connector c = new Connector(protocol); c.setPort(port); if (secure) { c.setScheme("https"); c.setSecure(true); } // now set further attributes as required - Matthias -Original Message- From: brien colwell [mailto:[EMAIL

RE: Forcing a session lastaccessedtime update

2008-01-31 Thread Reich, Matthias
If your server knows the sessionID, why not simply let the server send an http request with the appropriate JSESSIONID cookie? I am not sure, but I think Tomcat will assign the cached session to this request even if it comes from a different remote address. - Matthias -Original Message

RE: Subclass of Servlet: Inherited method is not visible

2008-01-23 Thread Reich, Matthias
You should ask the implementors of ParameterMethodResolvingServlet (according to Google this seems to a project within dfki), or look at it's implementation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 12:24 PM To: users@tomcat.ap

RE: Comet Development

2008-01-21 Thread Reich, Matthias
by a JSP into the response stream via a call to RequestDispatcher.include would work. Regards, Matthias -Original Message- From: Siobhan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 8:24 PM To: 'Tomcat Users List' Subject: RE: Comet Development Ok. But how

RE: Tomcat 6 embedded use - problems with jsp - No Java compiler available

2008-01-18 Thread Reich, Matthias
jasper setup) to compile and run JSPs: annotations-api.jar catalina.jar el-api.jar jasper.jar jasper-el.jar jasper-jdt.jar jsp-api.jar servlet-api.jar tomcat-coyote.jar tomcat-juli.jar tomcat-juli-adapters.jar Regards, Matthias -Original Message- From: olk [mailto:[EMAIL PROTECTED

RE: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-06 Thread Reich, Matthias
(CoyoteConstants, CoyoteHttp11Constants, ...) 4. introduce a new class package org.apache.coyote; public final class CoyoteMacros { public static final boolean IS_SECURITY_ENABLED = (System.getSecurityManager() != null); } - Matthias -Original Message- From: Delian

RE: log4j error

2007-11-18 Thread Reich, Matthias
ing/sc.jsp - Matthias -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Saturday, November 17, 2007 1:16 AM To: Tomcat Users List Subject: RE: log4j error > From: Steven Crosley [mailto:[EMAIL PROTECTED] > Subject: log4j error > >

RE: j_security_check redirect after login

2007-11-08 Thread Reich, Matthias
and could decide to return NOT MODIFIED status. The servlet spec does not tell you if this is correct behavior or not, but it may be interesting to know about this behavior. (And that's why we like open source projects where we can look how it really works :-) Regards, Matthias -O

CLIENT-CERT authentication with APR connector only for protected resources?

2007-10-31 Thread Reich, Matthias
=optional, I am forced to send my certificate already when the connection is established, even if I only access resources that are not protected by a security constraint. Regards, Matthias - To start a new topic, e-mail: users

RE: Distributed web services: Tomcat or Jboss?

2007-09-18 Thread Matthias Klein
Good points, thanks -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Dienstag, 18. September 2007 17:39 To: Tomcat Users List Subject: Re: Distributed web services: Tomcat or Jboss? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mattias, Matthias Klein

RE: Distributed web services: Tomcat or Jboss?

2007-09-18 Thread Matthias Klein
Schultz [mailto:[EMAIL PROTECTED] Sent: Dienstag, 18. September 2007 17:26 To: Tomcat Users List Subject: Re: Distributed web services: Tomcat or Jboss? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias, Matthias Klein wrote: > As I am starting a new project, I am unsure whether to use Tom

Distributed web services: Tomcat or Jboss?

2007-09-18 Thread Matthias Klein
As I am starting a new project, I am unsure whether to use Tomcat/Axis or the Jboss product line. Any idea? As you can see in the following images, I am about to build a distributed system with one job manager and several job handlers. Each node may be on a different server. The job manager has

RE: Comet example at Tomcat 6

2007-07-26 Thread Reich, Matthias
Perhaps you should add this to the example: protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.sendError( HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "you must be using the APR or NIO connector to get

RE: Shared form authentication when using SingleSignOn

2007-07-19 Thread Reich, Matthias
the page the client had originally requested, does not work without modifications in the FormAuthenticator, as the FormAuthenticator does only save the context relative part of the URL. Regards, Matthias > -Original Message- > From: Jiri Walek [mailto:[EMAIL PROTECTED] > Sent:

Tomcat 6.0.13 - NPE in AprEndpoint run method

2007-07-18 Thread Reich, Matthias
() call can either run into a NPE itself (if the pollers array is not yet initialized) or return null (if pollers[pollerRoundRobin] is not yet initialized. Thus, I think the error can easily be prevented by starting the acceptors after initializing the pollers. Regards, Matthias

RE: axis - tomcat "loader constraint violation"

2007-07-13 Thread Reich, Matthias
re to have classes located *either* in the common classpath *or* in the webapp classpath, but not in both of them. Regards, Matthias > -Original Message- > From: E Koutsoudaki [mailto:[EMAIL PROTECTED] > Sent: Friday, July 13, 2007 2:12 PM > To: users@tomcat.apache.org > Subje

RE: read data/infinite loop problem with comet

2007-06-26 Thread Reich, Matthias
log.error(sm.getString("coyoteAdapter.read")); > } from the CoyoteAdapter code and run your Comet Servlet with the modified CoyoteAdapter. If it works, suggest this modification as a bug fix. Regards, Matthias > -Original Message- > From: Sebastiaan van Erk [

RE: Comet example Tomcat 6 not working.

2007-06-21 Thread Reich, Matthias
There have been a lot of things fixed and enhanced in the Comet area since version 6.0.10. You should better try with version 6.0.13. Regards, Matthias > -Original Message- > From: Ritesh Kumar [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 21, 2007 11:43 AM &g

RE: Comet: Unsufficiently synchronized recycling decisions

2007-06-14 Thread Reich, Matthias
, Matthias > -Original Message- > From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 13, 2007 8:09 PM > To: Tomcat Users List > Subject: Re: Comet: Unsufficiently synchronized recycling decisions > > Reich, Matthias wrote: > > Hello

RE: Comet: Unsufficiently synchronized recycling decisions

2007-06-13 Thread Reich, Matthias
to receive any reaction? Regards, Matthias > -Original Message- > From: Reich, Matthias > Sent: Wednesday, May 30, 2007 2:04 PM > To: 'Tomcat Users List' > Subject: Comet: Unsufficiently synchronized recycling decisions > > Hi, > > as menti

Comet: Unsufficiently synchronized recycling decisions

2007-05-30 Thread Reich, Matthias
cycling of Request/Response *and* the processor. When running Tomcat with these modifications, my Servlet no longer received non-recycled Request objects. Regards, Matthias - To start a new topic, e-mail: users@tomcat.apa

RE: Web application receives request parameters sent to another application on Tomcat 6

2007-05-30 Thread Reich, Matthias
with topic 'Comet: Unsufficiently synchronized recycling decisions'. Regards, Matthias > -Original Message----- > From: Reich, Matthias > Sent: Tuesday, May 29, 2007 10:54 AM > To: 'Tomcat Users List' > Subject: RE: Web application receives request parameters

RE: Web application receives request parameters sent to another application on Tomcat 6

2007-05-29 Thread Reich, Matthias
t is the APR connector (i.e. if you have the tcnative-1 library in your library path), you could try if the problem disappears when you switch to the Http11Protocol. Matthias > -Original Message- > From: Dejan Krsmanovic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 29, 200

RE: WebApps not isolated

2007-05-23 Thread Reich, Matthias
ResourceBundle.getBundle uses the ClassLoader that was used to load the class that's calling this method when it looks up the resource. Have you checked that the class which contains the call to ResourceBundle.getBundle is loaded by the expected WebappClassLoaders? Matthias > -

RE: comet read event

2007-05-23 Thread Reich, Matthias
Hi, I think you have to add cometEvent.getHttpServletResponse().getWriter().flush(); also in the READ event case. Matthias > -Original Message- > From: Peter Warren [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 22, 2007 10:11 PM > To: users@tomcat.apache.org > Subj

RE: Missing ETag in 304 Header

2007-05-18 Thread Reich, Matthias
t), I read the spec in a sense that it is o.k. for the 304 response not to include an ETag. For static content, last modified information usually is sufficient to decide whether a cache entry is still valid, so what additional should an ETag header deliver in that case? Regards, Mat

RE: url-pattern troubles...

2007-05-11 Thread Reich, Matthias
The annoying thing about it is, that you cannot use a pattern that says "ignore /protected/include". Thus, you must specify patterns for all subdirectories that shall be protected separately. Matthias > -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PR

RE: NioEndpoint closes connection upon timeout

2007-05-08 Thread Reich, Matthias
tors, i.e. either both connectors should close the connection upon a timeout, or both should keep it open. Matthias - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

NioEndpoint closes connection upon timeout

2007-05-08 Thread Reich, Matthias
s the behavior of NioEndpoint.timeout can be modified to signal a DISCONNECT instead of a TIMEOUT, even if it was the server and not the client that disconnected. This would allow the Servlet and the CoyoteAdapter to clean up more pro

RE: Comet: problem with request.getParameter() in Comet POST requests

2007-05-03 Thread Reich, Matthias
ou can imagine, that I would not be happy if the API would only offer me a request facade that throws an exception when the servlet tries to access the parameters of a POST request. Matthias - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Comet: problem with request.getParameter() in Comet POST requests

2007-05-03 Thread Reich, Matthias
t what is going on on the transport (TCP) level, and it has to count bytes to know when a message is completely available. So can you tell me: Is the above statement true? Matthias - To start a new topic, e-mail: users@tomcat.apa

RE: Comet: problem with request.getParameter() in Comet POST requests

2007-05-02 Thread Reich, Matthias
ings one can depend on), and implementation details > (things which happen to work some way due to the current > implementation > but are subject to change without notice). I totally agree! Matthias - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Comet: problem with request.getParameter() in Comet POST requests

2007-05-02 Thread Reich, Matthias
not block for a long time in that situation (only until the missing tcp packets of the actual chunk have arrived). This would allow a much more convenient handling of input for most applications. Matthias - To start a new topic,

RE: WAR File loaded into embedded Tomcat not reachable

2007-04-30 Thread Reich, Matthias
uot;/mynewwar" , "C:\mywebapps\mynewwar.war"); ... host.addChild(ctxt); If this doesn't not work for you, you may have to do something like Loader loader = embedded.createLoader( classLoaderKnowingMynewwar ); ctxt.setLoader( loader ); before adding the context. Matthias &

RE: Memory Leak with Comet

2007-04-27 Thread Reich, Matthias
d has done it's cleanup. This time I am a little caucious with advice how to fix the problem, but I hope I can convince you now that the problem exists ;-) Matthias - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Memory Leak with Comet

2007-04-26 Thread Reich, Matthias
where processing objects are not recycled - feel free to ask me for an updated version of my test webapp which reflects my findings of this week. Regards, Matthias > -Original Message- > From: Rémy Maucherat [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 26, 2007 1:04 PM > To:

RE: comet events and connections

2007-04-26 Thread Reich, Matthias
name CometConnection, but it does not fit perfectly yet. Have a look at my posting in thread 'Memory Leak with Comet' for more details. Matthias > -Original Message- > From: Rémy Maucherat [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 26, 2007 1:18 AM > To: Tomc

RE: Memory Leak with Comet

2007-04-26 Thread Reich, Matthias
uestProcessor thread is released from processing early, and another thread (or several threads that synchronize when accessing the request) continues processing at any time it wants, and the application fully controls the lifetime of CometRequest instances. Matthias -Original Message- From: Ré

RE: Memory Leak with Comet

2007-04-25 Thread Reich, Matthias
'wrong' usage of the interfaces, and others should have seen similar effects. Has anyone out there run an application with browsers as clients and with asynchronous responses for a longer time without loosing memory? Or am I the only one so far working on such a scenario? Matthias -Or

RE: Memory Leak with Comet

2007-04-25 Thread Reich, Matthias
I tried with Tomcat6 compiled from trunk revision 532271 and two browsers sending the requests. Unfortunately it is not that easy for me to put the dump on a public web server. Instead, I had a look at the dump myself. First I ran Tomcat with a single connector with attribute maxThreads=20, and s

RE: Tomcat - CometProcessor question

2007-04-25 Thread Reich, Matthias
method and the thread that provides the result. In my tests, I am still struggeling with problems like e.g. memory leaks, so I am not yet in the situation of having a stable running solution. Regards, Matthias Reich -Original Message- From: Praveen Balaji [mailto:[EMAIL PROTECTED] Sent:

RE: Memory Leak with Comet

2007-04-24 Thread Reich, Matthias
don't open more than 2 connections to a single server. Thus, if I use 4 browser instances for my test, I have at most 12 (or 8) active connections. Matthias -Original Message- From: Rémy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 4:58 PM To: Tomcat Users List Su

Memory Leak with Comet

2007-04-24 Thread Reich, Matthias
et requests are answered asynchronously, memory does increase. I did not always wait until I saw the OutOfMemoryError, but the effect is reproducible on my machine. Any opinions about this? Regards, Matthias Reich

null values with jsp:getProperty call

2006-11-21 Thread matthias
How I can configure tomcat or my application, that the jsp:getProperty function returns a empty string "" instead of a null value? On our old tomcat 4 installation, the same application returns empty strings, but on a tomcat 5.5 and on a other tomcat 4.1 installation we have got null values. I don'

Which version of Tomcat Native library to use?

2006-11-13 Thread Matthias Krebs
than 1.1.4" So does anybody know a) why version 1.1.13 and not 1.1.14 is included in the tomcat bundle b) if there is any benefit from using 1.1.14 c) where to get it Thanks and Regards Matthias Krebs -- Matthias Krebs Systemadministration product+concept GmbH Monbijouplatz 5 10178 Berlin F

RE: wrong version 49.0, should be 48.0 - tried everything

2006-09-28 Thread Matthias Adam
6 07:40:54 -0500 Von: "Caldarale, Charles R" <[EMAIL PROTECTED]> An: "Tomcat Users List" Betreff: RE: wrong version 49.0, should be 48.0 - tried everything > > From: Matthias Adam [mailto:[EMAIL PROTECTED] > > Subject: wrong version 49.0, should be 48.0 - tried

wrong version 49.0, should be 48.0 - tried everything

2006-09-28 Thread Matthias Adam
Hi everybody, I already read all kinds of threads about this topic, but I still get from Tomcat the error posted below (basically: "class file has wrong version 49.0, should be 48.0"). I did everything someone ever posted to solve the problem, namely the following: - My PATH variable, as well

Handling file downloads?

2006-09-01 Thread Matthias Klein
Hi everyone, What is the best method of handling files that are to be offered for download? I have a web application that uses JSF as presentation framework. This web app is available as both stand-alone application in Tomcat as well as portlet deployed within a portlet container that relies