Changes between Version 10 and Version 11 of CaTissue HowTo Build & Deploying CaTissue from the source code?
- Timestamp:
- 07/15/13 19:00:26 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CaTissue HowTo Build & Deploying CaTissue from the source code?
v10 v11 169 169 == Update for CaTissue Plus deployed on LAMP servers == 170 170 171 The default version of Java installed on the LAMPservers is OpenJDK 1.5 - this doesn't play well with JBoss. So we've additionally installed OpenJDK 1.7. This seems to work better, but requires that JBoss is started thus:171 1. The default version of Java installed on the LAMP v1 servers is OpenJDK 1.5 - this doesn't play well with JBoss. So we've additionally installed OpenJDK 1.7. This seems to work better, but requires that JBoss is started thus: 172 172 173 173 > JAVA_HOME=/usr/java/jdk1.7.0_21/ /local/jboss/bin/run.sh & … … 175 175 This doesn't need to be done as root. 176 176 177 The end user accesses a 'load balancer' by means of an alias: 177 on LAMP v2 servers, the default java is 1.7.0_21 so that should be OK. 178 179 2. The end user accesses a 'load balancer' by means of an alias: 178 180 179 181 https://lcbru-catissue-dev.rcs.le.ac.uk … … 182 184 183 185 {{{ 184 From http.conf: 186 187 From loadmodule.conf in the /local/apache2/etc directory: 188 # Proxy to divert to the JBoss Application Server 189 LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.so 190 LoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.so 191 192 From httpd.conf in the /local/apache2/etc directory: 185 193 # Proxy to provide access to the JBoss Application Server 186 194 ProxyPass / http://localhost:8080/ … … 192 200 Originally I tried with jboss.server.host set to 'lcbru-catissue-dev.rcs.le.ac.uk' - this caused infinite redirect loops, and is bad. It isn't clear what this config setting is used for, and if it is used for building page URLs then the full alias is needed. I've changed this now to the actual IP address of the server itself (but this will not work if supplied to a browser as a link to a resource). It is now possible to log in to CaTissue. 193 201 194 There remain san issue with flex / caused by the fact that https is used to connect to the load balancer, but the JBoss connection itself is not securely piped. That isn't a problem because it is all behind the firewall of the load balancer, but flex doesn't like it. The solution as documented on a number of websites is to edit WEB-INF/flex/services-config.xml:202 There remained an issue with flex / caused by the fact that https is used to connect to the load balancer, but the JBoss connection itself is not securely piped. That isn't a problem because it is all behind the firewall of the load balancer, but flex doesn't like it. The solution as documented on a number of websites is to edit WEB-INF/flex/services-config.xml: 195 203 196 204