Solved

Help configuring Tomcat 7.0.35 Manager GUI web access on Ubuntu 12

Posted on 2013-01-24
4
946 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now