Worklist API

Hi,
Please let me know if bpm 11g worklist API jars comes default with oracle bpm and the location of the jar files.
Regards,
Sam

Modify domain.xml to include bpm-services.jar in bpelcClasspath.
Steps
1. Shutdown server
2. cd $ORABPEL_HOME\domains\default
cd D:\BPELPM1012\integration\orabpel\domains\default
notepad domain.xml
append D:\BPELPM1012\integration\orabpel\system\services\lib\bpm-services.jar to bpelcClasspath element value
After modifying bpelclasspath element becomes
<property id="bpelcClasspath">
<name>BPEL process compiler classpath</name>
<value>C:/work/JbossBPELPM/system/classes;C:/work/JbossBPELPM/lib/j2ee_1.3.01.jar;D:/BPELPM1012/integration/orabpel/system/services/lib/bpm-services.jar</value>
<comment>
<![CDATA[Server-side BPEL process compiler classpath.  Any user-specific classes/libraries used by a BPEL java exec node (that have not been packaged in the BPEL archive) need to be specified here so that the server-side BPEL process compiler can successfully compile the BPEL process.]]>
</comment>
</property>
4. If you need more classes, append required jars
3. start the server and deploy again

Similar Messages

  • Returning error while listing  reportees of a user by using worklist api.

    Hi,
    I am trying to list reportees of a user by using bpel worklist APi in custom application.the following is the code fragment of that:
    BPMUser bpmUser = gu.getWorkflowServiceClient().getAuthorizationService("dm.hoogly").lookupUser(gu.getWorkflowServiceClient().getTaskQueryService().getWorkflowContext("dm.hoogly").getUser());
    List directs = bpmUser.getReportees(1);
    System.out.println(" size..."+directs.size());
    its retuning error.
    Can any one help me how to list a reportees of a user by using BPELworklist api
    thanks
    Murali

    Hi..
    I am using 10.1.3.3 SOA suite.
    thanks
    Murali

  • Error while retrieving TASK list through worklist API

    Hi All,
    I am try'n to retrieve TASK lit for user in BPEL 10.1.3.1 using worklist api ,
    I am stucked with this error while quering the tasks.
    bpeladmin
    Aug 25, 2008 11:31:52 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: oracle.bpel.services.workflow.task.model.TaskImpl; unable to create instance
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:897)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:341)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
         at java.lang.Thread.run(Thread.java:595)
    Help me out.
    Regards,
    Kalyan.

    Hi,
    Guys any updates...

  • How to use the Worklist API from Java (classpath ??)

    Hi all,
    Sorry for a novice question but I couldn't find the way to go about this (probably because it's such common knowldge...)
    I would like to try and use the Worklist API from my Java code in Eclipse, and according to the BPEL dev-guide I need to add an Import command for oracle.tip.pc.api.worklist. Where do I find these classes ?????
    I guess I need to change my CLASSPATH but I couldn't find a single word about this in the BPEL dev-guide (chapter 17), BPEL installation guide or elseware.
    thanks.

    Hi all,
    Ok now.
    To summarize - I was trying the code from BPEL developer guide, chapter 17, page 40 for using the Worklist local API's.
    Only after adding the following JAR's to the build path, was I able to compile it:
    orabpel-common.jar
    orabpel.jar
    bpm-infra.jar
    bpm-services.jar
    So, these 4 JAR's are required for using the Worklist local API's (not a clue in the dev guide itself for this requirement though...)
    Thank you very much for your help,
    assaf.

  • [Worklist API] Failed to fetch task list

    Hello Guys,
    I am trying to fetch tasks using worklist API but it doesnt work for me..It returns the Task list whcih has 0 (zero) tasks. Below is the code i am using:
    Hashtable props = getBpelProperties();
    Locator locator = new Locator("default","welcome1",props);
    IWorklistService Worklist = (IWorklistService)locator.lookupService(IWorklistService.SERVICE_NAME);
    ITask[] Tasks = null;
    try { 
    System.out.println("Obtaining List");
    Tasks = Worklist.listTasksByAssignee("oc4jadmin");
    // I dont find any task in the collection Tasks but i can see the tasks that have been assigned to oc4jadmin using oracle worklist application
    System.out.println("Tasks:"+Tasks.length);
    System.out.println("Got List");
    } catch (ServerException e) {
    System.out.println("Error : "+e.getMessage());
    catch (Exception ex) {
    System.out.println("Error : "+ex.getMessage());
    Can anyone help me please?
    Message was edited by:
    mchagani
    Message was edited by:
    afz

    With regard to your first approach that causes the java.lang.NoSuchMethodError exception, that one is probably caused by the classpath settings.
    The piece of code from the other thread works with the following classpath in JDeveloper 10.1.3.3 and SOA Suite 10.1.3.3:
    bpm-infra.jar, bpm-services.jar, orabpel-common.jar, orabpel.jar (all from the SOA Suite server), Oracle SOAP library, Oracle XML Parser v2 library, Commons Logging 1.0.3 library, JAX-RPC Client library, and the correct wf_client.config.xml, wf_config.xml, is_config.xml files.
    In that piece of code the Apache Commons logging framework is used for logging, not log4j. There are some known issues with the logging jar's included in the BPEL libraries and custom code.

  • Oracle Worklist API -- OWSM

    Hi,
    I am invoking SOA suite 11G (11.1.1.5) human task application (sits in one wls server domain) from a web application (sits in another wls domain) using oracle worklist api and showing the task details in my web app. I would like to do the user credentials validation at SOA application side by adding owsm username token policy to my composite application.
    So there are 2 questions:
    1.How do I pass (or construct) the username token details in worklist client class which resided in my web application?
    2. Will OWSM can check these user credentials against our own database table or always against the weblogic identity store?
    Please provide some inputs.
    Thanks,
    Cdhar

    Hi,
    i'm also trying to access the worklist from a java program, authentication using jazn xml works fine.
    IWorkflowServiceClient wfSvcClient =               WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    IWorkflowContext ctx = querySvc.authenticate("jcooper",     "welcome1",
                             null, null);
    List queryColumns = new ArrayList();
                   queryColumns.add("TASKID");
                   queryColumns.add("TASKNUMBER");
                   queryColumns.add("TITLE");
                   List tasks = querySvc.queryTasks(ctx,queryColumns,
                             null, ITaskQueryService.ASSIGNMENT_FILTER_MY,
                             null, null, null, 0, 0);
    However querySvc.queryTasks always returns empty.
    I've tried to check the worklistapp, and the tasks are there.
    could somebody tell me what are the mistakes?
    Thanks in advance,
    santoso

  • Is it possible to update the human task payload without using worklist API but only using advance routing rule.

    Hi,
    I have one human tasks in BPEL process in which i am using different stages and with using advance routing rules i am routing my task payload to one stage to another.My payload has Task Status and Branch,after approving the human task from first stage I want to send modified value of the Task Status to the next stage without using worklist API or manual updation but only using the advance routing rules,is it possible ??? If anyone have any idea about this than please enlight me with your valuable solutions and  advices...
    Thanx
    Regards
    Ajral

    Hi SamGoe,
    According to your description, my understanding is that you want to update the PoerPoint slide from SharePoint 2010 slide library automatically.
    It seems to be not necessary to use Macros. SharePoint provides an OOB way to notify you to check for update to the slide library slides when you open the presentation. PowerPoint does this because you selected the option
    Tell me when this slide changes when you copied the slides from the library.
    More information, please refer to the link below:
    http://office.microsoft.com/en-us/powerpoint-help/sharepoint-slide-libraries-ii-use-slides-in-the-library-RZ010254089.aspx?section=6
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Getting exception when trying to get taskdetails url using BPM worklist api

    Getting exception when trying to get taskdetails url using BPM worklist api method :
    String url = WorklistUtil.getTaskDisplayURL(
    wfSvcClient,
    ctx,
    task,
    null,
    "worklist",
    parameters);
    Jul 21, 2011 11:24:40 AM oracle.bpel.services.common.ServicesLogger __log
    WARNING: <oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean()> Exception while loading install config file in standalone Error : javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    oracle.fabric.common.FabricException: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:184)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean(TaskFlowPropsUtil.java:319)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfoForWeblogicServer(TaskFlowPropsUtil.java:491)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfo(TaskFlowPropsUtil.java:363)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getDefaultURLPrefix(WorklistUtil.java:264)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:353)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:293)
    at com.test.WorflowServiceClient.main(WorflowServiceClient.java:198)
    Caused by: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
    at oracle.as.jmx.framework.config.session.ConfigurationMBeanServerImpl.getAttribute(ConfigurationMBeanServerImpl.java:210)
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:78)
    ... 7 more
    Caught workflow exception: null
    Process exited with exit code 0.
    Can anyone please help me

    Actually i'm using Jdeveloper 11.1.1.4 and our requirement is to show list of BPM worklist tasks for the logged in user on the first page and onclick of each task task details page should be opened. I can use Webcenter PS3 worklist taskflow. But i'm not able to customize that taskflow. So, i'm going for Worklist client api.
    I'm able to retrive the taskId,task title and few other details like task payload. But i don't know why the below method is giving exception.
    String url =
    WorklistUtil.getTaskDisplayURL(wfSvcClient,
    ctx, task, null,
    "worklist", parameters);
    And i observed that you have also used the same code for getting Taskdetails url. And one more thing is i'm trying to access BPM worklist which is installed on remote machine.
    Can you tell me what could be the reason for the exception?

  • How to retrieve all the tasks for a UserView with the worklist api 10.1.3.1

    Hi,
    I have defined a custom view for user jcooper. The view just displays all the current uncompleted tasks for jcooper.
    I want to use the worklist api to retrieve all the tasks in the view. I first tried it with the following function call:
    taskQueryService.queryViewTasks(workflowContext,viewName, null, null, 0, 0);
    assuming that the viewId in the corresponding java-doc corresponds to the name of the view..However this doesn't work and the method returns a null reference. So viewId is something different than a viewName. Because I cannot find the corresponding viewId for my view (not looked in the db yet, but I don't want to use these ids in my app), I tried the method:
    client.getUserMetadataService().getUserTaskViewList(workflowContext, Partcipant participant);
    However I did not find a method to retrieve a Partipant instance for jcooper in the worklflow api documentation.
    My question now is if someone can help me out to retrieve all the tasks for a specific view. I should be possible I think...
    Thanks!
    Kind regards,
    -Tom

    The second argument (Participant) was added to handle the use case where one user such as an admin or manager needs to retrieve user metadata of another user (offcourse with the required security checks). We will try to do a future enhancement such that if the pariticipant is passed as null then we will assume the metadata is to be retrieved for the workflow context user.
    For now you can define a simple method to create a participant from a workflow context as follows and pass this as an argument to the UserMetadataService call:
    private Participant createParticipant(workflowContext)
    Participant participant = new oracle.bpel.services.workflow.common.model.ObjectFactory().createParticipant();
    participant.setName(workflowContext.getUser();
    participant.setRealm("jazn.com");
    participant.setType("USER");
    return participant;
    // code to retrieve task list...
    UserViewList views = client.getUserMetadataService().getUserTaskViewList(
    workflowContext, createParticipant(workflowContext))
    ...

  • Remote call to worklist API

    Although sample code of remote call to worklist API is mentioned around Ch.16 (P.16-45) in "Building a Worklist Application Using the Worklist Application API", would you mind supplement about how to specify the JNDI in more details.
    Thanks in advance.
    Best Regards,
    Simon.

    Yes, That's very helpful.
    But, The file "hw_worklist_jndi.properties" is specified in the server, right? Then, my rest of the problem is how to specify the client side?
    Say, we have some codes (in client side) as follows:
    RemoteWorklistServiceClient client = new RemoteWorklistServiceClient();
    client.init();
    IWorklistContext ctx = client.authenticateUser("jcooper", "abc");
    Then, anything we need to specify before "new RemoteWorklistServiceClient()"? Say, we need to use Locator? And, how? Or, some config file like "hw_worklist_jndi.properties" in client side too?
    Thanks a lot.
    Best Regards,
    Simon.

  • Optimization in worklist api authentication ..

    Hi i have a question about the worklist api authentication when your using a Remote Client ..
    When you authenticate remotely against identity service, i.e. to later get a task list you write:
    RemoteWorklistServiceClient wlsc = new RemoteWorklistServiceClient();
    wlsc.init();
    IWorklistContext context = wlsc.authenticateUser(username, password);
    I noted that the process of authenticaton it takes a really long time
    (Note:
    a few miliseconds but i have a really loaded front web app working in a oc4j cluster and with a clustered bpel process manager -sharing a dehyd store-),
    my question is theres anyway to share this context between different oc4j instances ? i mean, i can store this context in the session object but i dont know if could be worst, because the session replication of the oc4j instances ..
    and another question is if i stored by someway this context, ill keep open an rmi connection all the time ?
    (i know it depends if dedicated.connection its true but this context keeps using a InitialContext holding the rmiContext ? )
    .. i ask before start decompiling bpel worklist api to get some conclusions :P :P ..
    thx in advance guys if u hace some idea ..
    regards
    Dam.

    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28985/index.html
    Marc

  • Error when invoking worklist api from adf 11g

    Hi,
    I am using ADF 11g. This application invokes Worklist Application APIs. When I try to login it throws this error. Basically it throws error at worklist application authentication. Am I missing any jar files? These are the jar files I included in the project.
    Bpm-services.jar
    Bpm-workflow-datacontrol.jar
    Oracle.soa.workflow.jar
    Wsclient.jar
    javax.servlet.ServletException: oracle/tip/pc/infra/exception/PCException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: oracle/tip/pc/infra/exception/PCException
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:204)
         at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
         at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:306)
         at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:399)
         at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:257)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
         at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:190)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:232)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1031_WLStub.authenticate(Unknown Source)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
         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:597)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
         at $Proxy133.authenticate(Unknown Source)
         at task.TaskBacking.getWorkflowContext(TaskBacking.java:103)
         at task.TaskBacking.updateTaskStatus(TaskBacking.java:125)
         at task.TaskBacking.approveInvoiceTask(TaskBacking.java:159)
         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:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: oracle.tip.pc.infra.exception.PCException
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 127 more
    Thanks
    Saru

    I added the jar files and I don;t get the exception anymore. I am able to login in as weblogic and the application works fine. When I login in as anyother user I get this error. Where is this pc.properties?
    Warning: Could not locate file pc.properties in classpath
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/pat.
    Verify that the user credentials and identity service configurations are correct.
    Thanks
    Saru

  • Problem in using Oracle BPEL 10.1.2 (beta3) Worklist API

    I'm trying the following simple program but fails. Thanks advance for your help. Here are the codes:
    package test;
    import oracle.tip.pc.api.worklist.IWorklistContext;
    import oracle.tip.pc.infra.exception.PCException;
    import oracle.tip.pc.services.hw.worklist.WorklistService;
    public class TaskTester
    public static void main(String[] args)
    String username="jcooper";
    String password="welcome";
    try
    WorklistService worklistService = WorklistService.getWorklistService();
    IWorklistContext ctx = worklistService.authenticateUser(username,password);
    System.out.println("Success");
    catch (PCException pce)
    pce.printStackTrace();
    System.out.println(pce.toString());
    The following error message is resulted:
    log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    log4j:WARN Please initialize the log4j system properly.
    Warning: Could not locate file pc.properties in classpath
    java.lang.NullPointerException
    at oracle.tip.pc.services.hw.worklist.WorklistService.authenticateUser(WorklistService.java:272)
    at test.TaskTester.main(TaskTester.java:17)
    ORABPEL-10142
    Worklist Service Authenticate User Error.
    An error occured in the Worklist Service while authenticating user jcooper with the identity service.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.

    It works fine after I port it to a web service. But, there's another problem when I try to call "getWorklistTasks" after "authenticateUser" and the codes are as follows:
    IWorklistContext ctx = worklistService.authenticateUser(userName,password);
    Map filterMap = new HashMap();
    filterMap.put("TaskFilter", "My & Group");
    filterMap.put("PriorityFilter", "Any");
    filterMap.put("StatusFilter", "Assigned");
    filterMap.put("BusinessProcessFilter", "Any");
    List taskList = worklistService.getWorklistTasks(ctx, "", filterMap, "Title", "ASC");
    It resulted that after calling "getWorklistTasks", it hanged and no reply.
    Any idea? Thanks a lot.
    Best Regards,
    Simon.

  • Worklist API Help - [WorklistService.getWorklistService()]

    Hi,
    I'm trying to use the WorklistService API but am experiencing some problems. When I do the following:
    WorklistService worklist = WorklistService.getWorklistService();
    It crashes with:
    [DEBUG] - <WorklistService::logDebugMessage> WorklistService:: attempting to start WorklistService...
    [ERROR] - <PCException::<init>> Identity Service cannot load config file.
    [ERROR] - <PCException::<init>> Identity Service cannot load "is_config.xml" config file
    [ERROR] - <PCException::<init>> Check whether the config file "is_config.xml" in the classpath. Contact oracle support if error is not fixable.
    [DEBUG] - <PCException::<init>> ORABPEL-10550
    I used the "is_config.xml" which came with the Oracle BPEL installation and copied it to my classpath (I have double checked it by printing the classpath in my code before it uses the BPEL API), but the problem still persists.
    Any help is appreciated - thanks in advance.
    Kashif.

    Please look at my respone to your latest question BPEL Java API - Newbie Question.

  • Fatal error when updating Payload with Java hw Worklist API

    Hi all,
    I am receiving an error when I want to update some non-String-type fields
    of a task payload. I access the fields in the payload with facade-classes, generated by Schemac.
    The fact is that I can read all the payload fields, but when I try to set values in non-String typed fields of the payload I'm getting a run-time error:
    java.lang.NullPointerException at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.hash(ConcurrentReaderHashMap.java:308) at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(ConcurrentReaderHashMap.java:427) at org.collaxa.thirdparty.dom4j.tree.NamespaceCache.get(NamespaceCache.java:82) at org.collaxa.thirdparty.dom4j.Namespace.get(Namespace.java:60) at com.collaxa.cube.xml.dom.DOMUtil.createElement(DOMUtil.java:382) at com.collaxa.cube.xml.dom.DOMUtil.createElement(DOMUtil.java:350) at com.collaxa.cube.xml.BaseFacade.setChildElementValue(BaseFacade.java:323) at nl.nak.www.ns.vocht.Userpayload.setAge(Userpayload.java:327) at nl.nak.gui.action.ProcessTaskAction.execute(ProcessTaskAction.java:107) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at nl.nak.gui.custom.CustomActionServlet.process(CustomActionServlet.java:35) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    My XSD file for the payload looks like this:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.comp.nl/ns/vocht"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.comp.nl/ns/vocht">
    <element name="userpayload">
    <complexType>
    <sequence>
    <element name="name" type="xsd:string" />
    <element name="lastname" type="xsd:string" />
    <element name="age" type="xsd:int" />
    <element name="amount" type="xsd:decimal"
    </complexType>
    </element>
    </schema>
    The code where I make a connection to the
    WorkList service and how I retrieve the payload is listed below.
    Note that a specific task is set in the Session at in a previous step:
    try{
    String user="jcooper";
    String password="welcome";
    //maak een verbinding
    RemoteWorklistServiceClient client = new RemoteWorklistServiceClient();
    client.init();
    out.println("connectie geinitialiseerd");
    //authenticatie
    IWorklistContext ctx = client.authenticateUser(user, password);
    Userpayload ut = (Userpayload) UserpayloadFactory.createFacade(payload);
    ut.setName("tom");
    ut.setLastname("Cooper");
    //EXCEPTION THROWN HERE
    ut.setAge(1);
    ut.setAmount(new BigDecimal(2));
    taak.setPayload(ut.getRootElement());
    String action = "DONE";
    client.customTaskOperation(ctx, taak.getTaskId(), action);
    out.println("taak geapproved :: "+payload.toString())
    return null;
    catch(Exception e)
    //PRINT DEBUG INFORMATIE
    e.printStackTrace(new PrintWriter(out));
    sp.addActionError(errors,"nl.nak.view.standaard.errors.system",null);
    saveErrors(request,errors);
    return null; //mapping.findForward("failure");
    At run-time the null-pointer exception is thrown when the Age field is set.
    Can anynone help me with this problem?
    Thanks in advance!
    Tom Hofte
    Message was edited by:
    [email protected]

    If it is a stored procedure, the action should be EXECUTE and not UPDATE and the structure should be similar to this:
    <StatementName5>
    <storedProcedureName action=u201D EXECUTEu201D>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName > 
      </StatementName5>
    From help.sap
    Regards,
    Prateek

Maybe you are looking for

  • Where to install Thunderbird on Mac OSX for multiple users.

    Hello, I would like to install the email program Mozilla Thunderbird on my Mac OSX (10.4.6) computer which is set up with several different user accounts. I am not sure where to install it so that everyone may be able to use it. I would like to insta

  • How do I pull together multiple PDFs into one Preview Document?

    Folow up --- I learned from the video how to create one Preview document from mulple PDFs, but I need to know how to position pdf files in a main PDF Preview presentation document.  I need a lot more control over where a pdf is set in the final PDF d

  • Can't update iPhoto and iMovie.

    I recently purchased a Macbook Pro Retina, and once everything was set up, the Mac App store tells me I have updates for iPhoto and iMovie. However, when I tried updating them, I get the follwong message: You have updates available for other accounts

  • UWL Integration with Webdynpro ABAP

    Hello, I am creating a Webdynpro ABAP Application in which I want to create a screen(form) with various Input fields which will be entered by the user and it will have a Submit button. On the click of the Submit button I want to trigger a Workflow an

  • Volume doubles when joining audio regions?

    I'm trying to merge some individual kickdrum samples to a loop, but everytime I do it, the volume atleast doubles and the new clip's volume goes way over and clips. There is no volume envelope, effects, double files or anything. What's the problem, a