File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Java web application issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Java web application issue" Watch "Java web application issue" New topic

Java web application issue

Shreyash Shrivastava

Joined: Dec 05, 2008
Posts: 2
Hello all,

I have deployed a web application on Apache/Tomcat and on HP-Ux,When I logout of that application.Listener port which was used is not closing voluntarily because of this after few login and logouts application gets hanged.Please suggest.Thanks
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

Welcome to Javaranch Shreyash Shrivastava
Which listener port are you talking of Tomcat's 8080 or 8084 or something else.
If it is so, then this might not be the problem. Are you sure there is nothing wrong with your application?

|Asking Good Questions|
Shreyash Shrivastava

Joined: Dec 05, 2008
Posts: 2
Hey Amit,
Thanks for the fast reply.I am using 9111 as listener port on apache/tomcat.when I do lsof|grep 9111, this shows that previous listener port connection are still established,but when I kill this by process id application works fine.I could not figure out why this application is not releasing the ports voluntarily,This is the reason it gets hanged while loading the login page.
I agree. Here's the link:
subject: Java web application issue
jQuery in Action, 3rd edition