Showing posts with label apache tomcat. Show all posts
Showing posts with label apache tomcat. Show all posts

Monday, April 13, 2009

Apache Tomcat's Cache Fushing

We have had a problem updating our site content that at the end turned to be Tomcat cache.

Apearently, Apache Tomcat web server hat it own's cache and doenst refresh it too often. we fund that out asking Shahar Zehavi , our new Development Team Leader.

What was done :

  1. Stop the Tomcat
  2. Go to "/home/USERNAME/apache-tomcat-6.0.18/work/Catalina/localhost"
    here are the files that will be deleted.
  3. DELETE : \rm -rf *
I belive that removing the file only will do the job as well , but hey .. when you are putting a new code you should let the old one go ..

please note :
  • you have to change the USERNAME to your coresponding username
  • be careful deleting
Good luck

Wednesday, March 18, 2009

How to setup Java Dev. Environmernt (Java, Eclipse, Tomcat)

Hello All.

You basically need two things:
1. The Java JDK that can be downloaded from http://java.sun.com/javase/downloads/index.jsp
2. Install JDK on your machine (in a path without blanks!!!).
3. Setup the environment var JAVA_HOME to point to your new installation.
3. download eclipse (choose the Eclipse IDE for Java EE Developers (163 MB)) package and unzip it in some folder http://www.eclipse.org/downloads/
4. download tomcat from the apache site http://tomcat.apache.org/download-60.cgi
5. Follow the instructions here to setup your env http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html

Enjoy