thanks everyone for the responses.  Unrelated hardware issues necessitated a
reinstall, so I did a fresh install of 10.04.  this time I used apt-get to
install more packages (user, admin, example, etc) and everything is working
as expected. I suspect my original problem was probably due to missing
packages, but we'll never know.

thanks again.

On Sun, May 2, 2010 at 3:15 PM, David Smith <david.sm...@cornell.edu> wrote:

> You might want to check the file permissions before and after you edit
> it.  Something about this smells like a permissions issue.  I have a
> Ubuntu 9.10 installed tomcat and it works perfect.  Admittedly I didn't
> upgrade from 8.4 but w/ editing tomcat-user.xml being the only change,
> there are only a couple of things to cause your issue:
>
> 1. File permissions changed
> 2. The edited xml file doesn't validate as xml.  There are a number of
> xml editors out that can also validate.
>
> --David
>
> On 5/2/2010 1:37 PM, paul geer wrote:
> > Thank you for the reply.  Do you mean the original installation of ubuntu
> or
> > tomcat?  I restored the tomcat settings back to the original state, but
> > cannot see that an examples app is pre-installed.  If it's something I
> need
> > to deploy myself, I'm not sure how to do that without access to the
> > management console.
> >
> > If you meant the original 8.4 ubuntu, I was hoping to try other solutions
> > before doing that.  I'm completely willing to, as I'm not attached to
> > anything I've done, but since it's inconvenient I would rather wait.
> >
> > On Sat, May 1, 2010 at 2:49 PM, Pid <p...@pidster.com> wrote:
> >
> >
> >> On 01/05/2010 18:19, paul geer wrote:
> >>
> >>> Hello all,
> >>>
> >>> I had an installation of ubuntu 8.04 that I recently upgraded to 9.10.
>  I
> >>> barely used it before the upgrade so the system was very close to a
> fresh
> >>> install of 8.04 before the upgrade.
> >>>
> >>> I installed tomcat6 with apt-get.  After setting everything up, I
> checked
> >>> that I could access the "It works" default page from both inside my
> home
> >>> network and would accept outside connections.  Clicking the link for
> the
> >>> manager console prompted me for a username and password, but since I
> had
> >>>
> >> not
> >>
> >>> yet made changes to tomcat-users.xml, it failed as expected.
> >>>
> >>> I edited the file (/etc/tomcat6/tomcat-users.xml), uncommented the
> >>> "existing" users and added a manager role and a manager user with that
> >>> role.  Upon restarting the server, any attempt to connect to the server
> >>> locally or externally causes the browser to "spin" as if loading a page
> >>>
> >> but
> >>
> >>> with no results.  I will sit and spin for hours if I let it (I have)
> >>>
> >> without
> >>
> >>> timing out.
> >>>
> >>> I have tried various permutations of users in the file, such as
> >>>
> >> uncommenting
> >>
> >>> the original ones and not adding a manager role or user, adding the
> role
> >>>
> >> to
> >>
> >>> one of the default users, etc, but the only way to get the index page
> to
> >>> actually load again is to comment out all users.
> >>>
> >>> Web searches of this issue have only turned up instances of people not
> >>> realizing the users were commented out and editing the file anyway.
> >>>
> >>> Also, /var/logs/tomcat6 does not contain any logs. I've used updatedb
> and
> >>> locate to verify that there aren't other tomcat-users files elsewhere.
> >>>
> >>  I've
> >>
> >>> also been unable to locate an alternate log directory.
> >>>
> >>> Thanks for any help the community can offer.  Enjoy your weekend,
> >>>
> >> If you revert to the original installation, does the /examples app work?
> >>
> >> Does using the examples app generate log files in the expected location?
> >>
> >>
> >> p
> >>
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to