Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interesting Problem with Tomcat 5.5.

 
balakrishna billa
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,All

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
Balakrishna
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked in the Tomcat logs to see if there are any errors?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic