ben edw
ben edw

Reputation: 1

Netbeans 8 Tomcat 8 start error

I'm beginner with Java EE. I try to start my Tomcat server. I use this link to configuration.

At end if i start server i have an error message :

127.0.0.1 n'est pas une commande interne ou externe, un programme executable ou un fichier de commandes.

Anybody can help me. Please

Upvotes: 0

Views: 2453

Answers (2)

Ali Akkaya
Ali Akkaya

Reputation: 61

If you are on Mac OS platform (could be valid for Linux environments as well, i did not try), another error appears in catalina.sh if IDE proxy is enabled. Debugging shows that below line gives an error.

Dhttp.nonProxyHosts=localhost|127.0.0.1|salvamea.local

To solve the error go to Server configuration "Platform" tab, and un-click "Use IDE proxy settings". For some reason if you need the proxy, then catalina.sh should be fixed so that the value is in double quotes.

Upvotes: 1

wolf97084
wolf97084

Reputation: 280

Did you take a look of this post, Error starting Tomcat from NetBeans - '127.0.0.1*' is not recognized as an internal or external command ?

Quote from the post:

change

:noJuliConfig
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"

..

:noJuliManager
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%"

to

:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%

.. 

:noJuliManager
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%

I did what suggested in the post and it solved my problem.

Upvotes: 1

Related Questions