Query regarding validation in a BPEL process

Hi,
I need to validate an XML document( a BPEL variable) against a schema.I used the validate activity.But when the exception is thrown by the validate activity in case of an invalid document, it is only reporting the first error that it encounters.Also, it doesn't return the XPath of the element causing the problem.Is there any way in Oracle SOA Suite 11g in which I could validate an XML document (i.e. a BPEL variable) against a schema and extract the Xpath of all the erroneous elements?Or do I have to write a custom service for that.
Thanks in advance
Edited by: user11930797 on Dec 11, 2010 7:59 AM
Edited by: user11930797 on Dec 11, 2010 7:59 AM
Edited by: user11930797 on Dec 11, 2010 7:59 AM

in OSB the validate action does what you are looking for... not of much use if you have SOA Suite alone...

Similar Messages

  • Configuration XML Validation Strict in BPEL Process

    Hi,
    If we have 10 BPEL process and all using file adapter which reads or write XML file against schema.
    We have a configuration in BPEL console that
    validateXML - Validate the incoming and outgoing xml documents: "Stict or None" Stict means validate against Schema and none means no validation, but this configuration seams to be at level above Process, means if i set Strict it will apply for all 10 BPEL process, I cannot choose Processes which need validation and which doesn't need validation.
    Any work around in SOA suite.
    Regards,
    Sreejit

    Sreejit,
    Every partner link contains validateXML property, you can use this property to control where you want to validate XML payload and where not.
    To add this property, double click on partner link, go to property tab and click on property button. Select validateXML from the drop down list and provide its value(strict/none).
    Regards,
    Dharmendra
    http://soa-howto.blogspot.com

  • Query regarding composite.xml and bpel

    Hi,
    I am absolutely new to SOA.Last day, I was experimenting with BPEL processes.I dragged a BPEL process(TestBPEL) onto the SOA composite and exposed it as a SOAP service.Now the component(testbpel_client_ep) that is being shown in the left swimlane wired to the BPEL process, what is that?I mean is that a service itself.Again in the .componentType file, I saw a service was defined but the name of the service defined was testbpel_client.But I didn't define any other service,so where did that service come from?Again in the composite source I saw the follwing code was generated:-
    <service name="testbpel_client_ep" ui:wsdlLocation="TestBPEL.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/PatientDataService_jws/Test/TestBPEL#wsdl.interface(TestBPEL)"/>
    <binding.ws port="http://xmlns.oracle.com/PatientDataService_jws/Test/TestBPEL#wsdl.endpoint(testbpel_client_ep/TestBPEL_pt)"/>
    </service>
    I guess it defines the service testbpel_client_ep.But what are the implications of the <interface.wsdl/> and <binding.ws/> tags?In the .componentType file also, the service testbpel_client had the same <interface.wsdl/> tag.
    <service name="testbpel_client" ui:wsdlLocation="TestBPEL.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/PatientDataService_jws/Test/TestBPEL#wsdl.interface(TestBPEL)"/>
    </service>
    It also intrigues me that both the services(testbpel_client and testbpel_client_ep ) refer to the same wsdl file.I have no clue what is happening.
    Thanks in advnce

    Now the component(testbpel_client_ep) that is being shown in the left swimlane wired to the BPEL process, what is that?I mean is that a service itselfYes. If you check the generate soap service checkbox when defining the BPEL it will generate the service and wiring as you have seen.
    Again in the .componentType file, I saw a service was defined but the name of the service defined was testbpel_client.But I didn't define any other service,so where did >that service come from?testbpel_client should be the partner link name for the service. If you open the bpel designer you should see this partner link on the left swim lane. And if you check the wire's in the composite source, you will see that the wire target is testbpel/testbpel_client. Partner Links are by which services and references are referred within the bpel designer.
    what are the implications of the <interface.wsdl/> and <binding.ws/> tags?interface.wsdl specifies the wsdl porttype of the interface exposed by bpel.
    bindings.ws specifies the wsdl port and soap:location for the bpel. You are not seeing the location part here as this is a service definition and soa runtime will automatically populate this depending upon your deployed environment. This section is more relevant for 'References' coz this is the place you have to modify the endpoint URL's of services you have to invoke.

  • Query regarding cron expression in BPEL

    Hi,
    I am using the quartz scheduler in BPEL and using the cron expression in bpel.xml
    but the problem I am facing is it is running for only one day it is not running for the next day
    the expression I am writting in bpel.xml is
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="FileScBpel4" heartBeatInterval="10">
    <property name="schedulerCallout">DefaultSchedulerCalloutImpl</property>
    <property name="endpointScheduleOn">0 30 19 * * ?</property>
    <property name="endpointScheduleOff">0 31 19 * * ?</property>
    </activationAgent>
    </activationAgents>
    so if I deploy it in BPEL PM it will run for today at 19:30
    but when I am changing the system date to the next day and changing the time to 19:30 it is not running again
    can anybody plz help me out how can I schedule it for everyday 19:30

    Hi Sailo,
    If you use quartz as a servlet, you'll have to add the entry to you're web.xml, in addition to other servlets you create :
    <servlet>
    <servlet-name>QuartzInitializer</servlet-name>
    <servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    <init-param>
    <param-name>config-file</param-name>
    <param-value>quartz.properties</param-value>
    </init-param>
    <init-param>
    <param-name>shutdown-on-unload</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>start-scheduler-on-load</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>
    Cheers
    Pucha Anirudh

  • XSD validation for incoming data into BPEL process

    Please suggest how to validate XSD incoming data into BPEL process.
    I just wanted to verify the data before entering into BPEL

    Hi,
    I guess i am replying very late.
    In BPEL 2.0 we have an activity called "Validate" which can do the XSD validations.
    "Lets Learn Oracle SOA: Validate XML schema In BPEL"
    Regards,
    Chinmaya

  • How to bind/pass multiple input parameters to sql query in BPEL Process

    Hi,
    I have a requirement to invoke a query on a database table to fetch the records based on the few input values or bind variables?
    I have created a Partner link using the DBAdapter service and have used custom SQL, how can i bind and pass multiple bind/input parameters for these queries.
    foreg: if i have to query employee records based on name , desgination and age, these three params would be my input parameter that i will pass when i invoke the BPEL process, bow how can i pass these parameters to the partner link using DBADAPTER service.
    Please help
    Regards

    If the parameter-value is not known beforehand and cannot be determined based on the process instance data at that time, there are 2 options. Either invoke the PL/SQL procedure you named using a DB adapter service to get the value and pass it to the other DB adapter service. Or create a single service (e.g. PL/SQL procedure) that determines the parameter value, executes the query and returns the result. However, this is more a design issue. Does it makes sense to combine these actions in a separate service and use it or are these actions not related? You furthermore state that additional (DB adapter) services make the process heavier. Do you have strict requirements on the time process-instances may run or other such requirements? If not, I think the design-choice on whether combining these actions in a single service should have more priority.

  • Reg: SQL select Query in BPEL process flow

    <p>
    Hi,
    I am suppose to execute a SQL select query (in BPEL Process flow) as mention below in JDeveloper using Database adapter.
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;xyz&gt;
    </p>
    <p>
    AND OBJECT= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    <strong>Now my question is:
    1.</strong> What does this "*" refer to in the query and how can I retrieve the value of LENGTH*WIDTH* HEIGHT from the query where LENGTH,WIDTH and HEIGHT are the individual field in the table.
    2.What does this " AS" refer to? If " ITEM_CUBE " is the alies for the table name "ITEM" to retrieve the value, then query shoud be evaluated as
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE <strong>ITEM_CUBE.ITEM</strong>= &lt;xyz&gt;
    </p>
    <p>
    AND <strong>ITEM_CUBE.OBJECT</strong>= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    Is my assumption correct?
    Please suggest asap.
    Thanks...
    </p>
    <p>
    </p>

    Hi
    Thank for your reply!
    I have a nested select query which performs on two different table as shown below:
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;abc&gt;
    </p>
    <p>
    AND OBJECT= (SELECT NAME FROM SUPPLIER WHERE ITEM=&lt;Item&gt; AND SUPP_IND = &lsquo;Y')
    I am using DB adapter of Oracle JDeveloper in BPEL process flow, where I can able to select only one master table in DB adapter say SUPPLIER and its attributes at a time.But as per my requirment I need to select both the table (CUBE and SUPPLIER) in a single adapter to execute my query.
    It can be achievable by using two DB adapter , One to execute the nested query and another to execute the main qyery considering value of nested query as a parameter.But I want to achieve it by using a single one.
    Am I correct with my concept?
    Please suggest how to get it ?
    </p>
    Edited by: user10259700 on Oct 23, 2008 12:17 AM

  • Oracle BPEL processes per day  -DB query

    Hi all,
    I am trying to produce some statistics for our daily created BPEL processes in the Oracle dehydration store.
    In particular I am running the following query towards the cube_instance table:
    select to_char(creation_date, 'dd-mon-yyyy hh24:mi:ss') as date, count(*) as total
    from cube_instance
    where creation_date >'01-MAR-10'
    group by to_char(creation_date, 'dd-mon-yyyy hh24:mi:ss')
    I know I am not an oracle programmer and I am sure something is wrong with the converion.
    Any help would be appreciated.
    Brgds,
    Loukas

    Thanks James.
    Yoru comments were correct , the query has run but the output is rather not what I wanted to see.
    It gives me as output every single process and of course next to it the total which is obviously 1:
    CREATION_DATE TOTAL
    01-MAR-10 12.55.03.936000000 PM 1
    01-MAR-10 12.55.04.528000000 PM 1
    01-MAR-10 12.55.06.276000000 PM 1
    01-MAR-10 01.16.50.560000000 PM 1
    01-MAR-10 01.16.50.581000000 PM 1
    01-MAR-10 01.16.51.235000000 PM 1
    01-MAR-10 01.18.27.893000000 PM 1
    01-MAR-10 01.18.27.914000000 PM 1
    01-MAR-10 01.18.28.477000000 PM 1
    01-MAR-10 01.26.07.038000000 PM 1
    01-MAR-10 01.26.07.610000000 PM 1
    01-MAR-10 01.26.08.788000000 PM 1
    01-MAR-10 01.32.54.038000000 PM 1
    01-MAR-10 01.32.54.389000000 PM 1
    01-MAR-10 01.32.55.397000000 PM 1
    01-MAR-10 02.10.43.199000000 PM 1
    01-MAR-10 03.14.57.502000000 PM 1
    01-MAR-10 03.15.00.578000000 PM 1
    01-MAR-10 03.15.00.608000000 PM 1
    01-MAR-10 03.15.01.331000000 PM 1
    01-MAR-10 03.18.05.760000000 PM 1
    01-MAR-10 03.18.06.092000000 PM 1
    I would like the sum of the days and the sum of the processes that day. I have searched a lot in other BPEL blogs/sites wbut nothing similar found.
    Thanks,
    Loukas

  • Querying BPEL process and sub-processes

    Hi there,
    I am new to BPEL and in our BPEL process we are calling like 5 other BPEL sub-processes. So assume our BPEL process A calls processes B, C, D, E, and F. Now for our fault handing if for example processes D fails I would like to retire sub-processes A but also sub-process B, C and D.
    Can anyone tell me which API would give me this information? Kind of like the tree in the BPEL console where we can see all the child processes.
    Thanks.

    Eric,
    No for us we have a generic BPEL error handling process where we are dynamically retiring the calling process. I got the Java API to dynamically retire the main calling process. But my main goal is to retire all the sub process that the main calling process calls as well.
    I looked at Matt Wright's Blog : tracing sub process calls within BPEL. He says you can use programatically for each instance one could query using the track of a parent id and root id but I need to get the details on how would I use the API. If you or anyone has that information can you please share that with me. Would really appreciate it.
    Thanks

  • Please advise regarding implementing pub/sub in a BPEL process.

    Hi guys,
    Requirement
    The customer information comes as HTTP/SOAP message and is sent to the BPEL process as input. BPEL uses ESB and database adapters to create the customer in Oracle apps. Now, we need to send the same customer information with the Oracle apps customer number to some other systems. The number of systems is not know at this time, so we need a pub/sub mechanism where we can publish the customer creation event with the required parameters (customer name, number, etc.). Then we just create subscriptions to that event as an when required. This gives us the flexibility to add subscriptions withougt changing the initial BPEL process.
    My questions
    I can think of three ways to do this, please advise.
    1. Use Oracle workflow business events and subscriptions. At the end of the BPEL process, raise the wf event and the subscriptions to that will be processed by workflow engine. My doubt here is that most of the times the subscriptions is another BPEL process, so does it make sense to go from BPEL to WF and then WF to PL/SQL to invoke a new BPEL?
    2. Use Advanced Queues (Oracle AQ). This is similar to using Oracle WF and to me the issues are also the same.
    3. Use routing rules in ESB -- I am not really sure if this can be done to replicate a pub/sub scenario, please advise and elaborate.
    As a summary, we want the ability to have pub/sub within BPEL and/or ESB. Any other suggestions are also welcome.
    Thanks!

    I have the same question , but could not find the releveant post in ESB forum.. is the response posted ? pls post the link to that thread...

  • Cannot deploy BPEL Process from Jdeveloper

    Hello,
    I am using JDeveloper 10.1.3.2 on my laptop.
    I have Oracle SOA Suite 10.1.3 deployed and running on my laptop as well (port 8888) (running MS Vista).
    Some background:
    I can access my app server at http://127.0.0.1:8888, http://localhost:8888, http://toral-pc:8888 using browser with no problems at all.
    However, when I try to deploy a business process (using ant on build.xml) from JDeveloper I get the following error:
    BUILD FAILED
    C:\product\10.1.3.1\OracleAS_1\j2ee\home\SalesforceIntegration\LoginToSalesforce\build.xml:79: A problem occurred while establishing a connection to the BPEL Server.
    Please make sure the server is running on host "127.0.0.1", port "8888".
    I have turned off any firewalls and also my hosts file includes a line for 127.0.0.1 localhost.
    I am at a loss as to why JDeveloper thinks the BPEL server is not running on 127.0.0.1:8888 when I know it is and I can using the BPEL Server GUI to deploy the Business Process jar just fine.
    Please Help.
    Thank you Much !
    Regards,
    Toral Kale

    well am facing the same problem ... but i don't know if this is the problem .. but i copied the from project from another pc , jdeveloper versions are the same
    the following is the error am facing when i try to deploy
    "Buildfile: C:\ApprovalApplication\BPELProcess1\build.xml
    pre-build:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/jdev10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process BPELProcess1, revision 1.0
    [bpelc] validating "C:\ApprovalApplication\BPELProcess1\bpel\BPELProcess1.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\ApprovalApplication\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 293 of "C:\ApprovalApplication\BPELProcess1\bpel\BPELProcess1.bpel", <from> value type "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest anonymous type" is not compatible with <to> value type "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessResponse anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process BPELProcess1 on localhost, port 9700
    [deployProcess] Deploying process C:\ApprovalApplication\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
    BUILD FAILED
    C:\ApprovalApplication\BPELProcess1\build.xml:79: A problem occurred while establishing a connection to the BPEL Server.
    Please make sure the server is running on host "localhost", port "9700".
    Total time: 15 seconds
    and i noticed that i have this error when i try to rebuild the project
    "Error: C:\ApprovalApplication\.adf (Access is denied)"
    any hint what to do ..?

  • Migrating BPEL process from 10g to 11g

    Hi All,
    I am trying to migrate 10.1.3.4 BPEL process to 11g. When I try to migrate the process in 11g Jdeveloper it gives me the below error in the logs and the migration is unsuccessful.
    Oct 5, 2009 6:01:13 PM oracle.viewgen.plugin.workflow.WorkflowBPELProcessUpgrader debug
    INFO: No more than one .task file in the upgrade source directory and hence not upgrading the bpel src
    Oct 5, 2009 6:01:13 PM oracle.viewgen.componentType.bpel.BpelDDUtil checkAndUpdateBPELDD
    INFO: UPGBPEL-02041: Retrieving wsdl for partnerLink "SyncItemListAgileReqABCS" from "http://localhost:7857/orabpel/default/SyncItemListAgileReqABCS/SyncItemListAgileReqABCS?wsdl". This wsdl location can be used later for any manual setup of composite reference binding, if the upgrade plan includes using 1013x endpoints for the interim.
    Oct 5, 2009 6:01:19 PM oracle.viewgen.ViewGenerator main
    SEVERE: Upgrade failed. Check the logs for any exceptions. Ensure that appropriate servers are reachable and valid 10.1.3.x code source is used for upgrade. Before re-attempting upgrade, restore the original code src from the backup directory.
    java.lang.NullPointerException
         at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:172)
         at oracle.viewgen.ViewGenerator.main(ViewGenerator.java:212)
    Caused by: java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:394)
         at oracle.viewgen.componentType.bpel.BpelDDUtil.processDefinition(BpelDDUtil.java:576)
         at oracle.viewgen.componentType.bpel.BpelDDUtil.checkAndUpdateBPELDD(BpelDDUtil.java:473)
         at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:107)
         ... 1 more
    The BPEL Process which I am trying to migrate has an invoke activity which calls another BPEL process.Should the other BPEL process be migrated and deployed before ?
    Thanks in advance.
    Regards,
    Kaavya

    There is an issue with the process, it is trying to connect to the service, I don't believe it needs to be the new 11g version but the WSDL should be accessible.
    http://localhost:7857/orabpel/default/SyncItemListAgileReqABCS/SyncItemListAgileReqABCS?wsdl". This wsdl location can be used later for any manual setup of composite reference binding, if the upgrade plan includes using 1013x endpoints for the interim.
    Oct 5, 2009 6:01:19 PM oracle.viewgen.ViewGenerator main
    SEVERE: Upgrade failed. Check the logs for any exceptions. Ensure that appropriate servers are reachable and valid 10.1.3.x code source is used for upgrade. Before re-attempting upgrade, restore the original code src from the backup directory.
    cheers
    James

  • Error while executing DB Insert statement in BPEL process

    Hi Folks,
    I am facing the below issue while trying to invoke a DB adapter for DB Insert from a BPEL process :
    +file:/oracle/orasoa/bpel/domains/default/tmp/.bpel_ProvisionOrderASAPReqABCSImpl_1.0_50dd1595129e9bbb00560e31e7c18cef.tmp/DB_INS_ASAPResponse.wsdl [ DB_INS_ASAPResponse_ptt::insert(AsapResponseCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.+
    +insert failed. Descriptor name: [DBINSASAPResponse.AsapResponse].+
    +; nested exception is:+
    ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    +insert failed. Descriptor name: [DBINSASAPResponse.AsapResponse].+
    +Caused by Exception [TOPLINK-6016] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.QueryException+
    Exception Description: Objects or the database cannot be changed through a ServerSession.  All changes must be done through a ClientSession's UnitOfWork.
    Query: InsertObjectQuery(<AsapResponse 1-1272531 1-R9WJ />).
    The same code runs fine when i invoke it again, without making any changes to the code.
    Any pointers in this regard will be highly appreciated.

    Doe this thread helps you:
    Strange Toplink errors appearing
    Are there any triggers behind the table? Wich version of the database you are using? Did you configure the JCA Adapter and remove the 'mcf.' settings in your BPEL wsdl process?
    Marc
    http://orasora.blogspot.com

  • Error in deploying BPEL Process with Embedded Java code

    Hi all,
    I am trying to do a simple sample BPEL Process which invokes a Java class.i have placed the jar file in the classpath and the Process compiles and builds in the BPELDesigner,but when deployed it shows the below error in the BPEL console.The beauty here is it show a success message in the BPEL Designer after deployment.
    <2007-07-19 05:03:07,640> <INFO> <production.collaxa.cube.compiler> validating "C:\OraHome_1\integration\orabpel\domains\production\tmp\.bpel_Employee_1.0.jar\Employee.bpel" ...
    <2007-07-19 05:03:09,187> <ERROR> <production.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    Process "Employee" (revision "1.0") compilation failed.
    <2007-07-19 05:03:09,187> <ERROR> <production.collaxa.cube.engine.deployment> <CubeProcessLoader::create> Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    <2007-07-19 05:03:09,187> <ERROR> <production.collaxa.cube.engine.deployment> Process "Employee" (revision "1.0") load FAILED!!
    <2007-07-19 05:03:09,203> <ERROR> <production.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "domain manager": Error while loading process.
    The process domain encountered the following errors while loading the process "Employee" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "Employee" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:1269)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:882)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadArchive(CubeProcessHolder.java:824)
         at com.collaxa.cube.engine.CubeEngine.loadProcessArchive(CubeEngine.java:939)
         at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.loadProcessArchive(BPELDomainManagerBean.java:390)
         at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchive(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2157)
         at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubeProcessMonitorWork.java:130)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
         at java.lang.Thread.run(Thread.java:534)
    <2007-07-19 05:03:09,234> <ERROR> <production.collaxa.cube.engine.deployment> <CubeProcessMonitorWork::run> Error while loading process archive C:\OraHome_1\integration\orabpel\domains\production\deploy\bpel_Employee_1.0.jar
    ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "Employee" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:1269)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:882)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadArchive(CubeProcessHolder.java:824)
         at com.collaxa.cube.engine.CubeEngine.loadProcessArchive(CubeEngine.java:939)
         at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.loadProcessArchive(BPELDomainManagerBean.java:390)
         at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchive(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2157)
         at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubeProcessMonitorWork.java:130)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
         at java.lang.Thread.run(Thread.java:534)
    Your sugegstions are appreciated..
    Plzz help...
    Regards
    Subramanian

    Hi all..
    Thanks for ur response,but still my problem is not solved...
    Below is the BPEL file and the java class (which isinvoked from the process)
    BPEL FILE
    <!-- Employee -->
    <process name="BusinessTravelProcess" targetNamespace="http://packtpub.com/bpel/travel/" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:emp="http://packtpub.com/service/employee/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension">
    <bpelx:exec import="org.w3c.dom.Element"/>
    <bpelx:exec import="com.packtpub.EmployeeStatus"/>
    <partnerLinks>
    <partnerLink name="employeeTravelStatus" partnerLinkType="emp:employeeLT" myRole="employeeTravelStatusService"/>
    </partnerLinks>
    <variables><!-- input for this process -->
    <variable name="EmployeeTravelStatusRequest" messageType="emp:EmployeeTravelStatusRequestMessage"/><!-- output from the Employee Travel Status web service -->
    <variable name="EmployeeTravelStatusResponse" messageType="emp:EmployeeTravelStatusResponseMessage"/>
    </variables>
    <sequence><!-- Receive the initial request for business travel from client -->
    <receive partnerLink="employeeTravelStatus" portType="emp:EmployeeTravelStatusPT" operation="EmployeeTravelStatus" variable="EmployeeTravelStatusRequest" createInstance="yes"/><!-- Prepare the output -->
    <assign>
    <copy>
    <from>
    <travelClass xmlns="http://packtpub.com/service/employee/">Economy
    </travelClass>
    </from>
    <to variable="EmployeeTravelStatusResponse" part="travelClass"/>
    </copy>
    </assign><!-- Invoke the EmployeeStatus Java class instead of web service -->
    <bpelx:exec name="Java_Embedding_1" language="Java" version="1.4"><![CDATA[
    EmployeeStatus e = new EmployeeStatus();
    String firstName = ((Element)getVariableData(
    "EmployeeTravelStatusRequest", "employee",
    "/employee/FirstName")).getNodeValue();
    String lastName = ((Element)getVariableData(
    "EmployeeTravelStatusRequest", "employee",
    "/employee/LastName")).getNodeValue();
    String empStatus = e.getTravelStatus(firstName, lastName);
    addAuditTrailEntry("Employee status is: " + empStatus);
    setVariableData("EmployeeTravelStatusResponse", "travelClass",
    "/travelClass", empStatus);]]>
    </bpelx:exec>
    <reply partnerLink="employeeTravelStatus" portType="emp:EmployeeTravelStatusPT" operation="EmployeeTravelStatus" variable="EmployeeTravelStatusResponse"/>
    </sequence>
    </process>
    Java File:
    package com.packtpub;
    public class EmployeeStatus {
    public String getTravelStatus (String firstName, String lastName) {
    return "Economy";
    }

  • Error While Deploying the BPEL Process using obant script

    Hi All,
    I am getting the following error while deploying the BPEL Process using obant script. we are using the BPEL Version 10.1.2.0.2.Any information in this regard will be really helpful.
    Buildfile: build.xml
    main:
    [bpelc] file:/home5102/dibyap/saravana/Test/CreditRatingService.wsdl
    [bpelc] validating "/home5102/dibyap/saravana/Test/CreditRatingService.bpel" ...
    BUILD FAILED
    /home5102/dibyap/saravana/Test/build.xml:15: ORABPEL-01002
    Domain directory not found.
    The process cannot be deployed to domain "default" because the domain directory "/opt02/app/ESIT/oracle/esit10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/default/deploy" cannot be found or cannot b
    e written to.
    Please check your -deploy option value; "default" must refer to a domain that has been installed locally on your machine.
    Total time: 23 seconds
    dibyap@ios5102_ESIBT:/home5102/dibyap/saravana/Test>
    Thanks,
    Saravana

    In 10.1.2.0.2 you need to create your own build.xml
    I have found an example, it may be of some help. This does call a property file
    cheers
    James
    <?xml version="1.0" ?>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Run cxant on this file to build, package and deploy the
    ASB_EFT BPEL process
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <project name="ASB_EFT" default="main" basedir=".">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Name of the domain the generated BPEL suitcase will be deployed to
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="deploy" value="default" />
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    What version number should be used to tag the generated BPEL archive?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="rev" value="1.0" />
    <!-- BPEL Best Practices Properties -->
    <!-- Defaults Properties for TARGET environments
    # CHANGE THIS FILE TO REFLECT THE TARGET ENVIRONEMNT
    # either dev, test, or prod.properties
    -->
    <property file="ebusd.properties"/>
    <property name="env" value="${env.name}"/>
    <property name="current.project.name" value="${project.name}"/>
    <property name="target.project.name" value="${project.name}_${env}"/>
    <property name="deployment.profile" value ="${env}.properties"/>
    <property name="source.development.directory" location="${basedir}"/>
    <property name="target.env.directory" location="${basedir}/deploy/${project.name}_${env}"/>
    <property file="${deployment.profile}"/>
    <property name="build.fileencoding" value="UTF-8"/>
    <!-- Prints Environment
    -->
    <target name="print.env" description="Display environment settings">
    <echo message="Base Directory: ${basedir}"/>
    <echo message="Deployment Profile: ${deployment.profile}"/>
    <echo message="target.env.directory: ${target.env.directory}"/>
    <echo message="Deploy to Domain: ${deployToDomain}"/>
    <echo/>
    <echo message="os.name: ${os.name}"/>
    <echo message="os.version: ${os.version}"/>
    <echo message="os.arch: ${os.arch}"/>
    <echo/>
    <echo message="java.home: ${java.home}"/>
    <echo message="java.vm.name: ${java.vm.name}"/>
    <echo message="java.vm.vendor: ${java.vm.vendor}"/>
    <echo message="java.vm.version: ${java.vm.version}"/>
    <echo message="java.class.path: ${java.class.path}"/>
    <echo/>
    <echo message="env: ${env}"/>
    <echo message="current.project.name: ${current.project.name}"/>
    <echo message="target.project.name: ${target.project.name}"/>
    <echo message="server.name: ${server.name}"/>
    </target>
    <!--
    Copies the current directory structure along with
    all the file into the target.env.directory and
    change the name of the project
    -->
    <target name="create.environment">
    <copy todir="${target.env.directory}">
    <fileset dir="${basedir}"/>
    <filterset begintoken="@" endtoken="@">
    <filtersfile file="${deployment.profile}"/>
    </filterset>
    </copy>
    <move file="${target.env.directory}/${current.project.name}.jpr" tofile="${target.env.directory}/${target.project.name}.jpr"/>
    </target>
    <target name="main">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    the bpelc task compiles and package BPEL processes into versioned BPEL
    archives (bpel_...jar). See the "Programming BPEL" guide for more
    information on the options of this task.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>
    here is a property file
    project.name=ASB_EFT
    env.name=ebusd
    deployToDomain=default
    server.name=[server]
    server.port=7788
    ebusd\:7788=http://[server]:7788/
    IntegrationMailAccount=OracleBPELTest
    IntegrationMailAddress=[email]
    IntegrationMailPassword=[password]
    archivedir=[directory]
    inbounddir=/[directory]
    errordir=[directory]
    outbounddir=[directory]
    bpelpw=bpel
    dbhost1=[dbserver]
    dbhost2=[dbserver]
    dbport=1523
    dbservice=bpel
    dbconnstr=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523))(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=ebusd)))

Maybe you are looking for

  • After i install mac iOS 10.9 my tarckpad out of may control and do automatic work that i don't want do it

    after I install new version of mac osx 10.9 my trackpad is out of my control and Do anything tahat i want do them

  • Type casting in generics 2

    Is there any way to avoid casting in following code using generics. public Interface SomeInterface public class SomeClass implements SomeInterface public class SomeClass1 public void meth(SomeInterface obj) SomeClass cls = (SomeClass) obj; }

  • Teamspeak3: MySQLSocket Error

    Hey there, so after getting a compiled libmysqlclient.so.15 (Teamspeak requires that one, I have libmysqlclient.so.18.0.0 installed and just used wget to get the oudated one and copied it to /usr/lib) i ran into another problem. When i try to fire up

  • DM Device Management - Device Location Relpacement

    Hi all, in the project currently invovled we are facing a critical DM-BI issue, where the devices are technically installed in a device location and we want to change their technical installation. SAP IS-U standard functionalities are used in full sc

  • BB id update failed

    how can I update/rectify a BB id that says "there is no compatible blackberry id available at this time?" like that of Tope. I have tried every means but it doesn't seem to be working, I deleted my app world and bbm, security wipe and restored appwor