Wednesday, June 14, 2017

Getting "No exception handler was found for an application exception" when accessing BPM Worklist

Problem

The BPM Worklistapp used to come up, now it's not responding anymore. This is the URL we are accessing:
http://soahost1:8001/integration/worklistapp
This error keeps repeating indefinitely in soa_server1-diagnostic.log when trying to access the URL above:
[2017-03-09T04:22:28.948+00:00] [soa_server1] [ERROR] [ADFC-50018] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 15cfa3f60e080317:21a68021:15ab1488662:-8000-0000000000006504,0] [APP: worklistapp] ADFc: No exception handler was found for an application exception.[[
com.sun.faces.mgbean.ManagedBeanCreationException: An error occurred performing resource injection on managed bean applicationPreferences
at com.sun.faces.mgbean.BeanBuilder.invokePostConstruct(BeanBuilder.java:229)
at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:110)
at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:406)

[2017-03-09T13:24:24.418+00:00] [soa_server1] [ERROR] [] [org.springframework.web.context.ContextLoader] [tid: [ACTIVE].ExecuteThread: '65' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 40fc29145d7eb718:6df988fe:15ab33350ce:-8000-000000000000f3d3,0] [APP: soa-infra] Context initialization failed[[
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmUserAuthenticationService' defined in URL [zip:/u01/app/oracle/middleware/Oracle_SOA1/soa/modules/oracle.bpm.runtime_11.1.1/oracle.bpm.bpm-services.implementation.jar!/oracle/bpm/services/config/spring-applicationContext.xml]: Cannot resolve reference to bean 'bpmUserAuthenticationServiceImplementation' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmUserAuthenticationServiceImplementation' defined in URL [zip:/u01/app/oracle/middleware/Oracle_SOA1/soa/modules/oracle.bpm.runtime_11.1.1/oracle.bpm.bpm-services.implementation.jar!/oracle/bpm/services/config/spring-applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.sun.proxy.$Proxy294 implementing oracle.bpel.services.workflow.verification.IVerificationService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [oracle.bpel.services.workflow.verification.IVerificationService] for property 'verificationService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.sun.proxy.$Proxy294 implementing oracle.bpel.services.workflow.verification.IVerificationService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [oracle.bpel.services.workflow.verification.IVerificationService] for property 'verificationService': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmUserAuthenticationServiceImplementation' defined in URL [zip:/u01/app/oracle/middleware/Oracle_SOA1/soa/modules/oracle.bpm.runtime_11.1.1/oracle.bpm.bpm-services.implementation.jar!/oracle/bpm/services/config/spring-applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.sun.proxy.$Proxy294 implementing oracle.bpel.services.workflow.verification.IVerificationService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [oracle.bpel.services.workflow.verification.IVerificationService] for property 'verificationService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.sun.proxy.$Proxy294 implementing oracle.bpel.services.workflow.verification.IVerificationService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [oracle.bpel.services.workflow.verification.IVerificationService] for property 'verificationService': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.sun.proxy.$Proxy294 implementing oracle.bpel.services.workflow.verificat
 Doing a wget showed the following:
oracle@soahost1:/tmp> wget http://soahost1:8001/integration/worklistapp
 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp
 Resolving soahost1 (soahost1)... 192.168.0.10
 Connecting to soahost1 (soahost1)|192.168.0.10|:8001... connected.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/ [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/login.jspx [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/login.jspx
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/login.jspx?_adf.ctrl-state=118tn4s5c5_4 [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/login.jspx?_adf.ctrl-state=118tn4s5c5_4
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/helppages/errorPage.jspx [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/helppages/errorPage.jspx
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/login.jspx [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/login.jspx
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/login.jspx?_adf.ctrl-state=118tn4s5c5_8 [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/login.jspx?_adf.ctrl-state=118tn4s5c5_8
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/helppages/errorPage.jspx [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/helppages/errorPage.jspx
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/login.jspx [following]

 --2017-03-09 12:52:13-- http://soahost1:8001/integration/worklistapp/faces/login.jspx
 Reusing existing connection to soahost1:8001.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: http://soahost1:8001/integration/worklistapp/faces/login.jspx?_adf.ctrl-state=118tn4s5c5_12 [following]
We DISABLED the following setting on both "soa_server1" and "soa_server2" managed servers:
SSL Listen Port Enabled.
You will find that this is the SAME EXACT error described in this Oracle documentation troubleshooting guide in section B.2.3:
http://docs.oracle.com/cd/E25178_01/admin.1111/e10226/appx_trouble.htm
We increased the FacadeFinderBean "Transaction Timeout" on the WebLogic Console from 600 to 10000, but this did not help.


Solution

1. Log in to the EM Console

2. Expand WebLogic Domain

3. Right-click on soadomain

4. Navigate to Security > Credentials

5. Expand SOA

6. Edit the entry and modify the password to the keystore password


 
Applicable Versions
  • Oracle SOA Suite 11g (11.1.1.9.0)

 



No comments: