You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Valter Jorge <va...@hotmail.com> on 2009/10/20 22:17:16 UTC

Problems with Manager

Good afternoon,

I'm trying to develop a work linked to a project at UFPE, for this I need to do the deploy some files in Tomcat.

I'm using Tomcat 6.0.20, installed by binary, Ubuntu 9.04, the package docs, examples and manager are installed using the apt-get, but I can't access the manager, I has set up the file tomcat-users.xml as follows:

<role rolename= "manager"/>
<user username= "tomcat" password= "catalina" roles="manager"/>

But I can't access the manager with these settings, I like to know what I can do to make this setting so that I can access the manager normally.

Thanks!

Valter Jorge 		 	   		  
_________________________________________________________________
Você sabia que pode acessar o Messenger direto do seu Hotmail? Descubra como!
http://www.microsoft.com/brasil/windows/windowslive/products/tutoriais.aspx

Re: Problems with Manager

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 10/20/2009 4:44 PM, Caldarale, Charles R wrote:
>> From: Valter Jorge [mailto:valter_uag@hotmail.com]
>> Subject: RE: Problems with Manager
>>
>> - <!--   Licensed to the Apache Software Foundation (ASF) under one or more
> 
> Why is there a leading dash on the above line?

I get crap like this all the time from non-technical folks on my own
team: it's likely because he's using MSIE as his XML viewer. MSIE
transforms XML documents into expandable/collapsable element-style web
pages using some godawful process. When you highlight/copy from that
view, you get all kinds of extra characters, including a '-' in front of
every start-tag.

To Valter: This XML is broken in at least two ways. Please re-post the
XML as viewed by, say, MS Write or even notepad.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrgdOAACgkQ9CaO5/Lv0PDObACfY7Pd7wBVYCE+y4wCjcBBj2ZI
DN4AoLR/xRmnJQ2XhXTW2gkpZV9b0pNj
=uIK8
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Problems with Manager

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Valter Jorge [mailto:valter_uag@hotmail.com]
> Subject: RE: Problems with Manager
> 
> - <!--   Licensed to the Apache Software Foundation (ASF) under one or more

Why is there a leading dash on the above line?

> - <tomcat-users>

Same question.

> - <role rolename="tomcat"/>

Same question.

>    -->

This is an ending comment marker, apparently without a beginning one.

Strongly suggest you use an XML-aware editor, which will help show you any problems in the XML.  You can also use any of the numerous XML syntax checkers, and look in the Tomcat logs to see if it reported problems when parsing this.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Problems with Manager

Posted by Valter Jorge <va...@hotmail.com>.
Here is the tomcat-user.xml
Sorry if it have errors, because I'm a newby
"The code is commented to avoid server failures"
thanks


<?xml version="1.0" encoding="utf-8" 
?> 
- <!--   Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

 

- <tomcat-users>

- <role rolename="tomcat"/>
  <role rolename="role1"/>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="tomcat" password="catalina" roles="manager"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="role1" password="tomcat" roles="role1"/>
   -->

 
  </tomcat-users>

> From: Chuck.Caldarale@unisys.com
> To: users@tomcat.apache.org
> Date: Tue, 20 Oct 2009 15:20:40 -0500
> Subject: RE: Problems with Manager
> 
> > From: Valter Jorge [mailto:valter_uag@hotmail.com]
> > Subject: Problems with Manager
> > 
> > <role rolename= "manager"/>
> > <user username= "tomcat" password= "catalina" roles="manager"/>
> 
> Post your *entire* tomcat-users.xml.  The usual mistake is to fail to remove the comment delimiters around the <role> and <user> section.
> 
>  - Chuck

 		 	   		  
_________________________________________________________________
Você sabia que com o Hotmail você tem espaço ilimitado para guardar seus e-mails? Começe a usar já!
http://www.microsoft.com/brasil/windows/windowslive/products/hotmail.aspx

RE: Problems with Manager

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Valter Jorge [mailto:valter_uag@hotmail.com]
> Subject: Problems with Manager
> 
> <role rolename= "manager"/>
> <user username= "tomcat" password= "catalina" roles="manager"/>

Post your *entire* tomcat-users.xml.  The usual mistake is to fail to remove the comment delimiters around the <role> and <user> section.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org