However I can't get Tomcat to work using Netbeans. With two main errors.
- First time Deployment error: Starting of Tomcat failed. See the server log for details. - Second time Deployment error: Starting of Tomcat failed, the server port 8080 is already in use. See the server log for details.

I can reset "8080 already in use" using taskkill /f /pid xxx in the command prompt.

I have removed couple of double quotes in the catalina.bat as suggested in other fora, no change.

Any clues or tips for progressing my problem solving would be welcome.

One further comment, should anybody else find this thread with similar problems and in search of solutions. I also needed to change permissions in the C:\Program Files\Apache Software Foundation\Tomcat 8.5\logs folder to allow tomcat to write log files. I set up Windows 10, Netbeans and Tomcat from scratch, and I found the Windows permissions with its System/Administators/Users/Applications/TrustedUsers a tad difficult to navigate. As it's all on my machine, I gave Full Control to all as much as I could.

Right click on folder -> Properties -> Security tab -> then select Group or user names and edit permissions.

when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.

Howard Watson

Ranch Hand

Posts: 67

1

posted 1 year ago

Thought it was worth mentioning that as of Tomcat 8.5.3 the server attribute is not set by default on a connector and apparently Netbeans uses it.