Re: [ANN] Apache Tomcat 8.0.0-RC1 (alpha) available

2013-08-06 Thread Michael-O
=55373 Will be happy to hear comments. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache Tomcat 8.0.0-RC1 release vote started

2013-08-02 Thread Michael-O
) ^ Why if we do have the wonderful Tomcat JDBC Pool? Can't we get rid of that relic? Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache Tomcat 8.0.0-RC1 release vote started

2013-08-02 Thread Michael-O
Am 2013-08-02 11:43, schrieb Mark Thomas: Michael-O 1983-01...@gmx.net wrote: Am 2013-08-01 22:59, schrieb Mark Thomas: If you'd like early sight of Tomcat 8 and an opportunity to contribute to Tomcat development, the release vote has now opened for the first Tomcat 8 release candidate

Re: Auto-loading of the SQL Server JDBC Driver in 6.0.35

2013-08-02 Thread Michael-O
happens at least for me with the Oracle driver. Everything else does not make sense to me. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache Tomcat 8.0.0-RC1 release vote started

2013-08-02 Thread Michael-O
Am 2013-08-02 21:26, schrieb Caldarale, Charles R: From: Michael-O [mailto:1983-01...@gmx.net] Subject: Re: Apache Tomcat 8.0.0-RC1 release vote started According to Apache's JIRA DBCP2 is still in the works whereas Tomcat JDBC Pool already works quite well. If so, I would favor the first

Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-08-01 Thread Michael-O
Am 2013-08-01 15:41, schrieb Jeffrey Janner: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, July 31, 2013 12:27 PM To: Tomcat Users List Subject: Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces. TRAN Trung Thanh wrote:

Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-07-31 Thread Michael-O
Am 2013-07-31 07:11, schrieb TRAN Trung Thanh: Hi all, I am newbie here. Today, I tried to start apache tomcat 7.0.42 in Linux environment. Server path contains two consecutive spaces. When I run ./catalina.sh run, server cannot start and there is the following exception in console

Re: OT: How to use JSP outside of tomcat

2013-07-24 Thread Michael-O
? (it takes tomcat too long to see updated files for the purpose I have in mind) Use FreeMarker or Velocity for that. JSP was not designed for that. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: IE 8 and before refusing to download files (I hate IE)

2013-06-03 Thread Michael-O
out. Though I use an authenticator in Tomcat which sets securePagesWithPragma to false. Have you considered searching Tomcat's source code -- or better yet writing an always-pass-through authenticator which sets this flag by default? Michael

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-23 Thread Michael-O
Am 2013-05-21 20:38, schrieb Mark Thomas: On 21/05/2013 19:01, Michael-O wrote: Mark, I did receive an answer to the issue, citing your findings. See verbatim copy below: Hi Michael, I received the following update from our developer

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-21 Thread Michael-O
Am 2013-05-17 14:26, schrieb Mark Thomas: On 17/05/2013 12:31, Michael-O wrote: Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Follow-up

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-21 Thread Michael-O
. Subsequent reloads won't trigger a leak. That is correct. Does this mean that only one WebAppClassLoader stays in memory because the thread is launched once and attached to that class loader? Michael - To unsubscribe, e-mail: users

Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
the DriverManager loading nor does it actively unload the driver. Oracle answer: They were able to reproduce the issue. The technical analysis says: Hi Michael, I confirmned internally that this message from Tomcat can be ignored as there is no risk of any real leak from

Re: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
Pool and OracleTimeoutPollingThread On 17/05/2013 09:28, Michael-O wrote: Hi folks, there's now a follow-up on the issue [1]. Recap: JreMemoryLeakPreventionListener reported that my webapp has spawned OracleTimeoutPollingThread because I have set a QueryTimeout in the JDBC Pool

Aw: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
Gesendet: Freitag, 17. Mai 2013 um 14:26 Uhr Von: Mark Thomas ma...@apache.org On 17/05/2013 12:31, Michael-O wrote: Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users

Aw: RE: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-17 Thread Michael-O
12:31, Michael-O wrote: Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Follow-up: Possible false-postive

Re: ErrorReportValve's char encoding ignored

2013-05-17 Thread Michael-O
Am 2013-05-15 16:35, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Micheal, On 5/15/13 3:46 AM, Michael-O wrote: I have modified the ErrorReportValve's messages outside of the one-byte range and the output got mangled. The response does not contain a char

Switching from APR to NIO connection on Tomcat 7.0.32

2013-05-16 Thread Michael Martin
Hello, We're looking at a known issue with Tomcat 7.0.32's APR connector (which users OpenSSL), as documented here - http://tomcat.apache.org/security-7.html#Not_a_vulnerability_in_Tomcat (TLS SSL Man in Middle). A solution this offers is switching to the NIO connector. From what iv'e read,

RE: Switching from APR to NIO connection on Tomcat 7.0.32

2013-05-16 Thread Michael Martin
on Tomcat 7.0.32 On 16/05/2013 14:23, Michael Martin wrote: Hello, We're looking at a known issue with Tomcat 7.0.32's APR connector (which users OpenSSL), as documented here - http://tomcat.apache.org/security-7.html#Not_a_vulnerability_in_Tomcat (TLS SSL Man in Middle). Are you sure

ErrorReportValve's char encoding ignored

2013-05-15 Thread Michael-O
on Tomcat 6.0.35. I presume this to be a bug. Should I file a BZ issue? Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Aw: Re: ErrorReportValve's char encoding ignored

2013-05-15 Thread Michael-O
Hi Christopher, Von: Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Micheal, On 5/15/13 3:46 AM, Michael-O wrote: I have modified the ErrorReportValve's messages outside of the one-byte range and the output got mangled. The response

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-10 Thread Michael-O
Am 2013-05-08 19:42, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/8/13 1:14 PM, Michael-O wrote: Christopher, Am 2013-05-08 13:54, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/8/13 3:01 AM, Michael

Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Michael-O
, Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Michael-O
Am 2013-05-08 14:08, schrieb Nick Williams: On May 8, 2013, at 6:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/8/13 3:01 AM, Michael-O wrote: I recently have started using the SlowQueryReport to tackle performance issues. The log message

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Michael-O
Am 2013-05-08 14:38, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/8/13 8:08 AM, Nick Williams wrote: On May 8, 2013, at 6:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/8/13 3:01 AM, Michael-O

Re: Print parameters in Tomcat JDBC Pool's SlowQueryReport

2013-05-08 Thread Michael-O
Christopher, Am 2013-05-08 13:54, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/8/13 3:01 AM, Michael-O wrote: I recently have started using the SlowQueryReport to tackle performance issues. The log message, unfortunately, does not contain

Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool

2013-05-07 Thread Michael-O
month a ago I reported the same issue with the PoolCleaner thread and Filip fixed the class loader orders. Can this be a false-positive by the memory leak detector since this thread lives only once in the entire VM? Thanks, Michael [1] http://stackoverflow.com/a/3387312/696632 [2] http

Aw: Re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool

2013-05-07 Thread Michael-O
Von: Mark Thomas ma...@apache.org On 07/05/2013 09:16, Michael-O wrote: Hi folks, I recently enabled a QueryTimeoutInterceptor with queryTimeout of 60 seconds in a JDBC Pool data source (7.0.37). When the app was shut down, Tomcat said: The web application [/...] appears to have

Re: Re: Re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool

2013-05-07 Thread Michael-O
Von: Mark Thomas ma...@apache.org On 07/05/2013 10:25, Michael-O wrote: Von: Mark Thomas ma...@apache.org On 07/05/2013 09:16, Michael-O wrote: Hi folks, I recently enabled a QueryTimeoutInterceptor with queryTimeout of 60 seconds in a JDBC Pool data source (7.0.37). When the app

Aw: Re: Re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool

2013-05-07 Thread Michael-O
Von: Mark Thomas ma...@apache.org On 07/05/2013 10:25, Michael-O wrote: Von: Mark Thomas ma...@apache.org On 07/05/2013 09:16, Michael-O wrote: Hi folks, I recently enabled a QueryTimeoutInterceptor with queryTimeout of 60 seconds in a JDBC Pool data source (7.0.37). When the app

Re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool

