Versions Compared

Key

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

...

Buscar el filtro "o3ClientSSOLiferayFilter" y "o3ClientSSOLogoutLiferayFilter" y agregar el "init-param" llamado "serverName" con el valor "demo.ideasoft.biz" (en lugar de "localhost:8080) 

Code Block
<filter>
        <filter-name>o3ClientSSOLiferayFilter</filter-name>
        <filter-class>biz.ideasoft.liferay.portal.filter.O3ClientSSOLiferayFilter</filter-class>
    
        <init-param>
            <param-name>serverName</param-name>
            <param-value>demo.ideasoft.biz</param-value>
        </init-param>
         
    </filter>
    <filter>
        <filter-name>o3ClientSSOLogoutLiferayFilter</filter-name>
        <filter-class>biz.ideasoft.liferay.portal.filter.O3ClientSSOLogoutLiferayFilter</filter-class>
        
        <init-param>
            <param-name>serverName</param-name>
            <param-value>demo.ideasoft.biz</param-value>
        </init-param>
         
    </filter>



...

Configuración de mod_jk en Apache

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=worker-o3web,worker-eportalworker1,worker2

worker.worker-o3webworker1.port=puerto (por defecto es el 8009)
worker.worker-o3webworker1.host=Nombre de servidor o ip
worker.worker-o3webworker1.type=ajp13
worker.worker-o3webworker1.lbfactor=1
 
worker.worker-eportalworker2.port=puerto (por defecto es el 8309)
worker.worker-eportalworker2.host=Nombre de servidor o ip
worker.worker-eportalworker2.type=ajp13
worker.worker-eportalworker2.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  JKMount /o3web worker-o3webworker1
  JkMount  JKMount /o3web/* worker-o3webworker1
  JkMount  JKMount /o3reportexist worker-o3webworker1
  JkMount  JKMount /o3reportexist/* worker-o3webworker1
  JkMount /o3report worker1
JKMount /cas worker-o3web
 JkMount /o3report/* worker1
  JKMountJkMount /cas/* worker-o3webworker1
  JkMount  JKMount /o3-rest worker-o3webworker1
    JKMountJkMount /o3-rest/* worker-o3webworker1
  JkMount  JKMount /rbac-rest worker-o3webworker1
   JkMount JKMount /rbac-rest/* worker-o3webworker1
  JkMount  JKMount /o3-parts-blaze-web worker-o3webworker1
    JKMountJkMount /o3-parts-blaze-web/* worker-o3web
	 worker1
  JKMount /o3bi-admin worker1
  JKMount /o3bi-admin worker-o3web
	/* worker1
  JKMount /o3bi-adhoc worker1
  JKMount /o3bi-adminadhoc/* worker-o3web worker1
  JKMount /modeshape-jcr-rest worker1
  JKMount /modeshape-jcr-rest/* worker1
    
    
    # eportal
    JKMountJkMount /eportal worker-eportalworker2
    JKMountJkMount /eportal/* worker-eportalworker2
    JKMountJkMount /eportalthemes worker-eportalworker2
    JKMountJkMount /eportalthemes/* worker-eportalworker2
    JKMountJkMount /o3-liferay-theme worker-eportalworker2
    JKMountJkMount /o3-liferay-theme/* worker-eportalworker2
    JKMountJkMount /geoserver worker-eportalworker2
    JKMountJkMount /geoserver/* worker-eportalworker2
    JKMountJkMount /o3-parts-web worker-eportalworker2
    JKMountJkMount /o3-parts-web/* worker-eportalworker2
    JKMountJkMount /o3portal worker-eportalworker2
    JKMountJkMount /o3portal/* worker-eportalworker2
    JKMount /notifications-portlet worker-eportalworker2
    JKMount /notifications-portlet/* worker-eportalworker2
    JKMount /welcome-theme worker-eportalworker2
    JKMount /welcome-theme/* worker-eportalworker2
    JKMount /j2ep worker-eportalworker2
    JKMount /j2ep/* worker-eportal  worker2
    JKMount /o3bpa-dashlets worker2
    JKMount /o3bpa-dashlets/* worker2
    
    #exist
    ProxyPass       	/exist   http://servidor:8088/exist
    ProxyPassReverse    /exist   http://servidor:8088/exist
     
   
</VirtualHost>

...