Welcome to my blog !


Issues with OutOfMemoryError: PermGen space in tomcat and solution

January 15, 2012 ·  3 min read

Recently when I have deployed a web application in tomcat 6.0.32 in windows Development environment, I got following PermGen Space errors. so I would like to write the post on this with root cause and exceptions Caused by: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) What actually causing OutOfMemoryError? This issue either occur in the startup of your application or in runtime whenever the application is running....

10 Interview Questions answers for Log4j in java

January 11, 2012 ·  2 min read

What is Log4j? Log4j is logging framework provided by apache foundation for java based applications. In the applications, if you want to log the same information, like any event, triggered, or any Database updated is happened, We have the need to log the specific information or error for the useful of the application. To debug any issues in applications, we have to log the error/exceptions in the logs. For this, we will use the log4j mechanism ....

What is Hadoop?:Apache Hadoop Tutorials

December 10, 2011 ·  6 min read

Hadoop is an Apache framework developed completely in Java with the opensource brand. hadoop is a apache software framework of a distributed programming model to process the large amount (say tera bytes) of data in large set of clusters( multiple nodes). Hadoop is popular for OLTP dataware house processing. Hadoop Advantages :- 1. Open source framework built on java. 2. It will process the large chunks of data in parallel within in small time....

Hellow World Jsp Example

December 3, 2011 ·  1 min read

Before setting up deploying JSP on your environment, make sure that JAVA_HOME environment is set. and also download tomcat from the apache site and should set TOMCAT_HOME environment is set. Please make sure that PATH and CLASSPATH environment variables are set Steps to create a first web application. Create a HelloWorld folder and the folder structure looks like as following structure HelloWorld root folder contains the following structure Create a first....

java Collections overview

December 3, 2011 ·  1 min read

java.util.Collection Collections are data structures are used to represents a group of elements stored under a single name. Different operations like searching, sorting, insert, delete and filter operations will be performed on collection classes Java provides several classes and interfaces to deal with collections Java collections are defined in java. util package java.util.Collection and java.util.map interfaces are root interfaces which all collection classes are extending either one of the interfaces....

Subscribe
You'll get a notification every time a post gets published here.