Re: Generated Dump file for HeapDumpOnOutOfMemoryError

2015-12-16 Thread Yogesh Patel
Hi Christopher, Working directory for tomcat is like "D:\tools\tomcat7-4", but there is no file generated under this directory. On 15 December 2015 at 06:48, Christopher Schultz < ch...@christopherschultz.net> wrote: > Yogesh, > > On 12/14/15 1:34 AM, Yogesh Pa

Generated Dump file for HeapDumpOnOutOfMemoryError

2015-12-13 Thread Yogesh Patel
Hi , We set -XX:+HeapDumpOnOutOfMemoryError but we couldn't find any file which contains the heap dump. As per the docs file name will be "./java_pid.hprof" but there is no such file generated on OutOFMemoryError. -- *Thanks & Regards,* * Yogesh Patel*

Tomcat available memory

2015-12-11 Thread Yogesh Patel
2 secs] [Times: user=0.02 sys=0.02, real=0.03 secs] I want to print like below in log file: Free memory: 244.47 MB Total memory: 512.00 MB Max memory: 910.50 MB What parameters need to set in JVM option of Tomcat to achieve this? -- *Thanks & Regards,* * Yogesh Patel*

maxConnection and keepAliveTimeout

2015-12-10 Thread Yogesh Patel
or "keepAliveTimeout" will be consider as the best?* -- *Thanks & Regards,* * Yogesh Patel*

Tomcat Thread Dump

2015-12-08 Thread Yogesh Patel
are the commands for windows7 system. -- *Thanks & Regards,* * Yogesh Patel*

Re: Tomcat unresponsive

2015-12-06 Thread Yogesh Patel
log i can say that request has been received from client side" > > What is saying the Tomcat access log ? Are there lines with response size = > 0 ? > > > 2015-12-04 19:13 GMT+01:00 Christopher Schultz < > ch...@christopherschultz.net > >: > > > Yogesh

Tomcat unresponsive

2015-12-04 Thread Yogesh Patel
responsive to apache. in tomcat log there is no logs for max thread busy. -- *Thanks & Regards,* * Yogesh Patel*

Modsecurity - REQBODY ERROR

2015-11-23 Thread Yogesh Patel
rror reading request body: Client went away."] [severity "CRITICAL"] Action: Intercepted (phase 2)" What could be the possible reason for this error? -- *Thanks & Regards,* * Yogesh Patel*

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-27 Thread Yogesh Patel
a:419) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91) at " On 27 October 2015 at 14:59, André Warnier (tomcat) <a...@ice-sa.com> wrote: > Yogesh, > > 1) please follow the rules of this list, and don't "top-post" : > http://tomcat.apache.org/lists.ht

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-26 Thread Yogesh Patel
) On 26 October 2015 at 21:54, Christopher Schultz < ch...@christopherschultz.net> wrote: > Yogesh, > > On 10/26/15 10:15 AM, Yogesh Patel wrote: > > In out application we are getting following error: > > > > org.apache.catalina.core.StandardWrapperValve.invoke:Li

ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-26 Thread Yogesh Patel
In out application we are getting following error: org.apache.catalina.core.StandardWrapperValve.invoke:Line 211 - ClientAbortException: java.io.IOException: Failed to send AJP message -- *Thanks & Regards,* * Yogesh Patel*

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-26 Thread Yogesh Patel
is usually means that "client" has disconnected before the request could > be completed. Generally, this might happen when a user navigates away from > a web page before it is completely rendered. You might want to gather more > information to understand this better. > >

Re: Regarding StuckThreadDetectionValve

2015-10-06 Thread Yogesh Patel
Thanks Thomas, I just wanted to know in tomcat is there any way to detect such long running thread and kill them. On 6 October 2015 at 01:07, Mark Thomas <ma...@apache.org> wrote: > On 05/10/2015 16:00, Yogesh Patel wrote: > > Other 199 process are also for /solr43

Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
ut.println(threadName); } return listStuckedThread; } @Override public String getInfo() { System.out.println("In getInfo"); return super.getInfo(); } } -- *Thanks & Regards,* * Yogesh Patel*

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
long time. We want to detect such thread and want to kill these stucked thread. On 5 October 2015 at 13:11, Mark Thomas <ma...@apache.org> wrote: > On 05/10/2015 07:54, Yogesh Patel wrote: > > We are facing issues with long running thread in tomcat . we are > >

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi Thomas, Connector configuration is like : On 5 October 2015 at 14:17, Mark Thomas <ma...@apache.org> wrote: > On 05/10/2015 09:07, Yogesh Patel wrote: > > Thanks Mark Thomas , > > > >Our application is access by Apache TO Tomcat using AJP Connecto

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Request* S 2884466 ms0 KB 184063 KB machineip host POST /solr430/update?wt=xml=2.2 HTTP/1.1 .. On 5 October 2015 at 16:12, Yogesh Patel <yogesh.r.pa...@highq.com> wrote: > Hi , let me try sending image using attachment , if still its not viewable

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi Thomas , Please see this image ...have a look at Time column ​ On 5 October 2015 at 14:50, Mark Thomas <ma...@apache.org> wrote: > On 05/10/2015 10:09, Yogesh Patel wrote: > > Hi Thomas, > > > > Connector configuration is like : > > >

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi , let me try sending image using attachment , if still its not viewable then i will find another way. On 5 October 2015 at 16:06, Mark Thomas <ma...@apache.org> wrote: > On 05/10/2015 11:28, Yogesh Patel wrote: > > Hi Thomas , > > Please see this image .

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Other 199 process are also for /solr430/update?wt=xml=2.2 HTTP/1.1 only On 5 October 2015 at 20:18, Mark Thomas <ma...@apache.org> wrote: > On 05/10/2015 12:58, Yogesh Patel wrote: > > Hi Mark Thomas, > > > > in image it shows Tomcat Manager screen: > > Under

Re: Problem with Tomcat6 catalina.out

2015-04-01 Thread Yogesh Rao
Hello, Not sure if it would help but you could try installing crypto providers into the JRE extension directory (e.g. $JRE_HOME/lib/ext) which the tomcat is using and also an entry must be added to $JRE_HOME/lib/security/java.security. After this restart tomcat and check Regards, -Yogesh

Re: undefined method

2015-02-21 Thread Yogesh Rao
Hello Sean, If all the requests are originating from one browser then try running http watch or any other browser plugin of your preference to check the status codes for your request... Also another handy tool is nettool to sniff the requests.. Good luck! Regards, -Yogesh On Saturday

Re: tomcat crash problem (INTERNAL)

2014-10-05 Thread Yogesh Rao
Subbu, You either could analyse the applications heap usage as ognjen suggested or If possible try deploying the application with the latest release of tomcat 6 (6.0.41) . There could have been patches released which could have fixed the issue. Regards, -Yogesh On Fri, Oct 3, 2014 at 4:17 PM

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-18 Thread Yogesh Rao
How about tracing the http request and response for the call made? Tip : adding a proxy wud help here to log the entire request. Regards, -Yogesh On Monday, August 18, 2014, John Smith tomcat.ran...@gmail.com wrote: On Fri, Aug 8, 2014 at 9:10 AM, John Smith tomcat.ran...@gmail.com

Re: Unable to deploy MBeans in Tomcat 7 using Modeler API

2014-08-07 Thread Yogesh Rao
{ registry.loadMetadata(url); Hello managedObject = new Hello(); String oname=Catalina:type=Hello; registry.registerComponent( managedObject, oname, org.example.mbeans.Hello ); } catch (Exception e) { e.printStackTrace(System.err); } } } Thank you! Regards, -Yogesh On Wed, Aug 6, 2014 at 9:34 PM

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Yogesh Rao
Hi, I see out.close() in the writeXML method of yours.. I do not think you should be closing it. Can you try removing that and putting it to a test? Regards, -yogesh On Friday, August 8, 2014, Filip Hanik fi...@hanik.com wrote: if you could capture the XML that you are trying to write, we

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Yogesh Rao
On closer look of the exception trace i do not think out.close() is causing this issue... Can you pass the xml as well for everyone to see the content being written? Regards, -yogesh On Friday, August 8, 2014, Yogesh Rao yog...@gmail.com wrote: Hi, I see out.close() in the writeXML method

Re: Unable to deploy MBeans in Tomcat 7 using Modeler API

2014-08-06 Thread Yogesh Rao
in the Registry.. Any ideas why ? Any pointers would be really helpful. Thank you! Regards, -Yogesh On Wed, Aug 6, 2014 at 6:19 AM, Yogesh Rao yog...@gmail.com wrote: Hi chris, Thank you for the quick reply. I will certainly look at the link mentioned by you... Also let me know if you planning

Unable to deploy MBeans in Tomcat 7 using Modeler API

2014-08-05 Thread Yogesh Rao
. Sadly there is very little documentation on how to go about writing a MBean using this API. Any help on this would be greatly appreciated. Thank You! Regards, -Yogesh

Re: Unable to deploy MBeans in Tomcat 7 using Modeler API

2014-08-05 Thread Yogesh Rao
of the documentation. Regards, -yogesh On Wednesday, August 6, 2014, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yogesh, On 8/5/14, 10:18 AM, Yogesh Rao wrote: I am trying to write a MBean using the Modeler API in tomcat

DBCP is Single Threaded

2013-11-07 Thread yogesh hingmire
handing out new connections and other threads which need connections from the pool will wait until they are handed their respective connection? Is my understanding right and if anyone could explain this better Thank You Yogesh

Re: TomCat Request Processing

2013-05-14 Thread yogesh hingmire
05:47, yogesh hingmire wrote: I am curious to know how Tomcat's connectors handle the request processing internally, especially between the Http11Protocol which i believe acts as a connector and with every connector there may be a request processor which is the Http11Processor. I think

TomCat Request Processing

2013-05-13 Thread yogesh hingmire
I am curious to know how Tomcat's connectors handle the request processing internally, especially between the Http11Protocol which i believe acts as a connector and with every connector there may be a request processor which is the Http11Processor. I think there is a pool of Http11Processor

Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
we go about the ask ? What Apache / Tomcat / System (CPU/JVM) parameters should be considered for this design ? Thank You, Yogesh

Re: Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
times what i arrive for a single node ? Your thoughts? On Sat, May 4, 2013 at 7:07 AM, André Warnier a...@ice-sa.com wrote: yogesh hingmire wrote: While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache

Re: Designing for Load on TomCat

2013-05-04 Thread Yogesh
or something else ? Sent from my iPhone On May 4, 2013, at 9:26 AM, André Warnier a...@ice-sa.com wrote: yogesh hingmire wrote: On Sat, May 4, 2013 at 7:07 AM, André Warnier a...@ice-sa.com wrote: yogesh hingmire wrote: While planning / designing to build a web app that must scale to 2000

Re: TomCat Executor

2013-01-18 Thread yogesh hingmire
Thanks Dan, So when i am not using the executor and specifying the maxthreads in the connector element, what would be the size of the pool ? Yogesh On Fri, Jan 18, 2013 at 12:04 PM, Daniel Mikusa dmik...@vmware.com wrote: On Jan 18, 2013, at 12:54 PM, yogesh hingmire wrote: Folks, What

Re: Capacity Planning Turk's Formula

2013-01-17 Thread yogesh hingmire
Folks, I was reading this article by Mladen Turk from the FAQ section on TomCat Performance Capacity Planning http://people.apache.org/~mturk/docs/article/ftwai.html It says, “To get most out of Tomcat you should limit the number of concurrent requests to 200 per CPU. So we can come

Re: Capacity Planning Turk's Formula

2013-01-17 Thread yogesh hingmire
Chuck and others, How do you think capacity planning should be approached ? Say for eg : I have x number of concurrent users to service with an avg response time of y etc.. Please help. Thank You, Yogesh On Thu, Jan 17, 2013 at 12:08 PM, yogesh hingmire yogesh.hingm...@gmail.com wrote

java.lang.IllegalStateException

