Monthly Archives: April 2015

Tomat – install as a service for Windows

1. run cmd.exe as an administrator 2. go to the bin directory of Tomcat installation 3. execute “service.bat install ‘name of service’” by default it will be ‘Tomcat’ For configuration of running service, you can find details from the following … Continue reading

Posted in Programming | Tagged | Leave a comment

Log4j – setting for logging everying grobally

The following example show how to configure log4j configuration file(log4j.properties) to log all messages. Main point is that rootLogger has to be configured.

Posted in Java, Programming | Tagged | Leave a comment

Java – Spring framework – adding property file in application

1. Add the following code in applicationContext-config.xml 2. get an instance of myPropertes in code

Posted in Java, Programming | Tagged | Leave a comment