Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deployment error in Tomcat

 
surya preethaaa
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to get data from the database to jsp page using form input.when i run the jsp file it show the text field when i press submit button the url change but did'nt get data from the databse..and there is no error in the console  i did'nt get any error when compile and during run,but when i debug the jsp page it shows error
here is my code

index.html



main.jsp



when debug i get this error

C:\Users\admin\Documents\NetBeansProjects\WebApplication6\nbproject\build-impl.xml:1048: Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the Tomcat customizer in the Server Manager.
See the server log for details.
how can i solve this???
 
surya preethaaa
Ranch Hand
Posts: 136
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
problem solved


For my case :

i went to >>"C:\Program Files\Apache Software Foundation\Tomcat 7.0" folder Right Click>>Properties>>security Tab

provide required rights to currently logged in user
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!