• HCMC Blogs
  • Moses
  • Maint
  • Mariage
  • Admin
  • Academic
  • Depts
  • ScanCan
  • HumsSites
  • Projects
  • Pro-D
  • ColDesp
  • CanMys
  • LondonMap
  • AdaptiveDB
  • MoM
  • Cascade
  • Landscapes
  • Linguistics
  • CGWP
  • Endings
  • LEMDO
  • DVPP
  • Wendat
  • Announcements

Contact Us on 0800 123 4567 or info@example.com

MyNDIR

  • Front Page
  • Contact
  • Log in
  • « Fixes and plans for MyNDIR release
  • Fixed a JS bug »

Adding authentication to MyNDIR

Posted by mholmes on 10 Aug 2011 in Activity log

Following PAB's instructions based on a request from her supervisor, the MyNDIR project has been temporarily password-protected. To do that, I followed my own instructions here. One wrinkle worth documenting:

After making the required changes, I tried restarting the webapp in the Tomcat manager. This appeared to work; however, when I tried to access it, I was challenged for authentication, but the authentication was not accepted. It seems that Tomcat perhaps does not re-read its tomcat-users.xml file unless it's restarted, so although Cocoon knew authentication was required, Tomcat was unable to process it. So we tried restarting Tomcat (in this case, tomcat-dev), logged on as me using sudo on the init script as documented elsewhere. This generated a problem we have seen before: the running instance of tomcat-dev failed to stop, and when a new process was started, we ended up with two running. The only way we could find to solve this was to su to hcmc (under which the processes run), and kill both of them. The first (the new one) was effectively killed with just kill, but the other required kill -9. Once both were stopped, we were able to run the init script (as me, using sudo), and Tomcat restarted. Greg is asking sysadmin to figure out what the problem might be here; we've encountered it several times now.

This entry was posted by Martin and filed under Activity log.

MyNDIR

  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
More on RSS

Recent Posts

  • Finding an obscure issue
  • First steps in generating HTML5
  • Standalone XML now building; code reorganized
  • Jenkins job set up; schema and validation build reworked
  • PAB moved to svn
  • Beginning Endings work
  • Meeting, confirmation of plan
  • Project plan, Endings-style
  • Tweaks to captions
  • Finished diagnostics, sent results

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2026 by admin • Help • CMS software