This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

constrain for a servlet-runtime error

 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Following is my web.xml file I edited for constraint access the Test servlet. I think order and way I write is correct right?


But when I run the app tomcat saying,
FAIL - Failed to deploy application at context path /Security (Security is my project name)
More it says module has not been deploy where when I click it goes to this code in build-impl.xml

<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

What is the reson for this runtime error please?

Thank You.
 
Chinmaya Chowdary
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Harshana. I am not using netbeans. I think it is due to
Use
 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Chinmaya Thank you very much for the reply. I didnt see it know

Now when i request for that servlet firefox gives me a username and password enter window..but then even after i entered username and password and press ok still its keep asking it instead of displaynig the servlet contents.

 
Chinmaya Chowdary
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Harshana. Please, open conf/server.xml, and make sure the
and
are uncommented.
Provide 'tomcat' for both username and password. It may help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic