Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse not starting tomcat-7 server in debug mode

I am trying to debug my code, the eclipse doesn't stating in debug mode, however it is working fine in normal start.

Below is the exception I got in eclipse popup :

Server Tomcat v7.0 Server at localhost was unable to start within 90 seconds. If the server requires more time, try increasing the timeout in the server editor.

When I look in to the console everything looks fine, please have a look....

INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/security/oauth/details.xml]
Mar 11, 2015 11:48:38 AM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [dev/com.myPack.plat.data.mongo.config.props/mongo-config.properties]

Please help me on this.

like image 696
Shamim Ahmad Avatar asked Nov 29 '22 01:11

Shamim Ahmad


2 Answers

Removing all breakpoints fixed my case

like image 170
Trisno Raynaldy Avatar answered Dec 06 '22 10:12

Trisno Raynaldy


As per the solution, your main problem is that you have included breakpoint in your program. If you don't remember your breakpoint, you can skip those breakpoints during execution of your program. Follow these steps.

Only applicable for Eclipse.

Menu---> Run---> Skip all Breakpoints

Now you can start your tomcat server easily.

Happy learning, happy coding http://www.oliverspost.com/ for more information

like image 30
Oliver Queen Avatar answered Dec 06 '22 10:12

Oliver Queen