how http connector backlog attribute works?

2013-12-26 Thread
Hi, I find a problem of http bio connector,I need help. You can find it in flowing steps: 1.set tomcat connector like this: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 acceptCount=1 maxThreads=1 minSpareThreads=1/ 2. deploy a

Re: how http connector backlog attribute works?

2013-12-27 Thread
: On 12/26/2013 11:09 PM, 侯树成 wrote: 1.set tomcat connector like this: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 acceptCount=1 maxThreads=1 minSpareThreads=1/ 2. deploy a war file, which contains a servlet

Re: how http connector backlog attribute works?

2013-12-29 Thread
that 9 requests will served correctly, others will be refused. Yes, the SUCCESS requests = 2 * acceptCount + maxthead , is it right? why the acceptCount is not work like it's configuration? Could you help me? 2013/12/27 侯树成 chain...@gmail.com Yes, this must use BIO mode, because the NIO

the acceptCount attribute not work like it's configuration

2013-12-30 Thread
Hi, Today, I find the acceptCount of connector is not work like it's config. You can try it like this: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 acceptCount=2 maxThreads=1 minSpareThreads=1/ use LR or JMeter make more

doe response auto commit when browser abort or close?

2013-12-30 Thread
Hi, I got an Exception like this: java.lang.IllegalStateException: Cannot call sendError() after the response has been committed I got it in following steps: 1. Deploy a web app. 2. request the app in browser, refresh the page when it not response fully(or close it when the page not response

Re: the acceptCount attribute not work like it's configuration

2013-12-31 Thread
you can sleep 60s. Thank you for your reply. 2013/12/31 Mark Thomas ma...@apache.org On 31/12/2013 02:01, 侯树成 wrote: Hi, Today, I find the acceptCount of connector is not work like it's config. You can try it like this: Connector port=8080 protocol=HTTP/1.1

Re: Mod_jk error

2014-01-12 Thread
Hi, Alex What is your mod_jk.conf file that used for mod_jk configuration. You can config it as blow: LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel error JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize

Re: WAR file deployment question

2014-09-16 Thread
try manager, located in the webapps/manager. You need to edit your tomcat-users.xml, After that you can deploy your app via manager. 2014-09-16 8:11 GMT+08:00 James H. H. Lampert jam...@touchtonecorp.com: We have a rather large WAR file. 89,925,956 bytes. And we have cable internet. With its

Re: I'm searching for a parser of JSP

2015-09-11 Thread
Hi Kaori, May be you need write a parser manually. Use JavaCC or Antlr will help you complete it. You can define your custom syntax checker. 2015-09-10 13:49 GMT+08:00 Mark Lovatt : > Hi Kaori > > I don't know a parser for traditional jsp but if you use jspx then you can

Re: Tomcat Thread Dump

2015-12-09 Thread
You can use the java tool *jps*, this is a command tool. When use like this : jps -lv , you can get detail infomation of all java instance.Hope help to you. 2015-12-09 19:28 GMT+08:00 Konstantin Kolinko : > 2015-12-09 10:09 GMT+03:00 Yogesh Patel

Re: load server configuration file error

2016-08-08 Thread
Hi Leonid, When Tomcat run in Eclipse, It work because the Eclipse server configuration was treated for the CATALINA_BASE, Just like another *standalone* Tomcat. You can reconfig your server. If Error occured, try Embeded Tomcat. Or use Remote Debug. Hope helpful. 2016-08-08 23:56 GMT+08:00

Re: Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError: PermGen space

2016-12-03 Thread
Hi, Kaushal If you want to view the classes loaded in memory, the Visualvm as Chris mentioned above. It don't need download separeately. In Oracle JDK, the jvisualVm is already present. you can click second button [memory] and click stop after a few seconds. Then all classes loaded will