Problema com webforms Oracle BPM
O Oracle BPM na versão 12 tem um problema quando é executado em Cluster .
Caused By: com.google.gdata.util.ResourceNotFoundException: Not Found
Entry ‘_9qsEcGr6Eea7A5zzF5afhA!_VStwEIv0EeaOM_BevAo9ZQ!O5SWE3DPM5UWG’ not found
<[ServletContext@584449759[app:DefaultToDoTaskFlow module:/workflow/DefaultToDoTaskFlow path:null spec-version:3.1]] Root cause of ServletException.
javax.el.ELException: java.lang.RuntimeException: getFormInstanceURL()
at javax.el.BeanELResolver.getValue(BeanELResolver.java:367)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(AstValue.java:139)
at com.sun.el.parser.AstValue.getValue(AstValue.java:203)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: getFormInstanceURL()
at oracle.bpel.services.workflow.webform.WebFormService.getFormInstanceURLHelper(WebFormService.java:618)
at oracle.bpel.services.workflow.webform.WebFormService.getFormInstanceURL(WebFormService.java:648)
at oracle.bpel.services.workflow.webform.WebFormService.getFormInstanceURL(WebFormService.java:628)
at oracle.bpel.services.workflow.webform.WFWebFormImpl.getFormInstanceURL(WFWebFormImpl.java:598)
at oracle.bpel.services.workflow.worklist.adf.WebFormView.getFormInstanceURL(WebFormView.java:148)
Truncated. see log file for complete stacktrace
Caused By: com.google.gdata.util.ResourceNotFoundException: Not Found
Entry ‘_9qsEcGr6Eea7A5zzF5afhA!_VStwEIv0EeaOM_BevAo9ZQ!O5SWE3DPM5UWG’ not found.
Isso Acontece devido a um novo produto comprado pela Oracle Chamado Frevvo, o Frevvo precisa de uma configuração especial para funcionar ,diferente das configurações padrões do weblogic.
Então Vamos Lá:
Vá nos seus managers servers que faz parte do cluster, vá em Configurações/Server Start
E coloque a configuração abaixo:
Manager Servrer 1
-Djgroups.tcpping.bind_port=7801
-Djgroups.tcpping.initial_hosts=maquina1.localdomain.com[7801],maquina2.localdomain.com[7801]
-Dfrevvo.metadata.cache-config=/WEB-INF/cache-clustered.xml
-Dfrevvo.cache.config.file=cache-tcp.xml
-Dfrevvo.cluster=bpm_Cluster
-Djgroups.tcpping.num_members=2
-Djgroups.bind_addr=maquina1.localdomain.com
-Djava.net.preferIP4Stack=true
Manager Servrer 2
-Djgroups.tcpping.bind_port=7801
-Djgroups.tcpping.initial_hosts=maquina1.localdomain.com[7801],maquina2.localdomain.com[7801]
-Dfrevvo.metadata.cache-config=/WEB-INF/cache-clustered.xml
-Dfrevvo.cache.config.file=cache-tcp.xml
-Dfrevvo.cluster=bpm_Cluster
-Djgroups.tcpping.num_members=2
-Djgroups.bind_addr=maquina2.localdomain.com
-Djava.net.preferIP4Stack=true
Lembre que as portas que o frevo trabalha estão no Ranger 7801 —ENTÃO, NÃO ALTERE!!
Apos isso reinicie os managers e o problema estará resolvido.