Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

constrain for a servlet-runtime error

 
Ranch Hand
Posts: 352
  • 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.
 
Ranch Hand
Posts: 437
Oracle Java
  • 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: 352
  • 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: 437
Oracle Java
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic