Starting Tomcat in Eclipse Galileo
This is some information about using Tomcat with Eclipse Galileo since it is different from prior versions of Eclipse.
You should make sure you have downloaded the Eclipse Java EE IDE for Web Deveopers
In the Windows update site (Galileo - http://download.eclipse.org/releases/galileo)
you should make sure you have the Web, XML, and java EE Development installed which includes the JST Server Adapters. This adapter is for the Tomcat installation.
Under Windows Preferences you should see a dropdown that says Server, and under the Server
menu, you should see Runtime Environment. When selecting this, you should see your Tomcat Installation.
To start Tomcat, you should Open the Windows View called Servers. Select your right mouse button and select New to create a Tomcat Server.
when select on the server, you should see the Overview section where you could change the Tomcat Configuration.
If want to use a seperate Tomcat instance instead of the localhost built into Eclipse, you should select the Server Location as "Use Tomcat Installation" and select the deploy path: to your tomcat webapps folder.
If you get JAVA_HOME does not point to the JDK, you can add tools.jar when editing your JRE. I didn't notice that I needed to do this using older version of eclipse, but it seems to have worked here.
You also might need to increase your Timeouts under your Tomcat Server to prevent your tomcat from timing out.
To debug, select your break points and make sure you run the tomcat server under debug mode. If you don't see your source when the breakpoint is hit, select edit, and select your Project so you can see the code when you are debugging.

0 comments:
Post a Comment