Solved

Help configuring Tomcat 7.0.35 Manager GUI web access on Ubuntu 12

Posted on 2013-01-24
4
944 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
Comment Utility
Open the config files in vi - check they're not in DOS format.
0
 

Author Comment

by:jbaird123
Comment Utility
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
Comment Utility
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
Comment Utility
Ok - while reviewing the log, I discovered a typo in my tomcat-users.xml file!  :)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

8 Experts available now in Live!

Get 1:1 Help Now