Retriveing selected instance in BPM Studio 10.3.1

Hi,
I wanted to capture the selected instances in BPM Studio Workspace using PAPI API.
Using following code
if inst.selected then
     grab inst
     using grabActivity = "GrabEdit";
     route inst
     using activity = "Notify"
end     
But inst.selected is giving true even for unselected instances. Is there any way to retrieve selected instances only.
Thanks,

I haven't used the "Selected" feature via PAPI, but I suspect the problem has to do with session affinity between the workspace session and the PAPI session. The "selected" value probably isn't a persisted state stored on the instance.
What use case are you trying to implement? It seems odd that you'd want some agent (PAPI client) watching what is select by in a user workspace session...
Regards,
Mark

Similar Messages

  • Adding Attachment in a single Instance BPM Studio 10.3.1

    Hello,
    I am using Oracle BPM Studio 10.3.1.0 and I am trying to create a process, where there will be an Interactive activity for a user role to upload a file (for example a .doc/docx or .pdf) and after the file is uploaded, another role will be able to download that file to their local filesystem (in the same instance).
    I can't find a way to do this.
    I have tried FileChooserDemo from this thread, How to Use FileChooser on for Client files however I can't find where or how to display the file to be downloaded, neither the file itself on the filesystem.
    I am using BPM for the first time for a project I have been assigned, so if you can please reply with good instructions.
    The Oracle BPM server and client are the same machine.
    Any help will be very appreciated.
    Elina

    Hi Elina,
    Just a couple things.
    Be careful with the fileChooser. I think you saw an old post from Lilach (Re: Browse for file where it is discussed. The file you're choosing is from your server and not from your client. It might appear that it is working from your client machine now, but that's because you are testing using your own machine and that's perceived as the "server".
    Sure you've considered this, but you might want to use the OOTB attachment feature for work item instances that comes with the Workspace.
    Dan

  • How to kill an instance process in BPM studio 6.0

    Hi i'm Fabio.
    I'm working on BPM Studio 6.0 and i need to complete a task.
    I have an instance id process, and i need to create a new process in order to kill this istance id.
    I read how to create a PAPI client (http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi/c_Writing_Your_First_Java_PAPI_Program.html) but it doesn't work for my purpose.
    First of all, i understood that i have to follow these step:
    * Import the required libraries.
    * Create a process service.
    * Create a process service session.
    * Perform operations with PAPI.
    * Close the process service.
    Now, i'm working on my xpdl file and i'm using the Standard Module "Fuego" and my plan is to create a process servcie, a process service session and then operate with PAPI.
    But using the PAPI module include in the BPM studio 6.0 i'm no able to load the library for the session import fuego.papi.ProcessServiceSession;
    so i'm worng something. Could you tell me how can menage this problem? Really do i need a session? Is possible to abort an istance process in BPM studio or i need to load my ear project in Enterprise environment and then kill my instance process? Thanks, regards Fabio.

    Thanks Dan, i read your suggestion but my boss was to implement a different solution:
    package hp.abort.process;
    import fuego.boot.*;
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.InstanceId;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.util.Properties;
    import javax.transaction.*;
    import java.lang.Exception;
    public class AbortProcess {
    public static void main(String[] args) {
    /////////////////// API Initialization ///////////////////
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ProcessService.PROJECT_PATH, "C:/Documents and Settings/Administrator/AlbpmWorkspace/EarOMatic");
    configuration.setProperty(ProcessService.WORKING_FOLDER, "C:/tmp");
    try {
    ProcessService processService = ProcessService.create(configuration);
    /////////////////// Establish a session ///////////////////
    ProcessServiceSession session = processService.createSession("adminEarOMatic", "adminEarOMatic", "localhost");
    /////////////////// Operate with PAPI ///////////////////
    for (String processId : session.processesGetIds()) {
    System.out.println("\n Process: " + processId);
    for (InstanceInfo instance : session.processGetInstances(processId) ) {
    System.out.println(" -> " + instance.getId());
    System.out.println("ActivityName -> " + instance.getActivityName());
    System.out.println("ActivityId -> "+ instance.getActivityId());
    //Problema: nn vuole ActivityId ma Process Id
    session.activityAbort("/CreateEurekaSRService#Default-1.0/eomWait","/CreateEurekaSRService#Default-1.0/1/0@EarOMatic");
    /////////////////// Close the session ///////////////////
    session.close();
    /////////////////// Release API Resources ///////////////////
    processService.close();
    } catch (CommunicationException e) {
    System.out.println("Could not connect to Directory Service");
    e.printStackTrace();
    } catch (OperationException e) {
    System.out.println("Could not perform the requested operation");
    e.printStackTrace();
    Now, i got the following exception:
    Local folder C:/tmp\system\Schema-4154784351820594721\catalogs found.
    Loading catalogs from local folder: C:/tmp\system\Schema-4154784351820594721\catalogs
    0 jars found locally.
    [CatalogMgrCache] =======================
    Registering CatalogMgr [EarOMatic] ...CatalogManagerCache 10390580:
    Managers:
    Counters:
    [CatalogMgrCache] =======================
    CatalogMgr [EarOMatic] REGISTERED!CatalogManagerCache 10390580:
    Managers:
    {EarOMatic=fuego.util.LocalCatalogManager@106df95}
    Counters:
    Process: /AbortInstanceProcessService#Default-1.0
    Unreachable Engine Tolerance (seconds):
    by default: 0
    to be used: 0
    This papi client will not cache exceptions which imply that an engine could not be reached.
    Changing InstanceCache Entry[processId=/AbortInstanceProcessService#Default-1.0, state=0] to 3
    Changing InstanceCache Entry[processId=/AbortInstanceProcessService#Default-1.0, state=3] to 2
    Process: /CreateEurekaSRService#Default-1.0
    Changing InstanceCache Entry[processId=/CreateEurekaSRService#Default-1.0, state=0] to 3
    Changing InstanceCache Entry[processId=/CreateEurekaSRService#Default-1.0, state=3] to 2
    -> /CreateEurekaSRService#Default-1.0/1/0
    ActivityName -> eomWait
    Adding local catalog for project: 1
    ActivityId -> /CreateEurekaSRService#Default-1.0/eomWait
    Exception in thread "main" fuego.server.exception.InvalidIdRuntimeException: Invalid identification.
    Detail:Invalid identification (Identification value: /CreateEurekaSRService#Default-1.0/eomWait)
         at fuego.server.ActiveProcessImpl.getActivity(ActiveProcessImpl.java:632)
         at fuego.server.execution.microactivity.AbstractProcessExecutionHandler.getExecutableActivity(AbstractProcessExecutionHandler.java:58)
         at fuego.server.AbstractProcessBean.abortActivity(AbstractProcessBean.java:3262)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:587)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
         at fuego.component.CustomExecution.next(CustomExecution.java:172)
         at fuego.component.ExecutorClient.invoke(ExecutorClient.java:118)
         at fuego.papi.impl.rmi.ProcessControlProxy.abortActivity(ProcessControlProxy.java:407)
         at fuego.papi.impl.rmi.ProcessControlProxyWrapper.abortActivity(ProcessControlProxyWrapper.java:683)
         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:585)
         at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
         at fuego.papi.impl.rmi.RMIProcessControlHandler.invoke(RMIProcessControlHandler.java:165)
         at $Proxy23.abortActivity(Unknown Source)
         at fuego.papi.impl.ProcessInstanceOperation.abortActivity(ProcessInstanceOperation.java:726)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityAbort(ProcessServiceSessionImpl.java:184)
         at hp.abort.process.AbortProcess.main(AbortProcess.java:45)
    Caused by: fuego.metadata.exception.InvalidIdException: Activity '/CreateEurekaSRService#Default-1.0/eomWait' was not found in process '/CreateEurekaSRService#Default-1.0'.
         at fuego.metadata.Process.getActivity(Process.java:261)
         at fuego.server.ActiveProcessImpl.getActivity(ActiveProcessImpl.java:629)
         at fuego.server.execution.microactivity.AbstractProcessExecutionHandler.getExecutableActivity(AbstractProcessExecutionHandler.java:58)
         at fuego.server.AbstractProcessBean.abortActivity(AbstractProcessBean.java:3262)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:587)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    I understood that tha activity id's format is not valid, but i obtained it just using the following function: instance.getActivityId()
    Are you abel to give me some suggestion? Is it good this method to kill instance?
    Thanks a lot, regard Fabio.

  • How to trigger the start  of activity in BPM Studio 10.3

    Hi
    I am new to BPM Studio 10.3.1.
    I have configured two External Resources
    1)J2EE Application Server: Giving details of the application server on which my JMS Queue resides
    2)JMS Messaging Service: Giving details of the JMS Queue
    I want to trigger the start of BPM process/ activity execution when a message arrives on the configured JMS Queue from an external system.
    How will I be able to listen to that queue?
    Similarly, I would also like to know the steps to post a message to JMS through the activity in BPM Studio.
    Is there any document available that helps in configuring the External Resources other than the Studio Reference guide and User guide.
    Can anyone please help on this?
    Thanks

    I don't know if this is exactly what you're after when you wan't to start an 'activity' with a JMS message,
    If you're searching for a way to start the process, this might be your solution:
    String procId = process.id;
    *// Load the JMS Message in the argument holder*
    m_begin.load(xmlText : message.textValue);
    logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
    *// Set the arguments which are sent with the new instance*
    *Any[String] argsIn;*
    argsIn["beginArg"] = m_begin;
    *// Specify the process in which the new instance should be created*
    ProcessInstance.create(processId : procId, arguments : argsIn, argumentsSetName : "BeginIn");
    If you wan't to notify an instance which is in a Wait activity, you can use this:
    *// Putting the message in the paramaters*
    *Any[Any] params;*
    logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
    params["waitArg"] = m_wait;
    *String instId = {instance ID};*
    Notification.send(instanceId : instId, activityName : "WaitActivity", argumentSetName : "WaitIn", parameters : params);
    -----

  • BPEL Process in BPM Studio

    Hello,
    First, are there any examples, tutorials, or documentation on how to create and run a BPEL process within BPM Studio (5.7) ?
    I've gotten quite a ways by trial and error, but am having trouble running / testing out the process.
    I've tried doing a Process->Generate Process Interface and Process->Run but nothing happens in BPM Studio when these are performed. What else do i need to do to test out my BPEL process with external webservice ?
    Here's the steps i've taken so far.
    1. Developed a simple external webservice with netbeans (JAX-WS).
    2. Generated WSDL and XSD with wsgen executable.
    3. Developed WSDL & XSD for BPEL Process request & reply.
    4. Created a new project within BPM Studio.
    5. Created a new module under "Catalog" for wsdl introspection.
    6. Cataloged webservice component with local wsdl/xsd files.
    7. Configured the Server configuration generated under the "External Resources" to point to the webservice host.
    8. Configured the web service under "External Resources" to point to the webservice endpoint on the host (Server configuration)
    9. Created a new BPEL Process.
    10. Created new Instance variables for the process input and output as "component" type that point to the introspected request & response types.
    11. Assigned the port type & method of the BPEL Receive to the introspected service defined in #3.
    12. Assinged the input variable to the request variable created in #10.
    13. Assigned port type & method & output variable to the BPEL reply.
    14. Created a BPEL Invoke node between Request & Reply.
    15. Assigned port type & method on the Invoke node to instrospected web service defined in #2.
    16. Created instance variables for input & output of invoke node based on introspected request & reply
    17. Assigned input & output.
    Once all of this was complete, doing a Process->Check Design yeilded no errors or warnings.
    Thanks for any help,
    Chris

    Hello,
    First, are there any examples, tutorials, or documentation on how to create and run a BPEL process within BPM Studio (5.7) ?
    I've gotten quite a ways by trial and error, but am having trouble running / testing out the process.
    I've tried doing a Process->Generate Process Interface and Process->Run but nothing happens in BPM Studio when these are performed. What else do i need to do to test out my BPEL process with external webservice ?
    Here's the steps i've taken so far.
    1. Developed a simple external webservice with netbeans (JAX-WS).
    2. Generated WSDL and XSD with wsgen executable.
    3. Developed WSDL & XSD for BPEL Process request & reply.
    4. Created a new project within BPM Studio.
    5. Created a new module under "Catalog" for wsdl introspection.
    6. Cataloged webservice component with local wsdl/xsd files.
    7. Configured the Server configuration generated under the "External Resources" to point to the webservice host.
    8. Configured the web service under "External Resources" to point to the webservice endpoint on the host (Server configuration)
    9. Created a new BPEL Process.
    10. Created new Instance variables for the process input and output as "component" type that point to the introspected request & response types.
    11. Assigned the port type & method of the BPEL Receive to the introspected service defined in #3.
    12. Assinged the input variable to the request variable created in #10.
    13. Assigned port type & method & output variable to the BPEL reply.
    14. Created a BPEL Invoke node between Request & Reply.
    15. Assigned port type & method on the Invoke node to instrospected web service defined in #2.
    16. Created instance variables for input & output of invoke node based on introspected request & reply
    17. Assigned input & output.
    Once all of this was complete, doing a Process->Check Design yeilded no errors or warnings.
    Thanks for any help,
    Chris

  • How to get the papi wsdl of Oracle BPM Studio

    How to get the papi wsdl of Oracle BPM Studio. What is the url of the papi wsdl of Oracle BPM Studio

    Thanks to Lovin:
    There is an icon in the studio when the engine starts.. called as "Launch Deployed Webservice webapp"
    Also.. Need to go to Engine Preferences -> Engine -> Advanced Tab -> Startup and select Start PAPI Web Services.
    Default URL:http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl

  • Remote JDBC problem while setting up it with BPM Studio 10.3

    Hi
    I am trying to use the Remote JDBC for SQL Connection to Database with Oracle BPM Studio.
    When i configure a Remote JDBC Connection for SQL in BPM Studio, it prompt me an error.
    Step 1: Create a new external resource
    Name: erJavaLibrary
    Type: Java Class Library
    Jar libraries: weblogic.jar
         wlclient.jar
    Step 2: Create a new external resource
    Name: erWebLogic
    Type: J2EE Application Server type
    Initial Context Factory: weblogic.jndi.WLInitialContextFactory
    URL: http://192.168.1.32:7001
    Principal: weblogic
    Credentials: *******
    Step 3: Create a new external resource
    Name: erSQLjdb
    Type: SQL database
    Supported Types : Remote JDBC
    Database Type : BPM MS SQL Server 2005
    J2EE : erWebLogic
    Lookup Name : TestBPMDS
    Step 4: Creating a new catalog modulo for database component
    Select Catalog Component, and then select SQL
    Specify which configuration: erSQLjdbc
    Exception error:
    weblogic/security/subject/AbstractSubject
    Caused by: weblogic.security.subject.AbstractSubject
    java.lang.NoClassDefFoundError: weblogic/security/subject/AbstractSubject      
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)      
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)      
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)      
    at javax.naming.InitialContext.init(InitialContext.java:223)      
    at javax.naming.InitialContext.<init>(InitialContext.java:197)      
    at fuego.jndi.FaultTolerantContext.createContext(FaultTolerantContext.java:726)      
    at fuego.jndi.FaultTolerantContext.<init>(FaultTolerantContext.java:79)      
    at fuego.connector.impl.GenericJ2EEConnector.createInitialContext(GenericJ2EEConnector.java:177)      
    at fuego.connector.impl.GenericJ2EEConnector.createStandaloneContext(GenericJ2EEConnector.java:98)      
    at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:92)      
    at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:76)      
    at fuego.connector.J2EEHelper.getReadOnlyContext(J2EEHelper.java:86)      
    at fuego.connector.impl.BaseRemoteConnector.getContext(BaseRemoteConnector.java:99)
    at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:114)
    at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:107)
    at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:75)      
    at fuego.connector.impl.RemoteJDBCConnector.getResource(RemoteJDBCConnector.java:145)      
    at fuego.connector.impl.RemoteJDBCConnector.getResource(RemoteJDBCConnector.java:129)      
    at fuego.connector.JDBCHelper.getReadOnlyConnection(JDBCHelper.java:90)      
    at fuego.sqlintrospector.BrowserPanel.connect(BrowserPanel.java:395)      
    at fuego.sqlintrospector.BrowserPanel.populateTree(BrowserPanel.java:200)      
    at fuego.ui.wizards.ui.CheckTreeBrowser$1.construct(CheckTreeBrowser.java:63)      
    at fuego.ui.SwingWorker$2.run(SwingWorker.java:39)      
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: weblogic.security.subject.AbstractSubject      
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)      
    at java.security.AccessController.doPrivileged(Native Method)      
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)      
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)      
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)      
    ... 24 more

    Solution procedure:
    1. Create the wlfullclient.jar file in weblogic environment:
    It is documented in: http://download.oracle.com/docs/cd/E12839_01/web.1111/e13717/jarbuilder.htm#BABCGHFH
    2. Add the wlfullclient.jar file as external resource.
    3. Create the Remote JDBC data source configuration

  • PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Studio.
    http://www.4shared.com/file/128256802/f20abc7a/PAPI-WS_for_Oracle_BPM_Studio.html
    Be sure to use the project that is in the zip file for this example.
    If you need an example of how to use PAPI-WS on Oracle BPM Enterprise, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    Hope this helps,
    Dan

    Hi,
    Is there any sample code showing PAPI-WS with VS 2008? AFAIK, there is a sample using VS 2005 and WSE 3.0, but I'm interested in using VS 2008/WCF.
    Regards,

  • Cannot find the "Import Designs" option in BPM Studio/JDev 11.1.1.3

    Dear All,
    I'm using JDeveloper 11.1.1.3 and the corresponding BPM studio.
    I cannot see the option to "Import Designs" as described here:
    How to import XPDL

    You first need to first download the Oracle Business Process Converter by going to http://www.oracle.com/technetwork/middleware/bpm/downloads/downloads-097443.html
    1. Sign in and accept the license agreement.
    2. Expand "Prerequisites & Recommended Install Process"
    3. Scroll down until you see "Oracle Business Process Converter" and download this.
    4. From the downloaded file, save the tutor_bpm_integrator.zip file into a temporary directory somewhere on your hard drive.
    Next you need to install it into your existing 11.1.1.5 JDeveloper installation
    5. Open JDeveloper -> click Help -> click Check for Updates -> click the "Install From Local File" option and browse to the tutor_bpm_integrator.zip file you just saved -> click Next -> Finish.
    Finally, to import the Visio vdx file
    6. To insert the Visio vdx file into an Existing Project, in JDeveloper open an Application -> in the Appication Navigator tab right mouse click an existing project -> click Import Models... -> in the "File Type" dropdown, select Visio and browse for the .vdx file to open and import.
    Hope this helps,
    Dan

  • Migrate a project from BPM Studio to enterprise server

    Hi
    can anyone can help me and explain me how to migrate or deploy a project from BPM studio to the BPM enterprise server????????
    thanks

    From studio, right click on the project, and go to export. This will give you a .exp file which contains all the information relating to the project.
    Assuming you have correctly installed Enterprise, just open up the process administrator, go to projects, select deploy, and browse to the location of your .exp file.
    Its that easy!
    HTH
    -Kevin

  • NullPointerException when compiling an imported .vdx file in BPM Studio

    After importing a .vdx (Visio) file containing BPMN 1.2 symbols into BPM studio, I tried to build the project and JDeveloper reported the following cryptic error:
    Oct 17, 2012 9:40:26 AM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Oct 17, 2012 9:40:26 AM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    java.lang.NullPointerException
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextDefault(ProcessChecker.java:648)
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextActivityLevel(ProcessChecker.java:562)
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextActivityLevel(ProcessChecker.java:602)
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextActivityLevel(ProcessChecker.java:602)
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextActivityLevel(ProcessChecker.java:602)
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextActivityLevel(ProcessChecker.java:602)
         at oracle.bpm.project.compile.process.ProcessChecker.updateNextActivityLevel(ProcessChecker.java:602)
         at oracle.bpm.project.compile.process.ProcessChecker.setLevelForFlow(ProcessChecker.java:453)
         at oracle.bpm.project.compile.process.ProcessChecker.setNodeContainerActivityLevels(ProcessChecker.java:475)
         at oracle.bpm.project.compile.process.ProcessChecker.checkFlow(ProcessChecker.java:289)
         at oracle.bpm.project.compile.process.ProcessChecker.check(ProcessChecker.java:101)
         at oracle.bpm.project.compiler.ProcessCompiler.compile(ProcessCompiler.java:59)
         at oracle.bpm.project.compiler.ProcessCompiler.compile(ProcessCompiler.java:24)
         at oracle.bpm.project.compiler.ProjectCompiler.compileProjectObject(ProjectCompiler.java:512)
         at oracle.bpm.project.compiler.ProjectCompiler.compileModels(ProjectCompiler.java:288)
         at oracle.bpm.project.compiler.ProjectCompiler.compile(ProjectCompiler.java:177)
         at oracle.bpm.fusion.sca.validator.BPMNComponentValidator.isValidBpmProject(BPMNComponentValidator.java:64)
         at oracle.bpm.fusion.sca.validator.BPMNComponentValidator.validate(BPMNComponentValidator.java:104)
         at oracle.bpm.fusion.sca.validator.BPMNComponentValidator.validate(BPMNComponentValidator.java:82)
         at oracle.soa.scac.bpmn.BPMNComponentValidator.validate(BPMNComponentValidator.java:56)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    My .vdx file -> https://dl.dropbox.com/u/22482565/Drawing1.vdx
    My generated .bpmn file -> https://dl.dropbox.com/u/22482565/Drawing10_1111_Default.bpmn
    I have no idea why this is happening before, but I noticed that when I changed the *<exclusiveGateway gatewayDirection="Diverging"* to *<exclusiveGateway gatewayDirection="Unspecified"* in the .bpmn file, it works fine. Does this mean there is a defect with the way that BPM Studio imports the .vdx file?

    Hi,
    i'm having exactly the same problem
    Error importing a BizAgi xpdl file into JDeveloper 1.6
    I think its a problem with the importer because if you create an simple process with an exclusive gateway the bpmn generated has the atribute with a value of unspecified.

  • Problems to invoke a secure Web service from Oracle BPM Studio 10.3

    Hi all
    I'm trying to consume a web service through HTTPS protoloco Oracle BPM Studio v10.3, but I get the following error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
    Some help!!
    Thanks

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

  • Oracle BPM Studio with JDK 1.6

    Hi,
    regarding to the the release notes of the Oracle BPM 10.3.1 (http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/relnotes/release_notes_OracleBPM10gR3.htm) the studio runs now with a JVM 1.6. But after I installed it seems to me that it is still 1.5 (if you look in Help/About Oracle BPM Studio/Configuration Details). Can I simply exchange the underlying JDK oder would there be any problems?
    Kind regards
    Matthias

    you can.
    See the changing your JVM section for Studio at the following pages for instructions on what to do http://download-llnw.oracle.com/docs/cd/E13154_01/bpm/docs65/installguide/index.html
    Thanks,
    Mike

  • Oracle BPM Studio 10g R3 cataloging Web Services strips special characters

    Hi folks,
    I have a Web Service that I'd like to invoke from an activity in my process.
    When I catalog the WSDL, BPM Studio creates the associated External Resource just fine except for one small problem, namely all Simple Types that have 'special characters' in their enumerated String values are stripped clean.
    Example 1:
    ADSL1
    ADSL2
    ADSL2+
    --&gt; The plus is stripped from ADSL2+, causing BPM Studio to flag two problems caused by duplicate 'ADSL' values
    Example 2:
    adsl1#foo/123
    --&gt; Everything to the left of 123 is stripped leaving only '123' as a value
    In fact in the BPM Studio's Editor, the only special character that is allowed is the underscore. Everything else e.g. \ # etc etc cannot be keyed in.
    Has anyone come across this before? Thanks for reading :-)
    cheers
    jm

  • Authentication error using PAPI-WS for BPM Studio 10.3

    I followed the steps laid out in the material from this thread using SOAP UI:
    PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio
    It seems that BPM Studio does not recognize the default credentials user: "test" and password: "test"
    I receive the following error when I try to make any call:
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Client</faultcode>
    <faultstring>Participant could not be authenticated. A wrong username or password might have been specified.</faultstring>
    <detail>
    <oens:OperationException xmlns:oens="http://bea.com/albpm/PapiWebService">
    <exceptionName>fuego.papi.webservice.handlers.AuthenticationException</exceptionName>
    <message>Participant could not be authenticated. A wrong username or password might have been specified.</message>
    <technicalInfo>fuego.papi.webservice.handlers.AuthenticationException: Participant could not be authenticated. A wrong username or password might have been specified.
         at fuego.papi.webservice.handlers.AuthenticationHandler.processAuthentication(AuthenticationHandler.java:144)
         at fuego.papi.webservice.handlers.AuthenticationHandler.handleMessage(AuthenticationHandler.java:74)
         at fuego.papi.webservice.handlers.AuthenticationHandler.handleMessage(AuthenticationHandler.java:46)
         at com.sun.xml.ws.handler.HandlerProcessor.callHandleMessage(HandlerProcessor.java:292)
         at com.sun.xml.ws.handler.HandlerProcessor.callHandlersRequest(HandlerProcessor.java:135)
         at com.sun.xml.ws.handler.ServerSOAPHandlerTube.callHandlersOnRequest(ServerSOAPHandlerTube.java:133)
         at com.sun.xml.ws.handler.HandlerTube.processRequest(HandlerTube.java:116)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Caused by: fuego.papi.exception.AuthenticationException: Cannot authenticate participant 'test'.
         at fuego.papi.impl.ProcessServiceImpl.authenticatePassport(ProcessServiceImpl.java:297)
         at fuego.papi.webservice.pool.ProcessServiceSessionPoolManager.getSession(ProcessServiceSessionPoolManager.java:185)
         at fuego.papi.webservice.WebServiceManager.getProcessServiceSession(WebServiceManager.java:156)
         at fuego.papi.webservice.handlers.AuthenticationHandler.processAuthentication(AuthenticationHandler.java:141)
         ... 45 more
    Caused by: fuego.directory.AuthenticationException: Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [default] PARTICIPANT [test] REASON [Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [Project:Test] PARTICIPANT [test] REASON [invalid username or password].
         at fuego.directory.AuthenticationException.wrap(AuthenticationException.java:104)
         at fuego.directory.project.engine.EmbeddedEngineAuthenticationAccessor.connect(EmbeddedEngineAuthenticationAccessor.java:69)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy12.connect(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl.connect(DirectorySessionImpl.java:250)
         at fuego.directory.provider.Factory.startSession(Factory.java:405)
         at fuego.directory.Directory.startSession(Directory.java:268)
         at fuego.papi.impl.ProcessServiceImpl.authenticatePassport(ProcessServiceImpl.java:287)
         ... 48 more
    Caused by: fuego.directory.AuthenticationException: Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [Project:Test] PARTICIPANT [test] REASON [invalid username or password].
         at fuego.directory.project.engine.ProjectFullParticipantsAccessor.fetchHumanParticipant(ProjectFullParticipantsAccessor.java:82)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy15.fetchHumanParticipant(Unknown Source)
         at fuego.directory.project.engine.EmbeddedEngineAuthenticationAccessor.connect(EmbeddedEngineAuthenticationAccessor.java:66)
         ... 58 more</technicalInfo>
    </oens:OperationException>
    </detail>
    </S:Fault>
    </S:Body>
    </S:Envelope>
    Like I said above, it seems that BPM Studio does not recognize the default credentials user: "test" and password: "test"
    Is there anyway to change these default credentials?
    Thanks!
    Edited by: user9001687 on Feb 10, 2010 2:14 PM
    Edited by: user9001687 on Feb 10, 2010 2:16 PM

    Thanks so much Dan. I changed as you mentioned and then added WSS-Username Token as while processing BPM process as web service I have used the same opetion. Still I am getting the same error for Authorization Failure.
    SOAP Requests look like :
    <soapenv:Envelope xmlns:pps="http://bea.com/albpm/ProLogisBPM/PPSFTProcess" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-2" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>Paul</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Paul</wsse:Password>
    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">AlmoI4QkO2hp9z10BQGA0A==</wsse:Nonce>
    <wsu:Created>2010-03-17T15:48:04.843Z</wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    Adter
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.webservices.security.AuthorizationException: Authorization Failed.
         at fuego.soaptype.ProcessWebServiceAuthorization.authorize(ProcessWebServiceAuthorization.java:57)
         at fuego.soaptype.AxisSoapService$HttpBasicAuthentitcationHandler.invoke(AxisSoapService.java:888)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:357)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:122)
         at fuego.webservices.HttpSoapListener.process(HttpSoapListener.java:206)
         at fuego.http.HttpExecution$1.run(HttpExecution.java:71)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.http.HttpExecution$HttpPrincipal.processBatch(HttpExecution.java:190)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.IllegalArgumentException: user: null
         at fuego.components.WebServiceSessionManager.createSession(WebServiceSessionManager.java:88)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
         at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
         ... 2 more
    Caused by: fuego.directory.AuthenticationException: Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [default] PARTICIPANT [null] REASON [participant is empty].
         at fuego.directory.AuthenticationException.error(AuthenticationException.java:50)
         at fuego.directory.AuthenticationException.participantIdIsWrong(AuthenticationException.java:94)
         at fuego.components.WebServiceSessionManager$SessionImpl.&lt;init>(WebServiceSessionManager.java:220)
         at fuego.components.WebServiceSessionManager.createSession(WebServiceSessionManager.java:79)
         ... 26 more</ns1:stackTrace>
    Any help or guiding pointer would be deeply appreciated. TIA

