Changes between Version 10 and Version 11 of CaTissue HowTo Build & Deploying CaTissue from the source code?


Ignore:
Timestamp:
07/15/13 19:00:26 (11 years ago)
Author:
Nick Holden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CaTissue HowTo Build & Deploying CaTissue from the source code?

    v10 v11  
    169169== Update for CaTissue Plus deployed on LAMP servers ==
    170170
    171 The default version of Java installed on the LAMP 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:
     1711. 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:
    172172
    173173> JAVA_HOME=/usr/java/jdk1.7.0_21/ /local/jboss/bin/run.sh &
     
    175175This doesn't need to be done as root.
    176176
    177 The end user accesses a 'load balancer' by means of an alias:
     177on LAMP v2 servers, the default java is 1.7.0_21 so that should be OK.
     178
     1792. The end user accesses a 'load balancer' by means of an alias:
    178180
    179181https://lcbru-catissue-dev.rcs.le.ac.uk
     
    182184
    183185{{{
    184 From http.conf:
     186
     187From loadmodule.conf in the /local/apache2/etc directory:
     188# Proxy to divert to the JBoss Application Server
     189LoadModule proxy_module                   /usr/lib64/apache2-prefork/mod_proxy.so
     190LoadModule proxy_http_module               /usr/lib64/apache2-prefork/mod_proxy_http.so
     191
     192From httpd.conf in the /local/apache2/etc directory:
    185193# Proxy to provide access to the JBoss Application Server
    186194ProxyPass / http://localhost:8080/
     
    192200Originally 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.
    193201
    194 There remains 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:
     202There 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:
    195203
    196204