NetBeans launches Tomcat "' 127.0.0.1 ' is not an internal or external command" Workaround for startup failure

Source: Internet
Author: User
Tags netbeans

Http://blog.sina.com.cn/s/blog_709548200102vgy4.html

————————————————————————————————————————————————————————————————

Problem Description:

The newly installed NetBeans8.0.2, the installation process also integrates with the included Tomcat8.0.15, open NetBeans Run Web project failed, console output error message is as follows:

Failed to start Tomcat.
\build-impl.xml:1164: Deployment error: Booting Tomcat failed.
For more information, check the server log.
Build failed (Total time: 4 seconds)
The Tomcat log shows:
' 127.0.0.1 ' is not an internal or external command, nor is it a running program
Workaround:
Online a search, find positive solution!
Enter the Tomcat installation directory, open in Notepad in the Bin/catalina.bat file, and make the following code changes:
: Nojuliconfig
Set "java_opts=%java_opts%%logging_config%"
..
: Nojulimanager
Set "java_opts=%java_opts%%logging_manager%"

To (actually, remove the double quotes):
: Nojuliconfig
Set java_opts=%java_opts%%logging_config%

: Nojulimanager
Set java_opts=%java_opts%%logging_manager%

Re-start NetBeans and you're ready.

NetBeans launches Tomcat "' 127.0.0.1 ' is not an internal or external command" Workaround for startup failure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.