Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Agregar los workers en el archivo "conf/workers.properties", definirlo en worker.list y luego agregar el puerto (se obtiene de /jboss/standalone/configuration/o3bi.xml(<socket-binding name="ajp" port="8009"/>) se le suma o resta el offset) y el servidor.

Code Block
worker.list=worker12worker-o3web,worker-eportal
 
 
worker.worker-o3web.port=puerto (por defecto es el 8009)
worker.worker-o3web.host=Nombre de servidor o ip
worker.worker-o3web.type=ajp13
worker.worker-o3web.lbfactor=1
 
 
worker.worker12worker-eportal.port=puerto (por defecto es el 8309)
worker.worker12worker-eportal.host=Nombre de servidor o ip
worker.worker12worker-eportal.type=ajp13
worker.worker12worker-eportal.lbfactor=1



  

(Luego de agregar los workers en el archivo "conf/workers.properties" agregar el host virtual en "conf.d/virtualhost.conf", se requiere tener instalado en apache el mod_proxy)

Code Block

<VirtualHost *:80>
    ServerName example.xxx.org
    ServerAdmin webmaster@xxx.org
   
     # o3web
    JKMount /o3web worker12worker-o3web
    JKMount /o3web/* worker12worker-o3web
    JKMount /exist worker12worker-o3web
    JKMount /exist/* worker12worker-o3web
    JKMount /o3report worker12worker-o3web
    JKMount /o3report/* worker12worker-o3web
    JKMount /cas worker12worker-o3web
    JKMount /cas/* worker12worker-o3web
    JKMount /o3-rest worker12worker-o3web
    JKMount /o3-rest/* worker12worker-o3web
    JKMount /rbac-rest worker12worker-o3web
    JKMount /rbac-rest/* worker12worker-o3web
    JKMount /o3-parts-blaze-web worker12worker-o3web
    JKMount /o3-parts-blaze-web/* worker-o3web
worker12    
 JKMount /o3bpa worker13 
   JKMount /o3bpa/* worker13# eportal
    JKMount /eportal worker14worker-eportal
    JKMount /eportal/* worker14worker-eportal
    JKMount /eportalthemes worker14worker-eportal
    JKMount /eportalthemes/* worker14worker-eportal
    JKMount /o3-liferay-theme worker14worker-eportal
    JKMount /o3-liferay-theme/* worker14worker-eportal
    JKMount /geoserver worker14worker-eportal
    JKMount /geoserver/* worker14worker-eportal
    JKMount /o3-parts-web worker14worker-eportal
    JKMount /o3-parts-web/* worker14worker-eportal
    JKMount /o3portal worker14worker-eportal
    JKMount /o3portal/* worker14 worker-eportal

    #exist
    ProxyPass       /exist   http://servidor:8088/exist
    ProxyPassReverse    /exist   http://servidor:8088/exist
     
   
</VirtualHost>