How to test BPEL Process that starts with a pick consuming a JMS message

Hi,
We are using App Server v 10.1.3.3.0 and attempting to test a BPEL process which starts with a pick operation which is awaiting a JMS message on a specific queue.
We are using the Oracle JMS adapter to achieve this.
Is there any way in which this particular configuration can be easily tested using the BPEL testing framework? I have problems when I write the first initiate XML statement in my test case (stack trace below)
<2011-01-27 10:23:47,028> <ERROR> <ProvisioningInterface.collaxa.cube.bpeltest> test run failed!
ORABPEL-20011
Instance initiation error.
An error occurred while launching an instance for suite "BasicTest", test "baseline.xml".
Please examine the log file for details or contact the system administrator.
at com.collaxa.cube.engine.test.BPELTestRunManager.initiate(BPELTestRunManager.java:218)
at com.collaxa.cube.ejb.impl.BPELTestBean.runSuites(BPELTestBean.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Unfortunately, there are no further details or any example I can see which simulate the kind of setup I have for my test.
Any help much appreciated,
Kind Regards,
Colin.

Hi,
I assume you mean the JMS example under the $OH BPEL examples area. Unfortunately, this only shows how to get a BPEL process kicked off by awaiting a JMS message - but there is no test code there! There are specific examples which show off the testing framework facilities but it appears that all the examples which use async type of interactions are in the middle of a process which is kicked off by a normal synchronous client interaction.
Any further help much appreciated.
Colin.

Similar Messages

  • How to replace a substring that starts with and end with another substring?

    Hi,
    I am trying to parse data from HTML tables. First I want to remove all useless tags like <font>. Now, how can I remove substrings like-
    *<font face="Verdana, Arial, Helvetica, sans-serif" size="1">My_Data_to_parse</font>*
    I was searching for any method which replaces a substring what starts with a substring (in this case "<font") and ends with another substring (in this case ">") . Is there any method like that? Or any better solution?
    Another situation like the following-
    *<td align="left" height="30" width="100%">*
    In this case I want to remove all the height, align , width etc and make it as simple as "<td>". How can I do that?
    Finally, all I am trying to do just to parse data from the tables in a html file. Is there any parser API or library to help me do that? Or to bring the data down to array from the tables based on table structure? Please suggest me.
    Thanks in advance.

    probably the best place to start is to search for the "<keyword" of all of the html keywords, then search for the location of the next ">" - this will indicate the end of the <keyword> opening tag.

  • How to create a DN that starts with cn instead of uid

    I installed the new version of the directory server 5.0 and converted all dn's. All my DN's starts with the cn, but we I now enter new entries using the iPlanet console they all start with uid again. How can I configure the console so that when I enter a new entry, his dn starts with the cn instead of with the dn.
    THX

    I had the same problem. To fix it, I performed the following steps:
    * Open the Directory Server
    * Select the Directory tab
    * Select NetscapeRoot
    * Select the domain
    * Select Global Preferences
    * Select Common from the right-hand panel
    * Change nsuniqueattribute and nsuserrdncomponent from uid to cn
    * Save the changes
    * Logout of Console
    * Re-start the Directory Server and the Administration Server
    This worked for me.
    As a note, when you look at the Advanced properties before you complete adding the user, uid will still be shown as the RDN. Ignore this. After you complete adding the user, view the Advanced properties again. The RDN will use cn.
    Hope this helps.

  • Recover BPEL Process that crashed with OutOfMemoryError: PermGen space

    Hello,
    I'm running a Oracle 10G Soa Suite (10.3.5.0) on linux (x64).
    Yesterday the oc4j soa instance got out of PermGen memory.
    I Restarted the server, but one of the running processes gave a OutOfMemoryError (error attached at end).
    I went to Administration tab on BPEL Console and in Recover (Callbacks) i found the instance that gave the error.
    I recovered it, but it remain the same.
    Can anyone help me on how to recover the process instance, if it is possible to recover it.
    Thanks
    Pedro
    [2010/09/06 17:10:38] There is a system exception while performing the BPEL instance, the reason is "PermGen space". Please check the error log file for more infromation. Please try to use bpel fault handlers to catch the faults in your bpel process. If this is a system exception, please report this to your system administrator. Administrator could perform manual recovery of the instance from last non-idempotent activity or dehydration point. less
    <message>
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.String.intern(Native Method)
         at oracle.xml.parser.schema.XSDBuilder.parseElement(XSDBuilder.java:1310)
         at oracle.xml.parser.schema.XSDBuilder.parseCompositor(XSDBuilder.java:3040)
         at oracle.xml.parser.schema.XSDBuilder.parseComplexContent(XSDBuilder.java:2342)
         at oracle.xml.parser.schema.XSDBuilder.parseComplexType(XSDBuilder.java:1897)
         at oracle.xml.parser.schema.XSDBuilder.parseElement(XSDBuilder.java:1404)
         at oracle.xml.parser.schema.XSDBuilder.parseTopLevelElems(XSDBuilder.java:1013)
         at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:824)
         at oracle.xml.parser.schema.XSDBuilder.parseIncludeAndImport(XSDBuilder.java:1260)
         at oracle.xml.parser.schema.XSDBuilder.parseTopLevelElems(XSDBuilder.java:1033)
         at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:824)
         at oracle.xml.parser.schema.XSDBuilder.parseIncludeAndImport(XSDBuilder.java:1260)
         at oracle.xml.parser.schema.XSDBuilder.parseTopLevelElems(XSDBuilder.java:1033)
         at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:824)
         at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:454)
         at oracle.xml.jaxb.JaxbValidator.getNextSchema(JaxbValidator.java:338)
         at oracle.xml.jaxb.JaxbValidator.validate(JaxbValidator.java:185)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.schemaValidate(AbstractJaxbUtil.java:196)
         at oracle.bpel.services.workflow.metadata.impl.TaskMetadataCache.getTaskDefinition(TaskMetadataCache.java:248)
         at oracle.bpel.services.workflow.metadata.impl.TaskMetadataService.getTaskDefinition(TaskMetadataService.java:198)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:257)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:225)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.initiateTask(TaskServiceBean.java:38)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    </message>
    Edited by: user4285739 on 7/Set/2010 4:22
    Sorry. Wrong forum.

    5.4 Resolving Out-of-Memory Errors in the BPEL Runtime Console at http://download.oracle.com/docs/cd/E14101_01/doc.1013/e15355/maint.htm#CHDCAAHE
    5.6.6 PermGen Out-of-Memory Error During Deployment at http://download.oracle.com/docs/cd/E14101_01/doc.1013/e15342/bpelrn.htm#BABCEFJG
    Regards,
    Anuj

  • How to debug standard report that starts with a transaction?

    I want to run a report in debug mode.   The report name is RFFMEPGAX,  which
    is normally run using transaction FMRP_RFFMEP1AX.
    I want to start the transaction, fill in the form with the values I need, then
    hopefully the report code pops up in a debug window......
    Is there a way to do this?    I know how to open the debugger, but have not
    yet figured out a way to get the initial transaction to open in debug mode.

    If the transaction starts with a pop-up message, you can create a text file with this...
    [System]
    Name=R/3
    Client=
    Description=
    [User]
    Name=
    Language=
    Password=
    [Function]
    Command=/H
    Title=Title
    Type=SystemCommand
    Name it <b>Debug</b> and just drag it to the pop-up window...The debugger is going to start after a single Enter button...
    Greetings,
    Blag.

  • Dialing a number that starts with "#".

    Does anyone know how you dial a number that starts with a "#" symbol?
    You can often call some places such as radio stations from your cell by just dialing # and then 4 digits - ie. #4567
    Thanks...Tommy
    Solved!
    Go to Solution.

    during the phone call,
    if you want to type : #4567 you have to type the keys QSDFZ (as if the SYM key was locked)
    if you want to type : A4567 you have to type the keys Alt-Q SDFZ (as if the SYM key was locked)
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Our benefit administrator keeps getting an error on adding a social security number that starts with a 9, that is a valid SSN for a spouse, How do we allow this to go through?

    Our benefit administrator keeps getting an error on adding a social security number that starts with a 9, that is a valid SSN for a spouse, How do we allow this to go through?

    To attempt a new chat session...
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    http://helpx.adobe.com/x-productkb/global/service1.html

  • How do I get rid of bad email that starts with info @ they jam if opened

    Anybody know how to get rid of bad email that starts with info @ in the address bar? They jam the mail program if opened, now I have 25 that need to go! Help?

    You only need to post once. You have to have some patience. I posted this response in your other question as well.
    Don't open those emails, swipe across them in the preview window to bring up the red delete button and use that.
    If the mail app is frozen and you can't do anything in it, close it from the recents tray and reboot the iPad.
    From your home screen, double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the mail app icon. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How to i replace the firefox toolbar....and remove the toolbar that starts with MOST VISITED and SUGGESTED SITES

    Somehow lost the toolbar that has the page return arrows and refresh and stop icons. How can I replace those and remove a toolbar that starts with MOST VISITED and lists several SUGGESTED SITES.

    hello kittyheckel, please see [[Navigation buttons like back, home, bookmarks and reload are missing]]. you'll want to disable the bookmarks toolbar & enable the navigation toolbar.

  • How to access a JSON structure key that starts with a number

    I've got an odd issue here.  I'm accessing someone else's JSON structure so I am not able to change it.  The JSON structure keys are named with both characters and numbers like this:
    0
    198456
    product_id
    198456
    1
    Rashaan Houston feat Tony Loreto
    artist
    Rashaan Houston feat Tony Loreto
    So, in other words, there's a key named "0" and a key named "product_id", both of which contain the same key.  Why they did that, I don't know, but they did.
    In one of the instances, the data stored under the text-named key isn't the same as the numerical-named key.  I tried to output the data in the numerical key like this (it's an array of structures):
    #strStompyJSON.data[1].0#
    but I get the following error:
    Invalid CFML construct found on line 41 at column 31.
    ColdFusion was looking at the following text:
    .0
    When I do the following, it works fine:
    #strStompyJSON.data[1].product_id#
    So it looks as though CF doesn't like accessing a variable that starts with a number.  I am able to loop through the structure using a collection loop, and it outputs all of the keys (including the numerical ones) and their values using the following code:
    <cfloop collection="#strStompyJSON.data[1]#" item="key">
    #key#: #strStompyJSON.data[1][key]#<br />
    </cfloop>
    However, that doesn't allow me a way to access specific keys named with a number.  Is there a way that I can specifically access a key that is named with a number?
    thanks!
    Mike

    No problem--glad it worked out.
    As a follow-up to this, I'd encourage you to keep the bracket notation in mind during future development.  It is EXTREMELY useful in a lot of situations.
    For example, if you're building a structure on the fly with dynamic keys, bracket notation is extremely helpful:
         <cfset authors = structnew()>
         <cfloop list="authorlist" index="name">
              <cfset authors[name] = getbooklist(name)>
         </cfloop>
    Also, bracket notation is really nice when creating json from ColdFusion structures.  Consider this:
         <cfset author = structnew()>
         <cfset author.name = "Neil Gaiman">
         <cfset author.genre = "Fantasy">
         <cfset author.awesome = true>
         <cfset authorjson = serializejson(author)>
    By default, the serialized json produced will have all UPPER CASE keys.  Not a big deal in most cases, but if you're returning the json to something (like a JS library) that is expecting keys in a certain case, it can be a problem.  Fortunately, bracket notation allows you to specify exactly what case you want the structure's keys to be in:
         <cfset author = structnew()>
         <cfset author['name'] = "Neil Gaiman">
         <cfset author['Genre'] = "Fantasy">
         <cfset author['AWESOME'] = true>
         <cfset authorjson = serializejson(author)>

  • BPEL process that works as a "proxy"

    Hi
    This is my case:
    I have a Web Service already installed in server1. I am developing a Web application that has to use this web service. I need that this web app not to be directly related with the web service in server1 so I used GlassfishESB and make a simple BPEL process that acts as a "proxy", it means that this process receive the request from the web app, invoke the web service in server1 and the result will be delivered without any changes to the web app. It will work initially this way and maybe in the future some changes to the data could happen.
    I did this:
    - I created a new BPEL Module
    - Import the WSDL (of the Web Service) through the option: New -> External WSDL Document
    - Change the soap:address property to: http://localhost:${HttpDefaultPort}/Services/Service9999/Interface/Service9999.serviceagent/portTypeEndpoint
    - Add this as Partner Link in the left side of the BPEL Designer's Design view.
    - Import (again) the WSDL (of the Web Service but with a different name) through the option: New -> External WSDL Document
    - Leave the soap:address property as it was with the original URL http://server1/Services/Service9999/Interface/Service9999.serviceagent/portTypeEndpoint
    - Add this as Partner Link in the right side of the BPEL Designer's Design view.
    - Add Receive1, Assign1, Invoke1, Assign2 and Reply1. The Assign1 maps the input from the web application to the input for the external web service. And the Assign2 maps the output from the external web service to the output of the Reply1.
    I built it.
    - Create a CompositeApp
    - Add the JBI component
    - Build it
    But when I deploy it I get serveral errors:
    {color:#ff0000}ERROR: Successful execution of Start: CompositeApp1
    WARNING: (JBIMA0405) Start of service assembly CompositeApp1 succeeded partially; some service units failed to start.
    * Component: sun-bpel-engine
    ERROR: (BPELSE) Service unit CompositeApp1-BpelModule1 failed to load deployment C:\Archivos de programa\glassfish-v2ur2\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1-BpelModule1\sun-bpel-engine :C:\Archivos de programa\glassfish-v2ur2\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1-BpelModule1\sun-bpel-engine\Service9999_1_1.wsdl:13: error: sch-props-correct.2: Duplicate global type: FinancingDetails_Block_t@http://www.fixprotocol.org/FIXML-5-0 (Original global type found in file: Service9999_1.wsdl)
    Detailed Message :
    1: SEVERE :Duplicate global type: FinancingDetails_Block_t@http://www.fixprotocol.org/FIXML-5-0 (Original global type found in file: Service9999_1.wsdl)
    2: SEVERE :Duplicate global type: AttrbGrp_Block_t@http://www.fixprotocol.org/FIXML-5-0 (Original global type found in file: Service9999_1.wsdl)
    3: SEVERE :Duplicate global type: RootSubParties_Block_t@http://www.fixprotocol.org/FIXML-5-0 (Original global type found in file: Service9999_1.wsdl)
    4: SEVERE :Duplicate global type: NestedParties2_Block_t@http://www.fixprotocol.org/FIXML-5-0 (Original global type found in file: Service9999_1.wsdl)
    {color}......... and it continues until:
    {color:#ff0000}1593: SEVERE :Duplicate attribute group: EvntGrpAttributes@http://www.fixprotocol.org/FIXML-5-0 (Original attribute group found in file: Service9999_1.wsdl)
    * Component: sun-http-binding
    INFO: (JBIMA0409) Lifecycle operation start succeeded for Service Unit CompositeApp1-sun-http-binding.{color}
    The cause seems pretty obvious as both WSDL has the same Schemas and the same types defined so when it tries to deploy it, it finds exactly the same types twice (well, that's what I think)
    Am I doing something wrong? Am I missing something? How can I avoid that GlassfishESB duplicates the types?

    Hi.
    The solution for this was to import the WSDL only once and add a portType2, its binding and its endpoint. I had to create two partnerlinks, one for myRole and another for an externalRol. I linked mypartnerlink with portType2 and the externalpartnerlink with portType. The soap:address for the endpoint related with portType2 had this URL: http://localhost:${HttpDefaultPort}/Services/Service9999/Interface/Service9999.serviceagent/portTypeEndpoint, and the soap:address for the other endpoint had this: http://server1/Services/Service9999/Interface/Service9999.serviceagent/portTypeEndpoint.
    With this setup I could add the same WSDL twice in the process, one for the left side and the other one for the right side. Make sure that the one you add to the left side has the soap:address with the localhost (http://localhost:${HttpDefaultPort}/Servi.....
    ) so choose the correct partnerlink (mypartnerlink). Now you can create the Receive, Assign1, Invoke, Assign2 and Reply and do what I said in the previous post.
    In this way there's not such "Duplicate global type" because the WSDL is imported only once.

  • PeopleSoft queries that start with QA_TL

    We are in the process of upgrading from Peoplesoft HCM 8.8 to PeopleSoft HCM 9.0. Part of this process involves cleaning up old queries. We noticed that there are a lot of delivered pubblic queries that start with QA_TL that we have not used in at least 5 years. Does anyone out there know what these queries are and what the prefix QA_TL stands for?

    when u work for an XYZ company... developers under XYZ name their queries as XYZ_module name generally.
    QA_TL can be related as QA as company name, TL stands for time and labour under workforce management for HCM application.
    if QA is not ur company name , may be while testing under 8.8 they termed the query to QA query.
    coming onto queries , without looking at the queries it is impossible to say what that query does.
    from your statement as everything is a public query , u can run them and see the output in excel , what it does exactly.
    under PIA -- reporting tools -- query manager ... do a search
    with each query name there is some description written next to it.
    if the end user requests saying "he needs certain data to be populated out", developer writes a query and add security to it. under time labour generally queries are activity by vendor group, activity by batches, Dept Mg detail ... things like that.
    Thnks!

  • How to test the process chains

    hi sap gurus,
    Can anybody tell me how to test the Process chains before i load real time data,i run process chains every morning 6.15 am,before that i want to test every process is linked to another.
    thanks in advance.

    Hi,
    Scheduling the process is the only way to check whether it is running fine or not. The process chains should be checked first in the Dev server and then in the QA server before transported to Prod.
    You can also check the process chain using the "check" button to see if the processes are in the proper sequence or not.
    There is a "log" button to keep track of the progress of the chain
    suresh

  • How do you keep processes from starting up?

    i have no HP software from on my computer and i still have HP's process starting up on my computer. i need to know how to keep a process from starting up. i know in windows you do MSCONFIG, does OS X have anything like that? thanks.

    As the Hatter said, get EasyFind:
    http://www.devon-technologies.com/download/
    It's free and a nifty little program. Spotlight is programmed to not search in most system folders so will not find many of the pieces of an app you want to de-install. EasyFind will look in those places so you can delete whatever else of the HP app is still around.
    Kevin
    http://www.bearbyte.blogspot.com/

  • What are the weird files that start with ._ that pc users get when I send zips?

    When I send files that I zip using Stuiffit to pc users they get the files plus an equal number of files that start with ._ Does anybody know what these are and how to get rid of them?
    Thanks!
    Karen

    Dot files are invisible files that OS X uses to display positions of files and folders icon for instance when you open a folder.
    That is indeed what a .DS_Store file does, but that's not the ones Bogies is referring to.
    There are various other items that start with a period, such as .Trashes. Every drive gets a trash folder, just as Windows does to each of its drives. While it hides its own trash folders from view, Windows doesn't recognize OS X's version of the trash folder, so you see it.
    But you're likely talking about these. Every file you copy from OS X to a DOS/Windows formatted drive gets a ._ file. The Mac OS has a twin file system; the data fork, and the resource fork. Windows has only a data fork.
    In order for OS X to maintain the resource fork data on a Windows drive, it has to write the resource data as a separate data fork file. So a file named foo.tif will also get a ._foo.tif file on the drive. Mac users don't see them since UNIX automatically hides anything that starts with a period. When you copy the file back to OS X, the data and resource fork info is combined again into a normal Mac file.
    Most of the time, removing these are no big deal. They hold simple data like Type and Creator codes, modification dates, icons, etc. Others, like Mac Type 1 PostScript or Mac legacy TrueType fonts have all of the font data in the resource fork. Delete the ._ files for those types of fonts, and you're left with nothing.

Maybe you are looking for

  • Is there a way of knowing what was downloaded/received by an iphone at a given time?

    A week ago I was abroad and kept data roaming at all times to avoid surprises. However, at some point I had to use data roaming for sending a message and unfortulately something of around 24MB was downloaded. Before that my data roaming consumption w

  • How to update front panel immediatel​y with any control change in LabVIEW7.0​?

    I have a lot of controls on the front panel. I want my 3D plot to be updated with any of them changed. Currently only one control's change can result in the update even if I do have done changes on other controls .. that's to say, only one specific c

  • External image fading in

    I have a movie with 3 external jpgs (1.jpg, 2.jpg 3.jpg). I have a blank movie on stage with instance name "photo." I need the jpgs to load using a fade in effect and after 3 secs, load the other jpg. Any thoughts guys?

  • Merging 2 hard drives

    I am running LR2.2 on a Mac and currently have copies of data on two hard drives which I want to merge all data onto one hard drive without duplicating. Can somebody point me in the right direction to do this? Thanks

  • IPod Touch 2G loses WiFi WEP connection, have to re-enter SID and password

    We bought a new iPod Touch this week, and it keeps dropping/forgetting the WiFi connection settings. My network consists of a Netgear N router set to mixed mode (B/G/N), WPA, MAC filtering, SSID is not broadcast. I have added the new iPod Touch's MAC