You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bomma, Nithun" <Ni...@amtrak.com> on 2014/09/09 16:05:39 UTC
Logging Issue in Tomcat v7.0.0.32
Hello,
I have tried to login into Manger app using default user name (tomcat/s3cret) which were defined in tomcat-users.xml under /conf.
But it fails to login. Any idea why? Please let me know.
Thanks.
RE: Logging Issue in Tomcat v7.0.0.32
Posted by "Bomma, Nithun" <Ni...@amtrak.com>.
We are using Windows version of tomcat on Windows 2008.
-----Original Message-----
From: Bomma, Nithun
Sent: Tuesday, September 09, 2014 10:06 AM
To: users@tomcat.apache.org
Subject: Logging Issue in Tomcat v7.0.0.32
Hello,
I have tried to login into Manger app using default user name (tomcat/s3cret) which were defined in tomcat-users.xml under /conf.
But it fails to login. Any idea why? Please let me know.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Logging Issue in Tomcat v7.0.0.32
Posted by "Bomma, Nithun" <Ni...@amtrak.com>.
Thanks Andre!
It got fixed. I have deleted them and restarted.
Thanks again.
-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com]
Sent: Tuesday, September 09, 2014 11:17 AM
To: Tomcat Users List
Subject: Re: Logging Issue in Tomcat v7.0.0.32
Hi.
Sorry for top-posting, in this case it's easier to read.
Bomma, Nithun wrote:
The tomcat-users.xml is an XML file (as its name hints at).
This is a valid XML comment :
<!--
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.
-->
This is not a valid XML comment :
#<tomcat-users>
#<user name="admin" password="Admin123" roles="admin-gui,manager-gui" />
Maybe it has something to do with the problem ?
Doesn't any of the Tomcat logfiles mention anything about this, when you start Tomcat ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Logging Issue in Tomcat v7.0.0.32
Posted by André Warnier <aw...@ice-sa.com>.
Hi.
Sorry for top-posting, in this case it's easier to read.
Bomma, Nithun wrote:
The tomcat-users.xml is an XML file (as its name hints at).
This is a valid XML comment :
<!--
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.
-->
This is not a valid XML comment :
#<tomcat-users>
#<user name="admin" password="Admin123" roles="admin-gui,manager-gui" />
Maybe it has something to do with the problem ?
Doesn't any of the Tomcat logfiles mention anything about this, when you start Tomcat ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Logging Issue in Tomcat v7.0.0.32
Posted by "Bomma, Nithun" <Ni...@amtrak.com>.
<?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>
#<user name="admin" password="Admin123" roles="admin-gui,manager-gui" />
<tomcat-users>
#<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
-->
</tomcat-users>
Thanks,
Nithun Bomma
WebSphere Administrator
Amtrak - Information Technology (Operations)
Desk: 215-349-2065; ATS: 728-2065
-----Original Message-----
From: Lulseged Zerfu [mailto:zlulseged@hotmail.com]
Sent: Tuesday, September 09, 2014 10:08 AM
To: Tomcat Users List
Subject: RE: Logging Issue in Tomcat v7.0.0.32
Hi
Can you send your tomcat-users.xml.
It has been changed and will not work if you are using the old format.
BRLulseged
> From: Nithun.Bomma@amtrak.com
> To: users@tomcat.apache.org
> Subject: Logging Issue in Tomcat v7.0.0.32
> Date: Tue, 9 Sep 2014 14:05:39 +0000
>
> Hello,
>
> I have tried to login into Manger app using default user name (tomcat/s3cret) which were defined in tomcat-users.xml under /conf.
>
> But it fails to login. Any idea why? Please let me know.
>
> Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Logging Issue in Tomcat v7.0.0.32
Posted by Lulseged Zerfu <zl...@hotmail.com>.
Hi
Can you send your tomcat-users.xml.
It has been changed and will not work if you are using the old format.
BRLulseged
> From: Nithun.Bomma@amtrak.com
> To: users@tomcat.apache.org
> Subject: Logging Issue in Tomcat v7.0.0.32
> Date: Tue, 9 Sep 2014 14:05:39 +0000
>
> Hello,
>
> I have tried to login into Manger app using default user name (tomcat/s3cret) which were defined in tomcat-users.xml under /conf.
>
> But it fails to login. Any idea why? Please let me know.
>
> Thanks.