wood burning stoves 2.0
The moose likes Tomcat and the fly likes Interesting Problem with Tomcat 5.5. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Interesting Problem with Tomcat 5.5." Watch "Interesting Problem with Tomcat 5.5." New topic

Interesting Problem with Tomcat 5.5.

balakrishna billa

Joined: Mar 13, 2006
Posts: 13

Iam facing one interesting problem with only tomcat 5.5 not with 4.1.24.

Actually we are Using JDK 1.4, tomcat 4.1.24 container for our Struts application development product.

Every thing going fine with first release of our product and now we are going to migrate the application with JDK 1.5 and Tomcat 5.5.
If Iam use localhost as host name of tomcat is working fine,but if Iam use ipaddress or machine_name it is giving Nullpointer Exception which is because of session invalidation,but earlier with all combinations used to work fine with tomcat 4.1.24,JDK 1.4.

some minor problems like if Iam click on any link its not taking new action or request,so that it is only displaying the previous state of jsp.
means I can see the url request is happening in the browser but its not calling or going to server so that its not calling action or servlet,But if i refresh the page manually by F5,then only it is calling the Action or servlet.

Is this problem is with Browser or Tomcat..???

Are there any modifications need to perform while migration?

Everything we have tested on only localhost,but we have given built to testing...there we are finding this behaviour while using with ipaddress as host name.

Iam trying to simulate the problem form 1 week back by changing application level coding. but still i cant be able to solv the same.

Please help me in this regard.

Quick reply is most appreciatable

Thanks and Regards

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Have you looked in the Tomcat logs to see if there are any errors?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link: http://aspose.com/file-tools
subject: Interesting Problem with Tomcat 5.5.
It's not a secret anymore!