Connect BPM with PAPI cilent

I am using BPM Enterprise 10.3.1 with Weblogic 10,
When I follow the turioal and other post in the forum, I can startSession and get the instanceInfo.
But when I try to createInstance, update Instance or Send Intance,
I have followed the post here, but also fail
Re: How to create process instance throught PAPI?
There error code is as following:
Line: -----
29-Dec-2010 15:21:30 put_table
WARNING: "IOP00710275: (INTERNAL) Old entry in serialization indirection table has a different value than the value being added with the same key"
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 275 completed: No
     at java.util.TreeMap.buildFromSorted(
     at java.util.TreeMap.buildFromSorted(
     at java.util.TreeMap.readObject(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
     at java.lang.reflect.Method.invoke(
     at fuego.papi.impl.j2ee._EJBSecureEngineInterface_Stub.getProcesses(Unknown Source)
     at fuego.papi.impl.j2ee.EJBSecureEngineInterfaceWrapper.getProcesses(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
     at java.lang.reflect.Method.invoke(
     at fuego.papi.impl.AbstractSecureEngineHandler.invokeInternal(
     at fuego.papi.impl.j2ee.EJBSecureEngineHandler.doInvoke(
     at fuego.papi.impl.j2ee.EJBSecureEngineHandler.invoke(
     at $Proxy38.getProcesses(Unknown Source)
     at fuego.papi.impl.AbstractProcessLoader.createProcess(
     at fuego.papi.impl.AbstractProcessLoader.createProcess(
     at fuego.papi.impl.SessionProcessLoader.load(
     at fuego.papi.impl.ProcessManager.get(
     at fuego.papi.impl.ProcessServiceImpl.getProcess(
     at fuego.papi.impl.SessionProcessManager.getProcess(
     at fuego.papi.impl.ProcessServiceSessionImpl.processGet(
     at fuego.papi.impl.ProcessInstanceOperation.getSortedInstances(
     at fuego.papi.impl.ProcessInstanceOperation.executeBatchOperation(
     at fuego.papi.impl.ProcessInstanceOperation.instancesSendTo(
     at fuego.papi.impl.ProcessInstanceOperation.instancesSend(
     at fuego.papi.impl.ProcessServiceSessionImpl.instancesSend(
     at iacm.saa.eleave.web.PapiBean.getConnection(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
     at java.lang.reflect.Method.invoke(
     at javax.el.BeanELResolver.getValue(
     at javax.el.CompositeELResolver.getValue(
     at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(
     at org.apache.el.parser.AstValue.getValue(
     at org.apache.el.ValueExpressionImpl.getValue(
     at com.sun.facelets.el.TagValueExpression.getValue(
     at javax.faces.component.UIOutput.getValue(
     at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(
     at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(
     at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(
     at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(
     at javax.faces.component.UIComponentBase.encodeEnd(
     at javax.faces.component.UIComponent.encodeAll(
     at javax.faces.component.UIComponent.encodeAll(
     at com.sun.facelets.FaceletViewHandler.renderView(
     at org.ajax4jsf.application.ViewHandlerWrapper.renderView(
     at org.ajax4jsf.application.AjaxViewHandler.renderView(
     at org.springframework.faces.webflow.JsfView.render(
     at org.springframework.webflow.engine.ViewState.render(
     at org.springframework.webflow.engine.ViewState.resume(
     at org.springframework.webflow.engine.Flow.resume(
     at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(
     at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(
     at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(
     at org.springframework.web.servlet.DispatcherServlet.doDispatch(
     at org.springframework.web.servlet.DispatcherServlet.doService(
     at org.springframework.web.servlet.FrameworkServlet.processRequest(
     at org.springframework.web.servlet.FrameworkServlet.doGet(
     at javax.servlet.http.HttpServlet.service(
     at javax.servlet.http.HttpServlet.service(
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
     at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(
     at org.ajax4jsf.webapp.BaseFilter.handleRequest(
     at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(
     at org.ajax4jsf.webapp.BaseFilter.doFilter(
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(
     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
     at org.apache.catalina.core.StandardWrapperValve.invoke(
     at org.apache.catalina.core.StandardContextValve.invoke(
     at org.apache.catalina.core.StandardHostValve.invoke(
     at org.apache.catalina.valves.ErrorReportValve.invoke(
     at org.apache.catalina.core.StandardEngineValve.invoke(
     at org.apache.catalina.connector.CoyoteAdapter.service(
     at org.apache.coyote.http11.Http11Processor.process(
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
15:21:30,297 ERROR DepartmentDaoImpl:147 - fuego.papi.exception.InstancesException: The batch operation could not be executed for all selected instances.
Line: -----
My envoriment is:
1. Using the local Studio to create the process, and deploy it on the Enterprise which is runing under a WLS
2. My PAPI client is running on a Tomcat Server which is using Spring+Hibernate
I have try this setting also
But what should I subituite the "server/conf"? my BPM Admin is runing at "PCNAME:8686/webconsole" and Workspace is runing ar "PCNAME:7001/workspace"
Please help ,
Thank you
Best Wishes
Alex Ieong

Hi Ariel,
Yes, Thank you
I have the Property Setting as following already,
Properties systemProperties = System.getProperties();
systemProperties.setProperty("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
systemProperties.setProperty("java.naming.provider.url", "t3://pcName:7001/");
Do you have any idea?
Thank you
Best Wishes
Alex Ieong

Similar Messages

  • BPM 12c: How to connect bpm composer to the svn not with the integrated one

    I want to connect bpm composer with the our svn hosting on different server not the one which comes integrated to bpm suite (PAM).

    The repository defaults to this folder under the domain directory:  $domain/bpm/bac/$server/repositories.  While you can change its location by updating the RepositoryPath attribute in the BacNode MBean, you won't be able to use your own SVN.

  • How to get transitions BPM activities with PAPI?

    I wonder if you can get the transitions of the activities of a process with PAPI. And how do you get?.
    Also, if you can get the expiration time of each activity, and process in general, and how to get those times.
    I hope you can help me and your prompt response.

    Hi Eduardo,
    Not sure how you'd get the transitions for an activity using PAPI, but here's how you could get the deadline for a work item instance.
    Once you get your instance in the "for" loop below you'd use the PAPI variable "PREDEFINE_DEADLINE". As you know, there is an activity deadline (created by having a Due transition coming out of an activity) and a process deadline (created by setting the predefined variable "deadline" somewhere inside the process). This PAPI logic below uses the instanceInfo's three methods getDeadline(), getProcessDeadline() and getActivityDeadline() to retrieve the instance's deadline, process deadline and activity deadline respectively. Know you know this, but the "deadline" variable stores the time of the either the activity or process deadline that will expire first (e.g. if the due transition coming out of an activity will fire in 5 minutes and the process deadline won't fire for another 30 minutes, the PAPI getDeadline() method returns the activity deadline's time of 5 minutes in the future).
    If the activity does not have a Due transition, the getActivityDeadline() method returns a null value. Similarly, if the process's "deadline" predefined variable has not been set, then the getProcessDeadline() method returns a null value. If both the activity and the process deadlines are null, then the getDeadline() method also returns a null.
    This PAPI logic assumes that you've already done a search and have a list of instances in your "instances.toArray()":
         for (InstanceInfo ii : instances.toArray()) {
           // this gets the deadlines
           Time dl = (Time) ii.getDeadline(); 
           Time adl = (Time) ii.getActivityDeadline(); 
           Time pdl = (Time) ii.getProcessDeadline();
           System.out.println("deadline: " + dl
                                 + "\nactivity deadline: " + adl
                                 + "\nprocess deadline: " + pdl);
           // this gets the role where the work item instance
           //    is currently is sitting
           System.out.println("role name: " + ii.getRoleId());
           // this gets the name of the activity where the
           //    work item instance is currently sitting
           System.out.println("activity name: " + ii.getActivityName());
    . . .Hope this helps,

  • How to start with PAPI

    Can someone suggest a better way to start with PAPI usage.
    may be a beginners guide in a precise way.. or a sample project that i can carryout locally on my machine without enterprise server.
    a guide that describes the scenarios which require PAPI...
    Any help is appreciated..

    Here's a step by step document on how you could use the Java PAPI using JDeveloper 11: The Oracle BPM project I used for this step-by-step document is also in this zip file. If you're curious, this also describes how to download, install and start JDeveloper 11.
    In this example, you could create a new participant (e.g. "remotePapi") for PAPI session. On Enterprise you are actually creating the session to connect to the Directory Service and not a specific process or Engine.
    This is not formal Oracle documentation, but I know that getting PAPI to work is sometimes a challenge and thought this might help. I tried to write it with the "Java Newbie" in mind so do not panic if you aren't an expert in Java (I'm sure not ).
    This is a simple example that uses most of the logic found in the PAPI documentation on in the "Writing Your First Java PAPI Program" section of this document.
    The document provides a step-by-step description on how how to use PAPI to:
    <li> interface to processes running on an Oracle BPM Enterprise Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> interface to processes running on an Oracle BPM Studio Engine
    <li> list processes currently running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> list the work item instances running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> create a new work item instance in a process and pass in input argument variables to the new instance as it is created.
    I have a similar example of how to do this using PAPI-WS using SOAP-UI. Instead of using SOAP-UI, it could have been any outside environment that could invoke web services.
    Hope you find this useful,

  • Error when run report 10g ( with Paper parameter form

    Dear Friends
    I just installed Developer suite 10g and Database 10g on my pc ( when I run report in Report builder with paper parameter form (I selected only one system parameter : Destination type) I got the message
    Reports Error Page
    Fri Apr 07 09:06:01 GMT+07:00 2006
    javax.servlet.jsp.JspException: REP-56092: No class defined for destination type Screen
    How to solve it? Please give me the instruction or Oracle link that I can get the documents. If someone has the white paper .pdf please give me.
    Hope with help
    Thanks & Best regards,
    Bansak K.
    [email protected]

    Thanks for the tip.
    Correct me if I am wrong but you have set up SLED SP1 connecting to an OS like (RHEL 4/OEL 4,SuSE 9) using VMWare Server. What OS is SLED?
    I chose SUSE 10.3 as its free and I want to set up apps server for purely training purposes. Do you know of a free linux OS that is certified to run AS 10g

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver
    How many Application Components are required?

    Hi Vinod,
    1) In integration repository you can have one or many software components it depends on your landscape orchestration
    2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
    also each connection between systems and bpm must have receiver determination and so on.
    Advice: Please treat BPM as a separate system.

  • How can I use JTA in my business logic and execute process with PAPI?

    HI All,
    How can I use JTA in my business logic and execute process with PAPI?
    When my business logic has exception, the process will rollback.
    or the process has some exceptions, my business logic also will rollback.
    I don't know how to do it.
    Does anyone know how to do it?

    Thank you for your reply, Daniel.
    But I think I did not express my mind clearly.
    There is a scene that I have 2 Application Server.
    My business code is deployed in one Server.
    The BPM is deployed in another Server.
    I want to execute Task use PAPI.(ProcessServiceSession.runActivity)
    In my business code, I will do something before execute Task.
    I need my business logic and Task in same transaction.
    To ensure them "all-or-nothing" .
    As you say, if The transactions are managed by Oracle BPM.
    then can I retrieve OBPM transcaction in my business code?

  • Integrate a BPM with a Webservice of SAP XI.

    Hi experts,
    We want to integrate a BPM with a Websevice published in SAP XI.
    The BPM sends messages synchronous (abstract interface) to a Business Service that receives a message synchronous (inbound interface).
    For the integration of these services is necessary to set up a Receiver Agreement with a Communication Channel of type SOAP Receiver.
    My questions are:
    Why should the communication takes place between SAP XI I have to set up a channel SOAP?
    Is there any way to send messages from a BPM to a service SAP XI (Webservice / Interface) in an efficient manner?

    To deploy the wsdl file in XI,
    You can connect to XI server by using the End Point URL as
    The SOAP Sender uses the XI Server URL as below
    Service & channel indicates the Sender SOAP adapter in XI to be used..and will direct to integration server.
    call Webservice with XI SOAP Adapter
    How To Set Up a Web-Service-Related Scenario with SAP XI
    Invoke Webservices using SAPXI
    SOAP Sender Steps
    SOAP Sender Steps
    Edited by: parvathy sriraman on Sep 19, 2008 9:42 AM

  • Can NI myDAQ ai0 and ai1 be connected directly with thermocouples to measure temperature???

    I am trying to use myDAQ to realize both temperature measurement and digital output.
    By reading this page I have learned that how I can create a task for temperature measurement using thermocouple with a certain NI device.
    What I found to be really interesting is that when I create a task for myDAQ temperature measurement using a thermocouple when my NI myDAQ is connected with my PC, two AI ports ai0 and ai1 both appears in the create task window!!
    I never found any information from NI myDAQ manual that "AI0 and AI1" can be connected directly with a thermocouple to measure temperature without using additional conditioning system. But this window suggests that myDAQ can be used in this way, is it?
    I am still trying to do it this way, and I'll post some results here again.
    I would be really appreciate if anyone could confirm or disprove my guess. Thank  you.
    Attached is the 

    Attached is the screenshots for "create new task" in NI MAX
    1.JPG ‏60 KB
    2.JPG ‏64 KB

  • Connecting EAP-TTLS-PAP network on 5800

    I am studying at RMIT University and we have both eduroam as well as the university's own WPA network. I was trying to connect to it (V50) and was unable to connect. I was using the help of this guide​-eduroam-on-nokia-5800-symbian-s60v5 before I found out that RMIT uses 802.11x security mode with PAP encryption. Can anyone help me? Here's a link to their setup guide for Linux:
    I set it up and then it says TTLS authentication failed.

    I've just made Eduroam work on my N95 in Oxford University thus (I'm on firmware 11.0.026 date 17-04-07):
    1. Make sure the root certificate for the authority that signed your radius servers' certificate is in the root store of your phone. Oxford uses Globalsign which is not there by standard.
    2. Choose WPA/WPA2 for the WLAN Security Mode
    3. Choose EAP as the WPA/WPA2 type
    4. Choose WPA2 only mode and make sure it is off
    5. In the EAP plug-in settings enable only EAP-TTLS and choose that. Set the Authority Certificate to match the one that signed your radius server's certificate.
    6. Set your username and realm both to be user-defined and put them in the right boxes (my realm is
    7. Use the right of the centre button to move on the EAPs tab and enable "EAP-MSCHAPv2" ONLY. DO NOT ENABLE "MSCHAPv2".
    8. In the settings for EAP-MSCHAPv2 provide your username (and password if you wish, or set it to prompt for it).
    As we say in England, Robert is then your parent's brother.
    You should now be able to use that network connection for web browsing, email, SIP and anything else you might choose.

  • Configuring JCo3 Connection Pool with single sign on on non SAP Java server

    Hi Everyone,
    i have configured a connection pool on JBoss as per JCo3 Documentation and is working great.
    Now I need help to configure this connection pool with single sign on so that RFc on SAP ECC systems are executed using end users credential rather than using single user name password used to configure JCo connection pool.
    On SAP Java stack I am sure its possible within Java WebDynpro    and i assume using JCA resource adapter. But what if we don't want to use SAP Java App server.
    Any help will be appreciated.
    Divyakumar Jain

    Eason, 你好!
    I have exactly the same problem.  Did you find a solution to this problem?  If so, please let me know!

  • My iPhone 5 won't let me use my apps until I connect them with iTunes after downloading ios7. Solutions?

    My iPhone 5 won't let me use my apps until I connect them with iTunes after downloading ios7.  There's just a thing that pops up and says that in order to activate banners and push notifications I have to connect the app with iTunes. The thing won't go away no matter how many times I push ok, and it doesn't give me another option. Solutions?

    Oh my gosh I had the EXACT same problem, and for ages I couldn't figure out how to fix it until today. Here's what I did:
    First I went onto my computer, opened itunes, and un-installed tumblr, vine and kik. These were the apps I was having problems with (it said I had them on my phone but, like you, they didn't show).
    Then I went to the itunes store, searched for each one, and it said I could update them so I did (just FYI: for tumblr a window popped up saying "please click ok to confirm you are 17 years or older", so I did that also)
    When I went back to my phone and tried installing them again (still on my computer), it worked!
    I hope this helps, because it was incredibly frustrating. Good luck!

  • "An error occurred accessing your Microsoft SharePoint Foundation site files" connecting site with SharePoint Designer

    I have a SharePoint 2013 environment with 1 AD Server, 1 DB Server and 1 APP Server, with 13 Web Applications running under the SharePoint.
    Recently I rebuilted the application because of some infrasctrucutre problems, and I was able to solve all of them, except one. I can't connect to any of those 13 Web Apps with SharePoint Designer. When I try to connect, it always ask credentials, then it
    seems like loading the site, then the error appears:
    "An error occurred accessing your Microsoft SharePoint Foundation site files. Authors - if you are authoring against
    a Web server, please contact the Webmaster for this server's Web site. WebMasters - please see the server's application event log for more details."
    I've spent hours troubleshooting it, but none of the information I found was valid. I've already tried to clean the cache, but didn't work. I found plenty of related data of this
    error with FrontPage and old versions of SharePoint, but nothing helped. All the Web Apps are SPD-Enabled at Site Collection Administration. I've tried connecting from many different PC's. The 15/LOGS folder doesn't get any data from this error, neither the
    Event Viewer.
    I really don't know what else to do. Please Help!

    I found the answer of my issue was in a .NET Agent installed by NewRelic on the server. I found a connection trouble with Fiddler, then I end up figuring this out:
    This can be the result of Real User Monitoring so the first step in troubleshooting would be to disable it and see how it affects the application. The .Net Agent injects snippets of javascript into the header of pages sent to the users browser to measure the
    page load time on the user's end.
    You can disable RUM by editing newrelic.config and changing this line:
    <browserMonitoring autoInstrument="true"/>
    to this:
    <browserMonitoring autoInstrument="false"/>

  • Connection issues with Safari 3

    I'm having some connection issues with Safari 3.
    When I connect wirelessly, Safari won't load any web pages. I go and use Firefox and everything is just peachy.
    I've reset Safari, emptied the cache and whatnot. I went in and checked the permissions, everything checks out.
    When I connect with Ethernet, there's nothing wrong, which is my dilemma.
    Help would be greatly appreciated.

    There are a number of posts in the Leopard forum from people with direct experience with upgrading from Panther to Leopard. Here is a relevant thread from there that should reassure you.:
    Your system should be fine for Leopard, but you will probably need a current version of Photoshop if you don't already have it. See this download:
    Also, Leopard doesn't run Classic (OS 9) apps.
    One caveat - first make a bootable backup "clone" of your present system onto an external firewire drive so you can recover if anything goes wrong. You can use the "Restore" tab of Disk Utility to make such a clone, and there are also Panther-compatible versions of Carbon Copy Cloner (v 2.3) and SuperDuper (v 2.1.4), both excellent for this.
    It's even possible to a create second Panther clone on a different external volume to create a "dual-boot" system, using that volume to continue to run old applications that you can't run with Leopard.

  • Connection issues with EA4500

    I had bad connection issues with my mobile device, so i pressed reset on my EA4500 router, and now when i connect to my network, it gives my limited connection even though i have 5 bars of signal. Not sure what to do now...

    Resetting the router will erase all the settings you configured on the router since the initial setup. You manually configure the router's wireless settings so your wireless devices can have internet access again.
    Make sure to use a computer that is hardwired via Ethernet cable to the router.
    For bad connection issues:

Maybe you are looking for

  • Double Path Selections

    I am new to the Apple world. I installed Boot Camp on my brand new Mac. No problem with the Vista installation. I also installed VMfusion. I just removed the VMfusion. I now have double commands. Two of each: Restart, Shut Down, Log Out, Empty Trash.

  • Select-options when Using PNP logical database

    Hi , We get a default selection screen when we use logical database in HR ABAP. But we always get the selection elements as "PARAMETERS" and not as "SELECT-OPTIONS". How can we change it to select options .... I tried all the options in HR- Report ca

  • Wireless Mouse - Can I add a 'right-click' script of my own?

    Hi, Couldn't see a forum for wireless hardware. On my mouse I would like the right-click' menu to have a 'mail-to' option as I use it a lot. How can I add this functionality?

  • BI BEx & WAD F4 Search: How to search non-case sensitive

    Dear Colleagues, is there meanwhile a better and comfortable solution for this problem, or have'nt changed anything since "How to... Search non-case sensitive" paper from 2003. Thanks and regards, Wolfgang Edited by: Wolfgang Taag on Aug 4, 2008 1:40

  • Error message with XL reporter

    When running the installer, these 2 error messages appear. Has anyone come across this, and can shed some light on it? 1st: "needs SAP Business One DI SDK" - (SDK and DI API are installed) 2nd: "Add-on executable file not found" - (Add on registered