How to connect to existing engine on WLS via PAPI?

Hi All,
I'm having an issue with Connecting to an existing engine on a weblogic server via PAPI from my local machine. The versions running are BPM 10gr3 and weblogic 10gr3. I'm essentially trying to run the tutorial provided in the PAPI guide from Oracle, but I'm trying to connect to a process deployed in one of our development environments. I get the following exception when executing the source code below. Only thing that pops out at me is that the path in the exception has back slashes whereas in the properties I specify the path with forward slashes. Any help would be greatly appreciated!
Exception in thread "main" java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: \\home\weblogic\bpm103\conf\directory.xml
     at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:338)
     at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:314)
     at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
     at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
     at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:200)
     at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
     at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
     at fuego.papi.ProcessService.create(ProcessService.java:335)
     at v1.ServiceRequestApp.<init>(ServiceRequestApp.java:42)
     at v1.Starter.main(Starter.java:12)
package v1;
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 ServiceRequestApp {
     Properties config;
     ProcessService processService;
     String host = "";
     String username = "";
     String password = "";
     public ServiceRequestApp()
          //establish API
          config = new Properties();
//specify system properties on local machine
          System.setProperty("fuego.j2ee.initialctx.file","C:\\bea10gR3\\config\\papiJndi.properties");
          System.setProperty("fuego.j2ee.initialctx.resource","papiJndi.properties");
          System.setProperty("fuego.j2ee.initialctx.url","file://C://bea10gR3//config//papiJndi.properties");
//contents of papiJndi.properties
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://bpmdomain.comp.company.com:8001
//specify directory info on the weblogic server
          config.setProperty(ProcessService.DIRECTORY_ID, "directory_ID");
          config.setProperty(ProcessService.INSTANCES_CACHE_SIZE, "10000");
          config.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "//home//weblogic//bpm103//conf//directory.xml");
          config.setProperty(ProcessService.WORKING_FOLDER, "//tmp");
          try {
               ProcessService processService = ProcessService.create(config);
               /////////////////// Establish a session ///////////////////
               ProcessServiceSession session = processService.createSession(username,
               password, host);
               /////////////////// 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());
               /////////////////// 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();
}

Please try to change the code for the below line
config.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "//home//weblogic//bpm103//conf//directory.xml");
to
config.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "c://conf//directory.xml");
Please get the directory.xml to your local machine and try.

Similar Messages

  • HT204387 how to connect iphone 4s to other iphones via bluetooth??????????

    how to connect iphone 4s to other iphones via bluetooth??????????

    Asked and answered at one of your other posts.
    https://discussions.apple.com/message/25174543#25174543

  • How to connect my macbook air to internet via cable ethernet?

    Hi,
        I tried to connect my macbook air to internet via lightning to ethernet adaptor. I am having cable internet, and my windows laptop normally connects to internet without anything to set in it. Anyone can help in this aspect...
    Thanks in advance..

    Finally, it got connected....
    The solution is, may be simple, but it took 3 days...
    Switch off (plug out the electrical connection to the modem), and power again the cable modem...
    it got connected...
    Thank you Diesel....

  • How to connect SAP XI engine with TIBCO EMS

    Hi,
    how can I connect SAP XI 3.0 with TIBCO EMS?
    If i'm going to use XI provider,  Do I need to deply any jar files into XI?
    Thanks in advance.

    HI,
    At this moment I've deployed the TIBCO libraries into my XI and I've created an XI adapter in order to connect with TIBCO system as folows:
    Transport protocol                                                  Access JMS Provider Generically
    JMS.queue ConnectionFactoryImpl.classname      com.tibco.tibjms.tibjmsQueueConnectionFactory
    JMS.QueueConnectionFactoryImpl.constructor     java.lang.String https://hostname:port
    JMS.QueueImpl.classname                                     com.tibco.tibjms.tibjmsQueue
    JMS.QueueImpl.constructor                                    java.lang.string TibcoQueueName
    SecuritySSLOn                                                       True
    SecurityKeyName                                                   Name
    JMS Settings
    JMS Queue User                                                    User
    JMS Queue  Password                                          UserPassword
    I don't know where is the problem, but all the times I've obtained the same error:
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: STARTING, on event: process_commence for DFA: JMS_TIBCO_ADAPTER
    Thanks in advance.

  • How to connect Equium A100 and second computer via LAN

    hi,
    i was wondering if someone could help me.
    My partner and me are having some difficulties with creating a LAN between his computer and my laptop.
    Basically the gist of it is that his computer can see my laptop, but it's not recipricating.
    My laptop is the Equium A100 (XP media centre) and all we really know about his computer is that its dual pentium 4, windows XP home edition and that is is a complete pain in the rear end!

    Hello
    Check this topic http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=3423&messageID=11170
    There is described how you can connect two PCs using crossover cable.

  • How to Connect to Oracle 9i database server via Oracle 10g XE

    I have installed Oracle 10g eXpress Edition and uninstalled Oracle 9i client database. I used Oracle 9i client to connect to another Database server on a local LAN. Is it possible to create a database link to the old Oracle 9i database server via Oracle 10g XE? If yes, do I need to add ODBC drivers?
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database server using Ora101040 odbc drivers.
    2) Use a similar 9i tool (Enterprise Management Console) within Oracle 10g XE to access Oracle 9i Database tables on a LAN network.
    3) Create data access to Oracle 10g XE via some ODBC connection from a C++ runtime application.
    Hope to receive help from Oracle professionals.
    Thanks.

    I have installed Oracle 10g eXpress Edition and
    uninstalled Oracle 9i client database. I used OraclePlease clarify - you uninstalled the 9i database or the 9i client.
    9i client to connect to another Database server on a
    local LAN. Is it possible to create a database link
    to the old Oracle 9i database server via Oracle 10g
    XE? If yes, do I need to add ODBC drivers?
    Database links between Oracle databases do not require ODBC. They do require Oracle Networking (included with both Oracle9i Database and Oracle Database 10g XE) to be configured correctly.
    It is also possible to connect ot the 9i database using the 10g Instant Client (separate download)
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database
    server using Ora101040 odbc drivers.Please clarify - what client do you wish to run that needs ODBC?
    2) Use a similar 9i tool (Enterprise Management
    Console) within Oracle 10g XE to access Oracle 9i
    Database tables on a LAN network.XE does not have an equivalent to Oracle Enterprise Manager. XE does come with HTMLdb preinstalled and configured, and HTMLdb provides a subset of the administration capabilities of Enterprise Manager.
    3) Create data access to Oracle 10g XE via some ODBC
    connection from a C++ runtime application.You can download ODBC drivers from the same location on OTN you downloaded XE. I do not know whether XE includes ODBC drivers. ODBC drivers will usually still require you to configure the Oracle Networking.
    There are a number of items that make me believe you do not have a good grasp of Oracle architecture and basics. If true, I encoureage you to start reading the Concepts manual found for the database at http://docs.oracle.com, or at least the O'Reilly book 'Oracle Essentials' found at http://oracle.oreilly.com

  • How to connect iphone 5 to iphone 6 via bluetooth

    i am trying to connect my iphone 5 to my iphone 6 but it is not working,, is iphone bluetooth only for audio and video contivity?

    This explains it: Bluetooth: Why can't I pair my iPhone or iPad with my computer?
    I realize it refers specifically to computers, but the same thing applies to iPhones and iPads (which ARE computers when you come right down to it).

  • Connecting an existing VC model to another SAP system

    Hello,
    Can anyone tell me how to connect an existing Visual composer model which resides on the VC Development system to different SAP System?
    Now the VC development system is connected to the DEV erp system (rfc, bapi etc.) and I wish to connect the same model to a different system (let's say QAS) for testing purposes.
    How can it be done without changing the VC model?
    Best Regards,
    Alla Shlafir

    Hi Alla,
    You should create a new destination (or system if it's a BI data service) that points to the other backend system. Once you see it in VC, you can use VC's alias manager dialog that lets you replace all of the data services' systems to another. You open this dialog by going to Tools-->Manage Services in VC.
    Regards,
    Netanel

  • How to connect iphone 5 to ipad 2 using bluetooth

    for playing multiplayer games

    Use Bluetooth to  your iPhone, iPod touch, or iPad
    http://www.macworld.com/article/1159258/bluetooth_ing.html
    How to Connect an iPad to an iPhone Via Bluetooth ing
    http://techtips.salon.com/connect-ipad-iphone-via-bluetooth-ing-25472.html
    How to Pair Bluetooth Device to iPad
    http://www.ehow.com/how_6194904_pair-bluetooth-device-ipad.html
     Cheers, Tom

  • Hello Please show me how I connect my IPad to IPhone 3GS through Personal Hotspot as wifi modem?

    Hello,
    I recently tried to turn on my IPhone 3GS Personal Hotspot to use as a wifi modem for my IPad2 to browse web outside of my home as I normally use Internet wifi modem at home, but the IPhone 3GS does not show up the Network Name and Password and my IPad does not show up the network name in wifi section. Please show me if you know how to set up the Network and Password (Security). Thank you

    iOS: Understanding Personal Hotspot
    http://support.apple.com/kb/HT4517
    Use Bluetooth to tether your iPhone, iPod touch, or iPad
    http://www.macworld.com/article/1159258/bluetooth_tethering.html
    How to Connect an iPad to an iPhone Via Bluetooth Tethering
    http://techtips.salon.com/connect-ipad-iphone-via-bluetooth-tethering-25472.html
     Cheers, Tom

  • Members only area of website and how to connect it to existing database

    I am trying to create a members login section on an existing website. We have a MS Access database of clients, and I need the website login creation to be able to look at our database and only let the person create an account, if they are on that list. 
    I've successfully completed a walkthrough/tutorial on creating a members only area of a website, but that allows anyone and everyone to create an account. I need a way to force that check before the new user account is allowed. Any help will ge greatly appreciated!

    Hi,
    According to your description, I think your issue is more about how to connect to Access database from your web site, instead of Access development.
    Which type of connection do you want to use? Is it ADO.NET?
    If so, I suggest you posting in ADO.NET Managed Providers
    forum for more effective responses.
    If not, you can choose a proper forum based on the type of the connection or your developing language.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Connect Airport Express to Existing Wireless Network (Client Mode)

    I am posting this for everyone tearing their hair out trying to connect the Airport Express to your own existing home wireless network. After spending 2 hours last night installing this on my father-in-law's home network, I hope to be able to save someone else the agony we went through.
    So here's the situation:
    Say you already have your own home network set up, and all you want is to be able to use AirTunes to play music off iTunes into your speaker system. And, you don't need the printer sharing capability nor creation of another wireless network (2 of the features of Airport Express). Then this solution is for you - read on.
    Unfortunately, Apple's user manual is very unclear how to connect Airport Express to your own network. When you look at the picture diagram they provide, they show Airport Express picking up its signal from another Apple-oriented base. This can make you think you need to buy another piece of hardware to make it work. DON'T If you read through the manual, the Support section here, etc., you will hear lots of talk about "Client Mode" - and that this is the only way to get it to work. Nice - but no one really tells you how to set up the Airport in client mode.
    Do yourself a favor, toss that user manual aside and run these steps.
    (Note: These directions assume your DSL/Cable Modem is hooked up to a wireless router or acts as its own wireless router)
    1. Get a cat5 Ethernet cable (anything but an orange cable - that's a crossover cable) like you would use to connect your PC to your router to pick up the Internet.
    2. Connect the Ethernet cable to the router on one end, and to the Airport Express unit on the other end.
    3. Plug in your Airport Express unit to the wall (this will not necessarily become its permanent location - you will be able to move it later). The light will glow solid Amber for about 30-45 seconds while it starts up, then blink Amber. At this point, the unit is ready to operate.
    4. Install the CD to the PC where your iTunes music is stored. This should be painless. Once you open the program, it should detect the Airport unit.
    5. At this point, the on-screen wizard will present you with your options, and walk you through the setup. This is much like the user manual describes - and you should be good to go form here forward.
    Some pointers:
    - When asked if you want to create a new network, join an existing network, or connect via Ethernet, choose the middle option for joining an existing network. You will need to know the name of your network, the password to connect to the network (if present), and the type of encryption used on the network (e.g. WEP, WPA, etc.). Side note, WPA is recommended, as it is a higher level of security than WEP. You will be able to configure the Airport Express unit to automatically login to your network.
    - I would recommend, when creating a password for the Airport Express unit, use the same password as your network, to avoid confusion.
    6. The very last step will ask you to save the settings to the Airport Express. Here's the kicker - when you save the settings, you are TRICKING the Airport Express into no longer acting as a network broadcaster, but instead being a "slave" to your own network. What do I mean? You will lose the connection from your PC to the Airport Express - an error message will pop up telling you the unit can no longer be found. While you might think you did something wrong, you actually were successful!
    7. Unplug your Airport Express, and disconnect the Ethernet cable from your router and the Airport unit. This will no longer be needed.
    8. Go to your desired location where you want to plug in your Airport Express unit. Before plugging it in, connect your Audio cable from the Airport Express to your audio receiver. Once that is connected, then plug in the Airport Express unit. The light will glow solid Amber for 30-45 seconds while it loads, and then will blink Amber for a brief period of time before turning solid GREEN. When this happens, you have successfully connected the Airport Express to your home network!
    9. Go back to your PC with iTunes. Open the Airport software - you should now have a listing for your Airport Express unit in the upper left. Click on this, and the wizard will guide you through connecting - you will need the password you created for the unit. You only need to go through this wizard once, and when finished, the software will tell you that can now use iTunes with your Airport unit.
    10. Open iTunes. On the lower right, you will see a dropdown for Speakers, and it should be defaulted to My Computer. Click on that drop-down, and you will see the name of your Airport unit. Click on that name, and now your music will broadcast to the Airport unit!
    11. Play a song in iTunes. Go to your audio receiver, and connect it to the channel for your external connection to the Airport Express unit. You should hear your music from iTunes. CONGRATULATIONS! =)
    I hope these instructions were helpful - I am happy to answer any questions, so feel free to contact me, *******************@*****.**.
    <Edited by Moderator>

    Thanks for the detailed directions. You are absolutely correct in stating that people should toss the user manual; it's pretty worthless. I have had a problem setting up my new Airport Express as I have described in an earlier post - http://discussions.apple.com/thread.jspa?threadID=1839873&tstart=45
    One quick question - does using your setup process set the AE up as part of a distributed network where the AE is acting as a wireless router where it is extending the range of your network? Or, is it simply a wireless connection to your stereo for iTunes? I am interested in having both, since my AE will be at the other end of the house from the main wireless router.
    Thanks

  • How do i get the express to connect to existing home network

    how do i get the express to connect to existing home network

    You would configure the AirPort Express Base Station (AX) as a wireless client. Please check out the following Apple Support article for the details.

  • How to connect tibco ems with sap xi engine?

    hi friends,
    how to connect tibco ems with sap xi engine?
    plz explain me in brief. if possible plz give some link.
    thanks & regards
    Ruban

    Hi Ruban
    refr this links
    Re: XI 3.0 - Tibco integration
    <b>IBCO -> XI SCENARIO -> Web Service</b>
    http://dev.systinet.com/doc/ssc-60/primer/html/using.web.services.html
    http://www.estrategy.gov/presentations/umd_e-gov_ent_arch/sld015.htm
    General disadvantages of using web service
    http://www.samspublishing.com/articles/article.asp?p=31555&rl=1
    http://www.omg.org/news/whitepapers/CORBA_vs_SOAP1.pdf
    Replace TIBCO with XI
    Tibco & XI
    XI integration with Tibco
    <b>
    Aslo see the below links</b>
    XI Vs Tibco Vs Webmethods
    Re: Why XI ??
    Differences between Tibco BW and how to do canonical mapping in XI
    http://www.sap.com/solutions/netweaver/pdf/BWP_SB_ExchangeInfrastructure.pdf
    XI integration with PSFT/Seibel ?
    Performance statistics of SAP XI
    /thread/154189 [original link is broken]
    publish subscribe with XI
    XI in SRM, CRM, MDM
    XI implementation - xi implementation
    Thanks!!

  • HT201317 How do I add existing photos and albumns on my iPhone to the photo stream?

    How do I add existing photos and albumns on my iPhone to the photo stream?

    Welcome to the Apple Community.
    The easiest method is to connect your device to iTunes, transfer the photos to your computer and add them to photostream from there. If you only have a few photos to add, you could take a screenshot of each one.

Maybe you are looking for

  • Can we selectively flatten form fields in a PDF file?

    I have a PDF with some form fields in it. I want to selectively flatten a few form fields in the PDF using a java API. I have checked the documentation and found a method transformPDF in the OutputServiceService. But this method flattens all the form

  • Pass query to servlet through midlet

    Hi, I have a problem here. I would like to control the SQL Statement to be executed by the servlet using the mobile midlet. Like this one: midlet -> will call servlet with parameter statement -> servlet will execute the statement parameter passed by

  • Itunes will not shut down.  it keeps reopening?

    its the latest version, windows 7 is up to date. after updating iphone and ipad tp iOS 5 itune keeps opening every 2-3 minutes, it will not stop!  i uninstalled it and reinstalled, still the same.  this is maddening!

  • HELP NEEDED! Browser wont load!

    Hello, I have the Blackberry Curve 3G. I am on contract and never had any problem with my internet or browser. I have had this problem for about a week now, everytime I use my track pad to click on the 'browser' icon nothing comes up, I have tryed to

  • Load balancing ssl that terminates on servers

    hi, right now i have a very simple clear-text http + https setup. initially, my load-balancer was terminating SSL, but because of the way our application works, we moved away from that and installed an SSL-server on the servers themselves which we kn