This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a strange problem that I don't understand. My Tomcat installation is 6.0.20 on Windows Server 2003 (sorry for this construct that's not my idea ;)) and if I try to open my default app under http://localhost:8080 I get the tomcat login box but I have nothing securty options in my default app? I tested this with the probe application if I remove in the probe.war the security parts in the web.xml I could connect to the probe application without login.
We have tried to update tomcat and before that we update the windows machine and sql server but after the windows updates everything was OK. After the tomcat update I get this phenomen I have tried to go back to the original tomcat version but everytime the same result.
Have anybody an idea what I do wrong?
p.s: sorry for the bad english but I hope you understand my problem
what do you expect to see when you go to http://localhost:8080? are you trying to get to a webapp you wrote and configured to be the root (default) application or are you trying to get to some default app that came with tomcat? I'm thinking you are missing a role from users.xml?
Joined: Feb 16, 2011
thanks for your reply.
First I get the login box from tomcat. I have configured tomcat to display our application if you go to http://localhost:8080 and not the default tomcat screen. Here you can see what we have done in the server.xml
In the web.xml of our application are no security tags set, so I think tomcat have to show our application with no security authorization. Do you have an idea what's the problem? In the above context tag I have changed the IP for database and username and password
thanks for your help.
Joined: Feb 16, 2011
damn damn damn sometimes I am blind stupid and so on.
I haven't seen the security part in our application web.xml and after I saw this I add the roles and user to the user.xml and everything works fine. sorry for this.