Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Tomcat as windows service and NTLM autentication against webserviceshosted on IIS

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have application deployed on Tomcat 5.5. on Windows Server 2003 R2. From application we try to connect to webservices hosted on IIS 6.0 on the same machine. Our webservice client is JAX-WS with CXF implementation. Webservices are authorised by NTLM.

We have problem with HTTP authentication. It is authenticated by user under which Tomcat service runs not by the user which is speciefied in HTTP conduit setting in CXF. So the service account overrides setting in application. If we start user Tomcat service the account used for web services, it works.

If Tomcat runs standalone (not as a service), or if it runs on different machine the account from CXF setting is used.

If we configure IIS to Basic authentication account from CXF settings is used.

So the only non working scenario (when service user of Tomcat overrides CXF setting) is Tomcat as service on the same machine as IIS with NTLM authentication. But this is the configuraiton we need to get work.

Please help, it's getting me crazy for 3 days now..
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic