Problems with JK connector and IIS5 and tomcat 6
Hi, We have an application using tomcat6.0.16 and IIS5 with JK connector. We found that there are so many errors in the IIS connector log file. [Fri Dec 05 09:13:54 2008] [error] jk_isapi_plugin.c (549): HSE_REQ_SEND_RESPONSE_HEADER failed [Fri Dec 05 09:13:54 2008] [error] jk_isapi_plugin.c (639): WriteClient failed with 2746 In the tomcat log file, we found the following errors are shown frequently: org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Broken pipe . WARNING: processCallbacks status 2 I don't known these two errors are related or not and I search the internat and cannot find any solution. My configure in the worker.properties is worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.15.237 worker.ajp13.type=ajp13 worker.ajp13.socket_keepalive=True My configure in server.xml for 8009 connector is Sometimes the users also complaint that the connection is broken when they use our application and click the links too fast. Has anyone can help me? Thanks
Re: Problems with JK connector and IIS5 and tomcat 6
Dear Bill Barker, Do you mean both errors in IIS log and tomcat log are normal? Thanks -- From: "Bill Barker" <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2008 9:02 AM To: Subject: Re: Problems with JK connector and IIS5 and tomcat 6 The error is harmless (other than taking up disk space). It just says that the user aborted before the page was fully loaded. Upgrading should get rid of the "Error sending end packet" message (logged as DEBUG in the current 6.0.x code). The "processCallbacks status 2" message should probably also be down-graded. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, We have an application using tomcat6.0.16 and IIS5 with JK connector. We found that there are so many errors in the IIS connector log file. [Fri Dec 05 09:13:54 2008] [error] jk_isapi_plugin.c (549): HSE_REQ_SEND_RESPONSE_HEADER failed [Fri Dec 05 09:13:54 2008] [error] jk_isapi_plugin.c (639): WriteClient failed with 2746 In the tomcat log file, we found the following errors are shown frequently: org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Broken pipe . WARNING: processCallbacks status 2 I don't known these two errors are related or not and I search the internat and cannot find any solution. My configure in the worker.properties is worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.15.237 worker.ajp13.type=ajp13 worker.ajp13.socket_keepalive=True My configure in server.xml for 8009 connector is Sometimes the users also complaint that the connection is broken when they use our application and click the links too fast. Has anyone can help me? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question on JVM memory in tomcat
Hi, I am using the tomcat manager to monitor the health of the tomcat server. I found that the session of JVM, it shown the following information: JVM Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB Is my tomcat in good condition or not? It seems that the free memory is only 38.13MB? I have added the following lines in my startup.sh export JAVA_HOME=/opt/jdk export JAVA_OPTS=-Xmx1536m export CATALINA_HOME=/opt/tomcat How to know whether my tomcat can use the memory or not?
Problems with JK connector and IIS5 and tomcat 6 (2)
Hi, I'm using the JMeter to do the stress test on my web application. I set the number of threads to 20 and loop 100. When I run the testing, I found that there are many sessions created on the server (I write one record to database for every session created) (3000 sessions created within 5min), and finally, my server has no response when I use my browser to access my application (both access via IIS or directly access the tomcat). And I stopped the testing and restart the tomcat, it still doesn't work, I also need to restart IIS. My problem is how to trace what problems on my application? Is it the IIS problem or Tomcat problem? How can I know how many sessions on the IIS currently? I think that iaspi_redircet.dll will create the connection to tomcat, I want to know how many connection connect to tomcat currently.
problem on configure the java_option
Hi, I want to set some option for my tomcat and I added the following line: export JAVA_OPTS=-server -Xms800m -Xmx800m -XX:PermSize=64M-XX:MaxNewSize=256m-XX:MaxPermSize=256m -Djava.awt.headless=true However, when I startup the tomcat, it throws the following error: [r...@ebusiness ~]# /opt/tomcat/bin/startup.sh /opt/tomcat/bin/startup.sh: line 26: export: `-Xms800m': not a valid identifier /opt/tomcat/bin/startup.sh: line 26: export: `-Xmx800m': not a valid identifier /opt/tomcat/bin/startup.sh: line 26: export: `-XX:PermSize=64M-XX:MaxNewSize=256m-XX:MaxPermSize=256m': not a valid identifier /opt/tomcat/bin/startup.sh: line 26: export: `-Djava.awt.headless=true': not a valid identifier Why?
Re: problem on configure the java_option
It works. Thanks -- From: "Caldarale, Charles R" Sent: Tuesday, December 16, 2008 10:44 PM To: "Tomcat Users List" Subject: RE: problem on configure the java_option From: Piller Sébastien [mailto:pi...@hmcrecord.ch] Subject: Re: problem on configure the java_option you should add spaces between -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=256m Definitely required. and the memory size must be, as far as i remember, a power of 2 (512M, 1024M, etc) Not true, and never has been. Don't spread rumors. The main problem is a lack of quotes around the whole expression. It should be: export JAVA_OPTS="-server -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=256m -Djava.awt.headless=true" I would strongly recommend NOT setting MaxNewSize, as that will likely force garbage collections to occur more frequently than needed. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problems with JK connector and IIS5 and tomcat 6 (2)
Hi, all, Has any idea? -- From: Sent: Tuesday, December 16, 2008 9:08 PM To: "users" Subject: Problems with JK connector and IIS5 and tomcat 6 (2) Hi, I'm using the JMeter to do the stress test on my web application. I set the number of threads to 20 and loop 100. When I run the testing, I found that there are many sessions created on the server (I write one record to database for every session created) (3000 sessions created within 5min), and finally, my server has no response when I use my browser to access my application (both access via IIS or directly access the tomcat). And I stopped the testing and restart the tomcat, it still doesn't work, I also need to restart IIS. My problem is how to trace what problems on my application? Is it the IIS problem or Tomcat problem? How can I know how many sessions on the IIS currently? I think that iaspi_redircet.dll will create the connection to tomcat, I want to know how many connection connect to tomcat currently. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt
How to unsubscribe this email ? -- From: "Sam Zilverberg" Sent: Thursday, January 13, 2011 9:47 PM To: "tomcat" Subject: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt Hi, I'm running a wicket app on tomcat 6.0.20. Once in a while I need to redeploy it (after fixing some stuff, adding features and so on). This is how I redeploy: 1.Use tomcat manager to undeploy the running app. 2.Deploy the new app by copying the new WAR file to a library inside tomcat. Everything seems fine but when I use the app I sometimes get a java.lang. NoClassDefFoundError. The class can be just about any class in the project and its libs. Sometimes its a Hibernate related class, sometimes its a Wicket related class and sometimes its a class from my app. Redeploying once (or a couple of times) solves the problem. This is very inconsistent and bothering. After deploying I never know if the app is going to be ok or if one of its pages will keep throwing internal errors on account of the NoClassDefFoundError. Did any one ever encounter this kind of problem? Do you have any ideas on what is causing this or what I can do to diagnose this problem? I'm clueless at the moment :( Thanks -Sam __ Information from ESET NOD32 Antivirus, version of virus signature database 5783 (20110113) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 5783 (20110113) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org