Solved

Help configuring Tomcat 7.0.35 Manager GUI web access on Ubuntu 12

Posted on 2013-01-24
4
958 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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