On Thu, 26 Apr 2001, Foster, Jim wrote:
> That did it! It's "fixed" (at least a workaround)! Does anyone know
> *why* I have to use the port number to get this to work?
Be careful. This isn't really a workaround, it's something totally
different. When you specify port 8080, (most likely) you are
accessing Tomcat directly (as a web server, not just a servlet
container), and not going through your regular web server. It seems
that many people aren't aware that "out of the box" Tomcat runs its
own basic web server on port 8080. This is likely not the way you
want to run things. If this is the only way you can get some aspect
of Tomcat to work, it likely means that you have Tomcat itself
configured correctly, but not the interaction/communication between
your regular web server and Tomcat. I can't help on the details of
that, because I'm not otherwise familiar with the problem you
describe. But this is something you should work out.
> -----Original Message-----
> From: Ramos Miguel-FMR068c [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 26, 2001 11:56 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Logging on to /admin with NT 4 and IIS
>
>
>
> Try http://localhost:8080/admin/index.html
>
> That's the way it worked for me.
>
> Miguel Ramos
>
> -----Original Message-----
> From: Foster, Jim [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 26, 2001 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Logging on to /admin with NT 4 and IIS
>
>
> I have been working with Tomcat for a couple of weeks trying to get
> it configured and I have one problem I can't seem to get around yet.
>
> I have not be able to get /admin to work. I have added the
> following line to my config\tomcat-users.xml file:
> <user name="adm" password="admin" roles="admin" />
>
> After adding the record, I have stopped and restarted Tomcat and
> also rebooted (out of desperation).
>
> When I bring up http://localhost/admin/index.html and click on
> "Context Admin" I am presented with a dialog with three text boxes.
> The first is "User Name", which I put adm in, the next is
> "Password", which I put admin in, and the last one is "Domain",
> which I have left blank. When I press "OK", it pauses for a couple
> of seconds then comes up with the dialog again. After three tries I
> get "401.1 Unauthorized: Login Failed".
>
> I can get /examples to work as well as my own custom servlet. I get
> the same result if I start Tomcat from a command prompt or a
> service.
>
> My environment is NT 4 SP6a, IIS using the Tomcat ISAPI filter,
> Tomcat 3.2.1, Sun Java 1.3.0.02. Did I miss anything?
>
> What other configuration issues could it be?
>
> Thanks in advance
> Jim
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]