Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

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

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 624
9
BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you checked whether "startup.sh" has execute permission?
 
Bartender
Posts: 2034
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
reply
    Bookmark Topic Watch Topic
  • New Topic