hnnn
hnnn

Reputation: 504

cannot run tomcat 7 from netbeans

path - C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin
catalina_home - C:\Program Files\Apache Software Foundation\Tomcat 7.0\

server setting in netbeans https://i.sstatic.net/2mFDn.png

(the system wont let me post images)

when i hit run button tomcat throws an error: 127.0.0.1 command is not recognized as an internal or external operable program or batch file.

(using windows 7 64bit)

Upvotes: 1

Views: 2255

Answers (1)

Johnride
Johnride

Reputation: 8736

This is a recent bug in Tomcat 7.0.56.

See my answer on the exact same question 8 hours ago :

https://stackoverflow.com/a/26487192/1935128

Assuming you are on windows (this bug is caused by the crappy bat files escaping), It is a bug introduced in the latest versions (7.0.56 and 8.0.14) to workaround another bug. Try to remove the " around the JAVA_OPTS declaration in catalina.bat . It fixed it for me with tomcat 7.0.56 yesterday.

For your asterisk, it might only be a configuration of yours somewhere that appends it to the host declaration.

I saw this on Tomcat's bugtracker yesterday but I can't find the link again. Edit Found it! https://issues.apache.org/bugzilla/show_bug.cgi?id=56895

I hope it fixes your problem.

Upvotes: 2

Related Questions