Maybe you are looking for

  • Clamshell mode won't work with OSX Lion

    I am running a 2010 13" Macbook Pro and a Dell ST2410 23" external display. I have been using an HDMI to mini displayport cable with this setup for over a year without a problem. Now my monitor goes dark when I try to setup the MBP in clamshell mode.

  • My system boots normally only half the time

    Hello, I've been trying to properly boot all day and nothing has worked. Symptom: Boots to a blue screen no pinwheel or anything. It froze while working, the pinwheel and everything froze. So I turned it of and on. Now it won't boot normally. The onl

  • SQLBindParameters Output RowType

    I'm programming in MSVC++ with VS6.0 (of course) I have to call a Stored Procedure in Oracle and I have a problem This is the SP declaration: PROCEDURE SDB_TIC_HIS ( pi_ticket_id IN NUMBER DEFAULT 1, po_ticket_id OUT NUMBER, po_ticket_type OUT NUMBER

  • Generating "arraytofile" files in different locations

    Hello everyone, I am confronting a real problem here. I am using ArrayToFile to generate certain files. What I want to do is to every time I run the system to get these files in different locations, say in different folders. Another option I have is

  • Can not add any accounts to Mail, Calendar, etc.

    This is not an additional account issue. I can not add even 1 account. This is Windows 8 Enterprise. I opened Mail App. I logged in with MS account. I went to settings, Accounts. I clicked on "Add an account" The I get, "You've added all the accounts