I have an problem setting up an Apache Tomcat on my Synology DS1511+ server. The installing is no problem, but when i try http://"serverAdress":7070
i can't log into the the manage section. I have altered the tomcat-user.xml in /var/packages/Tomcat/target/apache-tomcat-6.0.36/conf/
with this roles
<role rolename="manager"/>
<role rolename="manager-gui"/>
<role rolename="admin"/>
<user username="user" password="password" roles="admin,manager,manager-gui"/>
But still the same problem. Any suggestions what the problem could be. Best regard Morten Starck
/var/packages/Tomcat/target/apache-tomcat-6.0.36/conf/
Tomcat-users.xml
This is an example of the code of the file
tomcat-users.xml
:It is in the path
/var/packages/Tomcat7/target/src/conf
.If there is any problem with the XML, you can check the log file:
/var/packages/Tomcat7/target/src/logs/catalina.out
Through Terminal/SSH session, open the /var/packages/Tomcat7/target/src/conf/tomcat-users.xml file.
Ensure atleast below is available in that:
Under Package Center in the Diskstation, restart Tomcat service (Stop and Start).
Now you should be able to login with username 'tomcat' password 's3cret'.
Reference: https://community.synology.com/enu/forum/1/post/128739