Posted by: Vijay Dev on: February 13, 2009
Converting files from one format to another is one of those problems that sound simple but actually is very complex to solve. In one of my projects, I needed to convert spreadsheets to comma separated files and I hit upon JODConverter, the Java OpenDocument Converter. This offers a variety of usage options – it can [...]
Posted by: Vijay Dev on: August 30, 2008
The default caching option in JForum is a simple Java Map which obviously will be effective only within a single JVM and will work only when the application is running on a single instance of the web server. But in a clustered environment, each JVM will maintain its own cache (because its just a Java [...]
Posted by: Vijay Dev on: August 22, 2008
The exact version number of a Tomcat 6 server is stored in the ServerInfo.properties file that is located in $TOMCAT_HOME/lib/catalina.jar/org/apache/catalina/util. This file can be found in $TOMCAT_HOME/server/lib/catalina.jar/org/apache/catalina/util in case of Tomcat 5.5 and earlier.
The getServerInfo() method can be used when there is a need to determine the version numbers from inside the web application.