aspose file tools*
The moose likes Tomcat and the fly likes tomcat authentication issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat authentication issue" Watch "tomcat authentication issue" New topic
Author

tomcat authentication issue

Ravi Sankar
Ranch Hand

Joined: Aug 17, 2007
Posts: 49
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.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Why are you using IIS and Tomcat? What services is IIS providing that you need?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16058
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ravi Sankar
Ranch Hand

Joined: Aug 17, 2007
Posts: 49
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

Joined: Apr 14, 2004
Posts: 10336

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

Joined: Aug 17, 2007
Posts: 49
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat authentication issue