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


enter image description here


it not start server radio option 2. when tried start server find error this

enter image description here


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

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -