• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

tomcat authentication issue

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have deployed a web application in IIS Server which is running in Tomcat 6.0 developed by Java. The application is working fine when it is deployed in my localhost not in IIS. When it is in IIS server, windows authentication popup is coming with "Connecting to x.x.x.x(Server Name)". After entering the correct username and password it is not allowing the user to enter into the application. Even I have not selected any authentication in IIS server, system is asking the authentication. I am facing this problem for the past two days. Can anybody help me to solve this issue? Do we need to change any tomcat configuration files (server.xml (or) tomcat-users.xml)?

[size=9]Note: The site has to be published in internet.[/size]

Thanks in Advance.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why are you using IIS and Tomcat? What services is IIS providing that you need?
 
Saloon Keeper
Posts: 28316
207
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ravi appears to think that "IIS" is a special edition of Windows Server, instead of an application that runs under Windows Server Edition. But it sounds like IIS is intercepting the web requests that Tomcat should be getting. Which may indicate a port assignment conflict between the IIS and Tomcat server programs.
 
Ravi Sankar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Initially that application has been deployed in my local machine (Tomcat) and it has been accessed by "http://x.x.x.x:8080/appname". Afterthat we created a DNS name using IIS for accessing that application (http://appname) . Since we used IIS for all other applications, we started to use the same IIS for this application also. At that time, the application was working fine with the DNS name (http://appname). When we are trying to launch in the internet we got the popup (Connecting to serverName), even we gave the correct credentials it is not accepting the entered values. How can we solve this?

 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't really know enough about IIS to help. Not sure many people in thesde forums will I'm afraid, though it does appear to be an IIS configuration issue not a Tomcat issue. This blog covers the available types of redirection, other than that msdn is probably your best bet.
 
Ravi Sankar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply. Could you please tell me, is there any way to redirect from the tomcat home page to my application page? ie) when i am providing "http://localhost:8080", is it possible to open my application's home page?
 
knowledge is the difference between drudgery and strategic action -- tiny ad
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic