File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Acccess denied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Acccess denied" Watch "Acccess denied" New topic
Author

Acccess denied

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I installed tomcat(5.x) on window XP. The install went fine I can see Tomact running in system tray. Now if I type:
htttp://127.0.0.1:8080/webapps
It prompts me for used id/password. I tried all combinations tomcat/tomcat,admin/admin, my user id on lan etc. None of them work it keeps asking me for userid/password. While installing it had asked me a
user id password(i guess that was tomcat admin user id), I used that too.
Nothing seems to work.

Any clues?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

try:

http://localhost:8080/
Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I get pop-up for connect to local as before and I keep trying all combinations of user id/password. None work. I even try to bypass proxy
from tools--->internet options as suggested in one of the thread here, that also does not work.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12785
    
    5
Are you trying to connect to the Tomcat Manager or Administrator applications? If so, these are protected by security that requires that you configure Tomcat to recognize the specific roles and create user identiy and passwords that have nothing to do with your user id on the lan. The default installation does NOT provide default passwords for security reasons.

Read the documentation that is installed with Tomcat. It is all right there in your Tomcat installation.

Bill
Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I am just trying to access index.html placed in default directory webapps by typing http://127.0.0.1 or http://127.0.0.1/webapps. None of that seem to work. Not trying to access admin etc. Why is that pop-up promting me to logon to 127.0.0.1 coming up?
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 576
Rajesh what is it you want to do, if tomcat has started properly type in http://localhost:8080, this will bring up the tomcat home page:

http://localhost:8080/index.jsp.

If you have created your own page that you want to look at under your webapps folder create another folder say test, under test create another folder WEB-INF, under the test folder place your jsp or HTML page. Say testpage.jsp.

then to point at that page you type in:
http://localhost:8080/test/testpage.jsp

This will display your page.

I hope this helps

Tony
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I think the popup is a windows networking thing.

Are you on a corporate network ?

XP Home ?
Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
Yes. I have this problem on corporate network. It works now 8080 port was being used by someone I chhanged it to 9000 it worked. How do I know available ports on my computers that can be used or are being used?
[ July 02, 2004: Message edited by: Rajesh Puri ]
 
Consider Paul's rocket mass heater.
 
subject: Acccess denied