Doubt with the Tomcat

Asked

Viewed 50 times

1

I started to learn JSF and installed the Tomcat, but when I start it appears this message:

Port 8080 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running in Another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

I’d like to know how to change that.

1 answer

1

The conflict problem can be solved in two ways: the first is by identifying the other software that is already using port 8080 and the second way would be:

  1. Locate the Apache Tomcat installation. Log in to your directory;

  2. Enter the directory /conf;

  3. As root user, open the server.xml file; for example:

If LINUX: # gedit server.xml If Windows opens with notepad or compatible

  1. With the file open, search(Ctrl+F) for 8080;

  2. Switch to some port of your choice. Note that make use of a door where no service makes use;

  3. Save and close the file.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.