Re: Using Tomcat7 JDBC Connection Pool

2012-02-09 Thread Amit
Any thoughts on the first point about executing multiple SQL queries on physical connection creation? On 09-Feb-2012, at 7:05 PM, Pid wrote: > On 09/02/2012 12:56, amit shah wrote: >> One more comment below about oracle UCP. > > > >>>>>> The pool returns

Re: Using Tomcat7 JDBC Connection Pool

2012-02-09 Thread Amit
Comment below On 09-Feb-2012, at 10:18 PM, Pid wrote: > On 09/02/2012 16:21, Amit wrote: >> Any thoughts on the first point about executing multiple SQL queries on >> physical connection creation? > > I have no idea if it'll work, but I'd try: > >

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Amit
On 08-Mar-2012, at 6:37 PM, Daniel Mikusa wrote: > On Thu, 2012-03-08 at 00:34 -0800, amit shah wrote: >> Comment below >> >> On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >>> -BEGIN PGP

Re: Changing tomcat connection pool size through jmx

2013-03-07 Thread Amit
at be the case? thanks. On 08-Mar-2013, at 1:40 AM, Daniel Mikusa wrote: > On Mar 7, 2013, at 12:32 PM, amit shah wrote: > >> I was looking at jmx since that would not need application server restart. >> >> I didn't understand what you meant by "Have y

Tomcat stderr/stdout to console

2024-10-22 Thread Amit Pande
Catalina log file while looking for progress of the server startup (deploying all apps). "INFO [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory" Appreciate your help. Thanks, Amit

pluggabilitySkip JarScanFilter and JMX calls

2024-11-03 Thread Amit Pande
tAttribute(Unknown Source) ~[?:?] at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(Unknown Source) ~[?:?] at com.myapp.findMBeanState(MyTest.java:124) ~[myapp.jar:?] Am I missing some additional configuration? Appreciate the help. Thanks, Amit

RE: pluggabilitySkip JarScanFilter and JMX calls

2024-11-03 Thread Amit Pande
? Thanks, Amit -Original Message- From: Christopher Schultz Sent: Sunday, November 3, 2024 3:39 PM To: Tomcat Users List Subject: Re: pluggabilitySkip JarScanFilter and JMX calls CAUTION: This email originated from outside the organization. Do not click links or open attachments unless

Spring MVC web app and HostConfig logging

2024-11-15 Thread Amit Pande
rom a custom appBase likeL I wanted to get the timing logs. Essentially, application deployed start and finish logging that we otherwise see in HostConfig. Appreciate pointers in debugging this missing logs case. Thanks, Amit

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-07-31 Thread Amit Pande
Yes, understood. Thank you for clarifying. Even I was referring to initial consensus without any timeline or approach conclusion. Thanks, Amit -Original Message- From: Mark Thomas Sent: Friday, July 28, 2023 2:48 PM To: users@tomcat.apache.org Subject: Re: [External] Re: Supporting

Using dedicated SSL handshake failure logger

2023-08-03 Thread Amit Pande
ng in the logger configuration? Do we have to have the console handler configured? Thanks, Amit

RE: [External] Re: Using dedicated SSL handshake failure logger

2023-08-03 Thread Amit Pande
Yes, I have verified that CATALINA_HOME is set correctly. And just for testing purposes, I changed the prefix to something like: 1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.amit. And I do see a catalina.amit.2023-08-03.log file created under web server logs. Thanks, Amit

RE: [External] Re: listening all local addresses by default is not security best practice

2023-08-06 Thread Amit Pande
net.SocketException: Protocol family unavailable at sun.nio.ch.Net.bind0(Native Method) which has caused confusion/concerns. What would be a better way to bind on "all available loopback addresses? Thanks, Amit -Original Message- From: Christopher Schult

RE: [External] Re: listening all local addresses by default is not security best practice

