java - Eclipse can't start Tomcat with option : takes control of Tomcat installation -
i using ubuntu 14.04 , eclipse luna. work eclipse , tomcat followed steps.
1) installed tomcat using : sudo apt-get install tomcat7
2) eclipse tomcat start , stop
works fine below image radio button 1 option (double click server in eclipse). option 1 browser find 404 visit http://localhost:8080/
3) apply option 2 :use tomcat installation(take control of tomcat installation)
like image below
it not start server radio option 2. when tried start server find error this
i have tried find solution link. applied not worked me.
<workspace-directory>\.metadata\.plugins\org.eclipse.core.resources
also tried apply link , changed port. not worked.
also executed option :
cd~/workspaceeclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings rm org.eclipse.wst.server.core.prefs rm org.eclipse.jst.server.tomcat.core.prefs rm org.eclipse.jst.server.tomcat.core.prefs rm org.eclipse.wst.server.core.prefs cd /usr/share/tomcat7 sudo service tomcat7 stop sudo update-rc.d tomcat7 disable sudo ln -s /var/lib/tomcat7/conf conf sudo ln -s /etc/tomcat7/policy.d/03catalina.policy conf/catalina.policy sudo ln -s /var/log/tomcat7 log sudo chmod -r 777 /usr/share/tomcat7/conf sudo ln -s /var/lib/tomcat7/common common sudo ln -s /var/lib/tomcat7/server server sudo ln -s /var/lib/tomcat7/shared shared
can know solution of problem ?
i'd recomment avoid using eclipse ubuntu repository tomcat.
unless run eclipse roor not able publish configuration.
download tomcat manually, unpack in home folder , should rid of problem
Comments
Post a Comment