2013-05-07 Thread Michael-O
Hello Christopher, Am 2013-05-07 17:20, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 5/7/13 6:43 AM, Michael-O wrote: Von: Mark Thomas ma...@apache.org On 07/05/2013 10:25, Michael-O wrote: Von: Mark Thomas ma...@apache.org On 07/05/2013 09:16

Re: Unable to start tomcat (JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client.)

2013-04-06 Thread Michael-O
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path 1. This is not a Tomcat problem but a library path problem. 2. Use the native Java driver, there's no need for the OCI version. 3. Read the Oracle docs how to use OCI8 with JDBC. Michael

Re: Tomcat7 - ajax and connection pool : connection closed despite the use of validationQuery and testOnBorrow

2013-04-05 Thread Michael-O
, pass it along, when you are done. Close it. ThreadLocals are useful in other cases but not in this one. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Tomcat7 - ajax and connection pool : connection closed despite the use of validationQuery and testOnBorrow

2013-04-05 Thread Michael-O
to missing synchronization? Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-04-01 Thread Michael-O
Am 2013-03-31 23:52, schrieb Ognjen Blagojevic: Shyam, On 29.3.2013 14:54, Shyam Yadav wrote: I did all the setting you have mentioned for Unix Daemon for Tomcat, but still i am getting the same problem. i.e. Permission Denied. When you run your jsvc-based Tomcat startup script, you MUST do

Re: Tomcat Valve Custom args

2013-04-01 Thread Michael-O
Am 2013-04-01 08:25, schrieb N.s.Karthik: Hi Spec: JDK1.6 Tomcat 6.0.26 O/s nix Suse I have build a Customized Valve and have done the required settings in context.xml for specific APP and have them returned variables System.println on console ( Catalina.out) Question : 1) How to get the

Re: Tomcat Valve Custom args

2013-04-01 Thread Michael-O
. If your need access to further attributes do in your app: MyCustomPrincipal principal = (MyCustomPrincipal) request.getPrincipal(); ...access attributes. That is the way to go. Michael - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Michael-O
Am 2013-03-31 19:20, schrieb Kevin Jenkins: If I run tomcat7w.exe (windows) there is a tab where I can set the initial and maximum memory pool to 2560. However, I don't want to use tomcat7w.exe, I just want to run the batch file manually (startup.bat). However, I can't figure out how to set

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Michael-O
following options: 1. Use Ubuntu's start-stop-daemon 2. do $ su - tomcat -c startup.sh 3. Evaluate Commons Daemon which will perform that aforementioned downgrade in plain C. Ubuntu actually does that with 1 and 3. HAve a look at Ubuntu's tomcat6 startup script. Michael

Re: Diagnosing Silently Frozen Tomcats

2013-03-22 Thread Michael Gesundheit
Just do sudo kill -3 PID It will most likely work. If sudo is not enable - just google it. You will find instructions how to enable it. -Michael --- On Fri, 3/22/13, Mark Eggers its_toas...@yahoo.com wrote: From: Mark Eggers its_toas...@yahoo.com Subject: Re: Diagnosing Silently Frozen

Register static JNDI env entry dynamically

2013-03-16 Thread Michael-O
well. Rethinking this makes me ask whether a listener is the right thing to do. Would an object factory a better approach for this? Did I abuse the listener concept? Code is available for inspection. Thanks, Michael

Re: Register static JNDI env entry dynamically

2013-03-16 Thread Michael-O
Am 2013-03-16 10:46, schrieb Konstantin Kolinko: 2013/3/16 Michael-O 1983-01...@gmx.net: Hi, I'd like to make a string available as an env entry via JNDI. The string is static but must be created dynamically at startup time of the webapp. I have evaluated and implemented a listener which I

Re: Register static JNDI env entry dynamically

2013-03-16 Thread Michael-O
Am 2013-03-16 11:43, schrieb Konstantin Kolinko: 2013/3/16 Michael-O 1983-01...@gmx.net: Am 2013-03-16 10:46, schrieb Konstantin Kolinko: 2013/3/16 Michael-O 1983-01...@gmx.net: Hi, I'd like to make a string available as an env entry via JNDI. The string is static but must be created

Re: tomcat-7.0.35 ON Window Server SP 2

2013-02-28 Thread Michael-O
Michael-O wrote: Am 2013-02-27 19:36, schrieb André Warnier: dku...@ccilindia.co.in wrote: Hi, I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window Server SP 2 machine and it is working fine. Is it OK to run apache-tomcat-7.0.35 setup on Window Server SP 2 machine

Re: tomcat-7.0.35 ON Window Server SP 2

2013-02-27 Thread Michael-O
Am 2013-02-27 19:36, schrieb André Warnier: dku...@ccilindia.co.in wrote: Hi, I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window Server SP 2 machine and it is working fine. Is it OK to run apache-tomcat-7.0.35 setup on Window Server SP 2 machine? Please reply. Server version:

org.apache.catalina.valves.RemoteAddrValve on Tomcat 7.0.27 x64 Windows 2008 R2

2012-12-13 Thread Michael Trabjerg
\.168\.12\.22, 192\.168\.12\.23/ Now I can only make to following work Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127\.0\.0\.1/ Please help Thanks Br. Michael Trabjerg

RE: org.apache.catalina.valves.RemoteAddrValve on Tomcat 7.0.27 x64 Windows 2008 R2

2012-12-13 Thread Michael Trabjerg
Hi André This worked Valve className=org.apache.catalina.valves.RemoteAddrValve allow=(127\.0\.0\.1|192\.168\.12\.22|192\.168\.12\.23)/ The other used to work for Tomcat 6. Thanks a lot. Br Michael Trabjerg -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 13

Invocation condition of ErrorReportValve

2012-11-28 Thread Michael-O
Hi, why does the ErrorReportValve trigger the report on this condition only? if ((statusCode 400) || (response.getContentCount() 0)) return; So, even if I do a reponse.setStatus(404), this valve is executed. According to the Javadoc: if setStatus is invoked [1], the response

Re: Invocation condition of ErrorReportValve

2012-11-28 Thread Michael-O
Am 2012-11-28 18:26, schrieb Mark Thomas: Michael-O 1983-01...@gmx.net wrote: Hi, why does the ErrorReportValve trigger the report on this condition only? if ((statusCode 400) || (response.getContentCount() 0)) return; So, even if I do a reponse.setStatus(404), this valve is executed

Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Hi, I am having again trouble with the respone.sendError method. The docs say that an IllegalStateException is thrown if response has already been committed. So this should cause an exception: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws

Re: Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Am 2012-11-28 21:39, schrieb Mark Thomas: On 28/11/2012 20:34, Michael-O wrote: Hi, I am having again trouble with the respone.sendError method. The docs say that an IllegalStateException is thrown if response has already been committed. So this should cause an exception: protected void doGet

Re: Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Am 2012-11-28 21:41, schrieb Caldarale, Charles R: From: Michael-O [mailto:1983-01...@gmx.net] Subject: Writing to response and issuing sendError The exception is thrown out to the console but the response is still written. As it should be - it's already committed, and may well have been

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-26 Thread Michael-O
Am 2012-11-23 23:02, schrieb Mark Thomas: On 23/11/2012 22:00, Michael-O wrote: Am 2012-11-23 22:50, schrieb Mark Thomas: On 23/11/2012 21:44, Michael-O wrote: Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-25 Thread Michael-O
Am 2012-11-24 23:08, schrieb Terence M. Bandoian: On 11/23/2012 3:09 PM, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat

HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
and closes the response immediately. A clarification is highly appreciated. Thanks, Michael [1] http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#sendError%28int%29 - To unsubscribe, e-mail: users

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat alters

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 22:50, schrieb Mark Thomas: On 23/11/2012 21:44, Michael-O wrote: Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: Hi, I've been struggling recently

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 23:02, schrieb Mark Thomas: On 23/11/2012 22:00, Michael-O wrote: Am 2012-11-23 22:50, schrieb Mark Thomas: On 23/11/2012 21:44, Michael-O wrote: Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 23:10, schrieb Mark Thomas: On 23/11/2012 22:07, Michael-O wrote: Am 2012-11-23 23:02, schrieb Mark Thomas: On 23/11/2012 22:00, Michael-O wrote: snip/ I am aware of that implementation detail. I was solely referring to the definition in the JavaDocs. They seem

Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
to create a HTTP session for that for two reasons: 1. Creation of sessions should be upto the webapp. 2. There is no guarantee that the client will present the session cookie on a subsequent request. Thanks, Michael [1] http://www.chromium.org/spdy/spdy-authentication [2] http

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
Am 2012-10-27 16:57, schrieb Mark Thomas: On 27/10/2012 14:50, Michael-O wrote: Hi, several authentication mechanisms require a session (*not* HTTP session) or connection being initiated when authentication is performed and principal cached for subsquent requests [1], [2]. Now, I want

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
Am 2012-10-27 18:38, schrieb Mark Thomas: On 27/10/2012 16:28, Michael-O wrote: Am 2012-10-27 16:57, schrieb Mark Thomas: The only mechanism to maintain state between HTTP requests is the HTTP session. You might be able to hack something together (in a non-portable way) on a per connection

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
Am 2012-10-27 19:25, schrieb Mark Thomas: Is this something worth being filed in Bugzilla as a longterm goal for Tomcat 8? Sure, but without a proposed patch I suspect it will sit there for a few years and then closed as WONTFIX. With a patch, it still might not get fixed but at least you'll

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
Am 2012-10-27 20:22, schrieb Mark Thomas: On 27/10/2012 18:57, Michael-O wrote: Am 2012-10-27 19:25, schrieb Mark Thomas: Is this something worth being filed in Bugzilla as a longterm goal for Tomcat 8? Sure, but without a proposed patch I suspect it will sit there for a few years

Installing CA cert on SSL enabled webserver

2012-09-26 Thread Michael Namaiandeh
Hi all- I have a question about Tomcat 7.0.27. I have a webserver that I enabled S= SL access for. I have purchased a 3rd party cert. However; I am having trouble installing the cert on the server. Whenever, I go to https://myserver.mycompany.com, I receive the This site is untrusted

RE: Installing CA cert on SSL enabled webserver

2012-09-26 Thread Michael Namaiandeh
will trust your server's certificate. Regards, Steve -Original Message- From: users-return-236875-STEVEN.J.ADAMUS=saic@tomcat.apache.org [mailto:users-return-236875-STEVEN.J.ADAMUS=saic@tomcat.apache.org] On Behalf Of Michael Namaiandeh Sent: Wednesday, September 26, 2012 11:37 AM

RE: Application Remediation - Warren Restack

2012-06-05 Thread Osipov, Michael
Mehta, Hardik Jayesh wrote: Hi, I am from Citi - Application Management Team. We are currently in the process of migrating all our desktops from Vista to Win7. In order to migrate these users to Windows 7 the application mentioned below may need remediation. In that regards I have few

Connecting to Tomcat APR Connector with TLSv1 fails with Java HttpsURLConnection

2012-06-01 Thread Osipov, Michael
://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/faq/troubleshooting.html [6] https://issues.apache.org/bugzilla/show_bug.cgi?id=53344 [7] http://stackoverflow.com/a/10198268/696632 With best regards, Michael Osipov

Re: aliases attribute tomcat7

2012-05-22 Thread Michael Ravits
Hi Pid, Tried your suggestion but got the same results. Any way to debug this? Thanks, Michael 2012/5/21, Pid p...@pidster.com: On 17/05/2012 07:11, Michael Ravits wrote: Hey Pidster, This is the tag I've used: Context aliases=/img/images=/home/michaelr/images,/img/thumbs=/home/michaelr

Re: aliases attribute tomcat7

2012-05-17 Thread Michael Ravits
Hey Pidster, This is the tag I've used: Context aliases=/img/images=/home/michaelr/images,/img/thumbs=/home/michaelr/thumbs/Context It could have been a permissions problem but I gather that if docBase works, this must work as well permission wise. Thanks, Michael 2012/5/17, Pid p

Re: aliases attribute tomcat7

2012-05-17 Thread Michael Ravits
configuration somewhere.. does anyone know what is it? Thanks, Michael 2012/5/17 Michael Ravits michaelr...@gmail.com Hey Pidster, This is the tag I've used: Context aliases=/img/images=/home/michaelr/images,/img/thumbs=/home/michaelr/thumbs/Context It could have been a permissions problem