2023-08-25 Thread Amit Pande
Thank you, Chris, for inputs. I have created a BZ ticket: https://bz.apache.org/bugzilla/show_bug.cgi?id=67065 Thanks, Amit -Original Message- From: Christopher Schultz Sent: Monday, August 14, 2023 10:47 AM To: Tomcat Users List Subject: Re: [External] Re: listening all local

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-08-28 Thread Amit Pande
Mark, Just checking - Did this issue get discussed in any of the core members' meeting? Thanks, Amit -Original Message- From: Amit Pande Sent: Monday, July 31, 2023 9:29 AM To: Tomcat Users List Subject: RE: [External] Re: Supporting Proxy Protocol in Tomcat Yes, understood.

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-08-28 Thread Amit Pande
Oh, sure. So, what would be the best way to get some conclusion on this thread? https://bz.apache.org/bugzilla/show_bug.cgi?id=57830 The state of the ticket isn't updated for long. Perhaps add comments/ask the folks on user list to vote? Thanks, Amit -Original Message- From:

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-09-05 Thread Amit Pande
Thank you, Jonathan, for updating this thread. I was thinking of cleaning up the existing patch and submit it for review. I agree it's better to get feedback before any work is started. Thanks, Amit -Original Message- From: Jonathan S. Fisher Sent: Monday, September 4, 2023 9:42

Tomcat upgrade from 9.0.80 to 9.0.81

2023-10-10 Thread Amit Pande
keep everyone posted after debugging more. Thanks, Amit

Re: [External] Re: Tomcat upgrade from 9.0.80 to 9.0.81

2023-10-10 Thread Amit Pande
go in subsequent release? Thanks, Amit From: Konstantin Kolinko Sent: Tuesday, October 10, 2023 5:12:45 PM To: Tomcat Users List Subject: [External] Re: Tomcat upgrade from 9.0.80 to 9.0.81 CAUTION: This email originated from outside the organization. Do not

RE: [External] Re: Tomcat upgrade from 9.0.80 to 9.0.81

2023-10-10 Thread Amit Pande
form (black box) testing and communicate the results (Details in case of >> failures). Thanks, Amit -Original Message- From: Konstantin Kolinko Sent: Tuesday, October 10, 2023 7:11 PM To: Tomcat Users List Subject: Re: [External] Re: Tomcat upgrade from 9.0.80 to 9.0.81 CAUTION: This

Java 9+ and custom JCE/JSSE providers

2023-10-31 Thread Amit Pande
Tomcat 9, by registering a custom listener and adding providers there. Will soon update the https://github.com/amitlpande/tomcat-9-fips for detailed steps. Thanks, Amit

RE: [External] Re: Java 9+ and custom JCE/JSSE providers

2023-11-01 Thread Amit Pande
Adding the provider jars to CLASSPATH solved the issue. Thank you so much Mark for your quick feedback. Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, October 31, 2023 2:47 PM To: users@tomcat.apache.org Subject: [External] Re: Java 9+ and custom JCE/JSSE providers

RE: [External] Re: Java 9+ and custom JCE/JSSE providers

2023-11-01 Thread Amit Pande
Setting CLASSPATH worked perfectly! Thank you so much Mark! Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, October 31, 2023 2:47 PM To: users@tomcat.apache.org Subject: [External] Re: Java 9+ and custom JCE/JSSE providers CAUTION: This email originated from outside

RE: [External] RE: Java 9+ and custom JCE/JSSE providers

2023-11-02 Thread Amit Pande
/browse/JDK-7133344 https://github.com/frohoff/jdk8u-dev-jdk/blob/master/src/share/lib/security/java.security-linux Thanks, Amit -Original Message- From: Berneburg, Cris J. - US Sent: Thursday, November 2, 2023 3:41 PM To: Tomcat Users List Subject: [External] RE: Java 9+ and custom JCE/JSSE provid

FIPS Configuration for Java 11/17 and Tomcat 9

2023-11-02 Thread Amit Pande
ways for Java 8 at least (https://github.com/amitlpande/tomcat-9-fips). Appreciate reviews and any other feedback. Thanks, Amit

RE: JAVA -tomcat- Request header is too large

2023-12-11 Thread Amit Pande
Mark, Chris, What request ID we're referring to here? Perhaps, I missed some documentation? How do we enable it? Thanks, Amit -Original Message- From: Mark Thomas Sent: Monday, December 11, 2023 3:06 AM To: users@tomcat.apache.org Subject: Re: JAVA -tomcat- Request header i

RE: JAVA -tomcat- Request header is too large

2023-12-12 Thread Amit Pande
Thank you, Chris. Right now, we're on 9.x line. But this is a very important and useful field for debugging which we should be aware of. Thanks, Amit -Original Message- From: Christopher Schultz Sent: Monday, December 11, 2023 2:02 PM To: users@tomcat.apache.org Subject: Re:

Regression in mutual authentication in 9.0.86+?

2024-03-14 Thread Amit Pande
sed by client, is that correct understanding? Thanks, Amit

RE: Regression in mutual authentication in 9.0.86+?

2024-03-21 Thread Amit Pande
round the awesome Tomcat leads. Thanks, Amit -Original Message- From: Mark Thomas Sent: Monday, March 18, 2024 4:41 AM To: users@tomcat.apache.org Subject: Re: Regression in mutual authentication in 9.0.86+? CAUTION: This email originated from outside the organization. Do not click

Migrating from Tomcat 9.0.x to 10.1.x

2024-04-04 Thread Amit Pande
diate step to upgrade to Tomcat 10.1 without having to update the applications at the same time? FWIW, Spring 5 to Spring 6 is a major upgrade and Tomcat 10 is a requirement. Appreciate the guidance. Thanks, Amit

RE: Migrating from Tomcat 9.0.x to 10.1.x

2024-04-05 Thread Amit Pande
both Tomcat upgrade and the application TPIPs upgrade go together. Thanks, Amit -Original Message- From: Christopher Schultz Sent: Thursday, April 4, 2024 9:37 PM To: users@tomcat.apache.org Subject: Re: Migrating from Tomcat 9.0.x to 10.1.x CAUTION: This email originated from outsid

RE: [External] Re: Maximum header size in Tomcat 9

2022-05-25 Thread Amit Pande
. maxHttpHeaderSize The maximum size of the request and response HTTP header, specified in bytes. If not specified, this attribute is set to 8192 (8 KB). Thanks, Amit -Original Message- From: Mark Thomas Sent: Wednesday, May 25, 2022 6:16 AM To: users@tomcat.apache.org Subject: [External] Re: Maximum

RE: [External] Re: Maximum header size in Tomcat 9

2022-06-03 Thread Amit Pande
Thank you, Mark! -Original Message- From: Mark Thomas Sent: Thursday, May 26, 2022 6:10 AM To: users@tomcat.apache.org Subject: Re: [External] Re: Maximum header size in Tomcat 9 On 25/05/2022 16:21, Amit Pande wrote: > Hello Mark, > > Could we slightly update the description

SSL Handshake Failure - Logging Level

2022-06-03 Thread Amit Pande
rror level? Thanks, Amit

RE: [External] Re: SSL Handshake Failure - Logging Level

2022-06-03 Thread Amit Pande
at SSL host config level in "server.xml". Thanks, Amit -Original Message- From: Mark Thomas Sent: Friday, June 3, 2022 12:24 PM To: users@tomcat.apache.org Subject: [External] Re: SSL Handshake Failure - Logging Level On 03/06/2022 15:33, Amit Pande wrote: > Hello, >

RE: [External] Re: SSL Handshake Failure - Logging Level

2022-06-06 Thread Amit Pande
I mean this log is helpful troubleshooting issues in production systems. We can't have Tomcat log level set to DEBUG in this case. And debugging on local/development environments. Agree, in this case, we could change the Tomcat logging configuration and get this log. Thanks, Amit -Ori

Customizing CorsFilter

2022-09-06 Thread Amit Pande
lore the option of looking for adding interface to "edit" the web.xml, wanted to check if it's possible to update the CorsFilter and make some methods protected (e.g. https://github.com/apache/tomcat/blob/9.0.65/java/org/apache/catalina/filters/CorsFilter.java#L712) for extension. Thanks, Amit

RE: [External] Re: Customizing CorsFilter

2022-09-07 Thread Amit Pande
server restart? What is the best/safe way to edit the main web.xml? Thanks, Amit -Original Message- From: Mark Thomas Sent: Wednesday, September 7, 2022 1:37 AM To: users@tomcat.apache.org Subject: [External] Re: Customizing CorsFilter On 07/09/2022 07:31, Mark Thomas wrote: > O

RE: [External] Re: Customizing CorsFilter

2022-09-07 Thread Amit Pande
Thank you, Mark! Will do some more research on this and see if I can leverage this. However, are we still okay refactoring the CorsFilter for extension? Thanks, Amit -Original Message- From: Mark Thomas Sent: Wednesday, September 7, 2022 6:18 AM To: users@tomcat.apache.org Subject

RE: [External] Re: Customizing CorsFilter

2022-09-07 Thread Amit Pande
Thank you, again! 😊 -Original Message- From: Mark Thomas Sent: Wednesday, September 7, 2022 6:31 AM To: users@tomcat.apache.org Subject: Re: [External] Re: Customizing CorsFilter On 07/09/2022 12:22, Amit Pande wrote: > Thank you, Mark! Will do some more research on this and see i

Supporting Proxy Protocol in Tomcat

2023-05-04 Thread Amit Pande
other alternatives to pass the client information from load balancer to Tomcat in situations where there is no SSL termination at load balancer? Appreciate any feedback. Thanks, Amit

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-05-10 Thread Amit Pande
://bz.apache.org/bugzilla/show_bug.cgi?id=57830, does it imply that most of the times Tomcat is running behind HTTP proxies and not TCP proxies? Or does it mean that, Tomcat or applications running in Tomcat does not need the remote client address information? Thanks, Amit -Original Message- From

Rate Limiting support in Tomcat 9.x

2023-05-22 Thread Amit Pande
request be raised to get this in next Tomcat 9.x release? Thanks, Amit

Re: [External] Re: Rate Limiting support in Tomcat 9.x

2023-05-24 Thread Amit Pande
Thank you Mark for quick response. Yes, I see that in the change log for 9.0.76 (dev). 😊 Thanks, Amit From: Mark Thomas Sent: Tuesday, May 23, 2023 2:29:21 AM To: users@tomcat.apache.org Subject: [External] Re: Rate Limiting support in Tomcat 9.x On 22/05

Setting security response headers when Valve returns error..

2023-06-09 Thread Amit Pande
7;s web.xml has "org.apache.catalina.filters.HttpHeaderSecurityFilter" confugred. The requirement is to set the security related headers even when the request is denied from the "org.apache.catalina.valves.RemoteAddrValve", which I don't see being set. What is the right way to address such requirement? Did I miss anything here? Thanks, Amit

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-07-24 Thread Amit Pande
about using the patch in its current state, but I see last comment (#24) on the issue and looks like there are some more points to be concluded. Thanks, Amit -Original Message- From: Christopher Schultz Sent: Wednesday, May 10, 2023 4:21 PM To: users@tomcat.apache.org Subject: Re: [External

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-07-26 Thread Amit Pande
Chris, Mark, Any thoughts on this? Mark, if we clean up the patch and re-submit, do you will have any concerns (specially security wise)? Thanks, Amit -Original Message- From: Jonathan S. Fisher Sent: Monday, July 24, 2023 12:41 PM To: Tomcat Users List Subject: Re: [External] Re

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-07-26 Thread Amit Pande
Missed to ask this: Looking the patch, it involves modifying Tomcat code. Was wondering if it would be possible to refactor this patch and/or allow Tomcat core code to extend and plug-in the proxy protocol support? Thanks, Amit -Original Message- From: Amit Pande Sent: Wednesday, July

RE: [External] Re: Supporting Proxy Protocol in Tomcat

2023-07-28 Thread Amit Pande
Thank you all for the valuable discussion on this topic. Is it okay to say that we're agreeing to adding proxy protocol support in Tomcat? Thanks, Amit -Original Message- From: Christopher Schultz Sent: Thursday, July 27, 2023 4:13 PM To: users@tomcat.apache.org Subject: Re: [Ext

Query regarding bindOnInit default value..

2020-03-29 Thread Amit Pande
ss. When this is set to "true", all requests during when the application deployment wasn't complete, I could see failed SSL handshakes in access logs. Wanted to understand more about the current default of true before I change the default. Thanks, Amit

Re: [EXTERNAL] Re: Query regarding bindOnInit default value..

2020-03-29 Thread Amit Pande
Thanks for the inputs, Mark. Thanks, Amit > On Mar 29, 2020, at 5:06 PM, Mark Thomas wrote: > > On 29/03/2020 08:11, Amit Pande wrote: >> Hello all, >> >> I was exploring Tomcat configuration which doesn't accept requests until the >> web applicati

Ensuring clean Tomcat shutdown

2020-06-06 Thread Amit Pande
e a better/elegant way to achieve this? E.g. using life cycle listeners? Also, the catalina stop option (where a kill is attempted after n seconds are passed) works for all platforms, is my understanding correct? Thanks, Amit

RE: [EXTERNAL] Re: Ensuring clean Tomcat shutdown

2020-06-08 Thread Amit Pande
Thank you Luis for the inputs. Yes, we do use the listeners and "contextDestroyed" and clean up the resources. But with many team members working, wanted to have some automated check to ensure cleaning up wasn't missed. Thanks, Amit -Original Message- From: Luis Rodr

Mitigating slow HTTP headers vulnerability

2020-06-08 Thread Amit Pande
an can be done to address this? We're trying to avoid putting reverse proxy in front of Tomcat as we do have our own pass-through proxy but it doesn't have any special capabilities to avoid this vulnerability like some reverse proxies (e.g. ngnix) have. Appreciate the inputs here. Thanks, Amit

Enabling FIPS for Tomcat

2020-09-29 Thread Amit Pande
(extended) Tomcat documentation? Even if currently it uses Bouncy Castle as FIPS JCA/JCE provider, with minor changes it would work for any other provider too (e.g. CryptoComply for Java / CCJ from Safelogic) Thanks, Amit

RE: [EXTERNAL] Re: Enabling FIPS for Tomcat

2020-09-30 Thread Amit Pande
Thank you Mark! Will work on getting this added to the Wiki page. Would appreciate feedback from all to confirm accuracy/usefulness. Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, September 29, 2020 1:40 PM To: users@tomcat.apache.org Subject: [EXTERNAL] Re

Embedded vs Standalone Tomcat

2020-10-16 Thread Amit Pande
any issues, limitations here? 6. Any differences with resource usages (e.g. heap)? Any help is greatly appreciated. Thanks, Amit

Re: [EXTERNAL] Re: Embedded vs Standalone Tomcat

2020-10-20 Thread Amit Pande
Thank you so much Igal for the inputs. Thanks, Amit Thanks, Amit From: Igal Sapir Sent: Sunday, October 18, 2020 11:36:22 AM To: Tomcat Users List Subject: [EXTERNAL] Re: Embedded vs Standalone Tomcat Amit, On Fri, Oct 16, 2020 at 8:32 AM Amit Pande wrote

Bouncy Castle FIPS on RHEL 7.3

2020-11-24 Thread Amit Pande
e has seen this behavior or be aware of such potential issue as it may tie in to their Tomcat (or web apps to be deployed in Tomcat). Thanks, Amit

RE: [EXTERNAL] Re: Can Tomcat 9 be FIPS compliant without OpenSSL?

2020-11-24 Thread Amit Pande
above rely purely on JSSE and JCA/JCE providers, no OpenSSL use. These steps will enable a plain vanilla Tomcat to run in FIPS compliant mode. And as Chris mentioned below, we need to ensure any web app deployed within the Tomcat use FIPS compliant constructs. Thanks, Amit -Original Me

RE: [EXTERNAL] Re: Bouncy Castle FIPS on RHEL 7.3

2020-11-25 Thread Amit Pande
ion and starting Tomcat in timely manner (FIPS or no FIPS) has been a critical requirement. And now, with this issue, test suites timing out, hard to convince to get the suite timeouts increased. 😊 Thanks, Amit -Original Message- From: Christopher Schultz Sent: Wednesday, November

RE: [EXTERNAL] Re: Bouncy Castle FIPS on RHEL 7.3

2020-11-30 Thread Amit Pande
7.3 systems I have, maybe I need to look for machines from different data center or a physical 7.3 server). And yes, the 10 year certificate validity is just for testing purposes. 😊 Thank you for your inputs. Indeed helpful in evaluating our choices. Thanks, Amit -Original Message

RE: [EXTERNAL] Re: Bouncy Castle FIPS on RHEL 7.3

2020-12-09 Thread Amit Pande
Thank you Stefan, Chris for the inputs. As I understood from our security experts, there is no moving away from /dev/random (anything else isn't (strongly) FIPS compliant) for us. Thanks, Amit -Original Message- From: Christopher Schultz Sent: Wednesday, December 2, 2020 10:29

RE: [EXTERNAL] Re: Can Tomcat 9 be FIPS compliant without OpenSSL?

2020-12-09 Thread Amit Pande
(over PKCS12) for our key stores as it is the only format meeting our FIPS requirements. Thanks, Amit -Original Message- From: George Stanchev Sent: Saturday, December 5, 2020 11:17 AM To: Tomcat Users List Subject: RE: [EXTERNAL] Re: Can Tomcat 9 be FIPS compliant without OpenSSL?

Not able to make JSESSIONID cookie secure

2020-12-30 Thread Amit Khosla
? Thanks & Regards Amit

Re: Not able to make JSESSIONID cookie secure

2020-12-31 Thread Amit Khosla
Thanks for reply, we did restarted server while trying. The issue is still there even after restart. On Thu, Dec 31, 2020 at 11:14 AM Darryl Lewis wrote: > > > true > true > > > > Restart the server. > > On 31/12/20, 3:50 pm, "A

Re: Not able to make JSESSIONID cookie secure

2021-01-01 Thread Amit Khosla
/http-headers-test > > > On 31/12/20, 8:29 pm, "Amit Khosla" wrote: > > Thanks for reply, > we did restarted server while trying. The issue is still there even > after > restart. > > On Thu, Dec 31, 2020 at 11:14

Re: Not able to make JSESSIONID cookie secure

2021-01-03 Thread Amit Khosla
Hi, We are still facing this issue. Can someone please help us? Thanks & Regards Amit On Fri, Jan 1, 2021 at 8:22 PM Amit Khosla wrote: > Thanks for reply! > > We did changes in /conf/web.xml. > But when the changes did not reflect, we made changes in specific app as > wel

Re: Not able to make JSESSIONID cookie secure

2021-01-06 Thread Amit Khosla
21 03:17, Mark Thomas wrote: > > On 04/01/2021 06:02, Amit Khosla wrote: > >> Hi, > >> > >> We are still facing this issue. Can someone please help us? > > > > In a clean 8.5.x install, session cookies are only marked as secure if > > the reque

RE: [OT] web app big memory usage?

2021-05-27 Thread Amit Pande
Have you enabled the " Enable 'keep unreachable objects'" setting of MAT? https://blog.gceasy.io/2015/12/11/eclipse-mat-titbits/ Thanks, Amit -Original Message- From: Berneburg, Cris J. - US Sent: Thursday, May 27, 2021 2:24 PM To: users@tomcat.apache.org Sub

Re: tomcat and websphere compatibility

2006-03-06 Thread amit srivastava
can any tell me the easy way to deploy an enterprise application written in j2ee technology on tomcat sever. On 3/7/06, Long <[EMAIL PROTECTED]> wrote: > > Hi Boris, > > I agree the answer is very application specific. In my situation I > plan to support a struts-based Websphere application with

Suggest A Best Option

2008-09-03 Thread Amit Dixit
I want to listen at two ports in Tomcat 5.5. One is SSL enabled and another is unsecured port. Currently I have created two Services in Tomcat, Is it the best strategy or I can satisfy this requirement using one Tomcat Service only. Thanks, ~AmitD The information contained in this electronic

deployment starts before file being copied completely

2007-11-14 Thread amit mehta
, Amit

Tomcat 6 Valves Development

2008-03-04 Thread amit kumar
, Amit Kumar

Re: difference between TC5.5 and TC6

2008-03-05 Thread amit kumar
Is there any documentation available where I can read about all the changes that has happened from TC 5 to TC6. I have been facing problem in figuring out the changed structure of classes and or replaced classes if any.(specifically for developing valves for tomcat 6) Regards. Amit On Wed, Mar

Re: difference between TC5.5 and TC6

2008-03-10 Thread amit kumar
refactored/restructured. Could someone please guide on the same. Regards, Amit On Thu, Mar 6, 2008 at 5:30 PM, Konstantin Kolinko <[EMAIL PROTECTED]> wrote: > And also there is > http://tomcat.apache.org/migration.html > > > > > > > Is there any documentation available

Current thread count monitoring

2008-05-14 Thread Amit Bhargava
Hi, I'm new to Tomcat monitoring. I have an installation of Tomcat 5.5 on Windows 2003 server. I am trying to monitor Tomcat using JConsole (part of JDK 6). Could someone please tell me how I can get the current thread queue length in Tomcat? Regards,

Re: Current thread count monitoring

2008-05-14 Thread Amit Bhargava
x27;acceptCount' determines the number of threads which will be allowed to wait in queue. So is the current queue length that I am looking for CurrentThreadCount - maxThreads? Thanks again. Regards, Amit

Re: Current thread count monitoring

2008-05-15 Thread Amit Bhargava
Hi Chuck, Thank you for the clarifications. I guess I'll experiment with perfmon to see what I can dig up... Regards, Amit Caldarale, Charles R wrote: From: Amit Bhargava [mailto:[EMAIL PROTECTED] Subject: Re: Current thread count monitoring My understanding is that '

Re: Current thread count monitoring

2008-05-16 Thread Amit Bhargava
Hi Dave, Thanks for the link. Will try it out. Regards, Amit DaveyS wrote: Hi, You could use a J2EE monitoring solution such as FusionReactor: http://www.fusion-reactor.com/ http://www.fusion-reactor.com/ We have a Demo on our site and you can get lots of feedback including JDBC

making compression work using GzipInterceptor in tomcat cluster

2009-02-27 Thread Amit Chandel
it also didn't work. Please let me know what I am missing here? Thanks, - Amit

serializing session in DB

2009-02-28 Thread Amit Chandel
request gets served (as it happens for in-memory replication). Thanks, Amit - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: serializing session in DB

2009-03-02 Thread Amit Chandel
. I would like to know how synchronous persistance of session data with Tomcat is done in practice. Thanks, Amit On Mon, Mar 2, 2009 at 12:23 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 2/28/2009 9:02 PM, Amit Chandel wrote

Re: serializing session in DB

2009-03-02 Thread Amit Chandel
Hi Chris, I would love to see an example of such a filter. Thanks, Amit On Mon, Mar 2, 2009 at 5:43 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 3/2/2009 4:21 PM, Amit Chandel wrote: >> But only issue is that Tomcat

How to change effective user id on Windows

2010-01-07 Thread Amit Agarwal
Tomat on Linux starts as root to bind to port 80, and then switches effective user id to nobody. Windows does not appear to have concept of changing effective user. Tomcat service runs as a local system on Windows. Need to change the user for Tomcat after binding to port 80. How can this be achiev

Re: How to change effective user id on Windows

2010-01-07 Thread Amit Agarwal
HOw do we start TOmcat programatically using Bootstrap.start() API if we need to pass the user ? On Thu, Jan 7, 2010 at 8:30 PM, Peter Crowther wrote: > 2010/1/7 Looijmans, Mike : > > The current configuration is correct in terms of security - the 'SYSTEM' > > user is a limited account that has n

Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
Hi, I downloaded apache-tomcat-7.0.22-windows-x64.zip file, unzipped in my Windows-7 64-bit comp and set the JAVA_HOME and JRE_HOME paths. When I tried double-clicking startup.bat to run the server , a cmd prompt popped-up and soon disappeared. I tried accessing http://localhost:8080/ *But got bel

Re: Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
HI, Can u tell me how to check whether I have 32-bit or 64-bit JVM installed? Regards, Amit On Sat, Oct 22, 2011 at 6:35 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Amit Kumar [mailto:nanosoft.ind...@gmail.com] > > Subject: Error while first Ru

Re: Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
Hi, When I run C:\Windows\System32>java -version I get below: java version "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-b05) Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) That means I am using 64-bit JVM . So I shouldn't get the error. Regards,

Re: Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
@unisys.com> wrote: > > From: Amit Kumar [mailto:nanosoft.ind...@gmail.com] > > Subject: Re: Error while first Run of Tomcat Server 7.0.22 > > > When I run C:\Windows\System32>java -version > > Note that the above is not any of the three commands I told

Re: Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
va -version java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode) Now i think commands are correct. Plz correct me if i m wrong Regards, On Sat, Oct 22, 2011 at 7:17 PM, Amit Kumar wrote: > Hi, > > T

Re: Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
ncluded that I am using 32-bit JVM?* * * * * *Regards, * On Sat, Oct 22, 2011 at 7:22 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Amit Kumar [mailto:nanosoft.ind...@gmail.com] > > Subject: Re: Error while first Run of Tomcat Server 7.0.22 > >

Re: Error while first Run of Tomcat Server 7.0.22

2011-10-22 Thread Amit Kumar
HI , I installed 32-bit version of Tomcat and now its working fine. Anyway if you could plz tell me how you concluded I hv installed 32-bit JVM that will be very helpful. Regards, Amit On Sat, Oct 22, 2011 at 7:37 PM, Amit Kumar wrote: > Hi, > > You told me to run following : >

Tomcat startup error

2010-04-09 Thread Amit Agarwal
/Object;Ljava/lang/String;Ljava/lang/String;)V java.lang.NoSuchMethodError: org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source) Amit -- Be Happy. Always.

Re: Tomcat startup error

2010-04-09 Thread Amit Agarwal
: > Amit, > > you should post the full stacktrace, but it looks like your embedding > package was compiled against an older version of Tomcat than the one you > are > running. > The method signature > of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed > (return

Re: Tomcat startup error

2010-04-11 Thread Amit Agarwal
Thanks all -- I could resolve this after compiling with the latest jars. On Sun, Apr 11, 2010 at 3:03 AM, Bill Barker wrote: > > > "Christopher Schultz" wrote in message > news:4bbf945e.4050...@christopherschultz.net... > > -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Harry, >> >> On

OCSP and Tomcat

2010-06-04 Thread Amit Agarwal
Hi -- Is it possible to implement OCSP with Tomcat? We are doing away with Apache_OpenSSL and hence looking for an alternative. Amit -- Be Happy. Always.

Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-07 Thread Amit Parmar
does not solve the problem. Here is my environment detail: Tomcat : 5.5.25 Eclipse for Java developer : 3.2.2 JDK : 1.5 Any help will be appreciated. Regards, Amit Parmar.

Re: Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-08 Thread Amit Parmar
ver I have not been able to try with number 2 above on Windows 7. Hope this answers your quesions. Best wishes, Amit Parmar. On Tue, Jun 8, 2010 at 5:47 PM, Mark Thomas wrote: > On 08/06/2010 04:38, Amit Parmar wrote: > > I am working on various web applications one of t

Re: Struts2 + Tomcat Hot Deployment of war Not Working

2010-06-08 Thread Amit Parmar
Hello Mark, It started working with the following: Indeed the attributes are case sensitive. Thank you so much for your help. Regards, Amit Parmar. On Tue, Jun 8, 2010 at 7:59 PM, Mark Thomas wrote: > On 08/06/2010 11:52, Amit Parmar wrote: > > Now when I again create the mywebap

Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread amit shah
e.authenticate=false -Dcom.sun.management.jmxremote.ssl=false) but they don’t seem to help out? Neither did I found a way to print or access the pool statistics programmatically. Any suggestions? Thank you, Amit

  1   2   >