How to pass parameter

Hello,
I've to similar methods that I want to combine them. The are small differences in the methods. Other parts are exactly same.
Here are the samples:
long findWaitMaxEla(CCursor pUnKnownCursor, CWaitKey pWaitKey)
    while (iter.hasNext())
      mapEntry       = (Map.Entry) iter.next();
      iUnKnownCursor = (CCursor)   mapEntry.getValue();
      if ((iWait = (CWait) iUnKnownCursor.waitMap.get(pWaitKey))==null) continue;
long findWaitMaxEla(CCursor pUnKnownCursor, CHistogramKey pHistogramKey)
    while (iter.hasNext())
      mapEntry       = (Map.Entry) iter.next();
      iUnKnownCursor = (CCursor)   mapEntry.getValue();
      if ((iHistogramValue = (CHistogramValue) iUnKnownCursor.histogram.waitMap.get(pHistogramKey))==null) continue;
}The differences:
- Second parameters: pWaitKey, pHistogramKey
- Map names: iUnKnownCursor.waitMap, iUnKnownCursor.histogram.waitMap (Please note that iUnKnownCursor is got in the method. I can not pass them as a parameter).
- Returned class names from the maps: CWait, CHistogramValue
How can I combine these 2 methods into one method ?
Thanks in advance...

Assuming that iWait and iHistogramValue are fields rather than variables, and are not used elsewhere in the methods, then something like this would work:private interface Lambda {
  Object apply (XXX self, CCursor iUnKnownCursor, Object key) ;
private static Lambda iHistogramValueLambda = new Lambda(){
  public Object apply (XXX self, CCursor iUnKnownCursor, Object key) {
   return self.iHistogramValue  = (CHistogramValue)iUnKnownCursor.histogram.waitMap.get(key);
private static Lambda iWaitLambda = new Lambda(){
  public Object apply (XXX self, CCursor iUnKnownCursor, Object key) {
    return self.iWait = (CWait) iUnKnownCursor.waitMap.get(key)
long findWaitMaxEla(CCursor pUnKnownCursor, Object pKey, Lambda lambda) {
     while (iter.hasNext())
       mapEntry       = (Map.Entry) iter.next();
       iUnKnownCursor = (CCursor)   mapEntry.getValue();
       if (lambda.apply(this, iUnKnownCursor, pkey)==null) continue;
long findWaitMaxEla(CCursor pUnKnownCursor, CWaitKey pWaitKey)
  return findWaitMaxEla(pUnKnownCursor, pWaitKey, iWaitLambda);
long findWaitMaxEla(CCursor pUnKnownCursor, CHistogramKey pHistogramKey) {
  return findWaitMaxEla(pUnKnownCursor, pHistogramKey, iHistogramValueLambda);
}Pete

Similar Messages

  • How to pass parameter into a source variable of a invoke activity

    I'm an new BPELer, I created a invoke activity to submit Oracle Appplications concurrent program, but I don't know how to pass parameter into source variable.
    BTW, I have created the mapper file (.xsl) file.
    could anyone tell me how to do that?
    Thanks,
    Victor

    Hi.
    How you start application? I think you send message to webservice(BPEL process is webservice too). So construct message with variable and value.
    But I created only processes where input value doesn't matter. I haven't use mapper yet too.

  • How to Pass parameter to Custom Scheduler dynamically

    hi ,
    I am new to OIM.
    Need your help in passing parameters dynamically to Custom Scheduler.
    I have created Custom Scheduler by extending Task Support.
    I have registered the plugin through API , using PlatformService.registerPlugin() method.
    As I need to send the parameter(s) to this CustomScheduler, I have defined them in Metadata (CustomScheduleTask.xml) file as below and got it imported into DB
    through weblogicImportMetadata.sh script by providing the path of the file.
    <scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
    <task>
    <name>CustomScheduleTask</name>
    <class>org.schedule.custom.task.CustomScheduleTask</class>
    <description>Fetch details of the given user_id</description>
    <retry>5</retry>
    <parameters>
    <string-param required="true" helpText="Login Name">Login Name</string-param>
    </parameters>
    </task>
    </scheduledTasks>
    Iam able to import this plugin as well as register the plugin successfully. Now I have defined a job to which this Custom SchedulerTask is mapped.
    Now in order to run this job(schedule task) I need to provide Login name( or id) which needs to be send as a parameter for the scheduler to get executed.
    But while defining the job with this Schedule Task on OIM console, I was not able to define or pass parameter to this job. hence parameter is null in
    CustomSchedule 's execute method .
    Kindly help me how to pass parameter dynamically while running the scheduler from OIM console so that the execute method would be able to receive it.
    Thank you in Advance.
    Regards,
    Kumar

    Hi,
    When you have created the schedule job for your custom schedule task, you should see your Login Name textfield in the schedule task. If not, then there verify your schedule task xml.
    In your schedule class code, add:
    public void execute(HashMap arg0) {
              final String METHOD_NAME = "execute :: ";
              logger.debug(CLASS_NAME + METHOD_NAME + "Entering Method - execute");
              try {
                   String LoginName = arg0.get("Login Name");
    Regards,
    Sunny

  • How to pass parameter as http POST in pageContext.setForwardURL

    Hi,
    I need to call a third party application page in my custom OAF page. I need to pass parameter to this third party page using POST method. I am using following command to call that -
    HashMap hm = new HashMap();
    hm.put("FirstName",firstName );
    hm.put("LastName",lastName);
    hm.put("AppSignature", signature);
    pageContext.setForwardURL(hopURL,
    null, // not necessary with KEEP_MENU_CONTEXT
    OAWebBeanConstants.KEEP_MENU_CONTEXT, // no change to menu context
    null, // No need to specify since we're keeping menu context
    hm, // request parameters
    false, // retain the root application module
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // display breadcrumbs
    OAException.ERROR);
    I am passing parameter to the page using hash map table. That application is expecting the parameters in POST format and I believe using hash map table the parameters will be passed as GET format.
    We figured that out because one of the parameter we have to send is AppSignature which is 160 characters long. When third party applicatoin received that parameter they got only 151 characters, looks like they are truncated by GET method.
    Any idea how to pass parameter using POST format so that this issue could be fixed.
    Regards
    Hitesh

    Sumit,
    Thanks for your reply. I have resolved this issue by forwarding all parameters in session using pageContext.putSessionValueDirect and redirect to a jsp using pageContext.redirectImmediately.
    in jsp I read the params from session and set in the form , and then redirected to my third party application.
    Regards
    Hitesh

  • How to pass parameter /1BCDWB/DOCPARAMS from webdynpro?

    Hi Experts,
    We create a wdp view and indert an adobe form into it. And this form has an interface based on XML schema.
    Now we want to translate this form into multi-language, and in wdp side, we will display diffenent language version of form for different regions.
    I found that there is a paramater /1BCDWB/DOCPARAMS-LANGU, and it seems can control the language version in processing.
    But I donot know how to pass parameter /1BCDWB/DOCPARAMS from wdp to adobe form.
    Its my 1st to use adobe form and wdp, i really have no way out. Any advice will be Appreciated.
    Thank you.
    Richard

    @sahai: Hey no , I am using very very simple example without any query or complex statement. I just have 2 radio buttons in VIEW1. On clicking the radio button, the naviagtion to view2 is done and the value of selected radio button is passed as a parameter in the plug.
    In the view2 , i just have a caption in my layout where i am displaying the parameter value by setting the attribute.THe warning i get is in view2. Here is the code. Apart from this there is no coding in view2.
    METHOD HANDLEPLUG_IN_V2 .
        DATA:
          NODE_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_CAPT_MSG                       TYPE IF_VIEW2=>ELEMENT_CAPT_MSG ,
          ITEM_MSG                            LIKE STRU_CAPT_MSG-MSG.
    *   navigate from <CONTEXT> to <CAPT_MSG> via lead selection
        NODE_CAPT_MSG = WD_CONTEXT->GET_CHILD_NODE( NAME = `CAPT_MSG` ).
    *   get single attribute
        NODE_CAPT_MSG->SET_ATTRIBUTE(
          EXPORTING
            NAME =  `MSG`
            VALUE = PAR_1 ).
    ENDMETHOD.

  • How to pass parameter to the Query String of the Named Queries'SQL

    Firstly to say sorry,I'm a beginner and my English is very little.
    Now I want to know
    How to pass parameter to the Query String of the Named Queries'SQL in the Map editor.
    Thanks.

    benzi,
    Not sure if this is on target for your question, but see #5 in the link below for some web screencasts that show how to pass an input text form field value to the bind variable of a view object. If you're looking for something different, maybe provide some more details such as what you are trying to accomplish and what technology stack you are using - for example, ADF BC, JSF, etc.
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    Also see section 5.9 and chapter 18 in the developer's guide.
    thanks

  • How to pass parameter to intro.jsp page ?

    Hi all,
    Anybody please tell me how to pass parameter to intro.jsp page.
    Is there any param name defined in <forward > syntax ?
    I have made following configuration in struts-config.xml file.
    I want to pass parameter to intro.jsp page
    <global-forwards>
              <forward name="invalidsession" path="/intro.jsp" redirect="true" />
    </global-forwards>
    please reply soon.
    Thanking you.

    Hi all,
    I have a similar kind of question..
    Iam trying to pass a string variable from JSP to servlet thro URL..
    Im using tomcat5
    COde:
    String fname=request.getParamter("filename");
    <jsp:forward page="/servlet/coreservlets.filedownload?name=" +fname />
    It is generating a unterminated tag error..Please help..

  • How to pass parameter into transaction iview ?

    Hi experts,
    I want to know "how to pass parameter into transaction iview ".
    Regards,
    Krishna Balaji T

    Hi Krishna,
    Not sure if this can help you.
    1) Passing a parameter to a transaction iview (I saw a resolved suggestion)
    Passing a parameter to a transaction iview
    2) Passing a parameter from the portal to R3 (helpful info for you)
    Passing a parameter from the portal to R3
    3) Create SAP Transaction iView using SAPGUI for Windows (Great Blog and info about TA Iview)
    Create SAP Transaction iView using SAPGUI for Windows
    Please check the following link for Transaction Iviews
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/f9e1ac7da0ee4587d79e8de7584966/frameset.htm
    Just some info: Portal is basically what the end user can see. What he can do, is still maintain in the backend system. If there are parameters setup already for the user in the backend system (in SU01), then those parameters should still valid for the transaction that the parameters are linked to.
    Hope that helps and award points for helpful suggestions.
    Ray

  • How to   Pass Parameter from BIP  to Dashboard  Report

    Hi,
    Parameter from BIP to Dashboard Report
    If I select BIP report paremeter should pass value to dashboard report
    thanks in advance.
    CHEERS ,
    Jel

    Hi Saichand,
    I hav gone through above link its passing values from Dashboard prompt to BIP report only..
    just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
    Thanks in advance
    Cheers,
    Jel

  • How to pass parameter in webstart/browser mode

    Hello -
    I'm trying to understand how to pass a parameter to my FX2 application with in browser mode or webstart mode.
    So I imported ColorfulCircles project from the Ensemble into Netbeans. Then I modified the code and put in a small snippet to pull a parameter after init method, like so. I just get the parameter and set it as title for the stage.
    @Override public void start(Stage primaryStage) throws Exception {
    init(primaryStage);
    Parameters params = getParameters();
    String myTitle = params.getNamed().get("myTitle");
    primaryStage.setTitle(myTitle);
    primaryStage.show();
    play();
    I then did a clean and build in netbeans...all html, jar, jnlp etc was generated.
    I then manually modified the HTML as shown below. But the title for the stage doesnt update/show, for either modes.
    What is missing here?
    +<html><head>+
    +<SCRIPT src="./web-files/dtjava.js"></SCRIPT>+
    +<script>+
    +function launchApplication(jnlpfile) {+
    +dtjava.launch(            {+
    url : 'ColorfulCircles.jnlp',
    jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iQ29sb3JmdWxDaXJjbGVzLmpubHAiPg0KICA8aW5mb3JtYXRpb24DQogICAgPHRpdGxlPkNvbG9yZnVsQ2lyY2xlczwvdGl0bGU+DQogICAgPHZlbmRvcj5kZW1vPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPlNhbXBsZSBKYXZhRlggMi4wIGFwcGxpY2F0aW9uLjwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGpmeDpqYXZhZngtcnVudGltZSB2ZXJzaW9uPSIyLjArIiBocmVmPSJodHRwOi8vamF2YWRsLnN1bi5jb20vd2ViYXBwcy9kb3dubG9hZC9HZXRGaWxlL2phdmFmeC1sYXRlc3Qvd2luZG93cy1pNTg2L2phdmFmeDIuam5scCIvPg0KICA8L3Jlc291cmNlcz4NCiAgPHJlc291cmNlcz4NCiAgICA8ajJzZSB2ZXJzaW9uPSIxLjYrIiBocmVmPSJodHRwOi8vamF2YS5zdW4uY29tL3Byb2R1Y3RzL2F1dG9kbC9qMnNlIi8+DQogICAgPGphciBocmVmPSJDb2xvcmZ1bENpcmNsZXMuamFyIiBzaXplPSIxNzg3NSIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJDb2xvcmZ1bENpcmNsZXMiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSIyLjArIi8+DQogIDwvYXBwbGV0Pg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iQ29sb3JmdWxDaXJjbGVzU2FtcGxlIiAgbmFtZT0iQ29sb3JmdWxDaXJjbGVzIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJiYWNrZ3JvdW5kIi8+DQo8L2pubHA+DQo='+
    +,+
    +params: {myTitle: "MyColorfulCircles"}+
    +},+
    +{+
    javafx : '2.0'+
    +},+
    +{}+
    +);+
    return false;
    +}+
    +</script>+
    +<script>+
    +function javafxEmbed() {+
    dtjava.embed(
    +{+
    url : 'ColorfulCircles.jnlp',
    placeholder : 'javafx-app-placeholder',
    width : 800,
    height : 600,
    jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iQ29sb3JmdWxDaXJjbGVzLmpubHAiPg0KICA8aW5mb3JtYXRpb24DQogICAgPHRpdGxlPkNvbG9yZnVsQ2lyY2xlczwvdGl0bGU+DQogICAgPHZlbmRvcj5kZW1vPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPlNhbXBsZSBKYXZhRlggMi4wIGFwcGxpY2F0aW9uLjwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGpmeDpqYXZhZngtcnVudGltZSB2ZXJzaW9uPSIyLjArIiBocmVmPSJodHRwOi8vamF2YWRsLnN1bi5jb20vd2ViYXBwcy9kb3dubG9hZC9HZXRGaWxlL2phdmFmeC1sYXRlc3Qvd2luZG93cy1pNTg2L2phdmFmeDIuam5scCIvPg0KICA8L3Jlc291cmNlcz4NCiAgPHJlc291cmNlcz4NCiAgICA8ajJzZSB2ZXJzaW9uPSIxLjYrIiBocmVmPSJodHRwOi8vamF2YS5zdW4uY29tL3Byb2R1Y3RzL2F1dG9kbC9qMnNlIi8+DQogICAgPGphciBocmVmPSJDb2xvcmZ1bENpcmNsZXMuamFyIiBzaXplPSIxNzg3NSIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJDb2xvcmZ1bENpcmNsZXMiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSIyLjArIi8+DQogIDwvYXBwbGV0Pg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iQ29sb3JmdWxDaXJjbGVzU2FtcGxlIiAgbmFtZT0iQ29sb3JmdWxDaXJjbGVzIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJiYWNrZ3JvdW5kIi8+DQo8L2pubHA+DQo='+
    +,+
    +params: {myTitle: "MyColorfulCircles"}+
    +},+
    +{+
    javafx : '2.0'+
    +},+
    +{}+
    +);+
    +}+
    +<!-- Embed FX application into web page once page is loaded -->+
    dtjava.addOnloadCallback(javafxEmbed);
    +</script>+
    +</head><body>+
    +<h2>Test page for <b>ColorfulCircles</b></h2>+
    +<b>Webstart:</b> click to launch this app as webstart<br><hr><br>+
    +<!-- Applet will be inserted here -->+
    +<div id='javafx-app-placeholder'></div>+
    +</body></html>+

    Thank you Igor.
    "Released version of JavaFX do not provide support for this scenario."
    --> So current release wont support for both webstart and embedded?
    "Note that doc you are referring to only mention it for embedded applications."
    -->But the code I've shown, doesnt work for embedded app either. That html I pasted, has both embedded and webstart - doesnt work for both.
    "This is improved in JavaFX 2.2 though. "
    -->So does that mean, if I try 2.2, it'll still only work for embedded? Or will it work for both webstart and embedded?
    If only for embedded..then in that case, what's the best way to dynamically pass a parameter (named or unnamed) to a WebStart app?
    Thanks.
    A

  • How to pass parameter to my jsp apge included in adf inlineframe

    Hi,
    I would like to know how could i pass parameter to my adf inileframe src.
    Because when i try to do this
    <af:inlineFrame id="if1" source="/frontBackOffice/Scanning.jsp?param0=#{....}&param1=#{....}" />
    I have a error
    ADF_FACES-30179:Pour plus d''informations, consultez le journal d''erreur du serveur à une entrée commençant par : l''élément UIViewRoot est NULL. Exception fatale lors de PhaseId : RESTORE_VIEW 1
    Could you help me please

    you map the source to a backingbean.. and in the bean you just manipulate the parameters..
    chk this link for an idea - search for af:inlineframe
    http://biemond.blogspot.com/2009/02/facebook-adf-task-flow.html
    <af:inlineFrame source="#{FaceBook.facebookLoginUrl}" 
                         inlineStyle="width:99%; height:99%;" 
                         shortDesc="Loginpage"/> 
    in the bean do this
    private String facebookLoginUrl;
    public String getFacebookLoginUrl() { 
          if (sessionID==null){ 
            try { 
                  client = new FacebookJaxbRestClient(APIKEY, SECRET); 
                  token = client.auth_createToken(); 
                  facebookLoginUrl= "http://api.new.facebook.com/login.php?api_key=" + APIKEY + "&v=1.0&auth_token=" + token; 
             } catch (FacebookException ex) { 
              ex.printStackTrace(); 
          return facebookLoginUrl; 
      }

  • How to pass parameter to the method in EJB session bean from Managed Bean

    Hi,
    I need some guidance in accessing the EJB session bean methods from one of my backing Bean. I use EJB 3.0 Entity Beans and EJB Session Beans. I have to get value from my page and pass it thro the backing bean to the respective EJB session bean. I have no clue of how to do this,
    When i click a command link on the page, in its backing bean click method, i am able to get a value and store in a variable under its click action. But from there i am not knowing of how to pass it as a variable to the EJB session bean and hence execute the query(this is where we have to pass the variable as a parameter in its where clause) in the entity bean.
    I wanna know how to make a call to the EJB session bean and from there execute the Enitity bean.
    Guide me regarding this....
    Thanks
    ri

    Unfortunately dependency injection doesn't work for jsf backing beans, so you have to use a normal jndi lookup to find your session bean. The following example shows you how to find a session bean and call a method:
    public void commandButton_actionListener(ActionEvent actionEvent) {
    Context ctx;
    try {
    ctx = new InitialContext();
    helloWorldEjb = (HelloWorldEJB)ctx.lookup("HelloWorldEJB");
    hello = helloWorldEjb.sayHello(name);
    System.out.println(hello);
    } catch (NamingException e) {
    e.printStackTrace();
    }

  • How to pass Parameter to JSP in USerTask

    Hi,
    I have a process with UserTask(Worklist). How do I pass a parameter to my custom JSP Page. On UserTask Wizard I selected JSP URL option to display the payload
    and that is a custom JSP page that reads data from multiple tables based on the parameter passed.
    I have created a Workflow process and I am calling a Custom JSP page to show the data. But from my process I just want to pass in a variable as a parameter to
    the JSP Page that then displays the data based on the parameter value, but I can't figure out on how to pass the parameter. Any help is appreciated.
    Thanks

    I redeployed the application and made the parent applicaion as orabpel, but now I am getting the following error. Any help is appreciated. Thanks
    <2006-07-06 13:54:36,857> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "task manager": Instance not found in datasource.
    The process domain was unable to fetch the instance with key "" from the datasource.
    Please check that the instance key "" refers to a valid instance that has been started and not removed from the process domain.
    ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "" from the datasource.
    Please check that the instance key "" refers to a valid instance that has been started and not removed from the process domain.
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
         at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
         at com.collaxa.cube.ejb.impl.TaskManagerBean.lookupTask(TaskManagerBean.java:57)
         at ITaskManagerBean_StatelessSessionBeanWrapper66.lookupTask(ITaskManagerBean_StatelessSessionBeanWrapper66.java:81)
         at com.oracle.services.bpel.task.WorklistService.lookupTask(WorklistService.java:93)
         at _index._jspService(_index.java:68)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    06/07/06 13:54:36 ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "" from the datasource.
    Please check that the instance key "" refers to a valid instance that has been started and not removed from the process domain.
    06/07/06 13:54:36      at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
    06/07/06 13:54:36      at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
    06/07/06 13:54:36      at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
    06/07/06 13:54:36      at com.collaxa.cube.ejb.impl.TaskManagerBean.lookupTask(TaskManagerBean.java:57)
    06/07/06 13:54:36      at ITaskManagerBean_StatelessSessionBeanWrapper66.lookupTask(ITaskManagerBean_StatelessSessionBeanWrapper66.java:81)
    06/07/06 13:54:36      at com.oracle.services.bpel.task.WorklistService.lookupTask(WorklistService.java:93)
    06/07/06 13:54:36      at _index._jspService(_index.java:68)
    06/07/06 13:54:36      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    06/07/06 13:54:36      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    06/07/06 13:54:36      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    06/07/06 13:54:36      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    06/07/06 13:54:36      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    06/07/06 13:54:36      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    06/07/06 13:54:36      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    06/07/06 13:54:36      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    06/07/06 13:54:36      at java.lang.Thread.run(Thread.java:534)

  • How to pass parameter into cursor for loop ?

    Hi Experts,
    I want to pass parameter l_bom_header_tbl(i).assembly_item_name into the for statement below How to achieve this?
    for j in 1 .. l_bom_components_tbl.COUNT LOOP
    Thanks

    Maybe i failed to describe in detail,so here i go:
    I have two for loops:
    for i in 1 .. l_bom_header_tbl.COUNT LOOP --1st For Loop
    V_bom_header_tbl.organization_code :='DSC';
    V_bom_header_tbl.assembly_item_name:= l_bom_header_tbl(i).assembly_item_name ;
    k:=1;
    I want to pass parameter l_bom_header_tbl(i).assembly_item_name into the for statement below: How to achieve this?
    for j in 1 .. l_bom_components_tbl.COUNT LOOP *2nd For Loop*
    v_bom_components_tbl(k).Assembly_Item_name := l_bom_header_tbl(i).assembly_item_name ;
    k := k + 1;
    end LOOP;
    end loop;
    end;
    I want to pass a paramter into second for loop in such a way that it accepts from the first for loop
    for j in 1 .. l_bom_components_tbl.COUNT LOOP -2nd loop
    Edited by: ILovePlSql on Mar 22, 2010 12:25 PM

  • How to pass parameter in query string

    Hi Friends,
    I have a working struts app with Action classes and Servlets...now I need to pass query paramter to one of the servlets,can someone please tell me how to do that.I tried to put this code in web.xml but failed:
    <servlet>
    <servlet-name> test</servlet-name>
    <servlet-class>com.app.Test </servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>test</servlet-name>
        <url-pattern>/app/Test</url-pattern>
      </servlet-mapping>And then I tried to pass parameter as:
    http://localhost:8080/app/Test?param=value
    Please tell me guys how to accomplish this.
    Thanks in advance

    What do you mean by fails? Can you access the Servlet without the parameter? Do you get a null value when trying to retrieve the parameter?

  • XDIM_MEMBERSET ENTITY how to pass parameter dynamically

    Hi experts,
    I am using the how to guide "How to pass dynamic parameters to script logic" in order to pass the ENTITY parameter dynamically to the following script logic:
    *XDIM_MEMBERSET FIL_KAT=
    *XDIM_MEMBERSET ORG_EINHEIT=BAS($ENTITY_DIM$)
    *XDIM_MEMBERSET VERSION=UMS_TAG_2011
    *XDIM_MEMBERSET WAEHRUNG=LW
    *XDIM_MEMBERSET ZEIT_TW=TW1.MAR
    *XDIM_MEMBERSET ZEIT_UMSATZ=%HR%
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *XDIM_MEMBERSET POSITION_UMSATZ=UMS_BR,UMS_BASIS,UMS_BAS_STEIG
    *XDIM_MAXMEMBERS ORG_EINHEIT=1500
    //*BEGIN
    //[POSITION_UMSATZ].[#UMS_BR]=
    //[POSITION_UMSATZ].[UMS_BASIS]
    //+.[UMS_BAS_STEIG]
    //*END
    *SELECT(%HR%,"ID","ZEIT_UMSATZ",TITEL_HR="HR_GJ_2010")
    *WHEN POSITION_UMSATZ
    *IS "UMS_BASIS"
    *REC(EXPRESSION=%VALUE%+.[UMS_BAS_STEIG],POSITION_UMSATZ="UMS_BR")
    *ENDWHEN
    *COMMIT
    the following statements are in the task manager:
    PROMPT(SELECTINPUT,%SELECTION%,,"Bitte Parameter für Kalenderverschiebung angeben (Land)","%ENTITY_DIM%")
    'PROMPT(TEXT,%ENTITY_DIM%,"Bitte die Länder ID erfassen: ",)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    INFO(%SCRIPT_FILE%,CALDAY_MOVE_PLAN.LGF)
    INFO(%MODE%,PLAN)
    TASK(FX_START_BADI_RUN_LOGIC,TAB,%TAB%)
    TASK(FX_START_BADI_RUN_LOGIC,EQU,%EQU%)
    TASK(FX_START_BADI_RUN_LOGIC,SUSER,%USER%)
    TASK(FX_START_BADI_RUN_LOGIC,SAPPSET,%APPSET%)
    TASK(FX_START_BADI_RUN_LOGIC,SAPP,%APP%)
    TASK(FX_START_BADI_RUN_LOGIC,LOGICFILENAME,%SCRIPT_FILE%)
    TASK(FX_START_BADI_RUN_LOGIC,SELECTION,%SELECTION%)
    TASK(FX_START_BADI_RUN_LOGIC,REPLACEPARAM,MODE%EQU%%MODE%)
    TASK(FX_START_BADI_RUN_LOGIC,REPLACEPARAM,ENTITY_DIM%EQU%%ENTITY_DIM%)
    Everthing ist working fine. However in the log you can see that the script is running for all entities e.g. Spain instead of only Italy which I entered when I started the data manager. Any idea how I could resolve this issue?
    Thanks a lot for your help in advance!
    USER:INTROEBER
    APPSET:FEINPLANUNG_PILOT_4
    APPLICATION:UMSATZ_TAG
    NO MEMBER SPECIFIED FOR DIMENSION:FIL_KAT WILL QUERY ON ALL BASE MEMBERS.
    GET_DIM_LIST(): I_APPL_ID="UMSATZ_TAG", #dimensions=8
    FIL_KAT,MEASURES,ORG_EINHEIT,POSITION_UMSATZ,VERSION,WAEHRUNG,ZEIT_TW,ZEIT_UMSATZ
    #dim_memberset=8
    FIL_KAT:FIL_#,FIL_EXP,FIL_EXPVJ,FIL_OEXP,4 in total.
    ORG_EINHEIT:ORG_EINHEIT,1 in total.
    VERSION:UMS_TAG_2011,1 in total.
    WAEHRUNG:LW,1 in total.
    ZEIT_TW:TW1.MAR,1 in total.
    ZEIT_UMSATZ:2010.DEC.01,2010.DEC.02,2010.DEC.03,2010.DEC.04,2010.DEC.05,...120 in total.
    MEASURES:PERIODIC,1 in total.
    POSITION_UMSATZ:UMS_BR,UMS_BASIS,UMS_BAS_STEIG,3 in total.
    REC :%VALUE%+.[UMS_BAS_STEIG]
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 4485.00 ms. 84938  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    QUERY TIME : 7516.00 ms. 155967  RECORDS QUERIED OUT.
    QUERY PROCESSING DATA
    QUERY TIME : 1156.00 ms. 7012  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    QUERY TIME : 1328.00 ms. 14024  RECORDS QUERIED OUT.
    CALCULATION TIME IN TOTAL :255024.00 ms.
    91950  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 91950  RECORDS ARE GENERATED.
    DATA TO WRITE BACK:
    FIL_KAT     ORG_EINHEIT     POSITION_UMSATZ     VERSION     WAEHRUNG     ZEIT_TW     ZEIT_UMSATZ     SIGNEDDATA
    FIL_EXP     E_2003     UMS_BR     UMS_TAG_2011     LW     TW1.MAR     2010.NOV.01     11107.62
    FIL_EXP     E_2003     UMS_BR     UMS_TAG_2011     LW     TW1.MAR     2010.NOV.02     32823.36
    FIL_EXP     E_2003     UMS_BR     UMS_TAG_2011     LW     TW1.MAR     2010.NOV.03     19609.57
    FIL_EXP     E_2003     UMS_BR     UMS_TAG_2011     LW     TW1.MAR     2010.NOV.04     32509.49

    Hi Marco,
    Let me see if I'm understading your problem,when you try to pass the parameter dynamically  in your entity dimension  *XDIM_MEMBERSET ORG_EINHEIT=BAS($ENTITY_DIM$), But BPC it's always selecting ORG_EINHEIT.....  If that so, try it like this  *XDIM_MEMBERSET ORG_EINHEIT=BAS(%ORG_EINHEIT_SET%).
    hope this helps,

Maybe you are looking for

  • Macbook + External Monitor + HD Video = 89 (C) Degrees

    Mid 2008 Macbook, 2.4ghz, 4 gig ram, BenQ 1920x1080 monitor via DVI How concerned should I be with such a high temperature? The CPU has peaked at 89 degrees but it runs consistently hotter (65-70) on the external monitor.

  • Is it too late to download Mavericks 10.9.5?

    Has Mavericks 10.9.5 been removed permanently from the App Store?  I downloaded it yesterday onto a MacBook Pro, I want to download it to an iMac but today it has vanished from the store.  Is this because Yosemite was launched earlier today? Question

  • Could anybody share me Oracle modules Logical Data Model?

    Who have Logical Data Model charts on oracle financials modules like AR and FA? I need it. Thank you!

  • Ad hoc network for ipod touch

    I know there's several posts about this but non are specific to my setup so I though I would create my own thread. My setup I have a pc running vista 32 bit and I use this as my server. My internet connection goes through this pc and i shared amonst

  • Repeater does not forward data packets

    Hello all! I have following setup: A root access-point ap1, model AIR-AP1231G-E-K9 with IOS 12.3(8)JEE, is configured with one SSID on VLAN 1 (native) and working fine. Now I would like to add a 2nd access-point ap2 of the same model with the same IO