RE: dbcp datasource encryption

2012-04-19 Thread Osipov, Michael
이재만 wrote: and i used dbcp as datasource on tomcat7 so i want to encrypt dbcp datasource how do i encrypt my dbcp datasource .. plase give me some samples.. thanks. This should probably go to the DBCP pool but you should evaluate SSL with your database. With best regards, Michael

RE: Availability of a resource in a realm

2012-04-19 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/4/18 Osipov, Michael michael.osi...@siemens.com: Konstantin Kolinko wrote: 2012/4/17 Osipov, Michael michael.osi...@siemens.com: Hi folks, I have a resource declared in my context.xml (not a resource link). I want to retrieve that resource as soon as possible

RE: Availability of a resource in a realm

2012-04-18 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/4/17 Osipov, Michael michael.osi...@siemens.com: Hi folks, I have a resource declared in my context.xml (not a resource link). I want to retrieve that resource as soon as possible in my realm. I tried start() and init() but it seems like that at this time

Availability of a resource in a realm

2012-04-17 Thread Osipov, Michael
complete? I am on Tomcat 6.0.35 With best regards, Michael Osipov

RE: StandardHostValve kills custom error message

2012-04-13 Thread Osipov, Michael
ticket: https://issues.apache.org/bugzilla/show_bug.cgi?id=53071 With best regards, Michael Osipov - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

StandardHostValve kills custom error message

2012-04-12 Thread Osipov, Michael
about that: A mere response#isError call would suffice to wrap that behavior and pass the response as is. With best regards, Michael Osipov - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e

RE: StandardHostValve kills custom error message

2012-04-12 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/4/12 Osipov, Michael michael.osi...@siemens.com: Hi folks, I am sending a custom error message in my authenticator but it gets removed by the StandardHostValve. This is what I do in my authenticator: catch (PrivilegedActionException e) {   logger.error

RE: Enabling Manager

2012-04-03 Thread Osipov, Michael
pawan.kuma...@wipro.com wrote: Hi guys, Can any body explain, how to enable Manager in Tomcat? We are using tomcat-6.0.32.B.RELEASE. By reading he documentation! - To unsubscribe, e-mail:

RE: Chasing a SocketTimeoutException with APR

2012-03-30 Thread Osipov, Michael
Pid * wrote: On 29 Mar 2012, at 12:57, Osipov, Michael michael.osi...@siemens.com wrote: Hi folks, I am trying to narrow down an exception which is happening occasionally in certain spots of your code: SCHWERWIEGEND: Servlet.service() for servlet default threw exception

RE: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-30 Thread Osipov, Michael
have suggested in a previous mail? Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-30 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/3/30 Osipov, Michael michael.osi...@siemens.com: Filip Hanik (mailing lists) wrote: http://svn.apache.org/viewvc?view=revisionrevision=1306946 Thanks for the patch, I am having trouble to build from source. I do have some test failures, should I ignore them

RE: Chasing a SocketTimeoutException with APR

2012-03-30 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/3/29 Osipov, Michael michael.osi...@siemens.com: Hi folks, I am trying to narrow down an exception which is happening occasionally in certain spots of your code: SCHWERWIEGEND: Servlet.service() for servlet default threw exception

RE: Chasing a SocketTimeoutException with APR

2012-03-30 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/3/30 Osipov, Michael michael.osi...@siemens.com: Konstantin Kolinko wrote: 2012/3/29 Osipov, Michael michael.osi...@siemens.com: Hi folks, I am trying to narrow down an exception which is happening occasionally in certain spots of your code: SCHWERWIEGEND

RE: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-29 Thread Osipov, Michael
Filip Hanik (mailing lists) wrote: PoolCleaner is a static singleton. The pool cleaner thread will not be removed until all JDBC pools have been stopped. So, yes, one application can be the one that starts the thread, but not necessarily the one that stops it Filip, I have already noticed

Chasing a SocketTimeoutException with APR

2012-03-29 Thread Osipov, Michael
/java -version java version 1.6.0.13 Java(TM) SE Runtime Environment (build 1.6.0.13-jinteg_01_dec_2011_03_39-b00) Java HotSpot(TM) Server VM (build 20.3-b02-jre1.6.0.13-rc1b1, mixed mode) Tomcat 6.0.35 Libtcnative 1.1.22 Client IE8 on Windows XP. With best regards, Michael Osipov

[JDBC Pool] PoolCleaner creates some sort of memory

2012-03-28 Thread Osipov, Michael
to to identify anything. Can this be improved? [1] http://www.mail-archive.com/users@tomcat.apache.org/msg87350.html With best regards, Michael Osipov - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

RE: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-28 Thread Osipov, Michael
Konstantin Kolinko wrote: 2012/3/28 Osipov, Michael michael.osi...@siemens.com: Hi folks, Recently this started to pop up in my logs: 23.03.2012 14:12:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SCHWERWIEGEND: The web application [/ket] appears to have started

Perfoming webapp auth on resource

2012-03-16 Thread Michael-O
is that the default behavior is auth=Container which is an obvious case since the container manages the resource. Thanks, Michael [1] http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource_Definitions - To unsubscribe, e

Document base/ Document root

2012-03-15 Thread Michael Gesundheit
does the internal TomCat sees as document base?Or is there a way to force TomCat to use a specific directory as the doc root? Any advice will be appreciated. Thanks,-Michael 

Writing a custom resource factory

2012-03-15 Thread Michael-O
Hi folks, I'd like to write a custom ldap resource factory as same as a data source factory. The getObjectInstance method shall return InitialDirContext object. I have written a mock factory and noticed that the output is cached by Tomcat. So the object is created only once (same id in

Re: Retrieve context path in lifecycle listener

2012-03-08 Thread Michael
Konstantin Kolinko schrieb: 2012/3/6 sg...@gmx.net: Hi folks, I'd like to retrieve the context path from the a startup event in a context lifecycle listener. My usecase is register that contextpath in the initial context and access its value through Logback. Unfortunately, LifecycleEvent

AW: Too many connections in keepalive state in jk threadpool

2012-03-05 Thread Beier Michael
Hallo Herr Jung, -Ursprüngliche Nachricht- Von: Rainer Jung [mailto:rainer.j...@kippdata.de] Hallo Herr Beier, On 02.03.2012 11:19, Beier Michael wrote: Hi all, we're running tomcat 7.0.23 on sun jdk 1.6.0_29, connected via ajp to httpd 2.2.21 using mod_jk 1.2.32. I observed

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-05 Thread Michael
Pid schrieb: On 03/03/2012 12:33, Michael wrote: Hi folks, I've been examining the JMX operations of the new pool and did not find a crucial one. Sometimes our Oracle database has to be restarted, the pool still keeps the pooled connections. The webapp requests a connection, receives a pooled

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-05 Thread Michael
Chema schrieb: Do you have testOnBorrow=true and a validationQuery=SELECT 1 FROM DUAL configured? This should suffice to ensure each connection is valid before use. Pid, works like a charms. Thanks very much. From Tomcat doc for testOnBorrow setting: The indication of whether objects

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-05 Thread Michael
Chema schrieb: 2012/3/5 Michael sg...@gmx.net: Chema schrieb: Do you have testOnBorrow=true and a validationQuery=SELECT 1 FROM DUAL configured? This should suffice to ensure each connection is valid before use. Pid, works like a charms. Thanks very much. It executes the validation

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Michael
Pid schrieb: On 03/03/2012 12:33, Michael wrote: Hi folks, I've been examining the JMX operations of the new pool and did not find a crucial one. Sometimes our Oracle database has to be restarted, the pool still keeps the pooled connections. The webapp requests a connection, receives a pooled

[Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-03 Thread Michael
. I'd like to be able via JMX to reopen all open pooled connections without the need to restart the webapp. Thanks, Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Too many connections in keepalive state in jk threadpool

2012-03-02 Thread Beier Michael
, not milliseconds). I verified that the values are set correctly querying the parameters via JMX. How can I avoid having so many threads in keepalive state - I don't have any idea at the moment and can't see that there is an error in my configuration. Best regards, Michael Team SIS OIOAW (Web Basis) EnBW

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