
Wolfgang Knopki
1Running with gitlab-runner 12.5.0 (577f813d)2 on landing page gCnQN1L7 8Reinitialized existing Git repository in /opt/tomcat9/builds/gCnQN1L7/0/gitlab/root/m4lab_landing_page/.git/10 * [new ref] refs/pipelines/221 -> refs/pipelines/22111 6a0e0fe..b8b8499 devel -> origin/devel12Checking out b8b84992 as devel...13Removing public/14Skipping Git submodules setup 19/opt/tomcat9/webapps/ROOT/20$ mkdir .public21$ cp -r css .public22$ cp -r images .public23$ cp -r js .public24$ cp -r includes .public25$ cp *.html .public26$ mv .public public27$ UPLOADPATH=file://$(pwd)/public28$ curl -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true&war=$UPLOADPATH"29 % Total % Received % Xferd Average Speed Time Time Time Current30 Dload Upload Total Spent Left Speed31100 2499 100 2499 0 0 21591 0 --:--:-- --:--:-- --:--:-- 2173032<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">33<html>34 <head>35 <title>401 Unauthorized</title>36 <style type="text/css">37 <!--38 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}39 H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}40 PRE, TT {border: 1px dotted #525D76}41 A {color : black;}A.name {color : black;}42 -->43 </style>44 </head>45 <body>46 <h1>401 Unauthorized</h1>47 <p>48 You are not authorized to view this page. If you have not changed49 any configuration files, please examine the file50 <tt>conf/tomcat-users.xml</tt> in your installation. That51 file must contain the credentials to let you use this webapp.52 </p>53 <p>54 For example, to add the <tt>manager-gui</tt> role to a user named55 <tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the56 config file listed above.57 </p>58<pre>59<role rolename="manager-gui"/>60<user username="tomcat" password="s3cret" roles="manager-gui"/>61</pre>62 <p>63 Note that for Tomcat 7 onwards, the roles required to use the manager64 application were changed from the single <tt>manager</tt> role to the65 following four roles. You will need to assign the role(s) required for66 the functionality you wish to access.67 </p>68 <ul>69 <li><tt>manager-gui</tt> - allows access to the HTML GUI and the status70 pages</li>71 <li><tt>manager-script</tt> - allows access to the text interface and the72 status pages</li>73 <li><tt>manager-jmx</tt> - allows access to the JMX proxy and the status74 pages</li>75 <li><tt>manager-status</tt> - allows access to the status pages only</li>76 </ul>77 <p>78 The HTML interface is protected against CSRF but the text and JMX interfaces79 are not. To maintain the CSRF protection:80 </p>81 <ul>82 <li>Users with the <tt>manager-gui</tt> role should not be granted either83 the <tt>manager-script</tt> or <tt>manager-jmx</tt> roles.</li>84 <li>If the text or jmx interfaces are accessed through a browser (e.g. for85 testing since these interfaces are intended for tools not humans) then86 the browser must be closed afterwards to terminate the session.</li>87 </ul>88 <p>89 For more information - please see the90 <a href="/docs/manager-howto.html" rel="noopener noreferrer">Manager App How-To</a>.91 </p>92 </body>93</html> 102Job succeeded