BPM Studio 10.3.1 - where are my logMessage entries?

Hi, I am trying to visualize debug messages in BPM Studio 10.3.1 (Standalone), generated with
logMessage "myMessage" using severity = DEBUG
to help debug PBL code. But where can I find the .log file where the messages are supposed to appear? Thanks!

Hi, Dan, thank you very much for your very detailed answer! When I looked in the system directory your answer refers to, I found that there were two log files, project.log.0 and project.log.1, which explains why I had not found them when looking for "*.log". They just had to be somewhere! And the Viewer Log view is also very helpful. Regards, Silvia.

Similar Messages

  • BPM 11g Process Administrator functions: Where are they now??

    Good morning,
    I've got some decent ALBPM6.0.5 experience, and now I've just started in a new project that uses BPM 11g. I've attended to an Oracle "Hands On" so I know 11g is VERY different from 10g/ALBPM.
    My main problem is that I cannot find anywhere where are Roles and Users managed in the server. From where do I administer Roles, Users, Groups, Organizational Units. All that used to be in the Process Administrator. How is that done now? I swear I've gone through all the documentation at http://download.oracle.com/docs/cd/E14571_01/soa.htm and still found nothing :(
    Also, is now using an LDAP mandatory? Or can something like ALBPM Directory still be used??
    Thanks in advance.

    User/Role management is now done through the workspace itself. You must login as an administrative user (like weblogic) and you will see an Admin link in the upper right of the workspace.
    Authentication and user lookup is now handled directly by Weblogic - so you setup authentication Providers in the WLS security realm through the admin console.
    By default Weblogic is configured to use an internal LDAP that stores local users (this is where the "weblogic" user itself is defined).
    General steps are provided here:
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10226/hwf_config.htm#BHCJGBFJ
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/secmanage/atn.html#wp1198953
    Edited by: Mike Rokitka on Jul 2, 2010 11:17 AM

  • Where are my calendar entries from 2011?

    I can no longer access any calendar entries from 2011.  They are GONE.  As a test, I made another entry in the December 2011 calendar, and within five seconds, it disappeared!  Where are my entires for all of last year?  How do I get them back?  I do not have a calendar program on my PC, and I never set any preferences when I installed Icloud, and I cannot access calendars in Icloud without installing Outlook.  I dont want Outlook.  I want my data back from the cloud!  HELP!

    You need to find out how the Google calendar application imports calendars from Macs. As for the Calendar itself you can export the calendar to a file. The Google calendar should be able to Import that file.

  • Where are the first three Back Sabbath studio Albums? All the store has is their LIVE album crap.

    It's frustrating that they have the lousy live albums of Black Sabbath and none of their original studio albums.
    Specifically, their first three albums. The best music they ever did. Why aren't they available?
    Also, where are all the Blues Brothers Albums. Again, only one of their Albums. Is there someplace to put in music requests to iTunes?

    The itunes store can ONLY sell what the owners of the distribution rights allow them to sell.
    Whomever owns the distribution rights to these albums has not reached an agreement with itunes that would allow them to sell the albums.
    You can make requests here:
    http://www.apple.com/feedback/itunes.html

  • 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

  • BPM Studio 10.3 JDBC

    Hi
    I have java packet with code that connects to a Oracle database (jdbc connection)
    which failes using BPM 10g studio.
    Executing this as a java main program from prompt (using same libs and same jre as in STUDIO), works
    Code looks like..
    SolutionOfferManager solutionOfferManager = new SolutionOfferManager("CreatePackageInstance");
    solutionOfferManager.loadPackageByPackageNameAndPricePlanName("Basic Package", "TBCB 365 Bas (P1) - 1 Anv. inkl.");
    In Studio 10.3, failes (java.sql.SQLException: Try to set a parameter name that does not occur in SQL: in_soloffer_name. ???????????)
    Code from BPM process is as simle as above and
    looks like..
    som = new SDE.Java.Apps.Usm.Blds.Som.SolutionOfferManager("CreatePackageInstance");
    som.loadPackageByPackageNameAndPricePlanName("Basic Package", "TBCB 365 Bas (P1) - 1 Anv. inkl.");
    All used jars are cataloged as far as i understand.....
    Running same process in BPM enterprise (wls) works, i just dont understand where the differnce is
    and why it failes running from BPM Studio..
    Anyone how can help me understand..
    /Gert

    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

  • Problem while configuring OSB External Resource in BPM Studio

    Hi
    I have just started using the BPM Studio 10.1.3. I want to invoke my Oracle Service Bus proxy services from one of the activities in the BPM Process flow.
    I created an external resource of type Oracle Service Bus and while trying to catalogue the OSB Component I found that only my WSDL Web Service proxy services with http transport protocol are available to be catalogued. I couldnt find the proxy services of the type Messaging Service, Any SOAP Service, Any XML Service created on Oracle Service Bus.
    Am I missing anything in the configuration or is it that BPM Studio does not support these protocols(jms,mq etc).
    Also, in the Studio Reference there is a mention of Oracle BPM(native) transport that BPM supports for cataloguing OSB Components apart from http and https.
    What is this protocol and how and where can i configure the same to help me catalogue the other OSB proxies?

    Hi
    I have just started using the BPM Studio 10.1.3. I want to invoke my Oracle Service Bus proxy services from one of the activities in the BPM Process flow.
    I created an external resource of type Oracle Service Bus and while trying to catalogue the OSB Component I found that only my WSDL Web Service proxy services with http transport protocol are available to be catalogued. I couldnt find the proxy services of the type Messaging Service, Any SOAP Service, Any XML Service created on Oracle Service Bus.
    Am I missing anything in the configuration or is it that BPM Studio does not support these protocols(jms,mq etc).
    Also, in the Studio Reference there is a mention of Oracle BPM(native) transport that BPM supports for cataloguing OSB Components apart from http and https.
    What is this protocol and how and where can i configure the same to help me catalogue the other OSB proxies?

  • Any good book/training cds/dvds for oracle BPM studio developers

    Is there any good book/training cds/dvds for oracle BPM studio developers, where every topic is discussed very clearly along with step wise examples?
    Thanks & Regards
    Ashish

    You can also look at some of the sample projects. These contain example of how to handle many common problems in creating BPM projects.
    Here's a list of the projects:
    BPMUnitTestExample.exp
    Compensations.exp
    DashboardDrilldownInstanceData.exp
    ExceptionHandling.exp
    JSF-Screenflow_FoodDelivery.exp
    JSP-Screenflow_FoodDelivery.exp
    OrderFulfillment.ext
    ExpenseManagement.exp
    HROnboarding.exp
    CoorelationsExample.exp
    ExpenseReimbursment.exp
    These are contained in the <BPM_HOME>/samples directory.
    HTH,
    Mark

  • 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

  • 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);
    -----

  • Error in jdevelper 11g when opening a project exported from bpm studio 10.3

    Hello I hope someone can help me with this error, thanks in advance.
    I installed soa suite 11G (including ps2) but when i open a project exported from bpm studio 10.3 i have the following error.
    "An unexpected severe error has ocurred in jdeveloper"
    Performing action JDeveloper Forum[ from oracle.ide.log.MessagePage ]
    Performing action About[ from oracle.ide.log.MessagePage ]
    Invoking command: [ from oracle.ide.log.MessagePage ]
    Performing action Open...[ from oracle.ide.log.MessagePage ]
    Performing action Open...[ from oracle.bpm.fusion.ui.editor.FusionEditor ]
    Performing action Open...[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Close All[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Import...[ from oracle.ide.navigator.ApplicationNavigatorWindow ]
    Jul 15, 2010 1:36:03 PM oracle.bpm.project.io.serializers.model.bpmn.BPMN20Loader load
    SEVERE: unexpected element (uri:"http://www.wfmc.org/2004/XPDL2.0alpha", local:"Package"). Expected elements are <{http://xmlns.oracle.com/bpm/OracleExtensions}Annotations>,<{http://xmlns.oracle.com/bpm/OracleExtensions}AttributeExpression>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BooleanFeature>,
    ......................... .... >
    javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.wfmc.org/2004/XPDL2.0alpha", local:"Package"). Expected elements are <{http://xmlns.oracle.com/bpm/OracleExtensions}Annotations>,<{http://xmlns.oracle.com/bpm/OracleExtensions}AttributeExpression>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BooleanFeature>,
    <{http://www.omg.org/bpmn20}userTask>

    Hi,
    I have the same error. Please if you have the solution or any workaround, i 'll very appreciate if you post it here
    Thanks in advance!

  • 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

  • BPM Studio 11.1.1.5 Install Issues

    Greetings,
    I am trying to work with BPM Studio 11g but have been unsuccessful at getting the extensions installed correctly with JDeveloper 11g. I have a fresh installation of JDeveloper 11.1.1.5 and installed the BPM Studio extensions for JDeveloper via Help>Check for updates in JDeveloper. The download and installation process appeared to work fine however when I try to utilize the BPM functionality in most circumstances nothing happens or the options are not available. The BPM Analyst role is available via Tools>Preferences>Roles and the option to create a BPM Application/Project also seems to work, but not much else. I noticed a list of warnings in the JDeveloper 'extensions' log window that suggests the extensions weren't installed correctly. I've uninstalled JDev and installed 11.1.1.3 with BPM Studio extensions and I get the same issues. I'm not sure what to do at this point.. Any help would be greatly appreciated!
    These are the warnings in the 'extensions' window:
    -oracle.bpm.bpa
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\integration\lib\bpm-ide-common.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\integration\lib\bpa\bpa-common.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\integration\lib\bpa\bpa-exportImpl.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\fabric\lib\orawsdl.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.rules_11.1.1\rulesdk2.jar not found.
    -oracle.bpm.bpm-services.client
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\lib\j2ee\orasaaj.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\generated\jrf\orasaaj-rt.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\generated\jrf\wsclient.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\generated\jrf\wsclient-rt.jar not found.
    -oracle.bpm.bpm-services.interface
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.
    -oracle.bpm.casemanagement.implementation
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\lib\j2ee\javax.persistence_1.0.0.0_1-0-2.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\fabric\lib\orawsdl.jar not found.
    -oracle.bpm.compiler
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.bpm.compiler.jar!\ade_autofs\nfsdo_base\JDK6\MAIN\LINUX\110210.1.6.0.24.B50\jdk6\lib\tools.jar not found.
    -oracle.bpm.fusion.jdeveloper
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.bpm.activityguide-ui_11.1.1.jar not found.
    -oracle.bpm.fusion.repository
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\integration\lib\bpm-ide-common.jar not found.
    -oracle.bpm.fusion.scac
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar not found.
    -oracle.bpm.fusion.studio
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\integration\lib\bpm-ide-common.jar not found.
    -oracle.bpm.lib
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\commons-fileupload-1.1.jar not found.
    -oracle.bpm.metadata
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.
    -oracle.bpm.obpi
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.
    -oracle.bpm.pml.service
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\fabric\lib\soa-infra-mgmt.jar not found.
    -oracle.bpm.project.catalog
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.rules_11.1.1\rulesdk2.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.rules_11.1.1\rl.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\jdev\lib\adfm.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\jdev\lib\ojdbc6dms.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\pcbpel\generated\jrf\dms.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\lib\ojdl.jar not found.
    -oracle.bpm.soa.humantask
    Warning: Classpath entry C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar not found.

    Hi,
    If you can't connect to the internet from your JDeveloper, you can directly download JDeveloper extensions from the below link, and point the Check for Updates wizard to the local file you have downloaded.
    http://download-llnw.oracle.com/otn-pub/jdeveloper/11.1.1.5.0/extensions/bpm-jdev-extension.zip
    Thanks
    Rama

  • BPM - Message interfaces of one component are not appearing in another comp

    Hi,
    We have created 2 software components(X and Y) for File to RFC scenario.
    "X" SWC is dependent on "Y" SWC.
    We are building sync-async bridge using BPM. We have created one BPM in X component. This BPM has the visibility of message interfaces only particular to that component only, not the other component.  Though wehave created dependency between these 2  components. But without this we cannot build sync-Async bridge.
    Please could you provide the inputs, so that we can proceed further.
    Thanks,
    Ramesh

    Hi,
    Where are you developing your BPM objects in X or Y ?
    If X is dependendent on Y , then you can access Abstract interfaces created in the X in Y.
    After creating SWC dependency, then refresh the cache and check out is it working ..
    for dependency-/people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies
    Regards,
    Moorthy

  • 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.

Maybe you are looking for

  • SAP Crystal Report (2008) through SQL Query parameters

    Hi, I Created a report in Crystal report (2008) based on Sql Query. I created parameters in SQL query prompt only (all single valued). Based on this I need to show the data in detail section. For Graph, I used another SQL query, and added one subrepo

  • Black screen after installing Boot camp Win7 on iMac 27 late 2009

    I've run out of ideas as to how to fix this problem. I have a late 2009 iMac quad i5, Mountain Lion, 12GB RAM, 1TB HD (recently exchanged under extended warranty). I stopped counting how many times I have tried to get this up and running but I follow

  • Unable to deploy to managed server - ExceptionInInitializerError

    I have a development/integration environment that lives on a single HP-UX server: two Weblogic domains, each containign an admin server and several managed servers. The machine is running a node manager process, and the node manager plus all servers

  • Best client for installing BPC

    Hello, After reading System and Client Landscapes http://help.sap.com/saphelp_46c/helpdata/en/2e/d9530294f911d283d40000e829fbbd/frameset.htm I still have some questions. Could someone confirm my statements or provide guidance if I am mistaken? Client

  • E mac

    i have e mac with 4.2GHZ/512/80/combo but only a folder and question mark appears when i start it up and also the power light flicks with a beeping sound accompany flash on the screen