Oracle BPM task flow documents save on server

Hi,
I want to know where I can store Oracle BPM process attached document except Oracle Webcenter or UCM. Can I store them in database or some other server. I shall be very thankful for help.

Maybe this can help you: http://mike.hostetlerhome.com/2007/02/12/weblogic-oracle-and-blobs-oh-my/
It shows how to obtain a vendor object from the weblogic wrapped instance.
From the blog
weblogic.jdbc.wrapper.Blob cast1 = (weblogic.jdbc.wrapper.Blob) o;
BLOB myblob = (BLOB) cast1.getVendorObj();

Similar Messages

  • Customize jspx pages through Oracle WebCenter Task Flows Customization

    Hi....
    I am customizing Oracle WebCenter Task Flows through JDeveloper in customization mode, I am able to customize jsff pages but I can't customize any jspx page.
    Please help me out how can I achieve this?
    Thanks.

    Hi.
    Customization usually is a challenge for developers. You can change look & feel and modify information showed.
    Usually decompile and see how is printing the information can be a tip to add more information or call custom manage beans for add more functionalities.
    There are few links that can help you:
    - http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_taskflows.htm
    - http://yonaweb.be/customizing_taskflows_webcenter_portal
    - http://yonaweb.be/customizing_taskflows_adding_parameters_webcenter_taskflows
    - http://redstack.wordpress.com/2010/01/15/oracle-webcenter-task-flow-customization-on-your-custom-applications/
    - http://blog.teaminformatics.com/2011/08/23/webcenter-task-flow-customizations/
    - Add Pickers for params:
    -- http://yonaweb.be/adding_runtime_picker_taskflow_parameter_webcenter
    -- http://www.danielmerchanoracle.blogspot.com.es/2013/02/runtime-lov-para-parametros-de-task-flow.htm
    And more...
    Regards.

  • BPM Task Flow

    Hi ,
    I created a BPM application which has a human task in the BPM flow. This task takes a parameter (requestor id) and sends an email to this requestor to submit a form.Data enetered should be saved in the database.
    How can i achieve this?
    Thanks,
    Lakshmi.

    Hello Lakshmi -
    Assuming that you are using BPM10g.
    1. Please go thru the Expense report example tutorial on Oracle.com
    Ref : http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/tutorial/index.html
    Then create a simple process as your requirement.
    Sample process for this example :+CreateData+ is my Global Creation (Accept data from user - here using screen flow)
                   And Save is Interactive Activity.(Email and DB insertion)
    2. The extra things you needs are following..
    a) Create BPM Object for input Data (Here DataEntry is the Module name, Data is BPM Object)
    b) Catalog your DB into BPM by using Catalog an SQL Component under DataEntry Module.
         Here using scott.emp table from Oracle sample schema
    c) Persisting input data code
    d) Sending email code
    CIL for c and d in Save activity.
    // Persisting data.
    INSERT INTO DataEntry.SCOTT.EMP(ename, job, empno)
    VALUES (this.data.name, this.data.job, this.data.empId);
    logMessage "!!!!!!!"+activity.name+"data insertion completed !!!!!!!!!!!!!!!"
    // Email
    mailer as Fuego.Net.Mail
    sender as Fuego.Net.MailSender
    mailer.from = Participant.email
    mailer.recipient = "[email protected]"
    mailer.subject = "Test email from BPM10g"
    mailer.message = "Input message here.... RequestId : "+this.data.req_id
    sender = Fuego.Net.MailSender(mail : mailer)
    send sender
    logMessage "!!!!!!!"+activity.name+"email sent !!!!!!!!!!!!!!!"Also you need to configure Email server info
    Right Click on your Project -> Engine Preference --> General --> Networking section --> Fill up the details.
    BR,
    Justin

  • Oracle ADF task flow setup failing- deployment issue

    Hi Experts,
    We are facing issue while deploying the ADF taskflow to Oracle webcenter portal/application server.
    We will need your help to get any pointers from your Oracle network to help resolve.
    Details of issue are as below.
    Please help ASAP.
    Problem Statement: Issue in the ADF taskflow while it is deployed on Oracle Webcenter Portal/Application server (the ADF taskflow is fetching data from PL/SQL procedure using table/record objects as OUT parameter, which is running fine in Jdeveloper).
    Problem Description:
    From ADF task flow we are invoking a PL/SQL procedure, which is returning a PL/SQL objects as an OUT parameter, some of these objects are of TABLE TYPE and one of RECORD TYPE. We are invoking this oracle procedure and fetching the object using jdbc. The object to which we are mapping this PL/SQL object is a custom java type object. We are using Jdeveloper 11.1.1.4 and Oracle ADF for this and we are able to successfully fetch the object using the code snippet #1 attached below.
    However, when we deploying the same code, i.e. the above ADF task flow in the Webcenter Portal server 11.1.1.4, inside the Webcenter portal application, it doesn’t work and give the below error, error snippet #2 below.
    Options tried: Initially we were using oracle.sql.STRUCT to handle the PL/SQL object, we tried changing this to weblogic.jdbc.wrapper.Struct and also java.sql.Struct, however we are still getting same error.
    The objective is to get the data from PL/SQL procedure in objects (record, table) as OUT parameters in ADF taskflow deployed on Oracle webcenter portal/application server.
    ******Code Snippet #1**************************
    txn = getDBTransaction();
    Connection con =
    ((DBTransactionImpl) txn).getPersistManagerConnection();
    st = (OracleCallableStatement) con.prepareCall(callfetchOA);
    st.setString(1, so_number);
    st.setString(2,
    generate_pdf); //generate_pdf should be passed as N in case of FetchOA and Y in case of Generate PDF
    st.setString(3, so_line_id);
    st.registerOutParameter(4, OracleTypes.STRUCT, headerTrxObj);
    st.registerOutParameter(5, OracleTypes.ARRAY, lineTrxTypeObj);
    st.registerOutParameter(6, OracleTypes.ARRAY, fetchFeeLineTypeObj);
    st.registerOutParameter(7, OracleTypes.ARRAY, fetchAdSizeTypeObj);
    st.registerOutParameter(8, OracleTypes.ARRAY, fetchChannelTypeObj);
    st.registerOutParameter(9, OracleTypes.ARRAY, fetchMarketTypeObj);
    st.registerOutParameter(10, OracleTypes.ARRAY, slaTypeObj);
    st.registerOutParameter(11, OracleTypes.NUMBER);
    st.registerOutParameter(12, OracleTypes.VARCHAR);
    st.execute();
    Object[] header = st.getSTRUCT(4).getAttributes();
    ***** error snippet #2**********************
    java.lang.ClassCastException: weblogic.jdbc.wrapper.Struct_oracle_sql_JAVA_STRUCT cannot be cast to oracle.sql.STRUCT
    at weblogic.jdbc.wrapper.CallableStatement_oracle_jdbc_driver_OracleCallableStatementWrapper.getSTRUCT(Unknown Source)
    at com.valassis.service.BaseAppModuleImpl.fetchOrder(BaseAppModuleImpl.java:1496)
    at com.valassis.model.beans.vo.OrderVO.fetchOrder(OrderVO.java:177)
    at com.valassis.model.beans.vo.OrderVO.testSaveOrder(OrderVO.java:399)
    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(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    Thanks
    Phani

    Maybe this can help you: http://mike.hostetlerhome.com/2007/02/12/weblogic-oracle-and-blobs-oh-my/
    It shows how to obtain a vendor object from the weblogic wrapped instance.
    From the blog
    weblogic.jdbc.wrapper.Blob cast1 = (weblogic.jdbc.wrapper.Blob) o;
    BLOB myblob = (BLOB) cast1.getVendorObj();

  • Oracle BPM 10.3 File Save Dialog Box

    Hi,
    I am using Oracle BPM 10.3. Can anybody tell me that how to get a File Save Dialog box in the method. On the method call i want to call Save Dialog box which will save the file on the local computer.
    Thanks
    Edited by: user9293762 on Sep 2, 2010 9:35 AM

    The compilation within Studio works with a bit smaller (like 35MBytes) project, thus I think the problem is some sort of memory handling.
    The problem comes up while it is trying to compie/load 'external resources': it still works with 512M or even 256M of heap before this operation.
    Some weird thing is that I cannot set Xmx >640M, nor launcher.XXMaxPermSize > 1024M (winXP SP2, 2G RAM). While I'm sure that nothing is hacked around the memory allowance of Windows (i.e. how much memory does it allow for particular executables), I think this operation should be tested to work even on 256M heap...
    On the other hand, the ANT compilation works well.
    Well, almost well.
    I have had some errors in my project, which ALBPM6.0 said to be OK, like defining a String array attribute 'not null' and setting no default value; or defining some object to be abstract and instantiating it.
    However these errors are not always reported, e.g. during catalog compilation: XY must be explicitly instantiated before being used since it does not have a default initialization... thus made it static (however, it has been used as static all the time).
    I had to hack CatalogPublisher a bit so that I can read them on stdout, and correct those syntax errors.
    For this possibility, iterate over the non-empty foCheckerListener.getPresentationErr() in CatalogPublisher after checkXO().

  • HFM Consolidations using Task Flow Automation

    I have created a task flow that has 5 stages (each stage having a success and a fail link). The first stage is set to consolidate (Impacted) our Actuals scenario for 6 years for 3 entity trees). The 2nd stage consolidates a different scenario for 3 yrs for 3 trees, etc. The task flow seems to "stop" in Stage 1 after consolidating all 3 trees for a few years. If I look in the View Taskflow status, the task flow still shows as being active; however if I look under Running Tasks, it shows nothing is running. If I look under Task Audit, it shows the last consolidation finished. I run into this same problem both when I schedule the task flow and when I run it manually. It consolidates a few years and then stops (and it's still in the first stage). I looked in the Event log on the HFM server and don't see anything that looks suspicious. Has anyone else had this problem?
    Also one more question - when I go to automate the task flow, why does the server time stamp listed there not match the clock on the server? I'm remoted into the server and the clock on the task bar says 9am, but the Server Date showing on the Starting Event tab shows 8am.
    Thanks.
    Terri

    I just got back to looking at this today. I ran the task flow to consolidate 2004-2009 actuals for 3 trees for all 12 months. All 3 trees were consolidated for 2004. Two trees were consolidated for 2005 and then it stopped. Both 2004 and 2005 are in the same stage of the task flow, so if the settings were correct for 2004, they should be fine for 2005. If I look at the task audit screen, it shows that it started consolidating the 2nd tree of 2005 at 8:32am. It then shows my id logging off at 8:33am and that the consolidation finished at 8:38am. Then it shows my id logging off again at 8:47am. The task flow is set up so that my id logs in for the 1st stage and then the following stages are set to use Initiator ... but the flow isn't getting to the 2nd stage be/c it dies.
    If I view the status of my task flow, it still shows as being active. I don't understand why the task audit shows my id as logging off be/c I still have the same 2 HFM sessions running as I did when I initiated the task flow ... unless it's the session that starts up to run the task flow that's getting logged off ... but if it is, I don't know why. Would the auto-logoff after so many minutes of inactivity cause this? Maybe that session appears inactive even though it's waiting for the task flow to do it's thing.
    1:07pm Follow-up - After the task flow hung this morning, I manually stopped it. I then kicked off the same task flow again and it completed successfully about 4 hours later ... so it doesn't seem to be due to the auto-logoff (time out) setting.
    Terri
    Edited by: Terri T on Apr 20, 2009 10:07 AM

  • How to create Discussions Task Flow Based on Oracle Content Server

    Hi,
    I need to create an ADF application consisting of the following aspects:
    1) Upload, Download and Share documents (I'm using Documents Services provided by WebCenter Jdeveloper Extensions)
    2) Create discussion threads and forums (I'm trying to use Discussion Services provided by WebCenter Jdeveloper Extensions)
    3) User should be able to do an universal search i.e search both documents and discussions forums. (I'm using Search Services provided by WebCenter Jdeveloper Extensions)
    I'm using "Oracle Content Server 10g for WebCenter" to manage my documents and discussions. While logging into GUI of OCS, I'm able to create and post discussion threads.
    But, I'm unable to create discussions adf task flow based on Oracle Content Server.
    The demos/tutorials/dev guides provided at http://webcenter.oracle.com have only described using WLS_Services managed server which is created and setup using WC Suite 11g.
    But I couldn't find any information to develop these discussion services using Jdeveloper WebCenter Extensions and Oracle Content Server.
    Please let me know, if anyone has tried this or if you have any idea of how to go about it.
    Thanks in Advance,
    Harikiran.
    Edited by: harikiran on Jul 13, 2010 3:23 PM

    Hi.
    You have official documentation introducing ADF Task Flows here: http://docs.oracle.com/cd/E23943_01/web.1111/b31974/taskflows.htm
    And you have next step by step tutorials to learn how to implement Task Flows:
    http://yonaweb.be/webcenter_tutorial/part_6_building_taskflow_and_consuming_it_webcenter_portal (Yannick blog post).
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_57/jdtut_11r2_57.html (official JDev samples).
    http://danielmerchanoracle.blogspot.com.es/2011/08/integrar-adf-task-flows-propios-en-una.html (My spanish blog with "how to add a Custom Task Flow into WebCenter Portal Application", 3 different and possible ways).,
    Probably Yannick Blog post if you need to understand how to integrate Bounded Task Flows with WebCenter Portal's.
    Regards.

  • Document Manager Task Flow

    Advanced Edit on folders/files not working when using the Document Manager Task Flow.
    Is any settings/configuration required?
    I tale it's possibe to make cahnges to security groups/Clasification/account in portal using the docunebt manager task flow.

    Please take a look at the Admin guide for WebCenter, Oracle HTTP server configuration section. Basically, you will modify the mod_wl_ohs.conf to enable OHS to handle the communication/auth between WebCenter and UCM.

  • Document Service Task Flow with Sharepoint as content repository

    WebCenter 11g PS3
    Can Microsoft Sharepoint be used with WebCenter Document Service Task flow ?
    I need to implement Document Workflow in WebCenter Spaces, but the content repository is Sharepoint instead of Oracle Content Server.

    Yes you can. I believe there is a sharepoint adapter available for webcenter.
    Maybe following documentation can help:
    http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e12405/wcadm_documents.htm#BABDFFDC

  • WLST Failed in Oracle BPM Enterprise for Weblogic Server

    Hi,
    I am not getting any clue of resolving the following issue. We are using Oracle BPM Enterprise for Weblogic # 100141. Error details:-
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    t3://192.68.1.3:
    Connecting to t3://192.168.1.3: with userid weblogic ...
    This Exception occurred at Tue Jul 3 :56: IST .
    weblogic.utils.NestedError: Local host not known?!
         at weblogic.rjvm.JVMID.setLocalClientID(JVMID.java:9)
         at weblogic.rjvm.JVMID.localID(JVMID.java:8)
         at weblogic.protocol.LocalServerIdentity$SingletonMaker.<clinit>(LocalServerIdentity.java:3)
         at weblogic.protocol.LocalServerIdentity.getIdentity(LocalServerIdentity.java:)
         at weblogic.server.channels.ServerChannelImpl.createDefaultServerChannel(ServerChannelImpl.java:3)
         at weblogic.rjvm.t3.ProtocolHandlerT3$ChannelInitializer.<clinit>(ProtocolHandlerT3.java:3)
         at weblogic.rjvm.t3.ProtocolHandlerT3.getDefaultServerChannel(ProtocolHandlerT3.java:4)
         at weblogic.protocol.ServerChannelManager$SingletonMaker$.getOutboundServerChannel(ServerChannelManager.java:339)
         at weblogic.protocol.ServerChannelManager.findOutboundServerChannel(ServerChannelManager.java:43)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:3)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:94)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:5)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:88)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:53)
         at weblogic.jndi.WLInitialContextFactoryDelegate$.run(WLInitialContextFactoryDelegate.java:344)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         at weblogic.jndi.Environment.getContext(Environment.java:35)
         at weblogic.jndi.Environment.getContext(Environment.java:85)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:66)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:88)
         at javax.naming.InitialContext.init(InitialContext.java:3)
         at javax.naming.InitialContext.<init>(InitialContext.java:9)
         at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:5)
         at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:35)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:3)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:6)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:5)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:5)
         at java.lang.reflect.Method.invoke(Method.java:59)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:6)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:48)
         at org.python.core.PyObject.invoke(PyObject.java:6)
         at org.python.pycode._pyx4.connect$(<iostream>:6)
         at org.python.pycode._pyx4.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:8)
         at org.python.core.PyTableCode.call(PyTableCode.java:44)
         at org.python.core.PyTableCode.call(PyTableCode.java:8)
         at org.python.core.PyFunction.__call__(PyFunction.java:9)
         at org.python.pycode._pyx6.initConfigToScriptRun$(C:\Documents and Settings\Abhishek\.configWizard\tmp\config.py:5)
         at org.python.pycode._pyx6.call_function(C:\Documents and Settings\Abhishek\.configWizard\tmp\config.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:8)
         at org.python.core.PyTableCode.call(PyTableCode.java:56)
         at org.python.core.PyFunction.__call__(PyFunction.java:69)
         at org.python.pycode._pyx6.f$(C:\Documents and Settings\Abhishek\.configWizard\tmp\config.py:66)
         at org.python.pycode._pyx6.call_function(C:\Documents and Settings\Abhishek\.configWizard\tmp\config.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:8)
         at org.python.core.PyCode.call(PyCode.java:4)
         at org.python.core.Py.runCode(Py.java:35)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:6)
         at weblogic.management.scripting.WLST.main(WLST.java:9)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:5)
         at java.lang.reflect.Method.invoke(Method.java:59)
         at weblogic.WLST.main(WLST.java:9)
    Caused by: java.net.UnknownHostException: HOME-MITTAL: HOME-MITTAL
         at java.net.InetAddress.getLocalHost(InetAddress.java:353)
         at weblogic.rjvm.JVMID.setLocalClientID(JVMID.java:5)
         ... 6 more
    No server running at t3://192.168.1.3: or the user/password is wrong
    Exiting WebLogic Scripting Tool.
    Even I tried using hostname as "localhost" but still I am facing the same issue.
    Please suggest what is the resolution for the same.
    Thanks,
    Abhishek

    Hi,
    I was getting same excepction when tried to configure weblogic server (10.3.3 and 10gR3) through BPM Configuration Wizard, so I end up doing everything manually, like setting up JDBC data sources, JMS Server, JMS Modules and created DB (Directory & Engine).
    Now, I am stuck at the last step of deploying the EAR files generated using BPM Process Administrator, they EAR's are generated fine but while deploying them to Weblogic server (through BPM Process Administrator), getting following exception (for "01-eng-bpmengine.ear")
    <Servlet: "engineStartup" failed to preload on startup in Web application: "/albpmServices/bpmengine".
    fuego.directory.DirectoryRuntimeException: Exception [java.sql.SQLException: Invalid column type].
         at fuego.directory.DirectoryRuntimeException.wrapException(DirectoryRuntimeException.java:85)
         at fuego.directory.provider.jdbc.oracle.OraclePersistenceManager.mapSQLException(OraclePersistenceManager.java:183)
         at fuego.directory.provider.jdbc.datadirect.oracle.DataDirectOraclePersistenceManager.mapSQLException(DataDirectOraclePersistenceManager.java:50)
         at fuego.directory.provider.jdbc.JDBCServiceAccessor.mapSQLException(JDBCServiceAccessor.java:78)
         at fuego.directory.provider.jdbc.JDBCParticipantsAccessor.fetchHumanParticipant(JDBCParticipantsAccessor.java:1423)
         at fuego.directory.provider.jdbc.JDBCParticipantsAccessor.authenticateHumanParticipant(JDBCParticipantsAccessor.java:370)
         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 fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy246.authenticateHumanParticipant(Unknown Source)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.getSessionParticipant(JDBCAuthenticationAccessor.java:429)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.authenticateInternal(JDBCAuthenticationAccessor.java:323)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.authenticate(JDBCAuthenticationAccessor.java:73)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.connect(JDBCAuthenticationAccessor.java:127)
         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 fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy243.connect(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl.connect(DirectorySessionImpl.java:250)
         at fuego.directory.provider.Factory.startSession(Factory.java:405)
         at fuego.directory.provider.jdbc.j2ee.RemoteJdbcDirectoryFactory.startSession(RemoteJdbcDirectoryFactory.java:122)
         at fuego.directory.Directory.startSession(Directory.java:268)
         at fuego.ejbengine.Engine.initDirectorySession(Engine.java:351)
         at fuego.ejbengine.Engine.start(Engine.java:122)
         at fuego.ejbengine.servlet.AbstractSchedulerServlet.init(AbstractSchedulerServlet.java:91)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7975)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7555)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8028)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:238)
         at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:324)
         at fuego.jdbc.FaultTolerantPreparedStatement.setString(FaultTolerantPreparedStatement.java:436)
         at fuego.directory.provider.jdbc.JDBCPersistenceManager.setStringAttribute(JDBCPersistenceManager.java:896)
         at fuego.directory.provider.jdbc.JDBCParticipantsAccessor.fetchHumanParticipant(JDBCParticipantsAccessor.java:1417)
         at fuego.directory.provider.jdbc.JDBCParticipantsAccessor.authenticateHumanParticipant(JDBCParticipantsAccessor.java:370)
         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 fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy246.authenticateHumanParticipant(Unknown Source)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.getSessionParticipant(JDBCAuthenticationAccessor.java:429)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.authenticateInternal(JDBCAuthenticationAccessor.java:323)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.authenticate(JDBCAuthenticationAccessor.java:73)
         at fuego.directory.provider.jdbc.JDBCAuthenticationAccessor.connect(JDBCAuthenticationAccessor.java:127)
         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 fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy243.connect(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl.connect(DirectorySessionImpl.java:250)
         at fuego.directory.provider.Factory.startSession(Factory.java:405)
         at fuego.directory.provider.jdbc.j2ee.RemoteJdbcDirectoryFactory.startSession(RemoteJdbcDirectoryFactory.java:122)
         at fuego.directory.Directory.startSession(Directory.java:268)
         at fuego.ejbengine.Engine.initDirectorySession(Engine.java:351)
         at fuego.ejbengine.Engine.start(Engine.java:122)
         at fuego.ejbengine.servlet.AbstractSchedulerServlet.init(AbstractSchedulerServlet.java:91)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    my assumption is JDBC Data Sources or the Directory/Engine database have some column name mismatch.
    Let me know if somebody has a solution for this, or if I am doing something wrong.
    NOTE: just found out that this happens only on Windows 2003 server, but not on OEL5 (Oracle Enterprise Linux 5).
    Thanks !!

  • Getting error in   oracle bpm worklist.,while clicking new HW task..

    OracleJSP error: oracle.jsp.parse.JspParseException:
    /taskDetails1.jspx: Line # 304, <wlc:taskHistory initParam="#{pageFlowScope.aleComponentBean.comp}" showTabularView="true" showGraphicalView="true" id="taskHst" xmlns:wlc="http://xmlns.oracle.com/bpel/workflow/worklist"/>
    Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
    I am getting the above error when selecting the new task in oracle bpm worklist.I am not able use my Human work flow.
    so any one can help me,
    waiting for the reply...

    Hi
    1. I am guessing you got this application/project from some other team member or from source code control system.
    2. Basically looks like some tag libs are not getting resolved and hence this tag <wlc:taskHistory is not understood as a tag. Hence the syntax error.
    3. In JDeveloper, select your TaskFormsUIProject that has this taskDetails1.jspx file. Right Click -> Project Properties.
    4. In Project Properties window, on left side, select JSP Tag Libraries. On right side, I am betting you should see some entries in Red Color like "Worklist Component 1.0". Select this and on right side, see the location in the first field named TLD File: which is something like shown below. Now most probably this folder structure do not match with where you have JDeveloper in your machine. You need to fix this. First copy this value, so that you know where the JAR file is located.
    C:/Oracle/Middleware/Jdeveloper115/jdeveloper/soa/modules/oracle.soa.worklist_11.1.1/adflibWorklistComponents.jar!/META-INF/worklistComponents.tld
    5. Delete this entry. Click on Add button. In the pop up window, select like Project -> click on New button. Now browse and select the .jar file from your JDeveloper installed folder like for ex: C:/Oracle/Middleware/Jdeveloper115/jdeveloper/soa/modules/oracle.soa.worklist_11.1.1/adflibWorklistComponents.jar and hit OK Button. Now you should see a new entry added in Tag Libraries named "Worklist Component 1.0". Hit Ok. Save the Project. Compile once.
    6. Redeploy your application/project the way you do. Test it.
    Repeat the steps for any Tag Libraries that you see in Red Color. Note down the location first of the JAR file that has the .tld. Then remove it. Add a new entry and select this .JAR from your local JDev folder structure.
    Thanks
    Ravi Jegga

  • Is it possible to load Content Explorer task flow from Document Explorer

    I have document explorer task flow within a page that has one the root folder employee that contains list of html files
    While selecting the row (html file) is it possible to load the same within Content presenter by capturing the ContentID from there? Under document explorer task flow I found one parameter resourceId. Can we update this in the Content Explorer task flow?
    Thanks,
    Vishnu

    Read up on XMLType Views in the XMLDB Developers Guide or here:http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_8004.htm.

  • Oracle.jbo.AttrSetValException on extending an adf task flow in webcenter

    Hi,
    I have used EO validations and the validation messages are provided in the ResourceBundle.properties file.But whenever I deploy the adf task flow to webcenter spaces the messages are not shown and the following error occurs:
    <Jul 26, 2012 2:43:28 PM IST> <Error> <oracle.webcenter.webcenterapp> <BEA-000000> <getDisplayMessage Called=oracle.jbo.AttrSetValException
    oracle.jbo.AttrSetValException: JBO-com.in.jagran.model.entity.AdAgcrlimitApp.AdhocLimit_Rule_1: STRINGMANAGER: Key: com.in.jagran.model.entity.AdAgcrlimitApp.AdhocLimit_Rule_1 not found in bundle oracle.javatools.resourcebundle.ResourceBundleRT
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:381)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:1064)
         at oracle.jbo.rules.AbstractValidator.doRaiseException(AbstractValidator.java:1119)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1108)
         at oracle.jbo.rules.JboMethodValidator.raiseException(JboMethodValidator.java:259)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1095)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:239)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:386)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:716)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:696)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:3251)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3196)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1971)
         at com.in.jagran.model.entity.AdAgcrlimitAppImpl.setAdhocLimit(AdAgcrlimitAppImpl.java:720)
         at com.in.jagran.model.entity.AdAgcrlimitAppImpl$AttributesEnum$8.put(AdAgcrlimitAppImpl.java:119)
         at com.in.jagran.model.entity.AdAgcrlimitAppImpl.setAttrInvokeAccessor(AdAgcrlimitAppImpl.java:1316)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:1879)
    Please help.This is urgent

    Hi,
    did you solve the issue? I've just got exactly the same problem :(
    Lenka

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         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:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

  • Document Manager Task Flow Customization

    Hi All,,
    I got following exception while customizing Document Manager Task Flow using jdeveloper customization role.
    i have added a input box in upload.jsff page
    Any one has some clue about this exception..........?
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jsp.parse.JspParseException: <br>/oracle/webcenter/doclib/view/jsf/taskflows/folderViewer/folderViewer.jsff: Line # 118, &lt;af:goMenuItem destination="#{doclib:toPortletURL(pageFlowScope.dlMain.singleSelection.downloadNativeFileURL)}" disabled="#{backingBeanScope.dlMnBk.actions.download.disabled}" icon="/adf/webcenter/filedownload_#{backingBeanScope.dlMnBk.actions.download.iconType}.png" id="dwnld_fm" rendered="#{backingBeanScope.dlMnBk.actions.download.rendered}" styleClass="WCDoclibButton" targetFrame="_blank" text="#{dlBndl.RENDITIONS_DOWNLOAD}" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"/&gt; <br>Error: Function doclib:toPortletURL has an invalid prefix or uses the default namespace which is not defined. Correct the prefix or in a jsp document, put the function inside a tag that defines the tag library namespace
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         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.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         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.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.servlet.ServletException: OracleJSP error:

    Hi,
    I tried customizing Discussion service taskflow customization .Repeatedly restart Jdeveloper by switching between roles and I got work done. More than customizing in coding,try to edit in structure window , that shows a good result.
    Try it. Good luck.
    Regards,
    Dinesh Vishnu Kumar C.

Maybe you are looking for