[ https://issues.apache.org/jira/browse/CLOUDSTACK-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998377#comment-14998377 ]
ASF GitHub Bot commented on CLOUDSTACK-9049: -------------------------------------------- Github user remibergsma commented on the pull request: https://github.com/apache/cloudstack/pull/1052#issuecomment-155381433 LGTM, Tested on CentOS7 with Tomcat 7. The package builds fine: ``` + exit 0 RPM Build Done ``` Install also works: ``` Installed: cloudstack-common.x86_64 0:4.6.0-SNAPSHOT.el7.centos cloudstack-management.x86_64 0:4.6.0-SNAPSHOT.el7.centos Complete! ``` Setup, now requires `--tomcat7` as parameter: ``` [root@cs2 x86_64]# cloudstack-setup-management --tomcat7 Starting to configure CloudStack Management Server: Configure Firewall ... [OK] Configure CloudStack Management Server ...[OK] CloudStack Management Server setup is Done! ``` Files in `/etc/`: ``` [root@cs2 management]# pwd /etc/cloudstack/management [root@cs2 management]# ls -la total 136 drwxr-xr-x. 3 root root 4096 Nov 10 09:10 . drwxr-xr-x. 3 root root 4096 Nov 9 17:06 .. drwxrwx---. 3 root cloud 4096 Nov 10 09:06 Catalina -rw-r--r--. 1 root root 8945 Nov 10 08:56 catalina.policy -rw-r--r--. 1 root root 3794 Nov 10 08:56 catalina.properties -rw-r--r--. 1 root root 1653 Nov 10 08:56 classpath.conf -rw-r--r--. 1 root root 1357 Nov 10 08:56 commons-logging.properties -rw-r-----. 1 root cloud 3125 Nov 10 09:08 db.properties -rw-r-----. 1 root cloud 3125 Nov 9 21:27 db.properties.rpmsave -rw-r--r--. 1 root root 972 Nov 10 08:56 environment.properties -rw-r--r--. 1 root root 927 Nov 10 08:56 java.security.ciphers -rw-r--r--. 1 root root 8 Nov 10 09:08 key -rw-r--r--. 1 root root 7020 Nov 10 08:56 log4j-cloud.xml -rw-r--r--. 1 root root 6722 Nov 10 08:56 server7-nonssl.xml -rw-r--r--. 1 root root 7251 Nov 10 08:56 server7-ssl.xml lrwxrwxrwx. 1 root root 45 Nov 10 09:10 server.xml -> /etc/cloudstack/management/server7-nonssl.xml -rw-r--r--. 1 root root 1383 Nov 10 08:56 tomcat-users.xml -rw-r--r--. 1 root root 50475 Nov 10 08:56 web.xml ``` Enabling and starting: ``` [root@cs2 management]# systemctl enable cloudstack-management [root@cs2 management]# systemctl start cloudstack-management [root@cs2 management]# systemctl status cloudstack-management cloudstack-management.service - CloudStack Management Server Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service; enabled) Active: active (running) since Tue 2015-11-10 09:11:41 GMT; 5s ago Main PID: 12381 (java) CGroup: /system.slice/cloudstack-management.service └─12381 java -Djava.awt.headless=true -Dcom.sun.management.jmxremote=false -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M -XX:MaxPermSize=800m -cla... ``` Deployed data center:   Currently running some Marvin tests and that looks good. Will post results later. > Fix deployment in CentOS 7 with Tomcat 7 > ---------------------------------------- > > Key: CLOUDSTACK-9049 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9049 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.6.0 > Reporter: David Amorim Faria > Assignee: David Amorim Faria > > The centos 7 packaging is using custom config files instead of the files > sourced from the webapp. Also, the library used by > cloudstack-setup-management expects to find tomcat6 files in the config > directory, and they are not valid for tomcat7 which comes as default in > centos7. -- This message was sent by Atlassian JIRA (v6.3.4#6332)