Attach file in a instance in bpm 11g

I have a problem...
I want to attach file in example process very easy. in the first activity attach the file and the second activity click in button and show the attachement file...
any idea to do that in bpm 11g..??

Maybe I have to pass some variable to the other human task? But..., with my comments I don't pass any variable and it works...
Edited by: 876766 on Aug 15, 2011 1:39 PM

Similar Messages

  • BPM 11g Attachment

    Hello there,
    I was wondering if there was a way to configure maximum file size that is allowed as an attachment to BPM 11g process. We are building a process and we need
    to attach document as big as 50MB, but it seems like default limit on file size is 2MB. We are using 11.1.1.5 version of SOA site.
    Any help will be appreciated.
    Thanks,
    Sumeet

    I do not think this is bug based on
    Oracle® Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management
    23.1.1 Understanding the Relationship Between SOA Composites and SOA Components
    "In a similar way, when an interrupting timer or message boundary event arrives to a user task, the BPMN process instance leaves the user task but the associated Human Task remains available. Because the interrupting timer or message boundary event arrived before the user completes the user task, the human task remains unfinished, and you can still access it thought the Worklist application. However running that human task does not have any effect on the BPMN process."
    This also gives us big trouble. I am looking for the solution.
    Helen

  • BPM 11G : Business Catalog : Java JAR Files

    Folks,
    We have invested a lot of effort & time in developing Business Processes in ALBPM 6.5. One of the critical features in ALBPM 6.5 was the Business Catalog - if I had a set of Java Utility Classes bundled in a JAR Archive, I could " catalog " it & reference & reuse the classes via the PBL Code.
    We are now evaluating our Migration Approach to Oracle SOA 11G & we have a few questions :-
    1. Does Oracle BPM 11G also have the facility of directly " cataloging " Java JAR Archives ?
    2. If no, what is the best approach, in your viewpoint, to migrate business logic that is present in many such JAR archives.
    We are looking at abstracting the business logic in Web Services - however, the ideal path we are looking at is to retain our investment in the Business Catalog JAR Files.
    Please do let me know your thoughts & opinions.
    Thanks in advance,
    Sandeep Seshan

    There are 2 options you have:
    1. If you access the java code from within a BPEL process instead you can use the java embedding activity to call these classes directly.
    2. You expose your java classes through a spring context and use the spring component to expose the required classes as services within your composite which you can wire directly to your BPMN process.
    Thanks,
    Adam DesJardin

  • Setting directory dynamically in File adapter in BPM 11g

    Hi,
    I am using file adapter in BPM 11g for writing perpose. While configuring, it is required to provide the directory location, which can be either physical path or logical. The location where the new file will be stored/saved is written in a text file. I want to fetch the location from that text file and want to store the new file in that particular location at run time. Please help !!!!

    Hi,
    You can dynamically set -among others- the outbound directory and outbound file name for a File Adapter. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#CIACICFD. If you need to retrieve the information beforehand from another file, you could use a synchronous read. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABDCEBE.
    Ronald

  • BPM 11G comments and file attachments issue on human tasks

    Hi all,
    We have used JDeveloper 11G and SOA suite 11G + BPM (with PS1,PS2) to create and deploy a simple BPM process. The process consists of two swim-lanes ( Business Analyst and Snr Executive). The BA swim-lane has a human task which which initiates the process and the second swim-lane (SE) has a voting task. Both forms were auto generated.
    ------ Process steps ----
    step 1. The initiator of the process( Business analyst) submits a document and adds comments on the form. (1st swim lane)
    step 2. The task is received by the Snr Executive group and they need to accept or reject the document.
    step 3. If any of the Snr Execs rejects the document, the process flow goes back to the Business analyst(the requester or initiator) for review.
    (the voting group is able to share comments and the file attachments).
    step 4. The business analyst receives a task on her list. This task list should have the comments made by the Snr Execs who rejected the document. ---This is where we are having a problem. The business Analyst, receives the task, but the document and comments are not updated. This still shows the original document and comments, she sent when initiating the process.
    We have opened a SR with My Oracle support and it was suggested we apply a hot fix 9958661, which was done (see output below). Unfortunately this did not solve the problem.
    Questions:
    1. Is the default behavior of BPM 11G ?
    2. How can we change this behavior to do what we want ?
    ---------------------------------------opatch update output -----------------------------------------------------------
    ApplySession adding interim patch '9958661' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9958661 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9958661 are present in Oracle Home.
    The local system has been patched and can be restarted
    I any suggestions would be welcome.
    Thanks
    Mocheche

    Ok, this is what i did:
    - I have a Process Data Object called CustomComments with just 1 attribute called comments.
    - I have added that object to my user screens (adf page)
    - Changed its columns att to 65 and rows to 8 (i chose that layout)
    - Used a tableLayout to add an icon next to this text area to allow the user to add comments:
    <af:commandImageLink shortDesc="addCommentImage" id="addCommentImage" partialSubmit="true" icon="/hw_images/new_ena.png">
         <af:clientListener method="myFunction" type="click"/>
         <af:clientAttribute name="attributeName" value="attributeValue"/>
    </af:commandImageLink>
    I use that clientAttribute to send the logged user to the javascipt.
    - I added this after the af:document on top of the page to make the customComments readonly to the user (you need to do it here because if you set it in the properties the element is not updated later), so the user has to use the button i put to add comments:
    <f:facet name="metaContainer">
         <f:facet name="metaContainer">
         <af:resource type="javascript">
              function readOnly(){
                   var comms = document.getElementById("it1::content");
                   comms.setAttribute("readOnly","true")
         </af:resource>
    </f:facet>
    <af:clientListener method="readOnly" type="load"/>
    - Somewhere i added the javascript the commandLink calls:
    <trh:script id="myScripts">
         function addComment(evt){
              var commentArea = document.getElementById("it1::content");
    var user = evt.getSource().getProperty("user");
    var comm = prompt("Please enter your comment: ","");
              if (comm != null) {
                   if (comm != ""){
                        if (commentArea.value !=""){commentArea.value = commentArea.value + "\n"}
                        commentArea.value = commentArea.value + "user.value" + " : " + comm;
    </trh:script>
    After all this, you have an object that carries the comments from one screen (UI project) to another and is updated each time.
    I know it may not be the perfect solution and that it could be improved a lot, but so far it does what i need so i use it.
    If there is anything i wasnt clear enough, please let me know. Hope this helps.

  • File adapter instances for BPM processing

    I have two doubts. If I have a single file adpater polling an Input folder and the reciever is the BPM,and i have multiple files in the same folder to be picked up by the File adapter. Will the files be qued up to be picked by the file adpter, or will there be a multiple instances of the file adapter internally ?
    The second issue is that, if i have multiple instances of BPM using the same outbound file adpater, then will the outbound messages be qued up or sent parallely
    Please share any ideas on this.
    Regards

    Hi,
    1) Files with the same name cannot be in 1 folder. so if you need to pick up (say 3 files) u need to create 3 File sender channels and associated these channels to the corresponding sender agreements. So when ever an adapter find sthe file it will pick it up. So there will be queuing up at Adapter level.
    2)In the secod case, all instances of BPm will send to the same file adapter, and the files will get overwritten unless you specify somethign like "append messad" or "add time stamp"
    3)Each instance of your BPM is an indivual process. It doesn't care if the instace1 RFC has been suceessfully processed or not. So when file2 is sent, BPMInstance2 is created and RFCadapterInstance2 gets started processing....
    Hope this helps you.
    Cheers,
    Siva Maranani.

  • Attached files not appearing in  BPM TaskForm.

    Hi All,
    We are seeing an error in the server whenever we attach files in the BPM TaskForm.
    Not sure what configuration we are missing in the server , Which will take care of it.
    In the UI we don't see any error.But whatever file is attached.It won't appear the wizard.
    But in server we see below error.
    [2012-12-04T04:16:39.554-05:00] [soa_server1_1] [ERROR] [] [oracle.soa.services.workflow.query] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Jh_CyeA9lZX_xt9DiW1GbKfL005nOY,0:21] [APP: soa-infra] [dcid: 8c22b87477b0f4ec:-1d09b36b:13afb66d61e:-7ffd-0000000000165a8d] <.> Token decryption failed.[[
    Could not extract infromation from Workflow context token.
    Ensure that the Workflow context is not corrupted and it was generated from one of the nodes in the same cluster.
    ORABPEL-30516
    Token decryption failed.
    Could not extract infromation from Workflow context token.
    Ensure that the Workflow context is not corrupted and it was generated from one of the nodes in the same cluster.
         at oracle.bpel.services.workflow.verification.impl.VerificationService.decryptString(VerificationService.java:2358)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getValuesFromToken(VerificationService.java:2388)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.createContextFromToken(VerificationService.java:2166)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getContext(VerificationService.java:960)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getContext(VerificationService.java:944)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy219.getContext(Unknown Source)
         at oracle.bpel.services.workflow.query.impl.TaskQueryService.getWorkflowContext(TaskQueryService.java:518)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy232.getWorkflowContext(Unknown Source)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.getWorkflowContext(TaskQueryServiceBean.java:96)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.getWorkflowContext(TaskQueryService_oz1ipg_EOImpl.java:803)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.getWorkflowContext(TaskQueryServiceRemoteClient.java:208)
         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:130)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:69)
         at $Proxy434.getWorkflowContext(Unknown Source)
         at oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.insertAttachment(ADFAttachmentHelper.java:245)
         at oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.uploadFile(ADFAttachmentHelper.java:209)
         at oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.doPost(ADFAttachmentHelper.java:151)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         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:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: ORABPEL-35011
    Unable to Decrypt data.
    Unable to Decrypt data.
    Check for corrupted encrypted data. Check installation/post-installation steps for errors. Check for errors during SOA server startup.
         at oracle.bpel.services.common.util.EncryptionService.decryptBytes(EncryptionService.java:97)
         at oracle.bpel.services.common.util.EncryptionService.decrypt(EncryptionService.java:69)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.decryptString(VerificationService.java:2356)
         ... 64 more
    Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
         at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
         at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
         at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..)
         at javax.crypto.Cipher.doFinal(DashoA13*..)
         at oracle.bpel.services.common.util.Crypto.decrypt(Crypto.java:74)
         at oracle.bpel.services.common.util.EncryptionService.decryptBytes(EncryptionService.java:95)
         at oracle.bpel.services.common.util.EncryptionService.decrypt(EncryptionService.java:69)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.decryptString(VerificationService.java:2356)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getValuesFromToken(VerificationService.java:2388)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.createContextFromToken(VerificationService.java:2166)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getContext(VerificationService.java:960)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getContext(VerificationService.java:944)
         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 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy219.getContext(Unknown Source)
         at oracle.bpel.services.workflow.query.impl.TaskQueryService.getWorkflowContext(TaskQueryService.java:518)
         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 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy232.getWorkflowContext(Unknown Source)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.getWorkflowContext(TaskQueryServiceBean.java:96)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.getWorkflowContext(TaskQueryService_oz1ipg_EOImpl.java:803)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.getWorkflowContext(TaskQueryServiceRemoteClient.java:208)
         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:130)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:69)
         at $Proxy434.getWorkflowContext(Unknown Source)
         at oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.insertAttachment(ADFAttachmentHelper.java:245)
         at oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.uploadFile(ADFAttachmentHelper.java:209)
         at oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.doPost(ADFAttachmentHelper.java:151)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         ... 4 more

    No we are not using.
    I am thinking , Some setup is missing in the server.
    Because the same code is working in One server and it's giving this error in other server.
    Steps to reproduce:
    1# Click the "+" icon in attachments window in BPM TaskForm.
    2# The Attachments window opens up.
    3# Select file and click OK.
    It throws below error in UI.
    Token decryption failed.Could not extract infromation from Workflow context token.Ensure that the Workflow context is not corrupted and it was generated from one of the nodes in the same cluster.
    Thanks,
    Sid.
    Edited by: Siddhardha M on Dec 4, 2012 5:05 AM

  • BPM 11g, need to deny a user the ability to create new instance

    I'm working on a BPM 11g process that starts with a "initiator". The client has a very specific requirement, no user can create a new instance if they already have 2 instances of the process, either assigned or suspended.
    Can someone help me with this, I don't know how we could acomplish this.
    Thanks in advance.
    Pablo

    Do any1 know?

  • Initiating bpm 11g process with an attachment?

    Hi,
    Facing problem in passing the attached file to the next human task.
    Basically, initiating a bpm process with file adapter getting the file as an attachment. after that need to pass the file to next human task for approval.
    stucked in passing the document to next human task.
    is there any way i can do it??
    Please suggest something.
    thanks in advance
    regards

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

  • Failed to create instances after migrating BPM 11g to another server

    Did a BPM 11g migration, we need to delete the original schema, then import using impdp, we met error after starting SOA-Server1 (Please find soa.out log attached )
    The directly error is:
    ORABPEL-10513 Cannot get application roles from application identified by "{0}". An error occured while getting application roles from application identified by "OracleBPMProcessRolesApp". The underlying APIs threw an exception.
    <May 5, 2011 10:25:00 AM CST> <Error> <oracle.soa.b2b.transport> <BEA-000000> <AQDequeuer_ReadMessage: A database exception occurred: java.sql.SQLException: ORA-25226: dequeue failed, queue DEV_SOAINFRA.IP_OUT_QUEUE is not enabled for dequeue
    Anybody can give some suggestions please?
    Thanks for help.
    Regards,
    Katherine

    After Rechecking the log of soa_server, the error disappears now:
    "<Error> <oracle.soa.b2b.transport> <BEA-000000> <AQDequeuer_ReadMessage: A database exception occurred: java.sql.SQLException: ORA-25226: dequeue failed, queue DEV_SOAINFRA.IP_OUT_QUEUE is not enabled for dequeue"
    However,
    background server is still reporting: "<Warning> <oracle.integration.platform.blocks.event.saq> <SOA-31013> <Error handling message (rolling back).
    java.sql.SQLException: ORA-06575: Package or function EDN_DEQUEUE_OAOO_DELIVERY is in an invalid state
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:201)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:8150)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:1302)
    at
    oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus.java:750)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:669)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)"
    Thanks for further help!
    Regards,
    Katherine

  • What happens to completed Instance in Oracle BPM 11g

    Hi
    I have the following question with respect to completed instances, I am using Oracle BPM 11g:
    1)How long does the completed instance stay in the system by default, how do we configure this setting?
    2)How do we archive the completed or unwanted instances
    3)Which database does these instances information are stored.
    Regards
    Venkat

    Hi Venkat,
    The SOA Suite is responsible for storing all instances of BPM (active, suspended or terminated).
    No more the concept of purging instances that were in version BEA Aqualogic 5x, 6x.
    So the records of instances will be stored in the database "forever" until you make a DBA or a purge of data in the database.
    More information: http://docs.oracle.com/cd/E17904_01/integration.1111/e10226/soaadmin_partition.htm
    Regards,
    Paulo H.

  • How to attach files in a Oracle BPM Studio process?

    Hi,
    I'm trying to design a process with some screenflows for entering information and I'm creating presentations for each screen. The thing is that I don't know if it's possible to have an attaching file option in the presentations or if I have to do it handcoding.
    Thanks everyone.

    You can use methods listed inside Fuego.IO, but they don't work if you run your process in a client, I mean not the server.
    You can use JSP or methods developed in java in order to upload your files and Fuego.IO methods to access them after you upload them.
    Another thing you should consider is that if you upload files using Fuego library, there's a size limit for files.
    Take a look on How to Use FileChooser on for Client files
    Hope this help.
    Pablo

  • BPM 11g changes to process aren't getting deployed

    I'm having trouble seeing changes I make to the process model in BPM 11g. For instance, if I add a new activity or change data associations/mapping in the activity and re-deploy, it doesn't take effect.
    I've tried doing a clean all, make all, and undeploy all project artifacts (undeploy project composite from soa-server and undeploy UI ear file) before deploying. I don't see the changes unless I restart the soa-server.
    Any suggestions? Is this a bug?
    Thanks
    Mark

    There's definitely some issues with deploying changes. We've found that if there are BPEL processes in you BPM process and you make changes, you'll need to bounce the SOA server too, to see the changes. Also, some people are experiencing instability issues when you keep increasing the version number. You get to about 4 or 5 versions, and it stops locks up the SOA server. I've found un-deploying and then do a fresh deploy seems to be the best way to make changes for now. I believe engineering is aware of this problem and is working on fixing it.

  • Instatiating BPM process through BPM 11g workspace

    Hi ,
    I am working on OPBM Sales Quote lab.
    I installed Oracle SOA 11g and set up the BPM SalesQuote demo. I followed the demo setup instructions to add the roles and match them to demo users. I was able to deploy the demo successfully using Jdeveloper. Since the start task for the demo is a none start, I am not sure how to initiate a new instance. I loged in to the workspace as jcopper who's role is the SalesRep (which is the swimlane for the non start task). However, I didn't see any application listed for jcopper. I also loged in as the process owner and didn't see any application listed for him either.
    I even referred to this thread
    How to initiate an instance of the BPM 11g SalesQuote demo?
    When I implemented the "Enter quote details" task, I even set its pattern as "Initiator"?
    Even then Under applications it is empty.
    Any Suggestions is appreciated.

    Hello All,
    Deployment of the "SalesQuoteDemo' demo is over. Logged in to BPM WorkSpace with user “jcooper” but I am not able to see application in the user's BPM Workspace. Verified all the users (and jcooper) and their role in Weblogic Default Realm and everything seems to be OK.
    I have deployed SalesQuoteDemo from this official link of Oracle and have followed all steps. Users/Groups have been created by running a demo seeding program given along with demo.
    http://www.oracle.com/technetwork/middleware/soasuite/samples-demos-084065.html
    I did these steps for verification.
    •     RAM/PermGenSpace seems to be OK and there is no error/exception related to memory.
    •     As per the demo, jcooper is part SalesRep role and it has been verified that both jcooper and SalesRep exists. Mapping also exists. Attaching few screenshots from Oracle Enterprise manager/BPM Workspace/Weblogic Console.
    •     As per the Baig, mentioned that this issue was resolved when new domain was created without webcenter. For me, new domain is somehow not working and deployment are getting failed/suspended/prepared status but I had taken out Webcenter related Managed Server from this Weblogic domain.
    •     Few have mentioned to login to Enterprise manager, select application, select security, role and map the user for every roles. I verified that this already exists.
    Any help/pointers in this regards would be highly appreciated.
    Thanks
    Sachin G

  • BPM 11g support process archive

    Hi,
    Is BPM 11g suppots process archive?
    Can anyone help me on that?
    Regards,
    Anandh P

    Hi Raj
    1. Terminate means you want to End that Process no matter where it is at any instance of time. Say if I have BPM Process with 10 SwimLanes it can be at any of the Lanes with any User. I am taking simple Example with Human Tasks, but you can apply for other component like Timer servces etc.
    2. I hope you are aware of 2 things specially for Human Tasks: Action named "Withdraw" and a role named "Process Owner". For any human task, under Actions menu you should See a Withdraw option. You can code your application to capture this output using XOR gateway and if outcome is "WITHDRAW" directly end the process and go to End Node. If you have many places like this, there is easy way instead of running wires eveywhere. Create a simple throw even that goes to End Node. And after each human task check outcome if Withdraw, that that error, which will end the process. I hope you got the point.
    b) The reason I mentioned Process Owner is, generally I do NOT give Withdraw control to each User who can work on any Task. If accidentally that User do this action, thats it. The process ENDS and you can never retriive it back. So under .TASK file, I preven Withdraw action to Asssignee and Instead give this action only to OWNER (Process Owner). Process owner is like admin who can pretty much see any tasks and I would give him all the permissions like these Withdraw, Reassing, Suspend etc etc. This gives more controlled power to your application. Anyhow, in bpm workspace, login as process owner and search for any Task aged for long time and jus Withdraw it.
    You can do all the above using APIs also as far as you have Withdraw action going to the End Node.
    If your requirement is something else, ignore above notes. But still you can think along the above lines, if all you want is to Kill a Running Process anytime.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Dynamic Configuration-File to File in scenario

    Hi Experts, As per the requirement needs to supress the numeric extensions of the files and transfer to the receiver. Example: file name is XXX123.txt , but after picking up by sender communication channel in XI that file needs to converts XXX.txt an

  • Word to PDF Messes Up Formatting

    Hello Forum, I have a Word Document that does not translate exactly the same to PDF when I convert. I'm using Adobe Acrobat Pro.  It is only messing up with one page out of a 43 page document, and it's not a problem with the cover page or anything. 

  • Problem with checkin activity

    Hi All, I have problem with Checkin and CheckOut activities while I am trying to work with BAPI's. I have an iView that is deployed on the portal server. Initially when I am trying to make changes in the iView, they were getting effected in the serve

  • Using OT fonts in Encapsulated Postscript

    Hello, I'm writing an Ecapsulated Postscript file which inculdes text. I've found that any font name that includes spaces fail. For instance, the following PS command works fine: /Ariel findfont setfont While this does not: /Bookman Old Style findfon

  • Parse labview timestamp xml in javascript

    Hi, im reading XML files created from labview7.1 with javascript and it works great, the only problem is that I dont know how to parse the timestamp. For exampel <Timestamp> <Name>Eximination Date</Name> <Cluster> <Name></Name> <NumElts>4</NumElts> <