I am having a strange problem on my tomcat 5.5.
I developed a very simple combo box cascade: if i select one of the coutries shown in the first one I dynamically load from a DB the cities of that coutry.
I use jquery to populate the second combo in a div; mybatis for data binding and Mysql ad RDBMS.
After a random number of selections of countries (less than 10) tomcat gets stuck a doesn't respond; there is a thread stuck in "S" state, forever.
1. Get the Java code out of the JSPs and into Java-only files. It's a lot easier to debug (and maintain) that way.
2. Use Code Tags to make it easier for people to read your sample code/JSPs/XML files.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad: