
Monday, February 8. 2010
Configuring Tomcat6 with Eclipse in Debian
After some moderate difficulty (mostly due to bugs 507536 and 552480) I have finally managed to setup Eclipse as a build environment for Apache Tomcat.  The process is as follows (Note that $DEVELSERVERDIR can be anything/anywhere that you have access to as a normal user):
- aptitude install eclipse tomcat6-user
 - Install Java EE Development Tools plugin from the Eclipse WPT Project
 - tomcat6-instance-create 
$DEVELSERVERDIR - cd 
$DEVELSERVERDIR - ln -s /usr/share/tomcat6/lib
 - ln -s /usr/share/tomcat6/bin/bootstrap.jar bin
 - cp /var/cache/tomcat6/catalina.policy conf
 - Configure tomcat and eclipse to your liking and add the Tomcat instance to the Eclipse servers list
 
At this point you should be able to import/create projects which can be run on your local server instance. (If not, you are in the same boat I was in this morning... and best of luck to you)
    
            (Page 1 of 1, totaling 1 entries)
    
    
    
    
				
		






