O'Reilly logo

Java EE Development with Eclipse - Second Edition by Ram Kulkarni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging a web application using Tomcat in Eclipse EE

We have already learnt how to configure Tomcat in Eclipse EE and deploy a web application in it from Eclipse (refer to the Configure Tomcat in Eclipse and Running JSP in Tomcat sections in Chapter 2, Creating JEE Project). We will use the Course Management application that we created in Chapter 4, Creating a JEE Database Application, using JDBC for debugging.

Starting Tomcat in debug mode

If you want to debug a remote Java process, you need to start the process by using the debug parameters. However, if you have configured Tomcat in Eclipse EE, you don't need to do this manually. Eclipse takes care of launching Tomcat in the debug mode. To start Tomcat in the Debug mode, select the server in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required