Issue Deploying Migrated BPM Processes to 11.1.1.4

I have migrated my BPM processed from 11.1.1.1 to 11.1.1.4. This issue may happen with other versions but I thought I would document anyway.

When deploying my migrated BPM process I get the following error:

java.lang.ClassNotFoundException: oracle.bpel.services.datacontrol.types.Number


This issue is caused by the ADF worklist projects in your BPM process. Therefore for each ADF project in your BPM process you need to modify the weblogic.xml file to add the oracle.soa.worklist.webapp  library which seems to be a requirement in the new release of 11.1.1.4. In JDeveloper 11.1.1.4 it adds it automatically so you don't need to worry about it for new projects.

The weblogic.xml is found in the ADF worklist project:

Web Content > WEB-INF > weblogic.xml

Open the weblogic.xml in source mode and add the following code at the bottom just before the </weblogic-web-app> tag.

   <library-ref>
     <library-name>oracle.soa.worklist.webapp</library-name>
     <specification-version>11.1.1</specification-version>
   </library-ref>

To confirm you have entered it correctly go to the Overview tab and select libraries. You should see the the library added.

Now you can redeploy, and you should get success.

Comments:

You are right!!! That solve the problem, thanks a lot.

Posted by guest on November 16, 2011 at 03:54 AM GMT+13:00 #

We have the same problem, but with a BPEL process. Can you help us?

Posted by guest on December 02, 2011 at 05:38 PM GMT+13:00 #

Looks like you probably have a human task in your BPEL. Assuming you have the same error, there should be a weblogic.xml in you BPEL project. Have you made the same changes as described in post?

cheers
James

Posted by James Taylor on December 02, 2011 at 05:43 PM GMT+13:00 #

Yes, we have a human task. We have made the same changes in weblogic.xml in our BPEL project, but we get a new problem:

[Deployer:149034]An exception occurred for task
[Deployer:149026]deploy application Reclamaciones on soa_server1.: Failed to load webapp: 'oracle.soa.worklist.webapp'.
Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'oracle.soa.worklist.webapp'
Caused by: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.region.RichDeclarativeComponentTag
See server logs or server console for more details.
weblogic.application.ModuleException: Failed to load webapp: 'oracle.soa.worklist.webapp'
Taskflow deployment failed to deploy to server. oracle.jdeveloper.deploy.DeployException: Remote deployment failed
#### Deployment incomplete. ####

Posted by guest on December 06, 2011 at 09:59 PM GMT+13:00 #

The error you are getting is that the oracle.soa.worklist.webapp does not exist. Are you deploying to a managed server that has SOA Suite installed, e.g. soa_server1?

Are you able to deploy a new BPEL process with human task?

does your JDeveloper version match your SOA Suite version. They must match.

cheers
James

Posted by guest on December 07, 2011 at 03:24 AM GMT+13:00 #

1) Of course, I'm deploying in managed SOA Server: soa_server1.
2) Yes, I tried a new HelloWorld BPEL with a human task and I could deploying it without problems.
3) Versions match: 11.1.1.5 SOA Suite and Oracle JDeveloper 11g Release 1 11.1.1.5.0 Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013

Posted by guest on December 07, 2011 at 07:33 AM GMT+13:00 #

In the project properties make sure the libraries and classpath are the same as your helloworld and Reclamaciones apps. The key one are:
- SOA Designtime
- SOA Runtime
- BPEL Runtime

cheers
James

Posted by James Taylor on December 07, 2011 at 07:53 AM GMT+13:00 #

Thanks a lot Man !
You saved me A lot of Time

Posted by Shahab on December 18, 2013 at 12:28 AM GMT+13:00 #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Discussions and Examples using Oracle Fusion Middleware. Some image links are broken when using Firefox, Safari, and Chrome. If you want to see the full image please use IE.

Twitter:@james8001

tumblr hit counter vistors, thanks for your support

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today