BPEL many composite unique

Hello

Recently I came across one of the implementation of the 11g SOA where many bpel (~ 10-15) are integrated into a composite. I didn't see these implementations earlier and if you're wondering if it's a good practice to include a large number of unique bpel process in a composite number? Fact that heavy composite makes and degrade performance?

The composite is so cluttered and disorganized that it resembles a printed circuit board. I think that this reduces the readability of the composite and has high maintenance effort as it makes troubleshooting and debugging difficult. Not sure if that has no effect on the performance of the composite.

But I am unable to find a recommendation made by Oracle on it or I have not quite? Any suggestion/recommendation? It would be really great if you could support your answer with a document/article.

Kind regards

Viv

Hi Viv,

the question is similar to I'll put all my code for a Java application in a single class or not?

Working as part of the SOA, when you implement your services (composite applications), you must follow the basic rules and characteristics for what a service is - https://en.wikipedia.org/wiki/Service-orientation_design_principles.

Most important are: loose coupling, reuse and autonomy. Of course, they all argue for the opposite of everything in a single composite application.

Thing that can help you prove that it's more a bad practice is the so-called analysis of terms of service that must be performed during a phase of service design. It is part of the method unified Oracle and useful to have a look at this - Overview of SOA Service limit analysis Technique.

And finally and most importantly - your composite complex has complex logic. Very probably set up by a small team. When new developments are necessary and they will be done by a different team (as the original) and then it will be over kill on delivery of the entire application instead of 1 or 2 services subject to change.

HTH,

A.

Tags: Fusion Middleware

Similar Questions

  • I bought the app composition unique creative cloud for acrobat.  When I log into my account it does not show that I bought.  How can I get the download to work without buying again.  I have a receipt for my purchase.

    I bought the app composition unique creative cloud for acrobat.  When I log into my account it does not show that I bought.  How can I download this product without buying it again.  I received my purchase.

    Hello

    Please check the help below document:

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Kind regards

    Sheena

  • composite unique constraint on the values of parent and child?

    Is it possible to have a composite unique constraint that contains the values of the child elements? The example below has the "child" elements are offline, but it's preferred, but optional, I know that you can have a unique constraint in the set of tables without using a reference table that contains the constraint and the two columns. How xdb manages this requirement?

    permit:
    <parent ID="1">
       <child><name>test1</name></child>
       <child><name>test2</name></child>
    </parent>
    <parent ID="2">
       <child><name>test1</name></child>
       <child><name>test2</name></child>
    </parent>
    not allowed:
    <parent ID="1">
       <child><name>test1</name></child>
       <child><name>test1</name></child>
    </parent>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
               xmlns:xdb="http://xmlns.oracle.com/xdb"
               xdb:storeVarrayAsTable="true"
               elementFormDefault="qualified">
        
        <xs:element name="parent" type="Parent_T"
            xdb:columnProps="CONSTRAINT parent_pkey PRIMARY KEY (XMLDATA.ID)"
            xdb:defaultTable="PARENT"/>
    
        <xs:complexType name="Parent_T" xdb:SQLType="PARENT_T" xdb:maintainDOM="false">
            <xs:sequence>
                <xs:element name="child" type="Child_T" minOccurs="1" maxOccurs="unbounded" xdb:SQLName="CHILD"
                          xdb:SQLInline="false" xdb:defaultTable="CHILD" "/>
            </xs:sequence>
            <xs:attribute name="ID" xdb:SQLName="ID" use="required" />
        </xs:complexType>
        
        <xs:complexType name="Child_T" xdb:SQLType="CHILD_T">
           <xs:sequence>
             <xs:element name="name" type="xs:string" xdb:SQLName="NAME"/>
           </xs:sequence>
         </xs:complexType>     
    </xs:schema>
    xdb:columnProps = "CONSTRAINT parent_pkey PRIMARY KEY (XMLDATA.ID), * UNIQUE (XMLDATA.» "Child.Name) *" triggers the non-existent attribute


    A possible solution would be to copy the value of the primary key parent of the child element, then I could create a composite unique constraint using only the values of the child. However, I have this same requirement elsewhere in my lowest nested schema, and it can become messy / bad design with cascading of all primary keys on the schema. For example, I have a recursive element in which two attributes must be unique only within the parent company:
    <parent id="1">
       <child a="1" b="1">
          <child a="1" b="2">
             <child a="1" b="1" /> *not allowed
          </child>
       </child>
       <child a="1" b="2" /> *not allowed
    </parent>
    Possible solution:
    <child a="1" b="2" parent_id="1" />
    <xs:complexType name="Child_T>
       <xs:sequence>
          <xs:element name="child" xsd:SQLInline="false" xsd:columnProps="UNIQUE(XMLDATA.a,XMLDATA.b,XMLDATA.parent_id)" minOccurs="0" maxOccurs="unbounded" type="Child_T">
       </xs:sequence>
       </xs:element
    </xs:complexType>
    Is there a better design?

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi 
    PL/SQL Release 10.2.0.4.0 - Production                           
    CORE     10.2.0.4.0     Production                                       
    TNS for Linux: Version 10.2.0.4.0 - Production                   
    NLSRTL Version 10.2.0.4.0 - Production 

    You can do something like this:

    SQL> DECLARE
      2
      3    xsd_doc xmltype := xmltype('
      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          
     31        
     32      
     33    
     34  ');
     35
     36  BEGIN
     37
     38    dbms_xmlschema.registerSchema(
     39      schemaURL => 'test_parent.xsd',
     40      schemaDoc => xsd_doc,
     41      local => true,
     42      genTypes => true,
     43      genbean => false,
     44      genTables => false,
     45      enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE
     46    );
     47
     48  END;
     49  /
    
    PL/SQL procedure successfully completed
    
    SQL> CREATE TABLE my_xml_table OF XMLTYPE
      2  XMLTYPE STORE AS OBJECT RELATIONAL
      3  XMLSCHEMA "test_parent.xsd"
      4  ELEMENT "root"
      5  VARRAY xmldata."parent" STORE AS TABLE my_parent_tab
      6  (
      7    VARRAY "child" STORE AS TABLE my_child_tab
      8  )
      9  ;
    
    Table created
    
    SQL> ALTER TABLE my_parent_tab ADD CONSTRAINT parent_uk UNIQUE (nested_table_id, "ID");
    
    Table altered
    
    SQL> ALTER TABLE my_child_tab ADD CONSTRAINT child_uk UNIQUE (nested_table_id, "name");
    
    Table altered
     
    

    Then:

    SQL> insert into my_xml_table values (
      2  xmltype('
      3     test1
      4     test2
      5  
      6  
      7     test1
      8     test2
      9  ')
     10  );
    insert into my_xml_table values (
    *
    ERREUR à la ligne 1 :
    ORA-00001: violation de contrainte unique (DEV.PARENT_UK)
    
    SQL> insert into my_xml_table values (
      2  xmltype('
      3     test1
      4     test1
      5  
      6  
      7     test1
      8     test2
      9  ')
     10  );
    insert into my_xml_table values (
    *
    ERREUR à la ligne 1 :
    ORA-00001: violation de contrainte unique (DEV.CHILD_UK)
    
    SQL> insert into my_xml_table values (
      2  xmltype('
      3     test1
      4     test2
      5  
      6  
      7     test1
      8     test2
      9  ')
     10  );
    
    1 ligne créée.
    

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14259/xdb06stt.htm#sthref987

  • migration of multiple projects of bpel 10g composite single 11g.

    Hi all
    I'm about to migrate our projects of 10 GB BPEL to 11 g.
    I found that on 10g, we have several folders (around 15) for every BPEL process.
    each folder has its own .jpr file build.xml, his build properties file, subfolder containing BPEL *. The BPEL, *.wsdl *.xsd files file.

    I understand that on 11g a unique composite.xml is necessary.

    Could if it you please let me know if my interpretation below is correct about the migration process?

    1. each project must be migrated separately by opening the *.jpr on Jdeveloper and go through the migration wizard.
    2. assuming that all errors in step above are fixed, combine multiple projects in a composite only scripted ant as follows.
    Ant f ORACLE_HOME/bin/ant-sca-upgrade.xml
    -Dsource 'sourceDir1:sourceDir2 '.
    TargetDir - Dtarget
    App_name - DappName
    This will create a FILE of SAR.

    3 compile the app_name. SAR file using Ant-FCC - compiles .xml
    4 deploy the SAR using the Ant-sca - deploy.xml or weblogic console > transfers > install.

    Thank you

    1. each project must be migrated separately by opening the *.jpr on Jdeveloper and go through the migration wizard.

    Yes

    2. get files from compilation of 11G_Jdeveloper_Root\jdeveloper\bin

    Yes

    3. composite of soa using the package ant - sca - package.xml, this will create the file sar

    Yes, you can also create a file of sar with jdeveloper

    4. use ant - sca - deploy.xml to deploy the file on the server OR weblogic console sar > deployments > install.

    not from the weblogic console, it should be the em console.

    in step 3, when we package composite SOA, can we package several processes in a SAR or I need to create 15 different SARS?

    Deploy all the different process like 15 SARS.

    If multiple SAR is created in step 4, should I deploy them in a particular order?

    There is a process that depends on other processes to follow the order i.e. deploy first the charging process.

    Otherwise just deployed in any order

  • How to delete records from a table that has a composite unique key duplicate

    Hello
    I get the customer data from various sources in the staging of the table where I insert in the database table where the combination of two columns is considered as a unique key. But there is a possibility of duplicates. How to find duplicates in a SQL or pl/sql

    Thank you
    Manoi.

    Kassa,

    You can see the duplicates by using the following query...

    sql> select * from temp_rajesh;
    
          COL1       COL2 MESSAGE
    ---------- ---------- ------------------
           100        200 message
           100        200 message2
           300        400 message3
           400        500 message 4
    
    sql> select col1, col2, count(*)
      2     from temp_rajesh
      3       group by col1, col2
      4         having count(*) > 1;
    
          COL1       COL2   COUNT(*)
    ---------- ---------- ----------
           100        200          2
    

    -If in the case of duplicate records, you should see only the duplicates (according to some timestamp etc., you can use the functinon row_number analytic..)

      1  select col1, col2 from (
      2  select col1, col2,
      3         row_number() over (partition by col1, col2
      4                            order by message) rn
      5    from temp_rajesh)
      6*   where rn > 1
    sql> /
    
          COL1       COL2
    ---------- ----------
           100        200
    

    In the above example, I use message to order, you can replace it with activity_timestamp or the insertd_date according to your logic... when there are two records... one that you choose to duplicate.

    Thank you
    Rajesh.

    Published by: Rajesh Chamarthi on November 20, 2009 12:05 AM (added for example)

  • Composite simple SOA with BPEL does not

    I selected composite with BPEL. Used to Invoke file adapter activity-.

    In Composite.xml, I don't see any wires between the component and the file adapter. When I deploy error: entry reference file AdapterBPEL reading process does not exist as the target of wire
    And in composite.xml if I drag a component to the file adapter wire, a new (file adapter) is added to the BPEL process.

    Thank you

    Published by: user13374451 on July 23, 2010 11:01

    Published by: user13374451 on July 23, 2010 19:14

    Published by: user13374451 on July 23, 2010 22:32

    Published by: user13374451 on July 23, 2010 22:33

    Published by: user13374451 on July 24, 2010 12:09

    Hello
    The same problem to solve, when it gives the compile error, saying "there is no wire", you drag the file adapter cable to the bpel process.
    This error comes when we use the service (in your case file adapter) as a partnerlink in the BPEL, but do not connect the service and bpel manually composite.

    Usually when you create a service reference / in composite.xml, you must connect it to the BPEL and this would automatically create a reference in the bpel and this error can be avoided

  • DBAdapter retains the unique causing value sequence force error

    Hi gurus BPEL.

    I am facing a problem in EBS integration of the invoice of the OTM.
    AP invoice header is inserted, the AP invoice lines does not get inserted due to the below error in BPEL. Import of payment fails, as there are no invoice lines.


    Anomaly of the non-recoverable system:
    Exception occurred when the link was invoked. Exception occurred during invocation of the JCA binding: "JCA binding run reference"insert"operations have to: DBWriteInteractionSpec Execute Failed Exception." insertion failed. The descriptor name: [APInvoice.ApInvoicesInterface]. Caused by java.sql.BatchUpdateException: ORA-00001: unique constraint (AP. AP_INVOICE_LINES_INTERFACE_U1) violated. Check the logs for the record output full DBAdapter before this exception. This exception is considered non reproducible, probably due to an error of modeling. To be classified as reproducible rather add property nonRetriableErrorCodes with the value "-1" for the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please review the error message above carefully to determine a resolution.


    SOA DB Connections seem to retain the sequence used in the cache and assign the same when the Bill for the line is inserted. This causes the Unique constraint error when inserting the table of AP invoice lines in EBS.

    I call the standard APInvoices.wsdl to make the insertion AP_INVOICE_LINES_INTERFACE. I noticed that in the file APInvoice - or - mappings.xml contains the following code
    > the sequence name < AP_INVOICE_LINES_INTERFACE_S < / sequence-name >
    < table sequence-field = "AP_INVOICE_LINES_INTERFACE" name = "INVOICE_LINE_ID" / >
    < / sequencing >
    < cache >
    weak-reference < cache-type > < / type of cache >
    <-cache size >-1 < / cache size >
    true < always refresh > - < / always refresh >
    < / cache >
    < remote caching >
    weak-reference < cache-type > < / type of cache >
    <-cache size >-1 < / cache size >
    < / remote caching >

    Is their anything I can change something in the BPEL process to refresh the cache of the sequence all the time.

    Alternative, I think now is below.
    1. check with customer if they can do the sequence AP_INVOICE_LINES_INTERFACE_S as NOCACHE.
    2. pull the invoice line via pl/sql adapter and complete the invoice line. But in this case, I'm not sure if Web APInvoice service code will try to update with the generated BPEL sequence.

    Any direction on this issue will be of great help.

    Thank you
    Shobz

    Hi Anushal,
    Thanks for the reply.

    Hi all
    The problem has been resolved with the creation of this «sequencePreallocationSize» DBAdpater
    As this property is set to 50 DB adapter's default, it did not fit with the INCREMENT BY the AP_INVOICE_LINES_INTERFACE_S sequence that has been set to 1.

    What happens in the adaptor DB is, when the first record is created, it takes the nextval in the sequence (assume it is 20), however it uses then his own sequence internal for the next 50 files by reference to the value set in this property (by creating records with primary keys from 20 to 70) and only when this internal sequence is exhausted it will return to the sequence of database.
    Meanwhile, any other inovoice created AP would recover DB, which could be his word to say value 21, in conflict with the inserted by BPEL, throw a unique constraint.

    Setting this property to 1 or corresponding increment sequence solved the problem.

    Thank you
    Shobz

  • Reg: SOA Composite Server deployment...

    Guys,

    Is it possible to deploy a single component of a single compound...

    I have a composite... that contains... Adapters of rules, Workflows, mediator, BPEL, Busines... Initially, I have already deployed together as a composite unique on the server...

    say, I changed a Mediator code... It is now possible to deploy only the only mediator in the composite in the same server...

    If possible, please suggest that all the components, it would be good.

    Kind regards
    Jean-Christophe E.V

    Published by: Naga Sep 5, 2010 12:13 AM

    Well Yes... the port on which your soa infrastructure is in place...

  • Not able to deploy a BPEL process with rules

    Hi all

    I created a very simple BPEL process and defined a business composite rule, I call my BPEL processes.
    However, I am not able to deploy the project completely successfully.

    I use JDEV 11 g to build/deploy my projects on a SOA_Suite_11g. Notice that I can deploy a project with success if she has no business rule.

    That's what I see in the tab "Journal of deployment:

    [13: 49:17] deployment of profile...
    [13: 49:17] wrote the SAR file to /Users/satinder/jdeveloper/mywork/ChapterTwo/FLThree/deploy/sca_FLThree_rev1.0.jar
    [13: 49:17] deployment of sca_FLThree_rev1.0.jar to soa_server1 [redunca.pvo.groundhog.com.au:8001]
    [13: 49:17] sar=/Users/satinder/jdeveloper/mywork/ChapterTwo/FLThree/deploy/sca_FLThree_rev1.0.jar treatment
    [13: 49:17] adding file sar - /Users/satinder/jdeveloper/mywork/ChapterTwo/FLThree/deploy/sca_FLThree_rev1.0.jar
    [13: 49:17] preparing to send the HTTP request for the deployment
    [13: 49:17] Creation of HTTP connect to host:redunca.pvo.groundhog.com.au, port: 8001
    [13: 49:17] sending internal deployment descriptor
    [13: 49:17] send (archive) - sca_FLThree_rev1.0.jar
    [13: 49:19] Server, the response code = 500 HTTP response was received
    [13: 49:19] error in deployment of archives sca_FLThree_rev1.0.jar to soa_server1 [redunca.pvo.groundhog.com.au:8001]
    [13: 49:19] HTTP error Code returned [500]
    [13: 49:19] Error Message from the server:
    The composite deployment error: oracle.fabric.common.FabricDeploymentException: oracle.fabric.common.FabricException: error occurred during deployment of the component: FLI to service engine: implementation.bpel, for composites: FLThree: ORABPEL-01010

    Build process failed.
    failed to generate the BPEL process file '
    Could not create file named BPEL process. The reported exception was '/apps/oracle/ofm_11g/user_projects/domains/soa_dev_domain/deployed-composites/FLThree_rev1.0/sca_FLThree_rev1.0/198abebc-19d9-4df6-a712-2122b0b9730a/SCA-INF/FLI.lock (too many open files).
    Make sure that the file "" is a valid file to be generated.
    : Error occurred during deployment of the component: FLI to service engine: implementation.bpel, for composites: FLThree: ORABPEL-01010

    Build process failed.
    failed to generate the BPEL process file '
    Could not create file named BPEL process. The reported exception was '/apps/oracle/ofm_11g/user_projects/domains/soa_dev_domain/deployed-composites/FLThree_rev1.0/sca_FLThree_rev1.0/198abebc-19d9-4df6-a712-2122b0b9730a/SCA-INF/FLI.lock (too many open files).
    Make sure that the file "" is a valid file to be generated.
    .
    [13: 49:19] check the log of the server for more details.
    [13: 49:19] # incomplete deployment. ####
    [13: 49:19] error deployment archive file:/Users/satinder/jdeveloper/mywork/ChapterTwo/FLThree/deploy/sca_FLThree_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)


    Any ideas...
    Thank you

    Only, we have solved the problem!

    In the script start for WLS, the open files limit that was set in the operating system for the oracle user has been replaced with a value of 1024!
    Commenting on this line in the script (so that the operating system settings should work), resultet a mistake at the start of the WLS.

    Now, we put the 'ulimit' to '65536' in the script '... / wlserver_10.3/common/bin/commEnv.sh ' (search for "ulimit") and everything works fine!

  • Error in BPEL 2.0 ORABPEL-05215

    Hi all

    I'm developing a simple BPEL process with JDev 12.1.3.0.0 and when compiling, I don't have any errors. When you deploy I ORABPEL-05215 error. The error description does not say much.

    I search for other posts with this error and it is not a clear solution, it seems. I have checked the version of the suite soa and is the same that jdev (12.1.3) - I use Oracle pre-built VM for oracle soa suite 12 c (with oracle linux).

    Details of the journal are:

    [ERROR] Cannot run com.oracle.soa.plugin:oracle goal-soa - plugin:12.1.3 - 0-0: deploy (deploy by default) on the ProcessSelect project: - > response code = 500, error: there was a deployment of the composite on AdminServer error: deployment failed: error occurred during deployment of the component: ProcessSelect to service engine: implementation.bpel, for composites: ProcessSelect: ORABPEL-05215

    [ERROR]

    [ERROR] Error loading process.

    [ERROR] The field of process meets the following errors when loading the process "ProcessSelect" (composite "default/ProcessSelect!1.0-SNAPSHOT*soa_3053171e-2300-4d0c-845b-a4f47d3bb117"): Validation of BPEL2.0 process failed...

    [ERROR] This error was an exception thrown by the underlying process charger module.

    [ERROR] Check the trace for the exception in the log (the connection value level debug mode). If there is a patch installed on the server, verify that the ownership of the bpelcClasspath domain includes the classes of patch.

    [ERROR].

    [ERROR]-> [help 1]

    [ERROR]

    [ERROR] To see the full error stack trace, re - run Maven with the switch - e.

    [ERROR] Re-run Maven using the X switch to enable logging of full debugging.

    [ERROR]

    [ERROR] For more information about errors and possible solutions, please read the following articles:

    [ERROR] [help 1] http://cwiki.Apache.org/Confluence/display/Maven/MojoExecutionException

    Process has finished with exit code 1.

    Thanks for your help!

    Concerning

    Hello Krishna,

    I tried to deploy it on JDev Integrated server, but the error continued. I inscreased the logging of finest oracle.adf.share.ADFContext have more details about the deployment he self.

    AFTE searcing the deployment log, I found that the deployment was looking for the patterns on the MDS and could not find. I'm not using MDS directly, but I'm making reference to a diagram of another project within the same application. This is probably why the mds has been used for. I moved this scheme for the same project and the deployment worked without problems. I'm going to deploy on the other weblogic server to ensure that everything is ok.

    Again, thank you very much for your help!

    Kind regards

    Antonio

  • BPEL 1.1 and 2.0 in SOA 12 c.

    Hi all

    I'm a bit new to SOA, and last weeks I try to follow the tutorials of the manual book of SOA to Oracle 11 g (from Lucas Jellema).

    I use Oracle SOA 12 g and the tutorial book is designed for 11g, I found now several minor differences in screens that I was able to overcome.

    Now I am with Chapter 6 (correlation and other things).

    I noticed that I use BPEL 2.0 because it appears when you are working with bpel designer and when you import the project the solution provided by the book, the shown BPEL is 1.1.

    I also noticed that the scope in version 1.1 of BPEL can add 'message' and this option is not available in BPEL 2.0.

    I don't understand why this option is not available.

    My questions are, how and where is defined the BPEL 1.1 or 2.0 version used in the project and how can I have available the ' message on "for the scope in my project.

    Thank you.

    Juanje

    Juanje

    When you a drag and drop a component bpel in composite.xml, you have the option to select the version 1.1 or 2.0.

    In BPEL 2.0, you can use "OnEvent" of bezel to receive messages from sponsors & log commercial links.

  • After effects 13.7.0.124 hangs when I try to make some compositions

    Hey Adobe Community! I need help.

    I am running After Effects 13.7.0.124 on my Mac El Capitan 10.11.3. I was able to render compositions quite well in the past, until the last two days. I don't know what changed, but there are some compositions when I hit record it gives me the spinning wheel of death and others who seem to make it ok. My guess is that something is wrong with some compositions, but I am confused that I was able to make them in the past, and I see no difference between those who fail and those who work. All the world running in this and any ideas for how to resolve or create workarounds? (I couldn't even copy and paste the data from the failing compositions in nine because this does not work too). Thank you very much!

    AHHH! I found it!

    So the answer to my other concern is Yes. You can have too many compositions. I had to get out of the parts that were deeply nested composition and pull them up. For example, if I had 'A Comp' in a larger "Comp B", I used sections of Comp B and then continuation and upward. So finally, there was a 'Comp P' where I really only necessary as a part of 'A Comp', but since I had compiled them all together like that earlier, EI had to dig deep to get the parts. So, as usual, it was my fault!

    I am SO relieved to find the answer to this. The project concerns an iOS design front end of an application give meal plans custom personalized people according to their diet and recipes using what they have.

    So in summary, nests too in AE. Take 2 minutes to get the right composition instead of the more rapid capture. That would have saved me 3 days of confusion.

  • Error during the deployment of Composite using BPEL2.0

    Getting error while deploying the server when I use the Java Embedded below.

    Included in the jar file of the class of AssetMetadataMessage under "Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1" and checked "Manifest.MF" file too

    The same code with slight modifications associated with BPEL1.1 works well Pls shed some light.

    BPEL

    " < import importType = ' http://schemas.Oracle.com/BPEL/extension/Java "location="java.rmi.RemoteException"/ > "

    " < import importType = ' http://schemas.Oracle.com/BPEL/extension/Java "location="java.rmi.ServerException"/ > "

    " < import importType = ' http://schemas.Oracle.com/BPEL/extension/Java "location="java.util.Properties"/ > "

    " < import importType = ' http://schemas.Oracle.com/BPEL/extension/Java "location="javax.naming.Context"/ > "

    " < import importType = ' http://schemas.Oracle.com/BPEL/extension/Java "location="javax.naming.InitialContext"/ > "

    " < import importType = ' http://schemas.Oracle.com/BPEL/extension/Java "location="javax.naming.NamingException"/ > "

    < extensionActivity >

    < bpelx:exec name = "Java_Embedding1" language = "java" >

    <! [CDATA [/ * write your java code below for example]]

    System.out.println ("Hello, World");

    */

    try {}

    Properties props = new Properties ();

    String url = "rmi://xx.23.60.233";

    String port = '9555 ';

    Server String = "XXServer";

    props.setProperty (Context.INITIAL_CONTEXT_FACTORY,

    "com.sun.jndi.rmi.registry.RegistryContextFactory");

    props.setProperty (Context.PROVIDER_URL, url + ":" + port);

    InitialContext context = new InitialContext (props);

    XXInterface c = (XXInterface) context.lookup (server);

    ADI of string;

    Province of string;

    ProvID chain;

    Boolean provIS.

    String folderName;

    Boolean condition;

    ADI = (String) getVariableData ("ADIString");

    Prov = (String) getVariableData ("Provider");

    provID = (String) getVariableData ("ProviderID");

    provIS = (boolean) getVariableData ("ProviderIs");

    folderName = (String) getVariableData ("OriginalFolderName");

    ASM AssetMetadataMessage = new AssetMetadataMessage();

    asm.setMetadata (adi);

    asm.setProvider (Prov.);

    asm.setProviderID (provID);

    asm.setAdult (isAdult);

    asm.setSourceOriginalFolderName (folderName);

    Status = (Boolean) c.contentMetadataImport (ASM);

    setVariableData ("RMIStatus", status);

    } catch (ServerException is) {}

    TODO: Add catch code

    se.printStackTrace ();

    } catch (RemoteException re) {}

    TODO: Add catch code

    re.printStackTrace ();

    } catch (NamingException don't) {}

    TODO: Add catch code

    ne.printStackTrace ();

    }] >

    < / bpelx:exec >

    < / extensionActivity >

    Error:

    [17: 02:50] HTTP error code returned [500]

    [17: 02:50] Error Message from the server:

    There was a deployment of the composite on soa_server2 error: operation failed - Member(Id=2,_Timestamp=2014-03-21_15:31:37.059,_Address=XX.26.75.8:8090,_MachineId=8295,_Location=site:,machine:XX01,process:26746,_Role=WeblogicServer):Error occurred during the deployment of the component: XX_Adaptor to service engine: implementation.bpel, for composites: XX_Adaptor: ORABPEL-05250

    Suitcase BPEL deployment by mistake.

    Problem solved.

    The question is when we use to get getVariableData, this returns the type of java.lang.object in java, and when we attribute to boolean directly it gave error. So used to rectify below code

    Fix a

    Boolean ProvIs = Boolean.valueOf ((getVariableData ("ProviderIs")) m:System.NET.SocketAddress.ToString ());

    A bad

    Boolean ProvIs is getVariableData ("ProviderIs");.

  • Retrieve values with a unique constraint

    All,

    It may be a stupid request and I think too speak of it. But, for some reason, I am unable to write a query to accomplish my task.

    I have the T table with some columns and the columns c1, c2, c3 are part of a composite unique constraint. Now I'm updating the value c3 from 52 to 51. But, when I do an update like:

    Update T set c3 = 51 where c3 = 52;

    I get a Unique constraint violation error.

    So, I need to know what are the values of repetition that might be causing this?

    Thanks in advance guys.

    34a22dde-3108-4F05-BE72-eb1043d28314 wrote:

    All,

    It may be a stupid request and I think too speak of it. But, for some reason, I am unable to write a query to accomplish my task.

    I have the T table with some columns and the columns c1, c2, c3 are part of a composite unique constraint. Now I'm updating the value c3 from 52 to 51. But, when I do an update like:

    Update T set c3 = 51 where c3 = 52;

    I get a Unique constraint violation error.

    So, I need to know what are the values of repetition that might be causing this?

    Thanks in advance guys.

    An inelegant way...

    select *
    from your_table tab1
    where (tab1.c1,tab1.c2) in
    (
    select tab2.c1, tab2.c2
    from your_table tab2
    where tab2.c3 = 52
    )
    where tab1.c3 = 51;
    
  • Unique constraint

    I created a Composite Unique constrait on a table on these 3 columns below

    IRC_CDE IRC_VAL IRC_DTE
    101/5555 2/2/2011
    101/4444 5/2/2011


    When I update IRC_VAL = WHERE IRC_VAL = 5555 4444 I get unique constraint violation, why?


    ALTER TABLE TESTTAB ADD A UNIQUE UK_IRC ON (IRC_CDE, IRC_VAL, IRC_DTE) CONSTRAINT


    Please correct me if I'm wrong. I want the update to be successful, because the irc_dte is different which can make the whole of the single file.

    Assuming that you did what you say, it's a scorned different unique constraint:

    SQL> create table testtab (irc_cde number, irc_val number, irc_dte date);
    
    Table created.
    
    SQL> alter table testtab add constraint uk_irc unique (irc_cde, irc_val, irc_dte);
    
    Table altered.
    
    SQL> insert into testtab values (101, 5555, to_date('2/2/2011', 'dd/mm/yyyy'));
    
    1 row created.
    
    SQL> insert into testtab values (101, 4444 , to_date('5/2/2011', 'dd/mm/yyyy'));
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> update testtab
      2  set irc_val = 5555
      3  where irc_val = 4444;
    
    1 row updated.
    

    John

Maybe you are looking for

  • Satellite Pro L300D - 11N WLan disconnect and reconnect after 20 sec later

    I just bought this laptop and every now and then it isolates from my internet then reconnects about 20 seconds later.Someone knows how to fix this? If this is a case of update anything as pilots.Could someone please give a link where I download them?

  • Transfer Mobile Xperia with windows phone (app crashes) issues

    Hello Just move a Windows phone (nokia 1020) at a Xperia Z5.Try to use the software to transfer, but when it finally starts sending info through (after years trying to connect via usb and bluetooth)on the windows phone application closes (or crashes)

  • Replacing the USB HP Officejet 6500 has

    My konked out wireless and I plugged a USB cable on my 6500 has.  My other half stumbles on the cord, and now I can't print.  I checked the printer and the USB connection was loose.  Is it possible to repair this, OR I have to go to the sales page an

  • HP Envy TouchSmart 23 SE AIO: cd went from the Bay

    Help!  The CD tray is on the side of my computer screen.  I put the CD and closed the tray, but the CD down inside the computer. The tray opens and closes with any problem, but my CD is lost inside the computer.  How to get the CD?

  • "something prevented the text engine initialization.

    ENG > iMac 27 "system 10.11.5 El Capitan, when launching Photoshop CS6 and try to use the text tool I see this error message:" "could not complete your request because something prevented the text engine initialization."»»Any suggestion?Thank youITA