Re: how to tune cacheMaxSize

2021-08-20 Thread Michael Richardson
Christopher Schultz wrote: > That's quite a long time (1643381ms), and the timestamps match-up. > So you tried to get a thread-dump during this 27-minute period and the > process simply wouldn't respond? Correct. > It is during this 27-minute period that the CPU is pegged? Cor

Re: how to tune cacheMaxSize

2021-08-20 Thread Michael Richardson
Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/| ruby on rails[ signature.asc Description: PGP signature

Re: reporting a problem with LDAP auth to Windows Active Directory with Kerberos using the default spnegoDelegationQop="auth-conf" value for Tomcat 9.0.31 and 9.0.52

2021-09-19 Thread Michael Osipov
Am 2021-09-14 um 18:23 schrieb Tim Miller Dyck: Hello, I wanted to report an issue with Tomcat LDAP user authentication lookups with Tomcat container Kerberos security that I found in our environment when upgrading to version Tomcat 9.0.52 from 9.0.30 and what configuration settings bypassed

Re: Specifying a Custom Authenticator Class

2021-10-03 Thread Michael Osipov
Am 2021-10-02 um 02:48 schrieb Jerry Malcolm: I need to write a custom BasicAuthenticator class to decode a specialized encoding of the authToken.  I have been scouring google for info.  I found one post where the answer included the statement: This would clearly violate Basic auth scheme and

JASPIC Plugin for OIDC/JWT/OAuth

2021-10-07 Thread Michael Kolenda
Hey Tomcat Users, I've run into an interesting behavior with a custom JASPIC provider. When there is an existing session i.e. JSESSIONID cookie, It appears the groups/roles are not checked again... even when the new groups are provided in the client Subject (JASPIC's validate() ). When attempting

Re: JASPIC Plugin for OIDC/JWT/OAuth

2021-10-08 Thread Michael Kolenda
Thanks Mark! Will take a look On Fri, Oct 8, 2021, 5:01 AM Mark Thomas wrote: > On 07/10/2021 18:37, Michael Kolenda wrote: > > Hey Tomcat Users, > > > > I've run into an interesting behavior with a custom JASPIC provider. When > > there is an existing session i.

Mimicking two distinct virtual hosts just like in HTTPd

2021-11-08 Thread Michael Osipov
/IP address. From my understanding of the server.xml I would need set up *two* Service elements with one Engine, Connector and Host each. Is my understanding correct? Michael - To unsubscribe, e-mail: users-unsubscr

Re: Mimicking two distinct virtual hosts just like in HTTPd

2021-11-09 Thread Michael Osipov
Am 2021-11-08 um 17:36 schrieb Mark Thomas: On 08/11/2021 15:36, Michael Osipov wrote: Folks, consider the following in httpd.conf: Listen {IP}:8443 Listen {IP}:8444 later:    DocumentRoot /www/webapps1    ServerName {hostname}    mod_ssl config...    DocumentRoot /www/webapps2

Re: Tomcat 9.0.76 Memory leak with Java 17

2023-07-12 Thread Michael Osipov
On 2023/07/11 18:16:24 Christopher Schultz wrote: > You should report all of the previous issues to Oracle against their > ORDS version 22.1 and ask them to fix them. It's why you write those > big, fat checks in the first place ;) This doesn't really matter. I have reported a memory leak in OJD

Re: Practical multipart handling

2020-03-26 Thread Michael Osipov
Am 2020-03-26 um 16:03 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm developing my first multipart handler since .. I dunno, maybe 2005? This is the first time I'll be using the Servlet 3.0 multipart handling, of course through Tomcat. Some of these quest

Re: AccessLogValve and IPv6 string representation (RFC 5952 section 4)

2020-04-13 Thread Michael Osipov
Am 2020-04-14 um 01:45 schrieb Manuel Dominguez Sarmiento: Hi, we are in the middle of a thorough review to fully support IPv6 across our platform. It has come to our attention that Java does not fully conform to RFC 5952 section 4 which deals with IPv6 zero compression (i.e. ::1 instead of 0:0

Accessing server cert from valve

2020-04-15 Thread Osipov, Michael
unreliable, especially when SANs are used. I'd like to evaluate RFC 5929 for the paranoid. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Accessing server cert from valve

2020-04-15 Thread Osipov, Michael
Mark, Am 2020-04-15 um 13:44 schrieb Mark Thomas: > On 15/04/2020 12:06, Osipov, Michael wrote: >> Folks, >> >> is there any way to access the server certififace from a valve which has >> been used to establish the TLS context? I haven't found an easy

Re: Accessing server cert from valve

2020-04-15 Thread Osipov, Michael
Added as https://bz.apache.org/bugzilla/show_bug.cgi?id=64353 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Trouble with ServiceLoader from common.loader

2020-04-15 Thread Osipov, Michael
hich the file was actually loaded. My code uses classes from the bootstrap class loader which uses service loader to load, but since my provider is in a hierarchy way up, not system class loader or below, the provider is not visible to it? Michael [1] https://stackoverflow.com/a/4649437

Re: Trouble with ServiceLoader from common.loader

2020-04-15 Thread Osipov, Michael
Am 2020-04-16 um 00:01 schrieb [ext] Osipov, Michael: Seekings advise whether it is me/my understanding or some flaw in Tomcat's class loader hierarchy. The test happens on Tomcat 8.5.54 with Java 13 for JDK-8160768. My implementation of javax.naming.ldap.spi.LdapDnsProvider is packed

Re: Is ARM64 architecture officially supported ?

2020-04-19 Thread Michael Osipov
Am 2020-04-19 um 19:51 schrieb Martin Grigorov: Hi Emilio, On Fri, Apr 17, 2020 at 2:14 PM Emilio Fernandes < emilio.fernande...@gmail.com> wrote: Hola Tomcat community! We consider using AWS Graviton [1] based instances which use ARM64 processors for our backend services. I've googled around

maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-20 Thread Osipov, Michael
ug.cgi?id=64016 * https://bz.apache.org/bugzilla/show_bug.cgi?id=61090 * https://bz.apache.org/bugzilla/show_bug.cgi?id=60717 * https://github.com/eclipse/jetty.project/issues/651 My questions are: * Why is parseRequestLine printing the request body? * Can someone confirm th

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-20 Thread Osipov, Michael
Am 2020-05-20 um 15:07 schrieb Mark Thomas: On 20/05/2020 11:05, Osipov, Michael wrote: My questions are: * Why is parseRequestLine printing the request body? Because it is the contents of the input buffer that is being logged, not just the headers. * Can someone confirm the erratic

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-21 Thread Osipov, Michael
Am 2020-05-21 um 11:02 schrieb Mark Thomas: On 20/05/2020 17:57, Osipov, Michael wrote: Is there an option to proxy via HTTP/2? That should be able to handle these sorts of situations more gracefully. This seems to be broken for some reason in another way: What now? Turn on debug

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-21 Thread Osipov, Michael
Am 2020-05-21 um 23:36 schrieb Mark Thomas: On 21/05/2020 21:45, Osipov, Michael wrote: Am 2020-05-21 um 11:02 schrieb Mark Thomas: On 20/05/2020 17:57, Osipov, Michael wrote: Is there an option to proxy via HTTP/2? That should be able to handle these sorts of situations more gracefully

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-22 Thread Osipov, Michael
Am 2020-05-22 um 13:26 schrieb Mark Thomas: On 21/05/2020 23:30, Osipov, Michael wrote: Output will be sent privately. Got it. Tx. Looking at the direct case. It looks like you have debug logging enabled for everything. You only need it for the org.apache.coyote.http2 package. grep

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-22 Thread Osipov, Michael
Am 2020-05-22 um 18:51 schrieb [ext] Osipov, Michael: Am 2020-05-22 um 13:26 schrieb Mark Thomas: On 21/05/2020 23:30, Osipov, Michael wrote: Output will be sent privately. Got it. Tx. Looking at the direct case. It looks like you have debug logging enabled for everything. You only

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-26 Thread Osipov, Michael
Am 2020-05-22 um 13:26 schrieb Mark Thomas: On 21/05/2020 23:30, Osipov, Michael wrote: Output will be sent privately. Got it. Tx. Looking at the direct case. It looks like you have debug logging enabled for everything. You only need it for the org.apache.coyote.http2 package. grep

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-27 Thread Osipov, Michael
Am 2020-05-27 um 10:51 schrieb Mark Thomas: On 22/05/2020 22:59, Osipov, Michael wrote: I found one issue with HttpClient and Tomcat via HTTP/1.1. I have decrypted the TLS traffic [1]. I can see that HttpClient sends the headers also with a 4 KiB large chunk of the ZIP file. In return a

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-27 Thread Osipov, Michael
Am 2020-05-27 um 12:35 schrieb Mark Thomas: On 27/05/2020 10:59, Osipov, Michael wrote: Am 2020-05-27 um 10:51 schrieb Mark Thomas: On 22/05/2020 22:59, Osipov, Michael wrote: I found one issue with HttpClient and Tomcat via HTTP/1.1. I have decrypted the TLS traffic [1]. I can see

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-27 Thread Osipov, Michael
fail fast. I see no silver bullet here. It seriously depends on the usecase. If the usecase contains a slow link between client and server, I prefer 0. For a fast link, it depends on the average size of the request payload. Can provide output for both, if required. Michael --

Re: Tomcat 9.0.27 loads incorrect openssl version

2020-06-07 Thread Michael Osipov
Am 2020-06-07 um 20:16 schrieb Norbert Elbanbuena: Hi, I removed the previous version of OpenSSL 1.0.2k-fips from yum. Then I installed OpenSSL 1.1.1g from source and made a clean install of tomcat-native 1.2.24 pointing to the correct OpenSSL path. When I start Tomcat, it still shows OpenSSL

Re: Tomcat 9.0.27 loads incorrect openssl version

2020-06-07 Thread Michael Osipov
Am 2020-06-07 um 21:31 schrieb Norbert Elbanbuena: Hi Michael, Interesting I find multiple files. You have managed to mess up your system. The loader hierarchy looks wrong. # ldd -v /usr/lib/libtcnative-1.so I assume that this is provided by your package manager. If so linux

Re: Should Tomcat 10 enable response compression by default?

2020-06-10 Thread Michael Osipov
Am 2020-06-09 um 22:20 schrieb Mark Thomas: Hi all, An enhancement has been opened to enable response compression by default: https://bz.apache.org/bugzilla/show_bug.cgi?id=64431 In short, the proposal is to change the default for the Connector's compression attribute from "off" to "on". This

Re: Connection Closure due to Fatal Stream with HTTP2

2020-06-13 Thread Michael Osipov
Am 2020-06-13 um 08:42 schrieb Chirag Dewan: Hi, We are observing that under high load, my clients start receiving a GoAway frame with error: *Connection[{id}], Stream[{id}] an error occurred during processing that was fatal to the connection.* Background : We have implemented our clients to c

Re: jsvc - non root - log as root

2020-06-27 Thread Michael Osipov
Am 2020-06-26 um 09:21 schrieb Jürgen Weber: Hi, when you run tomcat with jsvc and have jsvc drop privileges to a different user, stdout and stderr log files are still created with root as owner. Can you make jsvc create them as the -user ? What is you actual problem with that? I have talked

Re: RFC7807 ErrorReportValve

2020-07-05 Thread Michael Osipov
t to solve? Tomcat produced errors or by a framework? As for the framework, I would prefer to file an issue with Spring Framework first and see what the devs say because this would solely solve a symptom. Michael - To unsubscri

Re: RFC7807 ErrorReportValve

2020-07-07 Thread Michael Osipov
Am 2020-07-06 um 16:04 schrieb Mark Thomas: On 05/07/2020 10:28, Michael Osipov wrote: Am 2020-07-02 um 21:30 schrieb Thomas Meyer: Hi, What are your opinions on providing a RFC7807 based ErrorReportValve as part of Tomcat default distribution? Thomas, this has been bugging me for a while

Re: Looking for mod_proxy_ajp or mod_proxy_http users

2020-07-09 Thread Michael Osipov
mod_proxy_http for quite a while. I wish I could use Tomcat directly, there are several annoying bugs in mod_proxy_http discussing with httpd devs. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [Tomcat 9.0.37] Https / SSL on Windows server 2016 with windows certificate store

2020-07-12 Thread Michael Osipov
is to write the simplest code, open Windows-MY iterate over all keys, print keys and then you will know what these display names are. The DNS name you use is obviously not the right one since it had to be CERT_NAME_DNS_TYPE. Good luck, Mi

Re: getting web application version string?

2020-08-16 Thread Michael Osipov
can use my listener, it will expose all all context-related information via JNDI. Give it a try: http://mo-tomcat-ext.sourceforge.net/user-guide.html#ContextNamingInfoListener Michael - To unsubscribe, e-mail: users-unsubscr

Re: [tomcat-users] Re: getting web application version string?

2020-08-17 Thread Michael Osipov
Am 2020-08-17 um 17:57 schrieb Jason Pyeron: -Original Message- From: Michael Osipov Sent: Sunday, August 16, 2020 1:27 PM Am 2020-08-16 um 18:16 schrieb Jason Pyeron: Is there a better way than this? Specifically - detect running Tomcat, then if under Tomcat (today only interested

Re: Tomcat JDBC Pool Cleaner Deadlock Problem

2020-08-27 Thread Michael Ng
I had a similar issue with JDBC and it got fixed by adding this parameter 'numTestsPerEvictionRun'=> '3', 'auth' => 'Container', 'driverClassName' => 'oracle.jdbc.OracleDriver', 'maxActive' =>

OpenSSL prompts for key password

2020-10-14 Thread Michael Osipov
g to inhibit the interactive prompt. Does someone know whether we can make this better with libtcnative? Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: us

Re: Re: OpenSSL prompts for key password

2020-10-15 Thread Michael Osipov
> Michael, > > On 10/14/20 12:46, Michael Osipov wrote: > > Folks, > > > > I have recently upgrade a cert and left out the last char of the key > > password by accident. > > > >> # /sbin/init.d/tomcat-smartld start > >> Starting Apache

Re: OpenSSL prompts for key password

2020-10-15 Thread Michael Osipov
Am 2020-10-15 um 17:34 schrieb Christopher Schultz: Michael, On 10/15/20 08:12, Michael Osipov wrote: Michael, On 10/14/20 12:46, Michael Osipov wrote: Folks, I have recently upgrade a cert and left out the last char of the key password by accident. # /sbin/init.d/tomcat-smartld start

No thread name in AccessLogValve printed

2020-10-20 Thread Michael Osipov
quest rejected because it is malformed because before it is handled to a worker? I am not sure whether "info != null && info.getgetWorkerThreadName() != null" would be the right change here. Does someone know better? Michael --

Re: No thread name in AccessLogValve printed

2020-10-20 Thread Michael Osipov
Am 2020-10-20 um 11:44 schrieb Mark Thomas: On 20/10/2020 10:10, Michael Osipov wrote: Folks, I have seen recently entried like this on our access logs: 2020-10-19T20:00:05.591 [null] xyz - "-" 400 - 0 2020-10-19T20:00:05.591 [null] abc- "-" 400 - 0 2020-10-19T20:

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Michael Osipov
Am 2020-11-11 um 12:40 schrieb Suvendu Sekhar Mondal: Hello Everyone, During database failover resiliency testing we noticed something unusual which we still cannot explain. So, reaching out to the community for help. Application Setup: AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd, Windows

AJAX value %27 results in 403 forbidden

2021-03-20 Thread Michael Duffy
I need help from the very capable and experienced IT professionals on this list. Can you help solve this problem: https://stackoverflow.com/questions/66715576/ajax-value-27-results-in-403-forbidden Thx!

Re: Enhancement: Additional user attributes queried by (some) realms

2021-05-27 Thread Michael Osipov
You read my mind. I always wanted to report this, but never find time. Implemented this for our realm and principal years ago: http://tomcatspnegoad.sourceforge.net/apidocs/net/sf/michaelo/tomcat/realm/ActiveDirectoryPrincipal.html#getAdditionalAttributes-- The entire principal should be immutab

Re: Updating Oracle JDK or JRE from 1.8.0-1.8.0_291 to 1.8.0-1.8.0_301, Breaks Apache Tomcat 9 Connector Http11AprProtocol

2021-08-01 Thread Michael Osipov
https://bugs.openjdk.java.net/browse/JDK-8202837 https://www.oracle.com/java/technologies/javase/8u301-bugfixes.html What now? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-

JSPs forcing session ID to be created?

2006-06-25 Thread Michael Rimov
Environment: Tomcat 5.5.17 using http connector, Servlet API 2.4. Hi All, I'm not sure where to go from here, so I'm going to assume it's a Catalina issue and go from there. I was working on a front controller that wouldn't instantiate a session unless absolutely necessary - (for scalability re

RE: JSPs forcing session ID to be created?

2006-06-25 Thread Michael Rimov
> Try adding something like > <%@ page session="false" %> > to your JSP. > Ugh, yup! That did it -- Been programming Servlets/JSP since about '98 and never knew that. :) Thank you very much! -Mike ---

Re: problem with doPost method - executed twice

2006-06-30 Thread Michael Jouravlev
Did the answer that posted four hours ago in your other thread with the same title not work for you? On 6/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear all, I have developed a web application that is running under tomcat 5.5.17 that is under windows XP. I have a servlet that retriev

Re: problem with doPost method - executed twice

2006-06-30 Thread Michael Jouravlev
If you submit the form from form.onsubmit, return false to tell browser that the form has already been submitted. This is Javascript, not a Tomcat issue. On 6/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I have not received any reply regarding the issue bellow. Please, any help i

Re: Tomcat 5.5 Load Balancing Rule Classes

2006-07-10 Thread Michael Echerer
t actually keeping the webapp session serializable and small has to be kept in mind always. Cheers, Michael - 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: Intermediate write in JSP

2006-07-18 Thread Michael Jouravlev
Try setting buffer size to (8x10^6/3x10^4)x500 == 135K. On 7/18/06, Abh N <[EMAIL PROTECTED]> wrote: Hi, I have requirement where in I have to fetch around 30k (size around 8MB) records from DB and render in xls. I am looping through the result set and then using response.getOutputStream

Re: BOOBIES!

2006-07-21 Thread Michael Jouravlev
Right, equality and stuff. Female audience, at least its non-lesbian part, apparently has not been catered for. This is easy to fix. Will "COCKS" be good enough? Thomas, have you explored CATALINA_HOME and CATALINA_BASE, they may point to different directories. I haven't tried your setup, but may

Re: Links to relative URL's from a JSP

2006-07-24 Thread Michael Jouravlev
On 7/24/06, David Smith <[EMAIL PROTECTED]> wrote: > My assumption is that JSP files are "rooted" in the WEB-INF directory and so must use the previous directory notation back up a directory to access the images contained the WebContent folder where everything else is. Nope. They are "rooted"

mod-jk loadbalancing: "Tomcat is down or refused connection. No response has been sent to the client (yet)"

2006-07-25 Thread Michael Huettermann
directly accepts requests via http://127.0.0.1:8180/test/Servlet successfully. The whole system is on my desktop: Apache/2.0.55 (Win32) mod_jk/1.2.17 The Apache httpd listens on 127.0.0.1 Port Windows XP Professional 2002 SP2, no Firewall on local desktop Thanks for your help. Michael

AW: mod-jk loadbalancing: "Tomcat is down or refused connection. No response has been sent to the client (yet)"

2006-07-25 Thread Michael Huettermann
Oh thanks, Guru, I did not see the wood for the trees. Thanks a lot. :) Regards Michael -Ursprüngliche Nachricht- Von: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Juli 2006 14:36 An: 'Tomcat Users List' Betreff: RE: mod-jk loadbalancing: "To

AW: mod-jk loadbalancing: "Tomcat is down or refused connection. No response has been sent to the client (yet)"

2006-07-26 Thread Michael Huettermann
Hi Rainer, Thanks for the hint. :) Michael -Ursprüngliche Nachricht- Von: Rainer Jung [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Juli 2006 20:39 An: Tomcat Users List Betreff: Re: mod-jk loadbalancing: "Tomcat is down or refused connection. No response has been sent t

Bandwidth Profiler?

2006-07-26 Thread Michael Partheil
alled "Bandwidth Profiler" there. Is there a way to configue Apache like this or are there any tools wich do the job? Thanks in advance! Michael - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Re: Bandwidth Profiler?

2006-07-26 Thread Michael Partheil
ector to Apache? Greetings Michael Am 26.07.2006 um 16:27 schrieb Garthfield Carter: http://www.cohprog.com/mod_bandwidth.html Michael Partheil wrote: Hi! I'm looking for a way to locally simulate a slow network connection with Apache Tomcat 5.5.9 running on Mac OS X 10.4.6 and Java 1

Re: [ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-26 Thread Michael Jouravlev
On 7/26/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Hi everyone, I've gotten a number of requests for an article on AjaxParts Taglib, and I finally got around to writing it :) You can check it out here: http://www.omnytex.com/articles If you have never heard of AjaxParts Taglib before, i

Re: [OT] RE: Internet Explorer different browser windows different session ID ????

2006-08-24 Thread Michael Jouravlev
http://support.microsoft.com/?kbid=240928 On 8/24/06, David Smith <[EMAIL PROTECTED]> wrote: Firefox on most environments I've seen search out a previously running instance and calls a new window on it when you attempt to open a new instance. IE just creates a new instance. Not sure what you w

Re: Yet Another Threads & Servlets question but with a JSF twis

2006-08-30 Thread Michael Jouravlev
I suggest changing bgTask.run() to bgTask.start(). On 8/30/06, Geoff Davies <[EMAIL PROTECTED]> wrote: I have JSF managed bean running in a Tomcat 5.5 server on windows xp. The code in a nutshell is this: EndToEndThread etoE = new EndToEndThread(term,freq,year,month,period); bgTask = new Thread(

Re: Performance monitoring for web applications

2006-09-10 Thread Michael Echerer
or one classloader. As you have one classloader per webapp, this could be what you want. I guess it'll be quite Tomcat and SunVM specific, if it works at all. Cheers and good luck. Let us know if you found a way. Michael

Re: Precompiled JSPs after Tomcat restart

2006-09-20 Thread Michael Zoller
be compiled again at first access to them? Educated guess: The servlets/jsp still have to be executed. Once they are loaded into memory they will execute faster because caching mechanisms (harddisk and OS) apply. Michael

DefaultServlet (ContentRange, file download)

2006-09-20 Thread Michael Schick
DefaultServlet into our application. best regards, Michael - 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: Restrict Session In One Browser!

2006-09-20 Thread Michael Jouravlev
On 9/20/06, Alexander Khoo <[EMAIL PROTECTED]> wrote: Dear users, Can anyone help on restricting 1 session per browser? what we are trying to archieve here is when the users sucessfully login to our server & establish a session, we want that session to lock in that current browser & when anoth

Tomcat unable to find the apr library

2006-10-16 Thread Michael Courcy
Hi, I wanted my tomcat instance use the APR (Apache Portable Runtime) so I installed it. Installation went fine, and the library where installed in /usr/local/apr/lib. Then I set the env variable LD_LIBRAY_PATH to /usr/local/apr/lib. I restart tomcat, but I still get this message in the lo

Re: Tomcat unable to find the apr library

2006-10-17 Thread Michael Courcy
apr/bin/ && make && make install This is true I dit not consider 32- or 64-bit compilation and the server use a 32 processor. Is there 2 differents packages 32 or 64 bit, or different compilation directive ? Thanks. Caldarale, Charles R a écrit : From: Michael Courcy [mailto:[E

Re: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Michael Courcy
Can't u use request.sendRedirect("myperlscript.cgi?aparam="+request.getParameter("blah")); Mic [EMAIL PROTECTED] a écrit : Hi, The problem is not to get the parameters in my java filter. The problem is that I need to pass the posted parameters from the form plus one additional parameter to m

Re: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Michael Courcy
Perl script and one additionally parameter. Regards Gunnar -Ursprungligt meddelande- Från: Michael Courcy [mailto:[EMAIL PROTECTED] Skickat: den 17 oktober 2006 11:05 Till: Tomcat Users List Ämne: Re: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20 Can&#x

Re: problems with unpacking ROOT.war

2006-10-17 Thread Michael Courcy
Maybe a stupid clue but instead of What happen if u try [EMAIL PROTECTED] a écrit : Hi again, OK - here are some steps you can try out to reproduce the problem I am experiencing - I'm hoping this will tempt someone into taking a look :-). The problem we have is that tomcat 5.5.x (I t

Re: SV: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Michael Courcy
Not sure to understand, u mean that u can't reach the request object in your filter since u are using Tomcat 5.5.20 ? [EMAIL PROTECTED] a écrit : Hi, My code is in a filter that executes before the CGIServlet in Tomcat kicks in. It worked with Tomcat 5.5.17 but NOT with Tomcat 5.5.20 and I wo

Re: best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Michael Courcy
Hi, If you don't want to use a filter you should consider the urlrewrite capacity of apache. Here is a tech note that should help you http://www.amitysolutions.com.au/documents/URLRewriting-technote.pdf Of course if u use tomcat as a stand alone server it could be not adapted. Though It's n

Re: Tomcat unable to find the apr library

2006-10-17 Thread Michael Courcy
n do to rely on apache server for serving static content and right now it's going to be enough. Thanks for your answer anyway. Cheers Mladen Turk a écrit : Michael Courcy wrote: Hum, I remember that I had to download the source apr-1.2.7.tar.gz for APR directly from

getPageContext returns null

2005-10-26 Thread Michael Neel
Hi, Quick overview, I'm setting some variables in the session from my servlet to be used in my JSP/JSTL page. Everything is fine if a JSP page is called before the servlet, but a call to the servlet first results in JspFactory.getPageContext to return null. To reproduce, I restart the Tomcat ser

Re: getPageContext returns null

2005-10-26 Thread Michael Neel
uest.getRequestDispatcher("blah.jsp").forward(request, response); > > // in the JSP > Object myObject = request.getAttribute(MyConstants.MY_OBJECT_CONSTANT_NAME); > > > -Original Message- > > From: Michael Neel [mailto:[EMAIL PROTECTED] > > Sent: Wednes

Modifying the Tomcat Cache?

2005-11-02 Thread Michael Vorschütz
class? I don't want to restart the tomcat or delete the whole cache after the changing. And I don't want to set the reloadable parameter to true for the whole web application. Has somebody an idea how I could implement this? Greetings Michael

IIS6, Tomcat 5.0.x, and Lawson Portal Configuration

2005-11-03 Thread Michael Erickson
sure where the difference is lying. Any help is greatly appreciated! Thanks! Michael J. Couto-Erickson Enterprise Solutions - Technical Manager PDS Technical Services Inc. 714.540.7900 ext 20214 714.540.8092 facsimile 972.746.1873 mobile [EMAIL PROTECTED]

RE: Load class from different web app

2005-11-04 Thread Michael Forster
That is not strictly true, We had an application at work that used JNI and was part of a Database access library as well as accessing things like the Machines Hostmac address. We could not run it from the Tomcat area and had to put it into a jar file and put the jar file into the JVM jdk/jre/lib/e

RE: Load class from different web app

2005-11-04 Thread Michael Forster
: Load class from different web app Placing classes jdk/jre/lib/ext puts them into the system classloader. This opens a whole class of class not found errors and errors related to tomcat not reloading classes. (As well as memory leaks due to Classloaders not being freed) -Tim Michael Forster wrote

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread Michael Neel
Not tried this myself, but it sounds like a *nix system (/etc)? Have you tried making ROOT a symlink to your app? On 11/8/05, Francis Galiegue <[EMAIL PROTECTED]> wrote: > Hello everyone, > > We have a problem here. Tomcat 5.0.x (x being 27 or 30), packages from > jpackage, BEA 1.4.2 JVM used. >

RE: ROOT webapp question confused with hosts

2005-11-08 Thread Michael Forster
You need to set up multiple host entries in the conf. ie -Original Message- From: Narahari 'n' Savitha [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 17:23 To: users@tomcat.apache.org Subject: ROOT webapp question confused with hosts Friends, I am unab

tomcat 5.5.9 basic config

2005-11-12 Thread Michael Chaplin
I'm stumped on a simple issue. I have only one webapp in my tomcat5/webapps directory called "crypto" my context tags within the host tag of my server.xml is: docBase="/usr/share/tomcat5/webapps" debug="9" reloadable="true" privileged="true" allowLinking="tru

Re: tomcat 5.5.9 basic config

2005-11-12 Thread michael chaplin
-11-12 at 18:33, Hassan Schroeder wrote: > Michael Chaplin wrote: > > I'm stumped on a simple issue. I have only one webapp in my > > tomcat5/webapps directory called "crypto" > > > > my context tags within the host tag of my server.xml is: > > > >

tomcat and wbs

2005-11-15 Thread Michael Niemaz
Hi all, Could someone explain me or point me to an explanation of how tomcat initialize web services? I'd like to initialize them automatically at tomcat start-up instead of just before their invocation. Thanx, --mike - T

Re: tomcat and wbs

2005-11-15 Thread Michael Niemaz
se it dependes on what you are going to do, but starting some service at application-startup can be done via web.xml (of your application) either by a custom listener or servlet loading up your service, sometimes done by using a singleton. hope it helps - -reynir Michael Niemaz wrote: Hi all,

Tomcat and Web Services

2005-11-15 Thread Brohm Michael
Hi I have question concerning Tomcat and Web Services. I have a web services running on a server named 'DTJAS' under tomcat with JWSDP 1.6, that sits behind a firewall. I would like to publish this to the outside, so we came up with a name of LLOYDS, we have a web server sitting outside the fire

Re: tomcat and wbs

2005-11-16 Thread Michael Niemaz
this.context = event.getServletContext(); yourService.start(); } public void contextDestroyed(ServletContextEvent event) { this.context = null; yourService.stop(); } } hope it helps - -reynir Michael Niemaz wrote: Thanx Reynir, it helps ... although I would

Re: Tomcat 5.5 problem - container not serving up web content

2005-11-18 Thread Michael Niemaz
I have the same message when I try to deploy a war file that already exists. I have to shutdown, remove the old war file and its deployed dir, copy the new war file and then re-start Linux Tomcat. This probably has nothing to do with your problem but ... we never know ;-) --mike Jorge Rodrigue

SSL certificate usage

2005-11-25 Thread Michael Pahle
corresponds to my certificate is missing??? What can i do, what further information is required??? Any help appreciated / Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SSL certificate usage

2005-11-25 Thread Michael Pahle
Solved the problem myself: the certificate based on a key that was produced "outside" of keytool. In that way proceed as described in: http://www.jguru.com/faq/view.jsp?EID=532461 Michael - To unsubscribe, e-ma

WARNUNG: Internal error flushing the buffer in release()

2005-12-01 Thread Michael Winkler
information on this topic but couldn't find any helpful information ... What does this message mean to me and how can I avoid it? Has this anything to do with the buffer size of the response object? Any help would be a

Tomcat, IIS, Integrated Windows Authentication, and request.getRemoteUser()

2005-12-07 Thread Michael Neel
I'm running Tomcat 5.5.9 connected to IIS 5.1 with the isapi_redirect.dll using AJP/1.3. I am trying to enable Integrated Windows Authentication in IIS and have Tomcat access the username of the remote user. I've tried: ---server.xml--- and: ---server.xml--- and: ---server.xml--- ---j

Selective auto-deploy of web-apps?

2005-12-08 Thread Michael Hackett
nyone here has attempted something like this, I'd love to hear from you. Cheers, -- Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Selective auto-deploy of web-apps?

2005-12-09 Thread Michael Hackett
> From: "Caldarale, Charles R" <[EMAIL PROTECTED]> > > > From: Michael Hackett [mailto:[EMAIL PROTECTED] > > > > We want to prompt the user for the database password and > > boot the database before launching the real application. > > What

RE: Selective auto-deploy of web-apps?

2005-12-09 Thread Michael Hackett
Quoting "Caldarale, Charles R" <[EMAIL PROTECTED]>: > > From: Michael Hackett [mailto:[EMAIL PROTECTED] > > Subject: Re: Selective auto-deploy of web-apps? > > > > Anyway, I appreciate the attempt, but I don't think that solves my > > proble

Re: Tomcat, IIS, Integrated Windows Authentication, and request.getRemoteUser()

2005-12-14 Thread Michael Neel
nk to redirector docs that cover stuff like this? So far i've only found basic install information. Mike On 12/7/05, Michael Neel <[EMAIL PROTECTED]> wrote: > I'm running Tomcat 5.5.9 connected to IIS 5.1 with the > isapi_redirect.dll using AJP/1.3. I am trying to enable Integrat

ContextManager in Tomcat 5.5?

2005-12-15 Thread Michael Neel
I'm trying to figure out ways of running Tomcat behind IIS, and area where documentation is very lacking :/ I found the IISConfig directive here at: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/jk/config/IISConfig.html it says: Generates automatic IIS isapi_redirect confi

<    1   2   3   4   5   6   7   8   9   10   >