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
305672 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
ot;keepAliveTimeout" will be consider as the best?* -- *Thanks & Regards,* * Yogesh Patel*

Tomcat Thread Dump

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

Re: Tomcat unresponsive

2015-12-06 Thread Yogesh Patel
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, > > > > On 12/4/

Tomcat unresponsive

2015-12-04 Thread Yogesh Patel
ponsive 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
est body."] [data "Error 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
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91) at " On 27 October 2015 at 14:59, André Warnier (tomcat) wrote: > Yogesh, > > 1) please follow the rules of this list, and don't "top-post" : > http://tomcat.apache.org/lists.html#tomcat-users #6 >

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

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

2015-10-26 Thread Yogesh Patel
uot;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. > > On 10/26/15 7:15 AM, Yogesh Pat

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: Regarding StuckThreadDetectionValve

2015-10-05 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 wrote: > On 05/10/2015 16:00, Yogesh Patel wrote: > > Other 199 process are also for /solr430/update?wt=xml&versi

Re: Regarding StuckThreadDetectionValve

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

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Request* S 2884466 ms0 KB 184063 KB machineip host POST /solr430/update?wt=xml&version=2.2 HTTP/1.1 .. On 5 October 2015 at 16:12, Yogesh Patel wrote: > Hi , let me try sending image using attachment , if still its not viewable > then i will find

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 wrote: > On 05/10/2015 11:28, Yogesh Patel wrote: > > Hi Thomas , > > Please see this image ...have a look at Time

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 wrote: > On 05/10/2015 10:09, Yogesh Patel wrote: > > Hi Thomas, > > > > Connector configuration is like : > > > > That means yo

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi Thomas, Connector configuration is like : On 5 October 2015 at 14:17, Mark Thomas wrote: > On 05/10/2015 09:07, Yogesh Patel wrote: > > Thanks Mark Thomas , > > > >Our application is access by Apache TO Tomcat using AJP Connector. > > OK. That answers o

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 wrote: > On 05/10/2015 07:54, Yogesh Patel wrote: > > We are facing issues with long running thread in tomcat . we are > > using Tomcat-7.0.47.Tomca

Regarding StuckThreadDetectionValve

2015-10-04 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: 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 On

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 wrote: > On Fri, Aug 8, 2014 at 9:10 AM, John Smith > wrote: > > > On Thu, Aug 7, 2014 at

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 wrote: > Hi, > > I see out.close() in the writeXML method of you

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 wrote: > if you could capture the XML that you are trying to write, we can put

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

2014-08-07 Thread Yogesh Rao
nagedObject = 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, Yogesh Rao w

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

2014-08-06 Thread Yogesh Rao
ble 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 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

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

Unable to deploy MBeans in Tomcat 7 using Modeler API

2014-08-05 Thread Yogesh Rao
o go about writing a MBean using this API. Any help on this would be greatly appreciated. Thank You! Regards, -Yogesh

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
the interaction happens between the connector and its request processor. Sorry if its too basic of a question, if you could or other team members point me in the direction it will be of great help. Thanks again, On Tue, May 14, 2013 at 4:29 AM, Mark Thomas wrote: > On 14/05/2013 05:47, yog

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 classe

Re: Designing for Load on TomCat

2013-05-04 Thread Yogesh
something else ? Sent from my iPhone On May 4, 2013, at 9:26 AM, André Warnier wrote: > yogesh hingmire wrote: > > >> On Sat, May 4, 2013 at 7:07 AM, André Warnier wrote: >>> yogesh hingmire wrote: >>> >>>> While planning / designi

Re: Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
as 4 times what i arrive for a single node ? Your thoughts? On Sat, May 4, 2013 at 7:07 AM, André Warnier 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 clust

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: 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 wrote: > On Jan 18, 2013, at 12:54 PM, yogesh hingmire wrote: > > > Folks, > >

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 wrote: > Folks, > >> I

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 w

Re: java.lang.IllegalStateException

2012-12-28 Thread Yogesh Manware
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

java.lang.IllegalStateException

2012-12-28 Thread Yogesh Manware
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at .LoginFilter.doFilter(LoginFilter.java:385) {code} httpSession.invalidate() is invoked at line 2 but it actually completes at line 5. 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 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

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/1

Configuration for both protected and public URLs in a web application

2011-10-14 Thread Yogesh Shankarappa
/public/welcome.html Thanks in advance. Thanks Yogesh

Re: get UserPrincipal() is null on Tomcat v6.0.33

2011-09-19 Thread Yogesh Shankarappa
Chris, thanks for your response. I realized later and added it. It works now :-) On Mon, Sep 19, 2011 at 4:04 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yogesh, > > On 9/18/2011 9:23 PM,

get UserPrincipal() is null on Tomcat v6.0.33

2011-09-18 Thread Yogesh Shankarappa
advance. Agent com.sun.identity.agents.filter.AmAgentFilter Agent /* REQUEST INCLUDE FORWARD ERROR Example Security Constraint Entire Application /* Thanks Yogesh

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 a

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

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-19 Thread Yogesh Prajapati
Please ignore the first "," for "import" attribute.. it should be javaImport.jsp: <%@ page import=" java.lang.* , java.sql.* , java.util.* , java.io.* , java.text.* , javax.mail.* , javax.mail.internet.* , org.apache.commons.fileupl

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-19 Thread 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 used when primary node > crashed!! I looked into the servlet spec (V 2.4). I did not find anything like "stic

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]> w

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-17 Thread Yogesh Prajapati
ckets in the pool. I didn't find in the documentation about the effect of changing those parameter or any recommendation. Thanks Yogesh On 12/16/05, Peter Rossbach <[EMAIL PROTECTED]> wrote: > > Hey Yogesh, > > please update to current svn head. > > s. following bug t

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: JD

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: JD

Tomcat 5.5.12 clustering - messages lost 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: JD