2012-12-28 Thread Yogesh Manware
) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at path.LoginFilter.doFilter(LoginFilter.java:385) {code} httpSession.invalidate() is invoked at line 2 but it actually completes at line 5. Regards, Yogesh

Re: java.lang.IllegalStateException

2012-12-28 Thread Yogesh Manware
in concurrent thread and later the obvious IllegalStateException occurs. This behavior is intermittent. I started seeing this behavior(and error) only when I switched to 6.0.32 or later version. So, my major concern is why httpsession.invalidate() is executed in concurrent thread sometimes? Regards, Yogesh

Re: Configuration for both protected and public URLs in a web application

2011-10-16 Thread Yogesh Shankarappa
On Sat, Oct 15, 2011 at 11:49 AM, Brian Burch br...@pingtoo.com wrote: On 15/10/11 14:47, Yogesh Shankarappa wrote: Thanks for your response. I tried your suggestion, unfortunately it did not work. There must be a solution for this as most web applications have both public and protected

Re: Configuration for both protected and public URLs in a web application

2011-10-15 Thread Yogesh Shankarappa
Thanks for your response. I tried your suggestion, unfortunately it did not work. There must be a solution for this as most web applications have both public and protected URLs. On Fri, Oct 14, 2011 at 5:50 PM, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Yogesh

Configuration for both protected and public URLs in a web application

2011-10-14 Thread Yogesh Shankarappa
/url-pattern /web-resource-collection /security-constraint Thanks in advance. Thanks Yogesh

get UserPrincipal() is null on Tomcat v6.0.33

2011-09-18 Thread Yogesh Shankarappa
/security-constraint Thanks Yogesh

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-20 Thread Yogesh Prajapati
On 12/19/05, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, Am 20.12.2005 um 01:09 schrieb Yogesh Prajapati: On 12/18/05, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, a) Servlet Spec say: You must have sticky session when you use distributable web apps. Session Replication is only

Re: Which is better Option

2005-12-20 Thread Yogesh Prajapati
On 12/20/05, Karthik [EMAIL PROTECTED] wrote: Hi Form *Which Option [ advantages /limitations ] is Better ?* Certenly yes ,but need more clarifications [ assuming running on same JVM ] It is possible to implement JMS based solution within same JVM. JMS is the way to go as long as

Re: Tomcat 5.5.12 clustering high load

2005-12-19 Thread Yogesh Prajapati
Remy, Yup, I had noticed that when build the newest tomcat source (5.5.15 SVN head) as Peter asked to me to look into other bugs. BTW thanks for reminding. Yogesh On 12/18/05, Remy Maucherat [EMAIL PROTECTED] wrote: On 12/16/05, Yogesh Prajapati [EMAIL PROTECTED] wrote: Is there something

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-17 Thread Yogesh Prajapati
recommendation. Thanks Yogesh On 12/16/05, Peter Rossbach [EMAIL PROTECTED] wrote: Hey Yogesh, please update to current svn head. s. following bug that now fixed: http://issues.apache.org/bugzilla/show_bug.cgi?id=37896 S. 5.5.14 Changelog the see that more bugs exists inside 5.5.12. Please

Tomcat 5.5.12 clustering high load

2005-12-16 Thread Yogesh Prajapati
The detail on Tomcat Clustering Load Testing Environment: Application: A web Portal, Pure JSP/Servlet based implementation using JDBC (Oracle 10g RAC) and OLTP in nature. Load Test Tool: Jmeter Clustering Setup: 4 nodes OS: SUSE Enterprize 9 (SP2) on all nodes (kernel: 2.6.5-7.97) Sofwares:

Tomcat clustering under high load

2005-12-16 Thread Yogesh Prajapati
The detail on Tomcat Clustering Load Testing Environment: Application: A web Portal, Pure JSP/Servlet based implementation using JDBC (Oracle 10g RAC) and OLTP in nature. Load Test Tool: Jmeter Clustering Setup: 4 nodes OS: SUSE Enterprize 9 (SP2) on all nodes (kernel: 2.6.5-7.97) Sofwares: