Tomcat startup problem

Asked

Viewed 12,542 times

6

As a stopgap measure for this mistake, I installed XAMPP and placed it (Tomcat) as a container for Netbeans. But when I run a project in Netbeans, the following error appears in the Tomcat console in the IDE:

Iniciando a partir da falha do Tomcat:

'127.0.0.1' nÆo ‚ reconhecido como um comando interno
ou externo, um programa oper vel ou um arquivo em lotes.

And the project deployment process is interrupted.

I find that strange, because when I try to initiate Tomcat directly through XAMPP, it does it normally. I tried to start Netbeans as an administrator but it didn’t work. How can I fix it?

  • @lost, yes, Windows. How could I check this path?

  • @lost, when you say "installed as a service", does that mean it starts automatically with Windows? If yes, no, I did not install it as a service, I just proceed to the standard installation of XAMPP. As for the variable path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%JAVA_HOME%\bin;C:\PostgreSQL\9.3\bin; what should be there, but is not?

  • @lost, did not solve, but I’m afraid you did not understand the problem, I will edit the question.

  • The problem seems to be in Netbeans, not Tomcat.

1 answer

18

For some reason this issue has to do with Netbeans' proxy settings.

If you go in the Tools -> Options menu and check the "No Proxy" option in the "Proxy Settings" you should start Tomcat correctly.

  • Great answer Luiz Feltes! Helped a lot!!

Browser other questions tagged

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