Scheduling multiple composites in SOA 11g

Hi,
I have scheduled a composite in soa 11g using this link.
http://www.oracle.com/technetwork/middleware/soasuite/learnmore/soascheduler-186798.pdf
Now i want an another composite also to be scheduled in the similar fashion. so I would like to use the same web service component i used for ther first one.
Can I do this ? If not, what is the other option I can do.
Thanks and Regards,
Kaavya

Hi,
Below link has the solutions. I got the same problem and it worked for me.
http://ariklalo.com/2013/08/04/wsm-02557-error-when-trying-to-run-a-deployed-process/
Thanks,

Similar Messages

  • Registering External Fault Policy(s) with a Composite in SOA 11g

    Hi
    I was wondering whether it is possible to register more than one external fault policy with a composite. I have loaded some fault policies into my database backed MDS store. I have added a fault-bindings.xml file locally to teh composite to indicate which components I want to use which policy. this file resembles:
    <composite faultPolicy="bpelSynchronousProcessingFaults"/>
    <component faultPolicy="mediatorSynchronousProcessingFaults">
    <name>MediatorRouting</name>
    </component>
    I have also added to the composite.xml file the respective imports / properties to identify the location of the fault policy files and the fault bindings. These resemble:
    </service>
    <property name="oracle.composite.faultPolicyFile">oramds:/apps/fault-policies/fault-policies-med-sync.xml</property>
    <property name="oracle.composite.faultPolicyFile">oramds:/apps/fault-policies/fault-policies-bpel-sync.xml</property>
    <property name="oracle.composite.faultBindingFile">fault-bindings.xml</property>
    <component name="MediatorRouting">
    For a test I have the BPEL component using one and the mediator component using another, both within the same composite. Depending on the order of the 2 properties shown above, only one is registered. This being the second one.
    Is it possible to register more than one policy in this way? I have been unable to get both working at the same time. Each works independently if I only register one of them. I want keep the fault policies external to the composites to allow them to be re-used appropriately across composites within an SOA project
    My thinking is, in order to be able to have differing policies effecting different components within a composite i'd have thought it would have been possible to define more than one external policy for a composite. However it appears this is not the case as it only registers or atleast works with the last policy in an import. Also placing the files locally within the composite with differing names has no impact.
    Therefore i'm assuming (unless I have configured these incoorectly) there is no option to have multiple fault policies for a composite. Therefore there is no ability to define a different policy per component within a composite
    Kind Regards
    Dave

    Using the fault binding attach your fault policy to particular component. See example below.Use the tag  <component faultPolicy="ServiceFaults">
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <component faultPolicy="ServiceFaults">
      <name>Component1</name>
      <name>Component2</name>
      </component>
      <!-- Below listed component names use polic CRM_SeriveFaults -->
      <component faultPolicy="CRM_ServiceFaults">
      <name>HelloWorld</name>
      <name>ShippingComponent</name>
      <name>AnotherComponent"</name>
      </component>
      <!-- Below listed reference names and port types use polic CRM_ServiceFaults
    -->
      <reference faultPolicy="CRM_ServiceFaults">
      <name>creditRatingService</name>
      <name>anotherReference</name>
      <portType
    xmlns:credit="http://services.otn.com">credit:CreditRatingService</portType>
      <portType
    xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/insert/">db:insert_
    plt</portType>
      </reference>
      <reference faultPolicy="test1">
      <name>CreditRating3</name>
      </reference>
    </faultPolicyBindings>

  • Unable to test the Deployed composites in soa 11g server

    Hi,
    I created a simple Hello World BPEL process,
    I am able to compile and deploy in the weblogic soa server,
    But when i want to test this application in em console i am getting following error :
    PolicySet Invalid: WSM-02557 oracle.wsm.policymanager.accessor.BeanAccessor The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(policysets:global/%)(@appliesTo~="SCA-Component()")" is queued for later retrieval
    please suggest me some solution to come out of this.

    Hi,
    Below link has the solutions. I got the same problem and it worked for me.
    http://ariklalo.com/2013/08/04/wsm-02557-error-when-trying-to-run-a-deployed-process/
    Thanks,

  • SOA 11g- Error handling of Asynchronous composites

    Hi,
    We are working on Error Handling framework design for both synchronous, asynchrounous composites of SOA 11g.
    Any pointers on the same will be helpfull as how to capture errors occuring during asynchronous services calls.
    Thanks,
    Sowmya

    Thanks Naresh.
    Can you help me if the below is possbile.
    I have a process which takes an input and splits the inputs into multiple requests to some external system in a flow-N activity. There is an invoke activity with-in the flow N activity. And this invoke is an asynchrnous call. If at runtime we have 5 flows for flow-N, with 5 calls to external system, and out of these 4 are successful and one errors out. Can we have an error handler to just resubmit the failed request to the external system. Once we get the response from the resubmission, we want to continue with merging the output of all 5 and sending it back.
    Also, let me know if there will be any issue with the call back operation due to resubmission of the invoke. This is an asynchronous invoke with call back mechanism for response.
    Thank you so much.
    PK

  • Scheduling Capability in Oracle Soa Suite 11g

    Hi,
    I am looking for a capability to schedule the SOA composites in Soa suite 11g. Gone through the old forum posts and some of the blog links as well. Found out that only following ways are possible with out going for workarounds.
    - using commonJ API in weblogic
    - using quartz scheduler
    Just wanted to confirm is this the direct way possible? As both of these approches use the webaplication which requires additional maintenance have to come up with the UI as well as the user might want to modify scheduling times in future.
    Please let me know on the same.
    Thanks
    Siva

    I am looking in the same issue myself, I have put together some useful links here:
    http://www.javamonamour.org/2010/12/commonj-timer-with-osb.html
    most likely I will use CommonJ TimerManager with Clister-wide Timer and Job Scheduler, since I require High Availability....
    Anyway I wish there was something easier to configure and manage.... I have seen a commercial product (can't remember the link) but waaay too expensive....

  • Error message deploying a composite in SOA Suite 11g

    Hello,
    We are attempting to deploy a composite to SOA Suite 11g (11.1.1.3). We're getting an 'Unable to register service' error message. When I inspect the log files I see the following entry as the first error:
    Failed to retrieve policy[[
    oracle.wsm.policyaccess.PolicyAccessException: WSM-06146 : Error deleting the attachment entries.
    Anybody have any experience with this error? The error message reference has the following listed:
    WSM-06146: Error deleting the attachment entries.
    Cause: Failure occurred while deleting the attachment entries.
    Action: Ensure that a valid list of policy subjects for deactivated lifecycle type is passed
    Level: 32
    Type: INCIDENT_ERROR
    Impact: Configuration
    I don't know how to "ensure that a valid list of policy subjects for deactivated lifecycle type is passed". Please help!!!!
    Thanks,
    jh

    This is what we have done :
    1.Created the JDBC data source & connection pool as below :
    data source name : B2BAQ , JNDI name : jdbc/B2BAQ
    Connection Pool :
    URL : taken from the tns entries of the instance
    Driver Class Name : oracle.jdbc.OracleDriver
    Tested this connection ..it works fine from the Admin Console
    2.Then go to Deployments --> AqAdapter -> Configuration tab --> Outbound Connection Pool Group -->
    Create a new connection pool instance -- General tab
    connection interface factory : javax.resource.cci.ConnectionFactory
    JNDI Name : eis/AQ/B2BAQ
    Then in Properties tab : Enter the Data Source Name : jdbc/B2BAQ
    Then we try to Start the AqAdapter from the Admin Console..it goes into Prepared status.
    The error message which comes is mentioned above.
    Is there any way we could resolve this ..that would be very helpful
    Regards
    Edited by: user5149250 on Mar 13, 2012 6:33 AM

  • Deployment Queries related to Quartz Scheduler for SOA 11g???

    Dear All,
    We are using Quartz Scheduler for SOA 11g and have queries on its testing:
    1. Can we change the cron expression(say, previously cron expression was with the interval of 15 minutes every hour and we are changing it to 5 minutes every hour) in the scheduler table after we deployed the scheduler application? Should this require redeployment of Scheduler Application or the scheduler java class needs to be be run again to trigger the newly updated cron expression. Or, Will commiting the scheduler details table alone update the application to schedule for every 5 minutes in an hour?
    2. Also, if we are trying to schedule a new application(say, previously only 2 of our applications are scheduled and trying to add newly built application in the Scheduler table), will commiting the table alone will schedule the new application or require redeployment of Scheduler Application or the scheduler java class needs to be be run again?
    Please share your thoughts!
    Thanks in advance

    Were you able to control the frequency from the table. Can you please share the detials..

  • Problem in  setting Composite Instance Index in SOA 11G

    In SOA 11G the setIndex() xpath function is not working . But It was working in 10G.
    If I use this setIndex function in BPEL Java Embedding , in audit trails the function is executed. But If I see the result by querying the DEV_SOAINFRA.COMPOSITE_INSTANCE table INDEX1 column it is empty. No values is inserted into this INDEX columns.
    Can anyone please give a solution to set the composite instance index in SOA 11G ?
    Thanks in Advance

    1. setIndex() Xpath function in SOA 11G is working .
    2. syntax : setIndex(1,'anyValue');
    3. To view the index value for the instance created , query "DEV_SOAINFRA.CI_INDEXES" table.
    Edited by: saba on Dec 6, 2011 6:22 AM

  • ESS Scheduler metadata information in SOA Composite

    Hi,
    I am working on SOA 12c and Scheduling a SOA Composite, in the process i need to track the ess scheduler request id within SOA Composite and log the composite details with ess scheduler request id.
    how this can be achieved
    Thanks & Regards,
    ANVV

    Hi Markus,
    Thanks for the link.
    i have scheduled the SOA Composite in the similar way, and get it working
    1) Developed the SOAComposite1
    2) configured the ESS Scheduler in the similar way shown in the link.
    3) Developed a bpel process <bpelprocess> scheduled ; drag & drop the scheduler activity and deployed it to schedule.
    4) Run the scheduler from <Scheduling Service> under em console
    5) in <SOAComposite1> ; i am trying to get the requestId of the scheduler which ran in step 4 and store the same in the custom database tables for tracking / logging purpose; with current SOAComposite ecid, requestId (which is required and the purpose of this thread), compositename, etc., using ESS API.
    Hope i made it clear
    Thanks & Regards,
    ANVV

  • 12c SOA multiple composite deployment using maven

    Hi,
    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite.
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestMVNProj –Dcomposite.version=1.1
    Issues:
    As seen above by using above command m able to deploy single composte.But i want to deploy multiple composite belongs to  same application or Different something like below.
    AIM- mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj1,Project2
    Is there any way to achive this please guide me far same
    In any senerio not only is soa composite.can any one guide me how to deploy multiple projects using maven scripts.
    Thanks in Advance
    Prabhat

    Hi Markus,
    I have tried it with profiling its works . thanks!!!! but some how still i was not able to achieve what i want.
    But thanks for you kind references i have done it by using and maven cmd line switch -pl .Now i can exclude.include modules  dynamically.
    For example;-
    <modules>
        <module>Mvntest1</module>
        <module>MvnDeploymentTest</module>
         <module>MvnDeploymentTest2</module>
        </modules>
    I have multiple module  in my parent pom.xml and if i want to deploy only top 2 of  them.
    # mvn pre-integration-test -pl +Mvntest1,+MvnDeploymentTest   (This only support maven version 3.2.1 and above)
    its working fine :-
    Note:- when we using -pl  if we want to include modules we can give module name with "+"sign and for exclude "- or !" we can give multiple module name separated with "," delimiters .
    THANKS MARKUS!!!!!
    **********************************Happy Deployments*************************************
    Regards
    Prabhat

  • Urgent:SOA 11g composite preference - Behaviour after server restart

    Hi ,
    I tired to update SOA 11g composite preference value from fmw control. When the server is retarted, I don't find the updated preferences value. It gets reset to the preference value in the code. This is not the case in SOA 10g. Could you help me find a way such that the preference value remains the same even after restart.
    Cheers!,
    SOALearner

    Hi,
    Here goes the solution.
    Problem
    1) Connect to Fusion Middleware Control.
    2) Expand SOA -> soa-infra -> default and hightlight "default".
    3) Navigate to SOA Infrastructure -> Administration -> System MBean Browser.
    4) Navigate to Application Defined MBeans -> oracle.soa.config -> Server: soa_server1 -> SCAComposite.
    5) Expand the <SCA composite> -> SCAComposite.SCAComponent and highlight the BPEL Component.
    6) Click attribute Properties.
    7) Expand Element_0 and change value key for name bpel.preference.PREFERENCE_NAME.
    8) Click Apply.
    9) Restart the SOA server and now PREFERENCE_NAME contains the orginal initial value instead of the expected updated value.
    Solution
    1) After you Apply the change to bpel.preference.PREFERENCE_NAME, click Return.
    2) Click Operations tab.
    3) Click Save.
    4) Click Invoke.
    5) Click Return.
    When the server is restarted, the System MBean updated value is maintained.
    Cheers!
    Moshe Selvamanickam

  • Modifying Memory Optimization parameter for BPEL process in SOA 11g

    Hello
    I have turned on memory optimization parameter for my BPEL process in the composite.xml (11g)
    this is what I have in composite.xml:
    <property name="bpel.config.inMemoryOptimization">false</property>
    How do we modify this parameter in the EM console at runtime? I changed this property to "true" using the System MBean browser, but it wasn't taking effect. I thought the SOA server must be restarted (similar to what we used to do in 10g). But when I restart the SOA server, the parameter goes back to whatever the value was in the composite.xml ignoring the change I made in the System MBean browser
    Please share your thoughts.
    Thanks in advance.
    Raja

    Deploying a newer version is not an option, as the endpoints could change (not sure if it would in 11g, but in 10g it does) and also, our service consumers will be pointing to the older version.As mentioned above, if clients are using URL without version then call will be forwarded to default version of composite internally. No manual tweaking required for this. Just make sure that while deploying the new version you are marking it as default.
    Besides, we report on service metrics and having multiple versions just complicates things.Not at all. If you are not using versioning feature, you are really under utilizing the Oracle SOA 11g. Remember that metrics can be collected for a single composite with same effort, irrespective of the number of composite versions deployed. Only few product tables refer the version while storing composite name and rest all use only the composite name without version. I do not know how you are collecting service metrics but we use DB jobs for same it works perfectly with any number of composites having multiple versions deployed.
    The idea is to do some debugging and collect audit trail in case there is a production issue by disabling inMemoryOptimization parameter. This is a live production environment and deploying whenever we want is not even an option for us, unfortunately. Why not debug by increasing log level. Diagnostic logs are the best option to debug an issue even in production. For getting audit trail you may re-produce the issue in lower environments. I think no organization will allow re-deployments just for debugging some issue in production until and unless it is too critical issue to handle.
    Does this not supported in 11g? if it isn't, it does seem like a bug to me. You may always go ahead and raise a case with support.
    Regards,
    Anuj

  • SOA 11g suite configuration issues

    I'm trying to setup SOA Suite 11g TP4 within JDeveloper 11g in my Windows machine. I was following the instructions given at <<http://www.oracle.com/technology/products/ias/bpel/techpreview/soa11g_installation_tp4.pdf>>.
    I have created the SOA db schema and the environment variables as needed. I'm using Oracle XE database. The SOA configuration runs fine for a while after which it starts throwing the following errors and finally ends with "Configuration of SOA Infrastructure FAILED". The startsoa.log has the following errors -
    application : sdpmessagingserver is in failed state
    SEVERE: Application.setConfig Application: sdpmessagingserver is in failed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: compilation error occurred
    Caused by: com.evermind.compiler.CompilationException: compilation error occurred
    Can someone please help me with this ?

    Well .. use deploy from projects to deploy the SOA Composite only(SAR file) ..i case u wanna deploy MAR(mds) files or Web projects related to an Application like HumanTask Applications in 11.1.1.0 we use it from deployment .. i guess u can deploy multiple composites by creating a bundle too from Application deployment ..

  • SOA -11g - purgeMetadata PL/SQL Procedure

    Hi,
    In SOA 11g there is a PL/SQL procedure mds_internal_shredded.purgeMetadata which is being executed daily under the user id SOA_MDS. We were not able to find where its being scheduled. Any idea on this?
    Thanks,
    Jp

    --create or replace type int_array as varray(10000) of integer;
    create or replace package orabpel as
    --Fabric component states
    STATE_RUNNING constant integer := 0;
    STATE_RECOVERY_REQUIRED constant integer := 1;
    STATE_COMPLETED_SUCCESSFULLY constant integer := 2;
    STATE_FAULTED constant integer := 3;
    STATE_TERMINATED_BY_USER constant integer := 4;
    STATE_SUSPENDED constant integer := 5;
    STATE_STALE constant integer := 6;
    --BPEL component instance state
    BPEL_STATE_OPEN_RUNNING constant integer := 1;
    BPEL_STATE_OPEN_FAULTED constant integer := 3;
    BPEL_STATE_CLOSED_COMPLETED constant integer := 5;
    BPEL_STATE_CLOSED_FAULTED constant integer := 6;
    BPEL_STATE_CLOSED_ABORTED constant integer := 8;
    BPEL_STATE_OPEN_SUSPENDED constant integer := 2;
    BPEL_STATE_CLOSED_STALE constant integer := 9;
    procedure delete_component_instances(compositeInstanceId in integer);
    procedure delete_component_instances(idTable in varchar2, purgePartitionedData in boolean default true);
    procedure delete_component_instances(compositeDN in varchar2);
    procedure delete_orphaned_instances(compositeDN in varchar2,
    componentNormalizedState in integer,
    componentMinCreationDate in timestamp,
    componentMaxCreationDate in timestamp,
    maxInstances in integer,
                   purgePartitionedData in boolean default true);
    function convert_fabric_to_bpel_state(normalizedState in integer) return integer;
    end orabpel;
    create or replace package body orabpel as
    * Procedure delete_document
    * Delete xml_document and xml_document_ref referenced by document_ci_ref
    procedure delete_document1( ci_key in integer) as
    cursor id_cursor is
    select document_id
    from document_ci_ref where cikey = ci_key;
    begin
    for r_cikeys_cursor in id_cursor
    loop
    delete from xml_document where document_id = r_cikeys_cursor.document_id;
    delete from xml_document_ref where document_id = r_cikeys_cursor.document_id;
    end loop;
    end delete_document1;
    * Procedure delete_document2
    * Delete xml_document and xml_document_ref referenced by document_dlv_msg_ref
    procedure delete_document2(ci_key in integer) as
    cursor cikeys_cursor is
    select document_id from document_dlv_msg_ref
    where message_guid in
    (select m.message_guid from dlv_message m, dlv_subscription s
    where m.res_subscriber = s.subscriber_id and s.cikey = ci_key);
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
    delete from xml_document where document_id = r_cikeys_cursor.document_id;
    delete from xml_document_ref where document_id = r_cikeys_cursor.document_id;
    end loop;
    end delete_document2;
         * procedure delete_child_tables
         * Delete all other bpel tables that reference the cube instance
         procedure delete_child_tables( ci_key in integer) as
         begin
              delete from cube_scope where cikey = ci_key;
              delete from ci_indexes where cikey = ci_key;
              delete from work_item where cikey = ci_key;
              delete from wi_fault where cikey = ci_key;
    delete_document1(ci_key);
    delete_document2(ci_key);
              delete from document_dlv_msg_ref where message_guid in
              (select m.message_guid from dlv_message m, dlv_subscription s
         where m.res_subscriber = s.subscriber_id and s.cikey = ci_key);
              delete from audit_trail where cikey = ci_key;
              delete from audit_details where cikey = ci_key;
              delete from test_details where cikey = ci_key;
              delete from document_ci_ref where cikey = ci_key;
              delete from ag_instance where cikey = ci_key;
              delete from headers_properties where message_guid in
         (select m.message_guid from dlv_message m where m.cikey = ci_key);
    delete from dlv_message where res_subscriber
    in (select s.subscriber_id from dlv_subscription s where s.cikey = ci_key);
              delete from dlv_subscription where cikey = ci_key;
         end delete_child_tables;
    * procedure delete_component_instances
    * Deletes all cube instance with given composite instance id as well as
    * all other bpel tables that reference the cube instance.
    procedure delete_component_instances(compositeInstanceId in integer) as
    cursor cikeys_cursor is select cikey from cube_instance where
    cmpst_id = compositeInstanceId;
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
              delete_child_tables(r_cikeys_cursor.cikey);
    end loop;
    delete from cube_instance where cmpst_id = compositeInstanceId;
    end delete_component_instances;
    * procedure delete_component_instances
    * Deletes all cube instance with given composite instance ids as well as
    * all other bpel tables that reference the cube instance.
    procedure delete_component_instances(idTable in varchar2, purgePartitionedData in boolean default true) as
    id_cursor sys_refcursor;
    instance_id integer;
    begin
         open id_cursor for 'select id from '|| idTable;
         loop
         fetch id_cursor into instance_id;
    exit when id_cursor%notfound;
    delete_component_instances(instance_id);
    end loop;
    close id_cursor;
    end delete_component_instances;
    * procedure delete_component_instances
    * Deletes all cube instance with given composite DN as well as
    * all other bpel tables that reference the cube instance.
    procedure delete_component_instances(compositeDN in varchar2) as
         cursor cikeys_cursor is select cikey
         from cube_instance
         where domain_name || '/' || composite_name || '!' ||
         composite_revision || '*' || composite_label = compositeDN;
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
         delete_component_instances(r_cikeys_cursor.cikey);
    end loop;
    end delete_component_instances;
    * procedure delete_orphaned_instances
    * Deletes all cube instance and related tables based on the given criteria.
    procedure delete_orphaned_instances(compositeDN in varchar2,
    componentNormalizedState in integer,
    componentMinCreationDate in timestamp,
    componentMaxCreationDate in timestamp,
    maxInstances in integer,
    purgePartitionedData in boolean default true) as
    bpelState integer := convert_fabric_to_bpel_state(componentNormalizedState);
         likeString varchar2(400) := compositeDN||'%';
    cursor cikeys_cursor is select cikey
    from cube_instance
    where cmpst_id is null
    and (domain_name || '/' || composite_name || '!' || composite_revision || '*' || composite_label) like likeString
    and state = bpelState
    and creation_date between componentMinCreationDate and componentMaxCreationDate
    and rownum <= maxInstances;
    begin
    for r_cikeys_cursor in cikeys_cursor
    loop
         delete_child_tables(r_cikeys_cursor.cikey);
    delete from cube_instance where cikey=r_cikeys_cursor.cikey;
    end loop;
    end delete_orphaned_instances;
         * Function convert_fabric_to_bpel_state
         * Maps specified component normalized state to the corresponding BPEL state(s)
    function convert_fabric_to_bpel_state(normalizedState in integer)
    return integer
    is
    states integer := BPEL_STATE_CLOSED_COMPLETED;
    begin
    if ( normalizedState = STATE_RUNNING) then
    states := BPEL_STATE_OPEN_RUNNING;
    elsif ( normalizedState = STATE_RECOVERY_REQUIRED) then
    states := BPEL_STATE_OPEN_FAULTED;
    elsif ( normalizedState = STATE_COMPLETED_SUCCESSFULLY) then
    states := BPEL_STATE_CLOSED_COMPLETED;
    elsif ( normalizedState = STATE_FAULTED) then
    states := BPEL_STATE_CLOSED_FAULTED;
    elsif ( normalizedState = STATE_TERMINATED_BY_USER) then
    states := BPEL_STATE_CLOSED_ABORTED;
    elsif ( normalizedState = STATE_SUSPENDED) then
    states := BPEL_STATE_OPEN_SUSPENDED;
    elsif ( normalizedState = STATE_STALE) then
    states := BPEL_STATE_CLOSED_STALE;
    end if;
    return states;
    end convert_fabric_to_bpel_state;
    end orabpel;
    REM show errors;

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

Maybe you are looking for