Thursday 8 January 2015

Error starting Tomcat from NetBeans - '127.0.0.1*' is not recognized as an internal or external command

Change the following in <tomcat directory>/bin/catalina.bat
: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%

"Starting of Tomcat failed" message when trying to start tomcat from netbeans

This is a bug of netbeans. to resolve this do the following
Remove tcnative-1.dll from the apache-tomcat/bin folder in your installation.
Apparently the native connector is not playing well with the check that netbeans
uses to determine that the server is up and running. The bundled tomcat server
does not include the tcnative-1.dll. It's definitely not needed for development
purposes.

No comments:

Post a Comment