Link to home
Start Free TrialLog in
Avatar of jbaird123
jbaird123

asked on

Help configuring Tomcat 7.0.35 Manager GUI web access on Ubuntu 12

I am new to Tomcat and I am having trouble gaining access to the manager application via my web browser on a new installation.

I am running Tomcat on an Ubuntu 12 machine.  I downloaded with Linux 64-bit zip file from Apache and unzipped it to /opt/apache-tomcat-7.0.35.

Next I modified the conf/tomcat-users.xml file to include the manager-gui role and I added a user and assigned the user to that role.

I restarted Tomcat and verified that it is running (I can browse the default Tomcat page).

The problem is that after following those steps, cannot log in using the credentials I specified in the tomcat-users.xml file.

I suspect that the reason may be because I am trying to connect to the manager application via a remote PC rather than from local host, but I am not sure.

I am trying to follow the instructions I found here:  

http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access

I repeated the same steps above on my local Windows machine, and everything works fine.  When I go to http://localhost:8080/manager/html, I am able to log in using the information I put in the tomcat-users.xml file, so this process works if I am running Tomcat locally on a Windows machine, but I cannot get it to work when Tomcat is running remotely on an Ubuntu machine.

What else can I check?
Avatar of tvedtem
tvedtem
Flag of United States of America image

Open the config files in vi - check they're not in DOS format.
Avatar of jbaird123
jbaird123

ASKER

tvedtem:

I was already using vi to edit the files on the Ubuntu box. They files are not in DOS format as far as I can tell.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of tvedtem
tvedtem
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok - while reviewing the log, I discovered a typo in my tomcat-users.xml file!  :)