Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3496560
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:15:46+00:00 2026-05-18T12:15:46+00:00

I have a web app that spawns off a script that runs a Nutch

  • 0

I have a web app that spawns off a script that runs a Nutch crawl. It’s all working really well, except now my client wants it running on a Windows PC. The Windows PC she gave me is running Windows 7 Home Premium.

I’ve got nearly everything running, except when the crawl script – when it fires off nutch, nutch (which runs Hadoop, which for some bizarre reason does a whoami) fails because whoami returns “nt authority\system” instead of a single string. The error:

javax.security.auth.login.LoginException:
Login failed: Expect one token as the
result of whoami: nt authority\system

Is there some way to change the name that whoami returns in that case?

Update: Just to clarify, the exact same script runs fine when I run it from the command line. The problem is that Tomcat runs as a service, so the script it spawns is running as this “nt authority\system” user, which is what is confusing hadoop because it evidently expects whoami to return a single word, not two words separated by a space.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:15:47+00:00Added an answer on May 18, 2026 at 12:15 pm

    The problem is that Tomcat runs as a service, so the script it spawns is running as this “nt authority\system” user, which is what is confusing hadoop because it evidently expects whoami to return a single word, not two words separated by a space.

    Then change the account. Start > Run > services.msc, doubleclick the Tomcat service, open Log On tab and set the account there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web app that gathers some data from the user and saves
I have a web app that has a list of user comments. I want
I have a web app that launches an URL in other windows/tabs. I would
I have a web app that lets users create groups. On the front page
I have a web app that is used on multiple continents. The underlying transaction
I have a web app that takes some client info and produces a letter
I have a web app that uses Spring's Log4jConfigurer class to initialize my Log4J
I have an app I distribute over Cydia. It's nothing hacky, just a GUI
What I am trying to do – Make a JNI call to a shared

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.