Cannot find new instances in the workspace

I use BPM Standalone 10g and Studio 10g.
I create a process without a global creation activity and deploy as well as publish it in the BPM Standalone.
The process just has one activity named Interactivejcooper. Its main task is set to Method.
I also create a JAVA PAPI to create new instances of this process. It can create new instances.
However, I cannot find all new instances created by PAPI in the workspace.
The following code is in the PAPI.
--------------------code------------------------
package piic;
import fuego.lang.ConnectionPassport;
import java.util.Properties;
import fuego.papi.Arguments;
import fuego.papi.CommunicationException;
import fuego.papi.InstanceInfo;
import fuego.papi.ProcessService;
import fuego.papi.ProcessServiceSession;
import fuego.papi.OperationException;
import java.util.Properties;
public class Class1 {
public Class1() {
public static void main(String[] args) throws CommunicationException, OperationException {
Class1 class1 = new Class1();
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
ProcessService processService = ProcessService.create(configuration);
ConnectionPassport passport = processService.createPassport("jcooper");
passport.setPassword("welcome1");
passport.fillPassport();
ProcessServiceSession session = processService.createSession(passport, "localhost");
for (String processId : session.processesGetIds()) { 
System.out.println("\n ProcessID: " + processId);
String processId = "/Processwithoutglobalstart";
String argumentName = "MyArgument";
Object argumentValue = new Object();
Arguments arguments = Arguments.create();
arguments.putArgument(argumentName, argumentValue);
session.processCreateInstance(processId, arguments);
System.out.println("49-----------");
for (String processId2 : session.processesGetIds()) { 
System.out.println("\n ProcessID: " + processId2);
for (InstanceInfo instance : session.processGetInstances(processId2)) {
System.out.println(" instance.getId()-> " + instance.getId());
System.out.println(" activity.getActivityId()-> " +instance.getActivityId());
System.out.println(" activity.getActivityName()-> " +instance.getActivityName());
session.close();
processService.close();
----------------------println----------------------------------
E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\jdev\mywork\PAPInewInstancewithoutCreation\Project1\classes;D:\BPM_HOME_standalone\client\papi\lib\b1util.jar;D:\BPM_HOME_standalone\client\papi\lib\b1oracle.jar;D:\BPM_HOME_standalone\client\papi\lib\b1base.jar;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar piic.Class1
Creating connector [fuego:SQL]
Creating ProcessService with id 'oracle/2009-03-31 18:08:47+08:00'.
Creating local folder: /tmp\system\Schema3387192-1796619082\catalogs
Loading catalogs from local folder: /tmp\system\Schema3387192-1796619082\catalogs
0 jars found locally.
[CatalogMgrCache] =======================
Registering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 1465214:
Managers:
Counters:
[CatalogMgrCache] =======================
CatalogMgr [oracle/2009-03-31 18:08:47+08:00] REGISTERED!CatalogManagerCache 1465214:
Managers:
{oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1d0d124}
Counters:
ProcessService 'oracle/2009-03-31 18:08:47+08:00' created successfully.
ProcessID: /InvokeJava2#Default-1.0
ProcessID: /Process#Default-1.0
ProcessID: /ProcessB#Default-1.0
ProcessID: /Processwithoutglobalstart#Default-1.0
ProcessID: /Testprocess#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.
Adding local catalog for project: 163
Processing the synchronization information, instance '163:247:0' was created.
49-----------
ProcessID: /InvokeJava2#Default-1.0
instance.getId()-> /InvokeJava2#Default-1.0/242/0
Adding local catalog for project: 162
activity.getActivityId()-> /InvokeJava2#Default-1.0/tojava
activity.getActivityName()-> tojava
ProcessID: /Process#Default-1.0
ProcessID: /ProcessB#Default-1.0
ProcessID: /Processwithoutglobalstart#Default-1.0
instance.getId()-> /Processwithoutglobalstart#Default-1.0/243/0
activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
activity.getActivityName()-> Interactivejcooper
instance.getId()-> /Processwithoutglobalstart#Default-1.0/244/0
activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
activity.getActivityName()-> Interactivejcooper
instance.getId()-> /Processwithoutglobalstart#Default-1.0/247/0
Session 'jcooper7676692326836000001' has been closed.
activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
activity.getActivityName()-> Interactivejcooper
instance.getId()-> /Processwithoutglobalstart#Default-1.0/246/0
activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
activity.getActivityName()-> Interactivejcooper
instance.getId()-> /Processwithoutglobalstart#Default-1.0/245/0
activity.getActivityId()-> /Processwithoutglobalstart#Default-1.0/Interactivejcooper
activity.getActivityName()-> Interactivejcooper
ProcessID: /Testprocess#Default-1.0
[CatalogMgrCache] =======================
Unregistering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 1465214:
Managers:
{oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1d0d124}
Counters:
{oracle/2009-03-31 18:08:47+08:00=1}
[CatalogLoaderMgr] unregisterCatalogMgr freeing resources of LocalCatalogManager
[CatalogMgrCache] =======================
CatalogMgr [oracle/2009-03-31 18:08:47+08:00] UNREGISTERED!CatalogManagerCache 1465214:
Managers:
Counters:
Process exited with exit code 0.

I don't know what happens. It works after I restart BPM studio in 2 hours.

Similar Messages

  • I gave my iPhone 4s today in geneva apple store, the replaced it to a new one. Yesterday i made a synchronization that i cannot find today to synchronize the new iPhone. Is it possible to have all my iPhone content again ???

    I gave my iPhone 4s today in geneva apple store, the replaced it to a new one. Yesterday i made a synchronization that i cannot find today to synchronize the new iPhone. Is it possible to have all my iPhone content again ???

    yes i can see the old ones..... but all summer i synchonised my iphone.....
    where to find the backups, where else from itunes
    thanks

  • The previous version of Itunes had a function where I could identify duplicate songs in my iTUNES library.  I cannot find this function in the new version of iTUNES.

    The previous version of Itunes had a function where I could identify duplicate songs in my iTUNES library.  I cannot find this function in the new version of iTUNES.
    Please advise where this is in the new version?

    The show duplicates/show exact duplicates features have been left out of iTunes 11. Rumor suggests they will be restored in the next build. In the meantime I have written two Windows scripts to make playlists of Duplicates and Exact Duplicates, either from a selection of tracks or the entire library.
    If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file.
    There is also my DeDuper script if you don't want to do it by hand. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
    tt2

  • Extract process up & running but I cannot see new transactions in the trail

    extract process up & running on source but I cannot see new transactions in the extract trail file and as result it is not replicated to target
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT RUNNING E_ENVA 00:00:00 00:00:10
    GGSCI (HOST) 186> send extract e_Enva status
    Sending STATUS request to EXTRACT E_ENVA ...
    EXTRACT E_ENVA (PID 11824)
    Current status: In recovery[1]: At EOF
    Current read position:
    Sequence #: 33
    RBA: 34904432
    Timestamp: 2011-09-21 11:14:47.000000
    Current write position:
    Sequence #: 6
    RBA: 1008
    Timestamp: 2011-09-21 11:26:42.426000
    Extract Trail: C:\GG\dirdat\enva\ce
    GGSCI (ILW177711) 193> stats extract e_enva
    Sending STATS request to EXTRACT E_ENVA ...
    No active extraction maps.
    Where to look next and what is the root cause for this,
    thank you

    all configurations was ok and working fine (meaning data was extracted on source and replayed on target) before extract/replicat processes restart
    I did not touch any of the configuration files, after restart processes shows as up & running without any actual errors or rejects on the logs
    please find extract configuration file:
    EXTRACT e_enva
    SETENV ( ORACLE_SID=orcl )
    USERID USER_SCHEMA_A, PASSWORD AACAAAAAAAAAAAHAOFVCXAUANCVHIHCE, ENCRYPTKEY DEFAULT
    DISCARDFILE C:\GG\dirrpt\e_enva.dsc, APPEND, MEGABYTES 10
    REPORTCOUNT EVERY 10000 RECORDS, RATE
    NOTRACETABLE
    EXTTRAIL C:\GG\dirdat\enva\ce
    SQLEXEC "CALL USER_SCHEMA_A.pkg.event_message('START', null, 'ALL','e_enva')";
    SQLEXEC "CALL USER_SCHEMA_A.pkg.event_message('STOP', null, 'ALL','e_enva')" ONEXIT;
    TABLE USER_SCHEMA_A.T_TABLE, KEYCOLS (ID_OBJECT);
    TABLE USER_SCHEMA_A.T_TABLE_REF, KEYCOLS (ID_XREF, PKEY_SRC, SYSTEM, IND);
    logging and supplemental logging enabled, commits performed and again nothing was changed in configuration except that processes was restarted
    thank you

  • Ugh tI have gray thumbnails of my photos. I cannot find my photos through the finder. what do I do?

    I have gray thumbnails of my photos. I cannot find my photos through the finder. what do I do?

    I have gray thumbnails of my photos. I cannot find my photos through the finder.
    Gray thumbnils:
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the options to rebuild the thumbnails. It may take three or four goes to work.
    Finding the Photos through the Finder.
    It's not supported. Accessing the files via the Finder can lead to a corrupted Library.
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    You aren't going to be able to delete it without the correct password.  If it's your ID, you can reset the password as explained here: http://support.apple.com/kb/HT5625.  If it isn't your ID, you will have to get the password for the person who owns the ID.  There's no way around this and no one else can help.

  • I cannot find how to change the language for labels in a quiz

    I cannot find how to change the language for labels in a quiz

    You have to be aware that this will only change labels if you edit before adding quiz slides: Preferences, Quiz, Default Labels. You will have to edit the labels, choosing another language will not change them automatically.

  • HT1879 Recently made a purchase on itunes and cannot find my ipod on the left hand collum to sync the purchase to ipod

    Recently made a purchase from the itunes store but cannot find my ipod on the left hand corner to sync purchase ton ipod can anyone help?

    Plug the iPod into the computer.

  • HT204053 Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Assuming you mean the personal name associated with the account, as opposed to the login (which you can change if it's not an @icloud.com. @me.com or @mac.com address) you can change this at http://appleid.appla.com . Click on 'Manage your account' and then on 'Edit' next to 'Your name' and the name currently associated with the ID.

  • Cannot find acsbackup_instance.log in the backup file

    hi,
    I had ACS 5.2 ( Evalution License ) setup installed on VMware with patch 11 when I try to restore earlier backup of ACS gives me  error "Cannot find acsbackup_instance.log in the backup file"
    I am using Filezilla FTP sever for backup transfer.
    suggest... Thanks in advance..
    Regards,
    Avi.

    That is strange!! Just make sure you are using the TFTP and not the DESK in the repository. It looks to me that you are trying to restore from the DESK and not the TFTP and it could not find the backup file int he DESK.
    If you double check the repository and you are 100% sure that the TFTP is being used then I would recommend to open a TAC case and feedback us about what the issue was if the TAC discovered the root cause of this.
    btw, what you see if you apply this command on CLI:
    show backup history
    Thanks.
    Amjad
    Rating useful replies is more useful than saying "Thank you"

  • Cannot find anywhere that sells the battery grip magazine (just the magazine) BGM-E11L

    Cannot find anywhere that sells the battery grip magazine (just the magazine) BGM-E11L. 5D III, Canon battery grip.  I just need the magazine, not the whole battery grip. I checked B&H and Adorama. 

    Why not try calling Canon directly?  Or try Canon parts.  
    EOS 1Ds Mk III, EOS 1D Mk IV EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 70-200mm f2.8 L IS II, Sigma 120-300mm f2.8 EX APO
    Photoshop CS6, ACR 8.7, Lightroom 5.7

  • How to find which instance in the RAC cluster the application is connected

    How to find which instance in the RAC cluster the application is connected to ?
    Raees

    well if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
    select inst_id,sid,serial#,program,username from gv$session where username is not null;
    Thanks
    Gaurav

  • How to create new instance of the process from external web apps?

    Hi Everyone,
    How to create a new instance of the process which deploy to the weblogic server from the external web app?
    Thank you.

    Assuming the process includes a message start event, the simplest way is to use Web Service call. Once you've deployed the process you can use Enterprise Manager to get the URL of the WSDL. There's and icon at the top of the composite summary page for getting the WSDL, or you can get it from the test page. Use that WSDL URL to construct the client to use from the web app. If it's an ADF client you can generate either an ADF Data Control or a client proxy.

  • I want to sync my 2nd generation ipod touch a new laptop with the updated version of itunes but i do not want to lose all of my songs on the ipod. i have backed it up but cannot find where all of the backed up data goes. can you tell me where to find it?

    i would like to sync my second generation ipod touch to a new laptop with the recently updated version of itunes. in order to do this, it deletes all the music of the ipod. i would like to be able to save my music as i have spent alot of money purchases it. i have backed up the ipod in order not to loose any of the music but i cannot find where the songs are backed up to? can you please help me find where the songs have been backed up to so i can save them please

    See:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
    The iPod backup that iTunes makes does not include synced media like apps and music.

  • HT1349 Coping iTunes library from a laptop XP to a laptop using Windows 8. I have loaded iTunes on the new computer. I have exported the library to a flash drive. I cannot find how to import the library.

    I have tried three different ways suggested on the net to copy my library from my older computer which uses XP to my new laptop which uses Windows 8. I have dowloaded iTunes to the new computer. I have  aslo exported the library to a flash drive (I think). When I go into the iTunes on the new computer, I cannot find whwere to import from the flash drive. P.S. I also have an iPod with the library on it. Would appreciate help.

    http://support.apple.com/kb/HT1751

Maybe you are looking for

  • Iphone/Ipod not recognised in Itunes

    Hopefully someone can help here.  I;ve never had a problem with this.  All of a sudden my itunes doesn't recognise the ipod touch or my iphone 4.  I'm using a dell laptop with windows vista. I've tried all the steps on here and uninstalling itunes an

  • Word in proper case ( First letter Capiral and remaining small case )

    Hi all I wanted to make a sentence as a proper case one. like All first letter of the word should be in capital and remaining in small Letter.. For example.. I have a sentence in Lower case .. 'rupees twi thousand only'. i wanted to make it as follow

  • Aligning images in tables

    Is there anyway to control the alignment of images within a table cell? I have two columns, the left has a person's photo, the right has their bio. I want the photo to stay on the top of the row, but by default it centers vertically.

  • Photoshop layout in Dreamweaver

    Hello, I've made a web layout in Photoshop, which I then have gotten into Dreamweaver. That works perfectly, but its when I want to add text I got the problems. When I writes this text, alot of slices/imgaes jumping to the right. So then I was thinki

  • I click download and nothing happens. (photoshop)

    I paid for Photoshop on the adobe website, and when I go to click the blue distinct download button it clicks but no downloads start. This happens with any adobe application I attempt to download. I am running a macbook pro retina 13 inch with 2.5ghz