Powered by Blogger.

1/31/2011

Composite Deployment Failed with java.lang.Exception: BPEL compilation failed

Some time you must be facing strange issue during your composite deployment from JDeveloper as below,

Error:

[09:39:43 AM] ----  Deployment started.  ----
[09:39:43 AM] Target platform is  (Weblogic 10.3).
[09:39:43 AM] Running dependency analysis...
[09:39:43 AM] Building...
[09:40:32 AM] Deploying profile...
[09:40:32 AM] Updating revision id for the SOA Project 'TestBPELProcess.jpr' to '1.0'..
[09:40:33 AM] Wrote Archive Module to C:\Ashok\MyWork\RequesterABCS\TestBPELProcess\deploy\sca_TestBPELProcess_rev1.0.jar
[09:40:33 AM] Deploying sca_TestBPELProcess_rev1.0.jar to partition "development" on server soa_server1 [localhost:8001]
[09:40:33 AM] Processing sar=/C:/Ashok/MyWork/RequesterABCS/TestBPELProcess/deploy/sca_TestBPELProcess_rev1.0.jar
[09:40:33 AM] Adding sar file - C:\Ashok\MyWork\RequesterABCS\TestBPELProcess\deploy\sca_TestBPELProcess_rev1.0.jar
[09:40:33 AM] Preparing to send HTTP request for deployment
[09:40:33 AM] Creating HTTP connection to host:localhost, port:8001
[09:40:33 AM] Sending internal deployment descriptor
[09:40:33 AM] Sending archive - sca_TestBPELProcess_rev1.0.jar
[09:40:43 AM] Received HTTP response from the server, response code=500
[09:40:43 AM] Error deploying archive sca_TestBPELProcess_rev1.0.jar to partition "development" on server soa_server1 [localhost:8001]
[09:40:43 AM] HTTP error code returned [500]
[09:40:43 AM] Error message from server:
Error during deployment: Deployment Failed: Error occurred during deployment of component: TestBPELProcessProcess to service engine: implementation.bpel, for composite: TestBPELProcess: ORABPEL-05250

Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file "/app/product/soa11g/middleware/user_projects/domains/soadev/deployed-composites/TestBPELProcess_rev1.0/sca_TestBPELProcess_rev1.0/soa_9d7d140a-b660-4459-83ed-ede33136571a"; the exception reported is: java.lang.Exception: BPEL compilation failed

This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
.
[09:40:43 AM] Check server log for more details.
[09:40:43 AM] Error deploying archive sca_TestBPELProcess_rev1.0.jar to partition "development" on server soa_server1 [localhost:8001]
[09:40:43 AM] ####  Deployment incomplete.  ####
[09:40:43 AM] Error deploying archive file:/C:/Ashok/MyWork/RequesterABCS/TestBPELProcess/deploy/sca_TestBPELProcess_rev1.0.jar
 (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

 Solution

  1. Stop the soa server and admin server.
  2. Delete the folders <processname>.*           Delete these folders from <soainstallationhome>/user_projects/domains/<Domain_Name>/deployed-composites and<soainstallationhome>/user_projects/domains/<Domain_Name>/servers/soa_server1/tmp/_WL_user/soa-infra/<find the folder>\war\WEB-INF\default  Example: /app/product/soa11g/middleware/user_projects/domains/base_domain/deployed-composites and /app/product/soa11g/middleware/user_projects/domains/base_domain/servers/soa_server1/tmp/_WL_user/soa-infra/k678l\war\WEB-INF\default
  3. Restart the servers and re-deploy the composite

New Features in Oracle WebLogic Server 11g Release 1 (10.3.4)

1/25/2011

Oracle SOA Suite 11g Release 1 PS3 is out!!!

Oracle SOA Suite 11g Release1 Patch set 3 (11.1.1.4.0) is released few days before

New Features: http://www.oracle.com/technetwork/middleware/soasuite/documentation/soa-11gr1-ps3-new-features-258135.html

Software Download: http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html

This release makes few activities in JDeveloper more user friendly.
 

7/14/2010

SOA Suite 11g R1 Developers Guide Book Available

Now we have book for SOA Suite 11g R1 Developers Guide published by Packt publishing.

SOA Suite 11g R1 Developers Guide

7/01/2010

Installing AIA on Oracle SOA Suite 11g PS2

Now you can install AIA FP 11gR1 PS2 on Oracle SOA Suite 11g PS2 environment and it works without any installation problem.

Download the Patch (ID:9717829) from Oracle Metalink

Bye...

6/02/2010

Configuring the Common SOA Infrastructure Properties in Oracle 11g

In Oracle SOA Enterprise Manager Console, there are few common SOA Infrastructure properties that helps us during development.

  • Audit Level
  • Composite Instance State
  • Payload Validation

In the EM console go to the SOA->soa-infra  and right click the soa-infra to see the Common Properties











By default the Audit Level is set to Production and others are unchecked.

  • Audit Level
               "Production" (default): Composite instance tracking is collected, but Mediator engine will not collect payload details and BPEL engine will not collect payload details for assign activities (payload details for other BPEL activities are collected). This level is optimal for most normal production operations.

"Development": Allows both the composite instance tracking and payload detail tracking. However it may impact the performance. This level is useful mostly for testing and debugging purposes.

"Off": No logging is performed. Composite instance tracking and payload details are not collected. 

  • Capture Composite Instance State 
                 Turning this feature on will allow for separate tracking for "running" instances. However, this may impact the performance. 

  • Payload Validation 
                Select to enable validation of incoming and outgoing messages.

 Choose the values accordingly as required and save the properties (no server restart required).

        Configuring XA Support for Data Sources in Oracle 11g

        Changing the Driver Name to Support XA Drivers
                   If your data sources require support for XA drivers, you must change the driver name on Oracle WebLogic Server. This is particularly true for environments in which BPEL processes assume XA is present when calling database adapters and JMS adapters.


        Change the driver name through one of the following methods.
        • Edit in Oracle WebLogic Server Administration Console.
        1. Log into Oracle WebLogic Server Administration Console.
        2. In the left pane, select Domain Structure.
        3. Select Services > JDBC > Data Source > SOADataSource > Connection Pool.
        4. For the Driver Class Name, change the value to oracle.jdbc.xa.client.OracleXADataSource. This provides support for the XA driver.
        5. Restart the server.
        • Edit the SOADataSource-jdbc.xml file.
        1. Open the soaDataSource-jdbc.xml file on Oracle WebLogic Server.
        2. Change the SOADataSource driver name from
                  oracle.jdbc.OracleDriver to
                  oracle.jdbc.xa.client.OracleXADataSource.
                  <?xml version="1.0" encoding="UTF-8"?>
                  <jdbc-data-source
                  /. . .
                  . . .
                 / <name>SOADataSource</name>
                <jdbc-driver-params>
                <url>jdbc:oracle:thin:@adc60086fems.us.oracle.com:1537:co0yd570</url>
                <driver-name>*oracle.jdbc.xa.client.OracleXADataSource*</driver-name>
                <properties>
                <property>
                <name>user</name>
                <value>fusion_soainfra</value>
                </property>
                </properties>
                / . . .
                . . ./
               </jdbc-driver-params>
               /. . .
              . . ./
              </jdbc-data-source>

         Source:  Administrator’s Guide for Oracle SOA Suite and Oracle Business Process Management Suite 11g Release 1 (11.1.1)
         

        | © 2009 Share Oracle SOA All Rights Reserved | Designed by Craig Edmonds | Bloggerised By BloggerStop.Net |