...
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 en caso de haber cambiado el puerto de o3, por defecto en 8009 para o3 y 8309 para eportal) y el servidor.
Code Block |
---|
worker.list=worker12worker-o3web,worker-eportal worker.worker12worker-o3web.port=puerto (por defecto es el 8009) worker.worker12worker-o3web.host=Nombre de servidor o ip worker.worker12worker-o3web.type=ajp13 worker.worker12worker-o3web.lbfactor=1 worker.worker-eportal.port=puerto (por defecto es el 8309) worker.worker-eportal.host=Nombre de servidor o ip worker.worker-eportal.type=ajp13 worker.worker-eportal.lbfactor=1 |
(Luego de agregar los workers en el archivo "conf/workers.properties" agregar el host virtual en "conf.d/virtualhost.conf")
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/* worker12worker-o3web #En caso de tener o3bpa JKMount /o3bpa worker13 JKMount /o3bpa/* worker13 #En caso de tener # 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 #En caso de tener o3bpa JKMount /o3bpa worker-o3bpa JKMount /o3bpa/* worker-o3bpa </VirtualHost> |