eclipse - Tomcat works but I can't reach http://localhost:8080/ -


When I run the tomcat with windows, it starts and I can not reach http: // localhost : 8080 / Tomcat Homepage, but if I run it from Eclipse, it works, my application works, but I http: // localhost: 8080 / ...

How to solve it? Or is it normal?

Thank you!

It is probably normal, according to:

This is normal.
To see this, Double click on Tomcat server in Server View. This will open the tomcat configuration editor. Click on the "Open Launch Configuration" link in the Overview section. This will open the Launch Configuration Properties dialog. Select the Logic tab and test the content of the VM logic field.

Note that catalina.home property marks for your tomcat installation, but catalina.base under your workspace " .metadata \ .plugins \ org.eclipse.wst.server.core \ tmp "indicates directory.
In this way, you are running a different example of Tomcat, "only one in the directory" under " .metadata \ ... \ tmp " directory " webapp Empty "root webpad and any web projects you have added to the server. In the Tomcat Configuration Editor, you can uncheck the "Modules run directly from the workspace (do not modify the temporal installation)" option and catalina.base and catalina.home Your templates will be set to install.
Keep in mind that in this configuration, the Tommak server is the "owner" of your tomcat installation in Eclairs.
Every time you start the Tomcat server from Eclipse, in your workspace, Tomcat files will be overwritten by the files in your installation under the server project.

It was believed that if you want to keep the most eclipse eclipse from Tomcat server independent of the eclipse server, then default to create a separate tomacet instance.
With different examples, you can run the Tomcat installation at the same time because Eclipse Tomcat Server has provided you to modify one or both of the conflicts so that they do not use the port to be used.

If you want a standard Tommack webpage pr, keeping separate tomcat examples in Eclipse, switch to the modules tab in the tomcat configuration editor and manually click the "Add external web module" button to add desired webapps. Use Note that this will add a bit to startup time for the server.

Note that it is for Tomato versions that uses WTP x1.5 (seems to be 5 or less) WTP (Web Tool Platform) x2.0 Along with the mint and above you do not get this option. Instead you need to go into server properties and go to the switch location which will then show a proper path. You enter the server config (the server opens twice by clicking on the server) and change the "server location" to "use of a tomcat collision" (the middle one).


Comments