Curious
Curious

Reputation: 282

Tomcat Server is not Startting in the Window 10:

I added jenkins.war file under C:\tomcat\webapps directory and trying to start Tomcat server however when I try to make .sh file executable then I am getting following error:

Step1. I entered this command chmod +x *.sh in my window C:\tomcat\bin directory using command prompt and Command prompt throw this error: 'chmod' is not recognized as an internal or external command, operable program or batch file.

Step2 I try to run chmod +x *.sh command in the Git bash in my window C:\tomcat\bin directory and it doesn't show any message

Step3 now I when run ./startup.sh command in the git bash then it show following message: enter image description here

Step4 when I enter localhost:8080 in the my browser then browser show me following error message: enter image description here

I am not sure why tomcat server is not starting.

Any suggestion will be appreciated.

Upvotes: 1

Views: 2152

Answers (1)

Peter Reid
Peter Reid

Reputation: 5407

Based on discussion with you and after you following up on my suggestions.

Solution:

Set JAVA_HOME to correct location in Windows:

C:\Program Files (x86)\Java\jre1.8.0_131

Upvotes: 1

Related Questions