File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Interesting Problem with Tomcat 5.5." Watch "Interesting Problem with Tomcat 5.5." New topic
Author

Interesting Problem with Tomcat 5.5.

balakrishna billa
Greenhorn

Joined: Mar 13, 2006
Posts: 13
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


balakrishna
Ben Souther
Sheriff

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.
 
Similar Threads
How to get the port dynamically
Unable to access tomcat5.5.30 using IP Address[but still able to access using http://localhost:8080]
Upgrade Tomcat to which version?
Getting the port dynamically
.WAR not unpacking