You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by vincent <vi...@domainedeleau.com> on 2016/09/27 01:36:49 UTC
tomcat-users.xml
Hello all and all,
I can not reach a "host-manager webapp"
where is the mistake
my tomcat-users.xml file :
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<
<role rolename="tomcat"/>
<user username="tomcat" password="T789852t" roles="tomcat"/>
<role rolename="both"/>
<user username="both" password="T789852t" roles="tomcat,role1"/>
<role rolename="role1"/>
<user username="role1" password="T789852t" roles="role1"/>
<role rolename="admin-gui"/>
<user username="tomcat" password="T789852t" roles="admin-gui"/>
>
</tomcat-users>
vincent
Re: tomcat-users.xml
Posted by giac ngo le van <gi...@gmail.com>.
Thank
Vào 27-09-2016 14:15, "André Warnier (tomcat)" <aw...@ice-sa.com> đã viết:
> On 27.09.2016 03:36, vincent wrote:
>
>> Hello all and all,
>>
>> I can not reach a "host-manager webapp"
>> where is the mistake
>>
>> my tomcat-users.xml file :
>>
>>
>> <?xml version='1.0' encoding='utf-8'?>
>> <tomcat-users>
>>
>> < *** where does this "<" come from ?
>>
>
> <role rolename="tomcat"/>
>> <user username="tomcat" password="T789852t" roles="tomcat"/>
>>
>> <role rolename="both"/>
>> <user username="both" password="T789852t" roles="tomcat,role1"/>
>>
>> <role rolename="role1"/>
>> <user username="role1" password="T789852t" roles="role1"/>
>>
>> <role rolename="admin-gui"/>
>> <user username="tomcat" password="T789852t" roles="admin-gui"/>
>>
>> > *** and this ">" ?
>>
>
> </tomcat-users>
>>
>>
> and what does the tomcat logfile say ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: tomcat-users.xml
Posted by Vincent Hardy <vi...@domainedeleau.com>.
Thank you, it is works :
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin-gui"/>
<user username="tomcat" password="mypass" roles="tomcat"/>
<user username="role1" password="mypass" roles="role1"/>
<user username="admin-gui" password="mypass" roles="admin-gui"/>
</tomcat-users>
regards
vincent
2016-09-27 13:23 GMT+02:00 André Warnier (tomcat) <aw...@ice-sa.com>:
> Hi.
>
> It is difficult to be sure, with the extra quoting done by the email
> clients, but it seems that you have an extra pair of < > inside the
> tomcat-users.xml file.
>
> Look between the initial <tomcat-users> and the first <role>.
> From your initial post, it looks like this :
>
> <tomcat-users>
> <
> <role>...</role>
> <role>...</role>
> >
> </tomcat-users>
>
> If so, the extra "<" before the first <role>, and the extra ">" after the
> last </role>, should not be there.
> I am surprised that it does not cause an error in the log, though.
>
>
>
> On 27.09.2016 13:07, Vincent Hardy wrote:
>
>> Thank you all. Thank you for the time
>> I personally do not see anything abnormal in files
>> next log :
>>
>> 27-Sep-2016 12:36:49.410 INFO [localhost-startStop-1]
>> org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
>> scanned
>> for TLDs yet contained no TLDs. Enable debug logging for this logger for a
>> complete list of JARs that were scanned but no TLDs were found in them.
>> Skipping unneeded JARs during scanning can improve startup time and JSP
>> compilation time.
>> 27-Sep-2016 12:36:49.476 INFO [localhost-startStop-1]
>> org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
>> application directory /var/lib/tomcat8/webapps/ROOT has finished in 15,797
>> ms
>> 27-Sep-2016 12:36:49.510 INFO [main]
>> org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
>> ["http-nio-8080"]
>> 27-Sep-2016 12:36:49.606 INFO [main]
>> org.apache.catalina.startup.Catalina.start Server startup in 95961 ms
>>
>> thank you for last time.
>> regards,
>> vincent
>>
>> 2016-09-27 9:14 GMT+02:00 André Warnier (tomcat) <aw...@ice-sa.com>:
>>
>> On 27.09.2016 03:36, vincent wrote:
>>>
>>> Hello all and all,
>>>>
>>>> I can not reach a "host-manager webapp"
>>>> where is the mistake
>>>>
>>>> my tomcat-users.xml file :
>>>>
>>>>
>>>> <?xml version='1.0' encoding='utf-8'?>
>>>> <tomcat-users>
>>>>
>>>> < *** where does this "<" come from ?
>>>>
>>>>
>>> <role rolename="tomcat"/>
>>>
>>>> <user username="tomcat" password="T789852t" roles="tomcat"/>
>>>>
>>>> <role rolename="both"/>
>>>> <user username="both" password="T789852t" roles="tomcat,role1"/>
>>>>
>>>> <role rolename="role1"/>
>>>> <user username="role1" password="T789852t" roles="role1"/>
>>>>
>>>> <role rolename="admin-gui"/>
>>>> <user username="tomcat" password="T789852t" roles="admin-gui"/>
>>>>
>>>> > *** and this ">" ?
>>>>
>>>>
>>> </tomcat-users>
>>>
>>>>
>>>>
>>>> and what does the tomcat logfile say ?
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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: tomcat-users.xml
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
Hi.
It is difficult to be sure, with the extra quoting done by the email clients, but it seems
that you have an extra pair of < > inside the tomcat-users.xml file.
Look between the initial <tomcat-users> and the first <role>.
From your initial post, it looks like this :
<tomcat-users>
<
<role>...</role>
<role>...</role>
>
</tomcat-users>
If so, the extra "<" before the first <role>, and the extra ">" after the last </role>,
should not be there.
I am surprised that it does not cause an error in the log, though.
On 27.09.2016 13:07, Vincent Hardy wrote:
> Thank you all. Thank you for the time
> I personally do not see anything abnormal in files
> next log :
>
> 27-Sep-2016 12:36:49.410 INFO [localhost-startStop-1]
> org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
> for TLDs yet contained no TLDs. Enable debug logging for this logger for a
> complete list of JARs that were scanned but no TLDs were found in them.
> Skipping unneeded JARs during scanning can improve startup time and JSP
> compilation time.
> 27-Sep-2016 12:36:49.476 INFO [localhost-startStop-1]
> org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
> application directory /var/lib/tomcat8/webapps/ROOT has finished in 15,797
> ms
> 27-Sep-2016 12:36:49.510 INFO [main]
> org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
> ["http-nio-8080"]
> 27-Sep-2016 12:36:49.606 INFO [main]
> org.apache.catalina.startup.Catalina.start Server startup in 95961 ms
>
> thank you for last time.
> regards,
> vincent
>
> 2016-09-27 9:14 GMT+02:00 Andr� Warnier (tomcat) <aw...@ice-sa.com>:
>
>> On 27.09.2016 03:36, vincent wrote:
>>
>>> Hello all and all,
>>>
>>> I can not reach a "host-manager webapp"
>>> where is the mistake
>>>
>>> my tomcat-users.xml file :
>>>
>>>
>>> <?xml version='1.0' encoding='utf-8'?>
>>> <tomcat-users>
>>>
>>> < *** where does this "<" come from ?
>>>
>>
>> <role rolename="tomcat"/>
>>> <user username="tomcat" password="T789852t" roles="tomcat"/>
>>>
>>> <role rolename="both"/>
>>> <user username="both" password="T789852t" roles="tomcat,role1"/>
>>>
>>> <role rolename="role1"/>
>>> <user username="role1" password="T789852t" roles="role1"/>
>>>
>>> <role rolename="admin-gui"/>
>>> <user username="tomcat" password="T789852t" roles="admin-gui"/>
>>>
>>> > *** and this ">" ?
>>>
>>
>> </tomcat-users>
>>>
>>>
>> and what does the tomcat logfile say ?
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: tomcat-users.xml
Posted by Vincent Hardy <vi...@domainedeleau.com>.
Thank you all. Thank you for the time
I personally do not see anything abnormal in files
next log :
27-Sep-2016 12:36:49.410 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
27-Sep-2016 12:36:49.476 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /var/lib/tomcat8/webapps/ROOT has finished in 15,797
ms
27-Sep-2016 12:36:49.510 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-8080"]
27-Sep-2016 12:36:49.606 INFO [main]
org.apache.catalina.startup.Catalina.start Server startup in 95961 ms
thank you for last time.
regards,
vincent
2016-09-27 9:14 GMT+02:00 André Warnier (tomcat) <aw...@ice-sa.com>:
> On 27.09.2016 03:36, vincent wrote:
>
>> Hello all and all,
>>
>> I can not reach a "host-manager webapp"
>> where is the mistake
>>
>> my tomcat-users.xml file :
>>
>>
>> <?xml version='1.0' encoding='utf-8'?>
>> <tomcat-users>
>>
>> < *** where does this "<" come from ?
>>
>
> <role rolename="tomcat"/>
>> <user username="tomcat" password="T789852t" roles="tomcat"/>
>>
>> <role rolename="both"/>
>> <user username="both" password="T789852t" roles="tomcat,role1"/>
>>
>> <role rolename="role1"/>
>> <user username="role1" password="T789852t" roles="role1"/>
>>
>> <role rolename="admin-gui"/>
>> <user username="tomcat" password="T789852t" roles="admin-gui"/>
>>
>> > *** and this ">" ?
>>
>
> </tomcat-users>
>>
>>
> and what does the tomcat logfile say ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: tomcat-users.xml
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
On 27.09.2016 03:36, vincent wrote:
> Hello all and all,
>
> I can not reach a "host-manager webapp"
> where is the mistake
>
> my tomcat-users.xml file :
>
>
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
>
> < *** where does this "<" come from ?
> <role rolename="tomcat"/>
> <user username="tomcat" password="T789852t" roles="tomcat"/>
>
> <role rolename="both"/>
> <user username="both" password="T789852t" roles="tomcat,role1"/>
>
> <role rolename="role1"/>
> <user username="role1" password="T789852t" roles="role1"/>
>
> <role rolename="admin-gui"/>
> <user username="tomcat" password="T789852t" roles="admin-gui"/>
>
> > *** and this ">" ?
> </tomcat-users>
>
and what does the tomcat logfile say ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org