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: 2. deploy a war file, which contains a servlet that will sleep 60s in it's doPost method 3. use LR or JMeter send 5 requests to the serlvet above 4. use command jstac

Re: how http connector backlog attribute works?

2013-12-27 Thread
Eggers wrote: > >>> On 12/26/2013 11:09 PM, 侯树成 wrote: > >> > >>>> 1.set tomcat connector like this: > >>>>>>>> connectionTimeout="2" > >>>> redirectPort="84

Re: how http connector backlog attribute works?

2013-12-29 Thread
is not work like it's configuration? Could you help me? 2013/12/27 侯树成 > Yes, this must use BIO mode, because the NIO maxConnections=1 in > default, it won't block the LimitLatch. In my test case,(use JMeter, thread > number is 5), 2 requests will refused soon(just

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: use LR or JMeter make more requests( >10) . You will find that 5 requests will served correctly, others will be refused. When the acceptCount=3 You will find that 7 requests will se

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 cor

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

2013-12-31 Thread
ust need a simple web app, in the servlet you can sleep 60s. Thank you for your reply. 2013/12/31 Mark Thomas > 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 li

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 +Fo

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 : > We have a rather large WAR file. 89,925,956 bytes. And we have cable > internet. With its usual extremely asymme

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 M

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 > use any xml parser or

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 : > > *Tomcat version* : 7.0.53 > > *OS

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 display