Archive for February, 2009

I had a problem with tomcat, it says that port 8080 is already in use so I can not use it … What I did ? 1- Find what application/process is using the pro, type: sudo netstat -lpn |grep :8080 and press Enter. You will get an output similar to this one tcp6       0      0 […]

1- Open terminal Applicaions > Accessories > Terminal 2- Type following sudo apt-get install mysql-server 3- MySQL comes with no root password. To set the root password, type: mysqladmin -u root password your-new-password and type: sudo /etc/init.d/mysql restart 4- Also install MySQL Query Browser that provides GUI for MySQL. sudo apt-get install mysql-query-browser 5- After […]

To setup Apache Tomcat in Linux do the following 1- Download Tomcat latest version from here On the left panel under ‘Download’ heading, click on your required tomcat version. select tar.gz (pgp, md5) under  ‘Core’ and  ‘Binary Distribution’ headings. 2- Extract tar at an appropriate place. For example /home/tomcat_home 3- Set Tomcat environment variables […]

When you run tomcat in Linux you will not see the traditional console with a lot of output like the way you see in windows command prompt. But almost always it the is required(By the way i don’t understand why haven’t they provided the same functionality by default 😦 ). Tomcat saves its logs in […]

how and where to provide environment variables in linux

Eclipse IDE limits the characters that are displayed in its console. But if you are running a task that displays a lot of output then sometimes its not visible. To see unlimited output Go to windows > Preferences > Run/Debug > Console and un-check Limit console output To increase the console buffer size in eclipse […]

Author: Meter Down This tutorial covers following topics Creating a project with Maven. Most common errors and their resolutions that you may encounter during project creation. Introduction to some common Maven commands. Creating a web project with Maven. Creating a WAR file with Maven. Creating an Eclipse project with Maven. If you have not set […]