Posts

HOWTO:Setting up a Subversion Server on Windows Server 2003

Image
Recently we have migrated our repository from Serena PVCS to SVN . Here the configuration details I used to configure Subversion( SVN ) on windows 2003 server. SVN (Tigris.org) got pretty cool exe file ( Svn1ClickSetup-1.3.3.exe ) which will include all it's necessary software's in a single bundle namely the software's are Subversion, SVNService and Tortoise SVN client. We just need to keep on clicking next and verify the installation location by defualt it points to C:\Pr0gram Files\subversion. Things To Do: Download the latest version of Svn1ClickSetup-1.3.3.exe from http://svn1clicksetup.tigris.org/ . Double click on Svn1ClickSetup-1.3.3.exe and it initialize installation process just keep looking at installation window and keep hitting on next button all the way out to finish set up process. Svn1ClickSetup-1.3.3.exe will install Subversion command line tool in C:\Program File\ Subversion \ and say Next now subversion will automatically pickup Editor which is N...

Applets are not running on Internet Explorer 7.0

I think there was an issue with applets on Internet Explorer 7.0. When I tried to run some applets on my windows 2003 server (SP2) box with IE 7.0 and JDK 1.5 version I could not able to load applets on my browser. I tried in almost all known ways by enabling applets through browser setting Tools -->Advanced and from java console (control panel --> java console --> Advanced) but no luck finally I thought to uninstall the java and reinstall it again and did the same but still no luck so finally I have installed lower version of Internet Explorer version 6.0 and it started working... I think IE 7.0 has some issues still. But IE 7.0 has got some pros and cons as per my limited usage experience... Pros: Rich look and feel Tabbed browsing Implemented Add-on concept as Mozilla Firefox had. Cons: Though you enable Add-ons still browser through you message that you have not enabled add-on facility which really frustrates. As I told Applet issue. When we say Add-on user will easily se...

Error Reporting through E-Mail using Log4j (SMTPAppender Class)

This could be one of the cool thing if you get an intimation through an email when ever your application is facing the problem in production or test environments apart from this you get log file as well so we can decrees the turn around time some what in fixing and issue and making your environment up. A few months back I have implemented the same thing for one of our production application and I have used log4j for logging and emailing the log file when ever log file get populated with error level messages. In log4j api we have one class called SMTPAppender which will email us our log file when ever log file is populated with error level message. Just needs to configure log4j properties file with all SMTP server details. Note: Make sure that you should have mail.jar and activation.jar files in your class path. log4j.properties: log4j.rootLogger=INFO, filer ,SMTPTest log4j.appender.filer=org.apache.log4j.RollingFileAppender log4j.appender.filer.layout=org.apache.log4j.PatternLayout lo...

Why Managers Fail

Good one... http://managementcraft.typepad.com/management_craft/2008/06/why-managers-fa.html

JUnit testing tips

As we used to write our JUnit test cases for all Story cards we develop, well we follow TDD (Test Driven Development). Here are the rules we follow for our JUnit testcase as part of our TDD... Never break others test case. Don't update any database values as part of your JUnit testing. (But we can read DB values if required.) Test your business logic no need to test java or other API's as they are well tested. Try to avoid Mock Objects usage. (I think some times this mock objects will cause problems when you debug your test case - I am not quite sure to give any instance but I think so) And he used to tell one more thing Clean first before committing something back to repository. Ensure your JUnit test is passing on cruise control. Some time JUnit will pass locally when it actually running along with Cruise Control test beds it fails so need to ensure till you get positive build results other wise need to fix again.

Cruise Control configuaration over VSS

Nice article on how to configure Cruise Control over VSS. http://www.spiderlogic.com/news_threads/articles/cruisecontrol.html http://cruisecontrol.sourceforge.net/gettingstartedbindist.html

http://www.java-tips.org/ - A Good site for a real quick help in java

A very useful and good site for basic things for a quick review for basic and advanced java stuff. http://www.java-tips.org/