Solved

Help configuring Tomcat 7.0.35 Manager GUI web access on Ubuntu 12

Posted on 2013-01-24
4
950 Views
Last Modified: 2013-01-24
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?
0
Comment
Question by:jbaird123
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:tvedtem
ID: 38816798
Open the config files in vi - check they're not in DOS format.
0
 

Author Comment

by:jbaird123
ID: 38816866
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.
0
 
LVL 4

Accepted Solution

by:
tvedtem earned 500 total points
ID: 38816892
OK - i just wondered whether you might be (say) checking files into a config control system from your windows machine and checking out to tomcat..

Next thing I would check is the tomcat error logs.

Also, what does 'cannot log in' mean?  What do you see?
0
 

Author Closing Comment

by:jbaird123
ID: 38817391
Ok - while reviewing the log, I discovered a typo in my tomcat-users.xml file!  :)
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question