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


Ignore:
Timestamp:
07/18/13 09:13:38 (11 years ago)
Author:
Nick Holden
Comment:

--

Legend:

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

    v11 v12  
    1791792. The end user accesses a 'load balancer' by means of an alias:
    180180
    181 https://lcbru-catissue-dev.rcs.le.ac.uk
    182 
    183 which routes the request to the server itself at lamp-api-15.rcs.le.ac.uk:80 - this machine only has port 80 accessible, so Apache is listening on port 80 and using mod_proxy and mod_proxy_http to reverse proxy to port 8080 for JBoss to pick up the request.
     181https://catissue-dev.lcbru.le.ac.uk
     182
     183which routes the request to the server itself at www15.lamp.le.ac.uk:80 - this machine only has port 80 accessible, so Apache is listening on port 80 and using mod_proxy and mod_proxy_http to reverse proxy to port 8080 for JBoss to pick up the request.
    184184
    185185{{{
     
    197197
    198198It works sufficiently to show the JBoss interface and the caTissue index page.
     199
     200NOTE THAT THIS APPROACH HAS BEEN REPLACED WITH mod_jk AS PER KRISHAGNI RECOMMENDATIONS
     201
     202The mod_jk approach requires:
     203* mod_jk to be enabled in apache
     204* a mod_jk.conf with configuration options: in /local/apache2/etc/mod.d/mod_jk.conf for our servers
     205* a workers.properties with settings for the specific connection to jboss: in /local/apache2/etc/conf.d/workers.properties for our servers
     206* a mod_jk_log (created automatically)
     207* server.xml to define the jvmRoute to match the specified connection worker: in /local/jboss/server/default/deploy/jboss-web.deployer/server.xml for our servers
     208
     209
    199210
    200211Originally 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.