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) <a...@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) <a...@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-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >