• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying and testing the opening page, Java Servlets and JSP, page 77. Starting tomcat.

 
Carlos L Sanchez
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created the deployment and development environments as instructed by the book. Created the html and the xml files and placed them in the right folders and environments.
Now when i try to execute "bin/startup.sh" Nothing happens and I receive an error in the terminal that reads as: "-bash: bin/startup.sh : Permission denied". I am clueless as to why i am getting this error.
Can anyone tell me how to get tomcat to run? Currently my tomcat is located at: /library/Tomcat
 
Tapas Chand
Ranch Hand
Posts: 583
8
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked whether "startup.sh" has execute permission?
 
Himai Minh
Ranch Hand
Posts: 1360
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use NetBean platform 8.0 to create a web application. I also use tomcat as the container for that web application.
For more instruction how to configure Tomcat in Netbean platform , check this out:
https://technology.amis.nl/2012/01/02/installing-tomcat-7-and-configuring-as-server-in-netbeans/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic