Java Embedding bug in SOA Suite 11g BPEL??

I am beginning to wonder if there is a 'bug' in the SOA Suite 11g, BPEL, Java Embedding activity? Need some help as soon as possible – does the Java Embedding activity work in SOA Suite 11g?
Have tried the following on Jdev 11.1.1.1 and Jdev 11.1.1.3 – get the same error message (see below for error message).
Thanks for any help - Casey
I created a simple composite app by:
1.     Created a Composite with BPEL Process
2.     Created a BPEL variable by the name of Variable and a Simple Type of string      ({http://www.w3.org/2001/XMLSchema}string)
3.     Added an Assign activity (Assign_1) and assigned the value of “Test Var” to the variable Variable using a Copy operation.
4.     Then, after the assign activity, added a Java Embedding activity (Java_Embedding_1) with Java Version set to 1.5 and the following code:
+try{+*
String var;*
var=(String)getVariableData(Variable);*
System.out.println(var);*
+}  // end try+
+catch(Exception ex){+*
System.out.println(ex.getMessage());*
+}// end catch+
Compiled and got the following error message:
Error(23,34): Failed to compile bpel generated classes.*
failure to compile the generated BPEL classes for BPEL process "BPELProcess1" of composite "default/Project1!1.0"*
The class path setting is incorrect.*
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.*
Code for the BPEL component is:
+<?xml version = "1.0" encoding = "UTF-8" ?>+
+<!--+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
Oracle JDeveloper BPEL Designer
Created: Tue Nov 09 13:01:49 CST 2010
Author:
Purpose: Asynchronous BPEL Process
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
-->
+<process name="BPELProcess1"+
targetNamespace="http://xmlns.oracle.com/TestgetVariable_jws/Project1/BPELProcess1"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:client="http://xmlns.oracle.com/TestgetVariable_jws/Project1/BPELProcess1"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TestgetVariable/Project1/FileW"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<!--+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
PARTNERLINKS
List of services participating in this BPEL process
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
-->
+<partnerLinks>+
+<!--+
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
+<partnerLink name="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider" partnerRole="BPELProcess1Requester"/>+
+</partnerLinks>+
+<!--+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
VARIABLES
List of messages and XML documents used within this BPEL process
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
-->
+<variables>+
+<!-- Reference to the message passed as input during initiation -->+
+<variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>+
+<!-- Reference to the message that will be sent back to the requester during callback -->+
+<variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>+
+<variable name="Variable" type="xsd:string"/>+
+</variables>+
+<!--+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
-->
+<sequence name="main">+
+<!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess1.wsdl) -->+
+<receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>+
+<!--+
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
+<assign name="Assign_1">+
+<copy>+
+<from expression='"test var"'/>+
+<to variable="Variable"/>+
+</copy>+
+</assign>+
+<bpelx:exec name="Java_Embedding_1" version="1.5" language="java">+
+<![CDATA[/*Write your java code below e.g.+
+     System.out.println("Hello, World");+
+*/+
+try{+
  +String var;+
  +var=(String)getVariableData(Variable);+
  +System.out.println(var);+
+} // end try+
+catch(Exception ex){+
System.out.println(ex.getMessage());
+}// end catch]]>+
+</bpelx:exec>+
+<invoke name="callbackClient" partnerLink="bpelprocess1_client" portType="client:BPELProcess1Callback" operation="processResponse" inputVariable="outputVariable"/>+
+</sequence>+
+</process>+

Java Embedding bug in SOA Suite 11g BPEL??

Similar Messages

  • Truncate all Instances in SOA SUITE 11g BPEL SOAINFRA SCHEMA

    Hi Guys!
    We are running Oracle SOA SUITE 11g + BPEL, Version 11.1.1.3.0 (PS2)
    We running out of disk space issues in a database due to large number of test instances in dehydration storage.
    Is there any way to TRUNCATE all tables in order to clean up instances from BPEL engine (SOAINFRA schema)
    Oracle provides this functionality (purge scripts and implemented procedures in a database) but this is a deleting approach and it doesn't work with millions of instances in a storage. Deleting instances from GUI doesn't work at all.
    1. We are looking the way to truncate all instances in a database rather then delete them which takes ages and doesn't work properly in case of huge amount of instances.
    2. We would like wipe out all instances without any time restrictions.
    Any feedback, script from you guys would be much appreciated.
    Cheers!!

    Hi,
    There still no solution for truncating tables. Looks like we have to look into Oracle's procedures in delivered with SOA SUITE installation.
    I posted an article about deleting large number of instances in SOA Suite 11g. It does the job in a pretty fast way.
    [Delete large numbers of instances in Oracle SOA Suite 11g|http://emarcel.com/soa-suit/152-deleteinstancessoasuite11gwls]
    Cheers!!
    emarcel.com

  • Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL

    Hi,
    I'm integrating BPEL with Peoplesoft FSCM 9.0 Application on tools 8.49 using Oracle SOA Suite 11g. The BPEL invokes the web service method generated from Peoplesoft Component Interface in a synchronuos manner.
    I have deployed the BPEL in Oracle SOA Suite 11g using Jdeveloper successfully but I have problem in configuring the BPEL node in Peoplesoft side using Oracle SOA Suite 11g(FMW) . I had done the integration of BPEL with Peoplesoft FSCM 9.0 on tools 8.49 using Oracle SOA Suite 10g earlier successfully by configuring BPEL node properties as follows:
    BPEL CONSOLE : http://Host Name:8888/BPELConsole (System with Oracle SOA Suite 10g server for deployment)
    BPEL DOMAIN : default
    Using this BPEL node configuration, I was able to ping the BPEL console of Oracle SOA Suite 10g from peoplesoft and hence complete the integration successfully.
    Now in order to acomplish Business rules and other functionality, the BPEL application has been developed in Oracle SOA Suite 11g using Jdeveloper 11g. This time I'm not able to configure the BPEL node in Peoplesoft for this integration as I'm assuming there is no separate BPEL console in Oracle SOA Suite 11g. All the BPEL deployments are administered in console (11g console used for deployment of BEPL)
    http://Host Name:7001/em (System with Oracle SOA Suite 11g server - Fusion Middleware).
    So when I Configured the BPEL node property in Peoplesoft as :
    BPEL CONSOLE : http://Host Name:7001/em (System with Oracle SOA Suite 11g server for deployment)
    BPEL DOMAIN : default
    I'm not able to ping the Peoplesoft BPEL node to the Oracle SOA Suite 11g. Hence I'm not able to proceed with my integration.
    When I searched the OTN discussion forum on BPEL console for Oracle SOA Suite 11g, all threads point that there is no separate BPEL console unlike Oracle SOA Suite 10g. Also most of the articles for Integration with Peoplesoft Application using SOA 11g do not state any specific configuration setting for property of Peoplesoft BPEL node in order to integrate with BPEL 11g. The examples published in OTN still point towards screen shots of integration using SOA Suite 10g.
    So I'm not able to proceed in this regard.
    Any help in this regard is highly appreciated.
    Thanks in Advance,
    Girish
    Edited by: user11214154 on Nov 23, 2009 8:12 PM
    typo error

    Hi,
    I found this document from the Oracle Open World 2009 (maybe you have found it too) :
    "Integration with PeopleSoft applications using oracle soa suite 11g BPEL" --> [http://www.oracle.com/technology/tech/fmw4apps/peoplesoft/pdf/oow2009-bpel-psft.pdf]
    And this could be a little more simple, but have a good step-by-step tutorial.
    [http://www.oracle.com/technology/obe/fusion_middleware/fusion/soa/BPEL_PS848/OBE_PSFT_BPEL_848.htm]
    I think you must read this docs by now, but never come amiss.
    Hope this can help you,
    By the way, if you can help me with this I'll appreciate it a lot.
    Unable to access the following endpoint(s)

  • Oracle SOA Suite 11g (BPEL Process) Dependency with Database

    Folks,
    Oracle SOA Suite 11g requires a relational DB like Oracle, SQL Server to maintain the Metadata for the SOA & Related Components.
    Can you plz let me know with your experience - what should happen to a running BPEL Process if the database (SOAINFRA) is down? Being very specific -
    1, Does/Should end-point become inaccessible? Or Does service remains accessible but throws service remote-fault execption?
    2, What happens to a process which is in running state?
    My experience in these scenarios is not encouraging; we have notices the following -- during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running state. These instances do not complete or move forward even when the Database is back. These instances do not provide any information in the Enterprise Manager.
    Also, if DB is down WSDL's are still accesssible, is this right way?
    If this is how SOA does work then I would doubt for its merit……...your thought plz????
    Thanks & Regards
    Shyam Kumar

    I am not posting here because I'm smart but because your questions look interesting.
    during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running stateYou know that BPEL is a state-full product and it needs database support for persisting the process of state so if database goes down it is an expected behavior that processes may stuck in the same state where they were when DB went down. I don't see anything wrong with it.
    These instances do not complete or move forward even when the Database is back.Instances should auto/manually recoverable. If this is not the case then you may raise a SR with support.
    These instances do not provide any information in the Enterprise Manager. What information you could not find? Can you be more clear on this?
    Also, if DB is down WSDL's are still accesssible, is this right way?Yes, again it's expected because design time data also gets stored in DB only and hence if DB goes down, any design time data may not be accessible.
    If this is how SOA does work then I would doubt for its merit……...your thought plz????Why so? Alternative of DB is physical memory and that I don't think is perfect for long running BPEL processes and their heavy design time data. Moreover, it will create problems in terms of auditing, support and maintenance. If your requirement is such that it does not need any long running BPEL processes and even auditing is not required and use case is simple routing and transformation with no DB dependency then you may go for OSB which is a stateless product. BPEL is generally used for long running processes and hence DB is the best option, in my opinion at least.
    Regards,
    Anuj

  • Java invocation of a SOA Suite 11g composite

    Does anyone have any idea or can point me to a site that discusses how to startup a SOA 11g app using Java???????
    Thanks - Casey

    Hi Casey,
    When you go to the em console and navigate to the deployed version of the composite application you will find a fullblown wsdl.
    This one you can use to generate your webproxy against.
    I used it also in my last blog, see :
    http://eelzinga.wordpress.com/2010/05/21/scheduling-oracle-soa-suite-composite-applications-or-whatever-you-want-in-weblogic/
    Hope it works for you too

  • SOA Suite 10g and SOA Suite 11g? what are the major changes in these two?

    Hi Experts,
    I am keen in knowing about Soa Suite 11g. SOA Suite 10g and SOA Suite 11g, BPEL changes? what are the major changes in these two product/tool wise? Is now OSB is part of Soa Suite 11g? it would be helpful for us to know what are the major changes and updates or modifications came in 11g.
    Please share this valuable information.
    Is there still any version is in progress from Oracle, which is yet to be officially launched from oracle?

    what are the major changes in these two product/tool wise? Few major changes to enlist are that SOA suite 10g was using Oracle Application Server (OC4J) however 11g is on Weblogic and 11g is based on SCA. B2B is now part of SOA suite itself and OSB can share a domain with SOA. You may refer below link to know few more -
    http://blogs.oracle.com/soabpm/2010/03/11gr1_patchset_2_111130_soa_fe.html
    Is now OSB is part of Soa Suite 11g? OSB has a separate installer but can share a domain with SOA and SOA-direct binding is also supported now. Refer below link to know more about new features in OSB 11g -
    http://download.oracle.com/docs/cd/E14571_01/relnotes.1111/e10132/osb.htm#CJACHEHJ
    Is there still any version is in progress from Oracle, which is yet to be officially launched from oracle?No major release is planned. Patches for 11g R1 may come.
    Regards,
    Anuj

  • Integrating SaaS CRM (cloud) with SOA suite 11g

    Hi All, 
    I have a one requirement, need to read a file shared by SaaS CRM of Oracle Fusion applications which are hosted on Cloud from SOA suite 11g. Any pointers or blogs references please.
    Thanks!

    Hi,
    I found this document from the Oracle Open World 2009 (maybe you have found it too) :
    "Integration with PeopleSoft applications using oracle soa suite 11g BPEL" --> [http://www.oracle.com/technology/tech/fmw4apps/peoplesoft/pdf/oow2009-bpel-psft.pdf]
    And this could be a little more simple, but have a good step-by-step tutorial.
    [http://www.oracle.com/technology/obe/fusion_middleware/fusion/soa/BPEL_PS848/OBE_PSFT_BPEL_848.htm]
    I think you must read this docs by now, but never come amiss.
    Hope this can help you,
    By the way, if you can help me with this I'll appreciate it a lot.
    Unable to access the following endpoint(s)

  • Material on SOA Suite 11g

    Hi
    Can any one suggest me a good book on SOA Suite 11g (BPEL,Mediator,HumanTask and Business rules) which should cover more examples in detail. ?
    Thanks
    Sesha

    Getting Started with Oracle SOA Suite 11g R1
    http://blogs.oracle.com/olaf/2009/11/book_review_getting_started_wi.html
    http://blogs.oracle.com/SOA/2009/10/our_book_getting_started_with.html
    SOA Suite 11g R1 Developer’s Guide by Antony & Matt
    http://blogs.oracle.com/reynolds/2010/07/soa_suite_11g_r1_developers_gu.html
    http://blogs.oracle.com/soacommunity/2010/07/soa_suite_11g_r1_developers_gu.html
    Regards,
    Anuj

  • Java Embedingin BPEL of SOA suite 11g

    Hi,
    To remove namespace of a soap element we are using java embedding in BPEL of SOA suite 11g.
    Added related libraries in jdev project properties and deployed to generate a sar while.
    When i am trying to deploy this SAR through em console to SOA server following error is diasplayed.
    Deploying on "/Farm_SOA_domain/SOA_domain/soa_server1" ...
    Deploying on "/Farm_SOA_domain/SOA_domain/soa_server1" failed!
    Error during deployment: Error occurred during deployment of component: CallOIM to service engine: implementation.bpel for composite: SOAComposite1: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "CallOIM" of composite "default/SOAComposite1!55*91c4a2eb-240d-4a6f-968c-fa7ff516ef51".
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    jars are deployed properly on the server. Any pointers on the same will be more helpful.
    Thanks,
    Sowmya

    I haven't done it in 11g but I'm sure it is the same.
    you need to import the java classes. to do this add the following to you .bpel source code
    <bpelx:exec import="java.util.*"/>
    <bpelx:exec import="java.lang.*"/>
    <bpelx:exec import="java.math.*"/>
    place it between the lines:
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--
    PARTNERLINKS
    e.g.
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <bpelx:exec import="java.util.*"/>
    <bpelx:exec import="java.lang.*"/>
    <bpelx:exec import="java.math.*"/>
    <!--
    PARTNERLINKS
    Also from memory the System.out.println never worked for me, or it printed in the logs which wasn't helpful. What you can do is assign it to another variable, e.g.
    String input = (String)getVariableData("InputSring");
    setVariableData("OutputSring",input);
    OutputString is my variable defined in BPEL.
    cheers
    James

  • Calling Custom XSLT java class from BPEL in SOA Suite 11g

    Hi All,
    Morning...need some help with this issue...we are currently on SOA Suite 11g (11.1.1.4) version.
    Earlier while we were on SOA Suite version 10g (10.1.3.3) we were calling the custom java classes from the xsl mapping for complex transformation and for this we were placing the .class file as .jar file at the location mentioned here $OC4J_HOME/j2ee/home/applib directory and then mentioning the namespace as http://www.oracle.com/XSL/Transform/java/{$classname$} in the XSLT mapping file.
    Now in SOA Suite 11g if we need to retain similar functionality for external custom java calls could someone please help us where do we need to put the .jar file now ..
    exactly at which directory location/path and on which instance/server (application server instance or middle tier instance ) we need to put this .jar file
    Currently we are stuck and need some help with this.
    With thanks & Regards

    Hi Eric & Anuj,
    Thanks for replying , sorry for checking on this now...
    here at this path /opt101/app/oracle/SOAD/SOA11gR1/fmw/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1
    we got the ora.soa.ext.jar file and extracted it to get the MANIFEST.mf file ..have mentioned below.
    Now if we need to link our custom .jar file named customfunctions.jar so we need to mention it as below is this correct :
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: 17.0-b17 (Sun Microsystems Inc.)
    Implementation-Vendor: Oracle
    Implementation-Title: Oracle SOA EXT
    Implementation-Version: 11.1.1
    Product-Name: Oracle SOA EXT
    Product-Version: 11.1.1.4.0
    Specification-Version: 11.1.1
    Extension-Name: oracle.soa.ext
    Class-Path: classes/
    Class-Path:customfunctions.jar classes/ -- is this the way to mention (means we need to add this additional line or we need to add to the existing line at Class-Path: classes/)
    2.
    Eric the Alternative method mentioned in your update :
    Open a command prompt and change the current directory to the oracle.soa.ext_11.1.1 directory ,
    then execute the build.xml file in the oracle.soa.ext_11.1.1 folder using Ant
    Now could someone please guide us regards this ANT means how does it work and its relation to the build.xml file and how do we check whether we have ANT utility available or not..
    not much conversant with this ANT hence asking here..would lookout for your reply
    thank you

  • Query regarding java embedding activity in Oracle SOA Suite 11g

    Hi,
    Recently I've come across a scenario in my project. I've got a BPEL process with a java embedding activity. Now that java embedding activity calls a java class similar to the code below :-
    >ArrayList<MyData> data=MSExcelParser.getData();
    Now, after getting this data inside the java embedding, I need to populate a BPEL variable. The BPEL variable is based on an XSD element "BPELVariable" which looks something like the below snippet :-
    ><xsd:element name="BPELVariable" type="BPELVariableType"/>
    > <xsd:complexType name="BPELVariableType">
    > <xsd:sequence>
    > <xsd:element name="MyData" type="MyDataType" maxouccurs="unbounded"/>
    > </xsd:sequence>
    ></xsd:complexType>
    So the BPEL variable that I want to populate can contain multiple "MyData" tags. Now my question is how can I populate the variable from my java embedding activity once I've got the list. Is it possible?
    Thanks,
    Rahul

    I think we can exchange only data types, i dont see any data type which can hold the object types.
    If you find anything better let us know.
    Constructing string xml and converting to xml is best option i can think of.
    Thanks,
    Vijay

  • Performance tuning of BPEL processes in SOA Suite 11g

    Hi,
      We are working with a customer for performance tuning of SOA Suite 11g, one of the areas is to tune the BPEL processes. I am new to this and started out with stress testing Hello World process using SOAPUI tool. I would like help with the below topics -
    1. How do I interpret the statistics collected during stress testing? Do we have any benchmark set that can indicate that the performance is ok.
    2. Do we need to run stress tests for every BPEL process deployed?
    2. Is there any performance tuning strategy documentation available? Or can anybody share his/her experiences to guide me?
    Thanks in advance!
    Sritama

    1. How do I interpret the statistics collected during stress testing? Do we have any benchmark set that can indicate that the performance is ok.
    You need
    pay attention to:
    java heap usage vs java heap capacity
    java eden usage vs java eden capacity
    JDBC pool initial connections vs JDBC pool capacity connections
    if you are using linux: top
    if you are using aix: topas
    2. Do we need to run stress tests for every BPEL process deployed?
    yes, you need test each BPEL. You can use "Jmeter" tool.
    Download Jmeter from here: Apache JMeter - Apache JMeter&amp;trade;
    Other tools:
    jstat
    jstack
    jps -v
    Enterprise Manager
    WebLogic Console
    VisualVM
    JRockit Mission Control
    3. Is there any performance tuning strategy documentation available? Or can anybody share his/her experiences to guide me?
    I recommend "Oracle SOA Suite 11g Performance Tuning Cookbook" http://www.amazon.com/Oracle-Suite-Performance-Tuning-Cookbook/dp/1849688842/ref=sr_1_1?ie=UTF8&qid=1378482031&sr=8-1&keywords=oracle+soa+suite+11g+performance+tuning+cookbook

  • Error deploying BPEL process on SOA Suite 11g

    Hi,
    We have installed SOA Suite 11g (Weblogic 10.3.1.0) on Windows.
    I'm trying to deploy a simple BPEL Process on this SOA Suite through JDeveloper 11.1.1.1.0 Studio.
    However I'm getting the following error:
    [10:29:08 AM] Preparing to send HTTP request for deployment
    [10:29:09 AM] Creating HTTP connection to host:172.26.0.119, port:8001
    [10:29:09 AM] Sending internal deployment descriptor
    [10:29:09 AM] Sending archive - sca_BPELTest_rev1.0.jar
    [10:30:37 AM] Received HTTP response from the server, response code=503
    [10:30:37 AM] Problem in sending HTTP request to the server. Check standard HTTP response code for 503
    [10:30:37 AM] Error deploying archive sca_BPELTest_rev1.0.jar to soa_server1 [172.26.0.119:8001]
    [10:30:37 AM] HTTP error code returned [503]
    [10:30:37 AM] No error message is returned from the server.
    [10:30:37 AM] #### Deployment incomplete. ####
    [10:30:37 AM] Error deploying archive file:/D:/JDeveloper/mywork/Application2/Project1/deploy/sca_BPELTest_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Please let me know in case anybody has faced this issue.
    Thanks,
    Makrand

    Hi, it´s a little late, but it may help to someone else.
    I just got the same error on deployment and realized i was going through a proxy server, who was responding with a http 503 code to deployment request from JDeveloper. Just check your proxy settings under Tools->Preferences->Web Browser and proxy and add an exception if needed.
    I also had to restart JDeveloper (a bug?) after adding the exception to correct the issue.
    regards,
    Pedro.

  • Another bug in Oracle Soa Suite 11gR3 (bpel workflow)

    Hello,
    I am getting an error that i guess be a bug in soa suite (bpel human task workflow).
    I created a simple workflow that have three human task (three steps of approval):
    1 ) I deployed the project
    2) I invite a requisition for the bpel through SoapUI
    3) I access the worklistapp application and make login using the user approver1
    4) I click at Approve button. It works.
    5) When i logout and login using the user approver2 (second human task - second level of approval) the requistion is there, but when i click in task the bellow exception is throwed:
    Obs.: If i restart my weblogic server, and access the worklistapp with the user approver2 (again). It Works.
    Question: Should I always restart the Weblogic Server for each step in a workflow ? If my bpel have 5 human tasks, i have to do 5 restarts on the weblogic server for work ?
    Anyone has the same bug ?
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3715)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:865)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5132)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2975)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Thank you, Tomasz!
    That really works! I'll add example of changes to DataBinding.cpx because it is not so obvious what to do after renaming package and applying automatic refactoring (that doesn't fix all what it should fix).
    Assuming we've renamed the package from bpm3 to bpm3.db3
    Before changes:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
    version="11.1.1.60.13" id="DataBindings" SeparateXMLFiles="false"
    Package="bpm3.db3" ClientType="Generic">
    <pageMap>
    <page path="/taskDetails1.jspx" usageId="bpm3_taskDetails1PageDef"/>
    </pageMap>
    <pageDefinitionUsages>
    <page id="bpm3_taskDetails1PageDef"
    path="bpm3.db3.pageDefs.taskDetails1PageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    *<dc id="ApproveForm3_ApproveTask3" path="bpm3.ApproveForm3_ApproveTask3"/>*
    </dataControlUsages>
    </Application>
    After:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
    version="11.1.1.60.13" id="DataBindings" SeparateXMLFiles="false"
    Package="bpm3.db3" ClientType="Generic">
    <pageMap>
    <page path="/taskDetails1.jspx" usageId="bpm3_db3_taskDetails1PageDef"/>
    </pageMap>
    <pageDefinitionUsages>
    <page id="bpm3_db3_taskDetails1PageDef"
    path="bpm3.db3.pageDefs.taskDetails1PageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    *<dc id="ApproveForm3_ApproveTask3" path="bpm3.db3.ApproveForm3_ApproveTask3"/>*
    </dataControlUsages>
    </Application>
    Really what is changed:
    - <dc id="ApproveForm3_ApproveTask3" path="bpm3.ApproveForm3_ApproveTask3"/>
    + <dc id="ApproveForm3_ApproveTask3" path="bpm3.db3.ApproveForm3_ApproveTask3"/>

  • SOA Suite 11g Clustering error/oracle bug ?

    Hi, i got several experiment to implement soa suite 11g clustering, in my company.. at this moment we still use development mode in our application server. now i'm trying to get into production and also i want cluster the server.. here is the chronology what i do.
    i got 3 server :
    my plan is
    server #1 become an proxy server, let say the name is soa_proxy
    server #2 become an cluster node, let say the name is soa_server1
    server #3 become an cluster node, let say the name is soa_server2
    so i start install & configure it (applications is running under Windows Server 2003)
    1.*soa_proxy*
    - Installing WebLogic server
    - Installing SOA
    - Create Repository with RCU (oracle 10g database)
    2.*soa_server1*
    - Installing WebLogic server
    - Installing SOA
    3.*soa_server2*
    - Installing WebLogic server
    - Installing SOA
    after installation finished, then i create domain in soa_proxy server let say it name 'MyDomain', then i assign the soa_server1 and soa_server2 in cluster node named 'MyCluster', also i assign the soa_proxy server as a HTTP Proxy Server.. i'm following the instructions just like this link Link: [http://download.oracle.com/docs/cd/E12839_01/doc.1111/e13925/config_screens.htm#CJAEABGD]
    all the installation seems good, but when i try to deploy my composite application into the proxy server 'soa_proxy' with JDev, i got error like this
    Image: !http://img9.imageshack.us/img9/2122/error2z.jpg!
    and when i go to Http://hostname:7001/em
    i just see my composite deployed only in 'soa_server2'.
    UPDATE : well, now the error was gone when deploying. but we still got little odd result,
    when i deploy with jdev, it still fine, until i go to the enterprise manager. yess still.. my composite only deplyed in 'soa_server1'. i got some reference that we can copy the domain directory in soa_proxy and then paste into the server that not yet been deployed before. its seems oke..
    i've been thinking, how if i got 10 node of cluster? 50 node of cluster ? should i copy the directory just like that ?? is there another charmed way to do it???
    can somebody help me with this simple case?
    regards
    Wildan
    Edited by: wildsoft on Feb 12, 2010 11:33 AM
    =======
    here is my last trial to deploy the cluster environment, then i just got the same issues, our team here think thats the issues causing by oracle bug in code behind. for reminder what i do last experiment
    1. we deploy/configure the domain (admin console,cluster node) then starting up all the services smoothly without no issues & as we saw in the console monitor we can see the cluster is syncronizing.
    2. then we create simple composite.
    3. we try to deploy the composite to the cluster domain, and what we got is the composite only deployed in one cluster node.
    let me describe to clear it,
    * first trial, when we deploy the composite, here is what we got in em console
    *[-] SoaInfra (SoaServer1)*
    [+] CompositeLabTest
    *[-] SoaInfra (SoaServer2)*
    in JDev we also saw this message (the project CompositeLabTest Deploy Process is skipped), some kind like that
    * second time trial, we try to shut the SoaServer2 down, then restart it, what we got in em console
    *[-] SoaInfra (SoaServer1)*
    [+] CompositeLabTest
    *[-] SoaInfra (SoaServer2)*
    [+] CompositeLabTest
    . so until today my soa suite 11g clustering experience is never going good practice.. any of you may had experience with clustering too, how that can be done? please respon...
    thanks
    regards
    Wildan Abdat
    Edited by: wildsoft on Apr 27, 2010 4:08 PM
    Edited by: wildsoft on Apr 27, 2010 4:13 PM

    Hi there.
    Me too I have a similar problem with cluster deployment.
    I have two different domains in two different phisical machine on the same LAN.
    These domains are equals and the sole difference is regarding the IP configuration:
    domain 1
    machine 172.0.0.1
    soaadmin 172.0.0.1
    soa1 172.0.0.2
    soa1 172.0.0.3
    domain 2
    machine 172.0.1.1
    soaadmin 172.0.1.1
    soa1 172.0.1.2
    soa1 172.0.1.3
    When I try to deploy a new composite from the EM this fails (it remains in waiting for a response like the followed)
    <Jun 18, 2010 10:42:00 AM CEST> <Warning> <org.apache.myfaces.trinidadinternal.context.RequestContextImpl> <BEA-000000> <Could not find partial trigger idArchiveFileBrowserDialog from RichInputText[UIXEditableFacesBeanImpl, id=idArchiveLoc]>
    Processing sar=/tmp/dir2448127768139530528tmp/sca_SOAComposite1_rev1.0.jar
    Adding sar file - /tmp/dir2448127768139530528tmp/sca_SOAComposite1_rev1.0.jar
    Creating HTTP connection to host:172.0.0.2, port:10002
    What I checked:
    In multicast configuration soa1 (domain1) sent the request to all soa servers in the LAN (even in that one that aren't configurated in his domain)
    In unicast configuration soa1 (domain1) sent the request only to the soa2 (domain1) server but it remain in waiting for a response for all the time.
    What it is strange is that if I stop the domain2 the request can be performed and my composite is deployed in both the servers.
    Any idea about this strange behaviour?
    N.B.
    I'm not using Coherence.

Maybe you are looking for