- Install tomcat 6 in ubuntu by running the below commands
sudo apt-get update
sudo apt-get install tomcat6
sudo service tomcat6 stop
cd /usr/share/tomcat6
sudo ln -s /var/lib/tomcat6/conf conf
sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat6 log
sudo chmod -R 777 /usr/share/tomcat6/conf
- In the eclipse main menu go to Help ->Install New Software...
- Make the settings as below by selecting the highlighted plugins under Web, XML, Java EE and OSGi Enterprise Development select option
- Select Windows -> Preferences -> Server -> Runtime Environments
- Click on Add…
- Select "Apache Tomcat v6.0" and click on Next
- Enter “/usr/share/tomcat6″ into the “Tomcat installation directory” field
- Click Ok
- Now Right click on your project and Run As -> Run on Server
No comments:
Post a Comment