SetFireActionForSubmit method cannot be invoked in OAImageBean

hi,
I have added an updateicon_enabled image to the seeded page (id:img2), through personlization,
now i want to add fireAction to the above image programmtically i have usen the below code but it's giving error "setFireActionForSubmit method cannot be invoked in OAImageBean"
public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
super.processFormRequest(pageContext,webBean);
OAApplicationModule am=pageContext.getApplicationModule(webBean);
OAImageBean ib2=(OAImageBean)webBean.findChildRecursive("img2");
Hashtable param1=new Hashtable(1);
param1.put("update","update");
Hashtable paramsWithBinds = new Hashtable(1);
paramsWithBinds.put ("param2",
new OADataBoundValueFireActionURL((OAWebBeanData)webBean,
"{$Sequence}"));
ib2.setFireActionForSubmit("update1",param1,paramsWithBinds,false,false);
how can i over come this error...
Help me out
Thanks in advance
Paa.

Hi,
I am not sure why this is not working, It works perfectly fine in 12.1.2
I don't have access to R12.1.3 as of now. I don't think there should be any problem in 12.1.3 also.
I could find out one more approach. Try this:
OAImageBean ib2=(OAImageBean)webBean.findChildRecursive("img2");
FireAction fireAction = OAWebBeanUtils.getFireActionForSubmit(ib2, "update1", params, paramsWithBinds,false, false);
// make any additional changes to the FireAction object
// finally set it on your bean
ib2.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, fireAction);
Both are same. I just thought you can give it a try.
Try deleting the image column and image added through personalization, create the image again bounce the server and check it.
Regards.

Similar Messages

  • Why getRequestDispatcher method cannot accept full URL?

    Examples*
    This code works well:
    public void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              String url = "/jsp/pageStart.jsp";
                    /* requestDispatcher is NOT null */
              RequestDispatcher requestDispatcher = getServletContext()
                        .getRequestDispatcher(url);
              requestDispatcher.forward(request, response);
         }This code doesn't work, get NullPointerException, requestDispatcher is null:
    public void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              String url = "http://localhost:8080/mymvc/jsp/pageStart.jsp";
                    /* requestDispatcher is null */
              RequestDispatcher requestDispatcher = getServletContext()
                        .getRequestDispatcher(url)
              requestDispatcher.forward(request, response);
    Notes*
    - JSP path is \src\main\webapp\jsp\pageStart.jsp
    - I am sure, I can manually open 'http://localhost:8080/mymvc/jsp/pageStart.jsp', just copy and paste this url into address of new browser window.
    - Base url is http://localhost:8080/mymvc/servlet/ControllerServlet
    - I use Servlet mapping:
    <servlet-mapping>
         <servlet-name>ControllerServlet</servlet-name>
         <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    <servlet>
         <servlet-name>ControllerServlet</servlet-name>
         <servlet-class>controller.ControllerServlet</servlet-class>
    </servlet>
    Questions*
    1. Why getRequestDispatcher method cannot accept full URL?
    2. Could you please explain to me the reason why ? and please provide me the better resolutions.
    Thanks u in advance!

    As per Java API documentation:
    ServletContext#getRequestDispatcher(String path)
    The pathname must begin with a "/" and is interpreted as relative to the current context root.
    For details: [http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getRequestDispatcher(java.lang.String)|http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getRequestDispatcher(java.lang.String)]
    ServletRequest.html#getRequestDispatcher(java.lang.String)
    To allow RequestDispatcher objects to be obtained using relative paths that are relative to the path of the current request (not relative to the root of the ServletContext), the getRequestDispatcher method is provided in the ServletRequest interface. The pathname specified may be relative, although it cannot extend outside the current servlet context.
    For details : [http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getRequestDispatcher(java.lang.String)|http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getRequestDispatcher(java.lang.String)]

  • Ordering MDX query wih Named set gives error, "The CURRENT function cannot be invoked in this context ".

    Hi,
    I have following Query 
    WITH SET [Union name set test] AS {[Union].[Union Name].&[2],[Union].[Union Name].&[3],
    [Union].[Union Name].&[4],[Union].[Union Name].&[5],[Union].[Union Name].&[6]}
    SELECT {[Measures].[Emp Count]} ON 0,  
    {ORDER({[Union].[Union City].[Union City]*[Union name set test]}, 
    [Union name set test].CURRENTMEMBER.MEMBERVALUE, BASC)} ON 1 FROM [Federations];
    when i run this query from code as well as SSMS i get following error...
    The CURRENT function cannot be invoked in this context because the 'Union name set test' set is not in the scope.
    Please help me for this ....

    Hi Mihirhp,
    Base on my research, there are some similar issues and the resault turn out that the Tabular model engine can’t associate .currentmember with a set. The workaround  is to use .current in the MDX query. Please try the query below.
    WITH SET [Union name set test] AS {[Union].[Union Name].&[2],[Union].[Union Name].&[3],
    [Union].[Union Name].&[4],[Union].[Union Name].&[5],[Union].[Union Name].&[6]}
    SELECT {[Measures].[Emp Count]} ON 0,
    {ORDER({[Union].[Union City].[Union City]*[Union name set test]},
    [Union name set test].CURRENT.MEMBERVALUE, BASC)} ON 1 FROM [Federations];
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • a4j:commandButton Back end bean method is not invoked on click event.

    I am using below code. It seems back end bean method is not called when I click commandbutton. I think it has some thing to with rendering.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:a4j="http://richfaces.org/a4j"
         xmlns:rich="http://richfaces.org/rich"
         xmlns:cdm="http://mportal.com/cdm">
    <ui:composition>
         <rich:panel>
              <a4j:form id="RefreshPropertiesInstanceForm">
                   <table id="RefreshPropertiesTable" width="100%" border="0">
                        <tr>
                             <td width="35%" align="right">
                             <div class="fieldLabel">Property File Name :<span
                                  class="requiredField">*</span></div>
                             </td>
                             <td style="margin-top: 15px; padding-left: 15px" nowrap="nowrap"
                                  align="left"><rich:comboBox id="combo"
                                  value="#{testPropertyRefreshHelper.selectedPropertyFile}"
                                  enableManualInput="false">
                                  <f:selectItems value="#{testPropertyRefreshDetails.propertyFileNameList}" />
                                  <a4j:support event="onchange"
                                       reRender="RefreshPropertiesInstanceForm" BypassUpdates="false"
                                       ajaxSingle="true" action="#{testPropertyRefreshHelper.getPropertyFileContentFromRemoteServer}" />
                             </rich:comboBox></td>
                        </tr>
                        <tr>
                             <td style="margin-top: 10px; padding-left: 100px" align="left"
                                  colspan="3"><h:inputTextarea id="firstTextArea" value="#{testPropertyRefreshHelper.propertyFileContent}"
                                  rows="21" cols="150"
                                  style="overflow-x: auto; overflow-y: scroll"
                                  rendered="#{testPropertyRefreshHelper.selectedPropertyFile != 'Choose from below'}"
                                  disabled="#{testPropertyRefreshHelper.selectedPropertyFile == 'Choose from below'}">
                             </h:inputTextarea></td>
                        </tr>
                        <tr>
                             <td style="margin-top: 10px; padding-left: 400px" align="left"
                                  colspan="2">
                             <a4j:commandButton id='refreshPropertyButton' value="refresh"
                                  image="#{imageManager.imageMap['REFRESH_BUTTON']}"
                                  rendered="#{testPropertyRefreshHelper.selectedPropertyFile != 'Choose from below'}"
                                  action="#{testPropertyRefreshHelper.updatePropertyFileContentInRemoteServer}"
                                  reRender="RefreshPropertiesInstanceForm" >     
                             </a4j:commandButton>
                             </td>
                        </tr>
                   </table>
              </a4j:form>
         </rich:panel>
    </ui:composition>
    </html>
    Every thing works perfectly. But when I click command button "#{testPropertyRefreshHelper.updatePropertyFileContentInRemoteServer}" backing bean method is not invoked. Other componenets are working properly.

    try what the linked article says: make your bean session scoped.
    NOTE: when working with Ajax I tend to make the backing bean session scoped to have less issues with partial updates and such. If you use JSF 2.0 you could make it view scoped to get the same result.

  • The Web Service Tester cannot be invoked, because the WSDL document of the

    Hi,
    I'm new to using webservice. I created a web service and right mouse clicked on the serviceImpl.java and selectd 'Test Web Service'.
    I got an error
    "The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read."
    Could you please help?
    Thanks,
    Charunee

    I found that this is a bug in Jdev and it is fixed by
    BUG 9153288 - D08B02C: WEBSERVICES TEST PAGE GIVES ERROR AND IS NOT DEPLOYED
    Thanks,
    Charunee

  • This static method cannot hide the instance method from...

    What means the error message "This static method cannot hide the instance method from Referee"?
    Referee.java is a interface. I implemented it in the class RefereeMyName.java and made a method in that class to be static. Thats why I received that error message.
    But can't I use static methods when I have implemented a interface in that class? I want to have a Player.java class which I want to access RefereeMyName.getTarget(). I cannot use a instance instead because I wouldn't receive a valid return value then (RefereeMyName is the client class).
    What is the solution?

    Hi,
    Well i do not think that you can do that b'cos that way you are not giving the same signature for the method as that exists in the interface. I do not know how other way it can be done but if something urgent for you then you can remove that method from that interface and only define in the class.
    Regards,
    Shishank

  • What a static method cannot be overriden?

    Parent class
    public class Person {
       private String surname;
       private String firstName;
       private String secondName;
       public Person(String surname,
                     String firstName,
                     String secondName) {
            this.surname = surname;
            this.firstName = firstName;
            this.secondName = secondName;
       public static void test() { ; }
    }Sub class
    public class Member extends Person {
         private int membershipNumber;
                     public Member(String surname,
                      String firstName,
                      String secondName,
                      int membershipNumber) {
              super(surname, firstName, secondName);
              this.membershipNumber = membershipNumber;
         public String toString() {
              return membershipNumber + "-" + super.toString();
         public void test() { System.out.println("test") ; }
    }And I got compilation error :
    H:\java\wshp2>javac *.java
    Member.java:20: test() in Member cannot override test() in Person; overridden me
    thod is static
    public void test() { System.out.println("test") ; }
    ^
    1 error
    H:\java\wshp2>pause
    Since static method and the overriding method are going to be used differently (in different ways), why it can't be allowed?
    Static method is a Class method whereas the overriding method is a instance method, they can be distinguished. What is the reason behind this?
    Please enlighten me.
    Thanks

    Are final method bound at compile-time?Basically when a method is "bound" cannot be used to explain the behaviour of methods in Java. It's the other way around. It's the characteristics of a method that decides when it can be "bound". But that's an implementation issue and not part of the language itself.
    A static method cannot be overriden because it's not meant to be overridden. It's against the semantics of a static method to be overridden. Also if you declare a method final you decide that you don't want it to be overriden. In both cases, based on this non-overriding restriction, the compiler can decide when to "bind" the method.

  • Which types of methods cannot be traced?

    Hi, all,
    I met a very strange question. Assume in one class, there are 3 methods called methodA(), methodB(), and methodC(). methodA() will call methodB and methodC. I add methodA, methodB and methodC into method profiling. I can trace the running time on methodA and methodB, but cannot trace the running time of methodC. The running time of methodC always display "?". And the hint message is "Some of the methods might not be loaded by Jrockit". But in fact, if I can add it, it must be already loaded successfully.

    OS: Win2003 English
    WLS: weblogical 8.1
    JROCKIT: jrockit81sp3_142_04
    Today I found in the API, if we use Array as parameter, then this method cannot be traced by JRockit Management Console.
    Here is an example:
    public void testSync(String server) {..}
    public void testSync(String[] servers {…}
    Above two methods, testSync(String[] servers) cannot be traced by JRockit Management Console.

  • Method Not Found Invoke Node error 1316 using Solid Works IEdm

    Hi Forum members,
    I have been having a problem with calling a function in a dll file.  I have attached the VI as example.  When I use the GetFile method I get a reference to that.  I then use the Invoke node and recieve a list of methods, the first of which is ChangeState.  I select this method and wire all required inputs and when I run the program I receive the error at that invoke node that the method does not exist.  How is this possible?  I have tried various methods to ensure the inputs are all correct and none have worked.  I do not believe the fault lies in the inputs, but I cannot for the life of me find the problem...  Perhaps someone has experience using Solid Works in Labview?  Any help would be appreciated.!!
    Cheers
    Ben
    Attachments:
    SetFileSatus.vi ‏18 KB

    I have determined that there is a problem with the Invoke node not recognising the function.  This is a Labview problem as the function is listed and selectable, so when the error comes saying the function is not found, this is a problem with Labview and not the dll.  The Function when selected also has the right input parameters that automatically appear.  How is it then that the method is not found when the program is run?

  • Non-static method cannot be referenced from a static context....again sry

    Hey, I know you guys have probably seen a lot of these, but its for an assignment and I need some help. The error I'm getting is: non-static method printHistory() cannot be referenced from a static context. Here are the classes effected
    public class BankAccount {
    private static int nextAccountNumber = 1000;
    //used to generate account numbers
    private String owner; //name of person who owns the account
    private int accountNumber; //a valid and unique account number;
    private double balance; //amount of money in the account
    private TransactionHistory transactions; //collection of past transactions
    private Transaction transaction;
    //constructor
    public BankAccount(String anOwnerName){
    owner = anOwnerName;
    accountNumber = nextAccountNumber++;
    balance = 0.0;
    transactions = new TransactionHistory();
    //public String getOwner() {
    public void deposit(double anAmount ){
         balance=balance+anAmount;
         transaction=new Transaction(TransactionType.DEPOSIT,accountNumber,anAmount,balance);
         transactions.add(transaction);
    //public void withdraw(double anAmount){
    //public String toString() {
    ***public void printHistory(){
         TransactionHistory.printHistory();
    AND
    public class TransactionHistory {
    final static int CAPACITY = 6; //maximum number of transactions that can be remembered
    //intentionally set low to make testing easier
    private Transaction[] transactions = new Transaction[CAPACITY];
    //array to store transaction objects
    private int size = 0;
    //the number of actual Transaction objects in the collection
    public void add(Transaction aTransaction){
         if (size>5){
         transactions[0]=transactions[1];
         transactions[1]=transactions[2];
         transactions[2]=transactions[3];
         transactions[3]=transactions[4];
         transactions[4]=transactions[5];
         transactions[5]=aTransaction;     
         transactions[size]=aTransaction;
         size=size++;
    public int size() {
         return size;
    ***public void printHistory() {
         for(int i=0;i<6;i++){
              System.out.println(transactions);
    //public void printHistory(int n){
    The project still isn't finished, so thats why some code is commented out. The line with *** infront on it are the methods directly effected, I think. Any help would be great.

    In Java, static means "something pertaining to an object class". Often, the term class is substituted for static, as in "class method" or "class variable." Non-static, on the other hand, means "something pertaining to an actual instance of an object. Similarly, the term +instance+ is often substituted for +non-static+, as in "instance method" or "instance variable."
    The error comes about because static members (methods, variables, classes, etc.) don't require an instance of the object to be accessed; they belong to the class. But a non-static member belongs to an instance -- an individual object. There's no way in a static context to know which instance's variable to use or method to call. Indeed, there may not be any instances at all! Thus, the compiler happily tells you that you can't access an instance member (non-static) from a class context (static).
    ~

  • Error in calling Super() method cannot reference ...

    import javax.swing.JFrame;
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    public class MyFrame extends JFrame {
    String St="Rayudu";
         JPanel jp1= new JPanel();
         JButton jb1=new JButton("Hello");     
    public MyFrame() {
    super("Document :" + St);
              jp1.add(jb1);
              getContentPane().add(jp1);
    //...Then set the window size or call pack...
    setSize(300,300);
    //Set the window's location.
         setLocation(300,300);
         setVisible(true);
    public static void main(String ar[])
    MyFrame mf=new MyFrame();
    mf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    C:\java>javac My*.java
    MyFrame.java:11: cannot reference St before supertype constructor has been called
    super("Document :" + St);
    ^
    1 error
    Can anyone explain?
    thanks in advance.

    Change your constructor to take an argument of type String, pass this along to the super method when you call the new instance of your class in main. ie:
    public myFrame( String title ) {
    super( "Document: " + title );
    st = title; //if you need it in that String Object assign it here.
    //etc...
    public static void main( String args[] ) {
    new myFrame( "Testing" );
    Does this answer your question?

  • Method cannot be applied error

    I am having trouble compiling my application because it says a sorting method I want to use cannot be applied to the array I want to sort.
    I have a class that was supplied by my instructor that contains a constuctor for an object called "automobile". This constructor has 4 args which are (string, string, double, double). The strings are for make and model of vehicle and the doubles are for gas tank size and range on a full tank. The constructor takes the double values and calculates the miles per gallon. In my application I am making an array of 15 vehicles called "automobile". When I print to an outpuBox the list of vehicles, everthing looks fine. The problem is I need to sort the array by the miles per gallon. Now I have made a seperate class the contains my "cocktail shaker sort", but when it seems that the array of vehicles I created cannot be used in the args of the sort method. Any help would be greatly appeciated. This thing was due a week ago and I've been pulling my hair for 3weeks.
    The error message is:
    Autos.java:64: cockTailSort(int[]) in CockTail cannot be applied to (Automobile[])
    CockTail.cockTailSort(automobile);
    1 error
    Below is my application and following that will be the cocktailshaker class.
    import javabook.*;
    import java.text.DecimalFormat;
    class Autos
    public static void main (String[] args){
    MainWindow mainWindow;
    InputBox inputBox;
    OutputBox outputBox;
    MessageBox messageBox;
    ResponseBox responseBox;
    String modelName, modelType;
    double gasTankCapacity, rangeOnFullTank;
    int count;
    mainWindow = new MainWindow ("Automobile input");
    inputBox = new InputBox (mainWindow);
    outputBox = new OutputBox (mainWindow);
    responseBox = new ResponseBox (mainWindow );
    messageBox = new MessageBox (mainWindow);
    messageBox.setVisible (false );
    mainWindow.setVisible ( true ) ;
    outputBox.setVisible ( true ) ;
    Automobile[] automobile = new Automobile [3];
    int i=0;
    count =1;
    for (i = 0 ; i < automobile.length ; i ++){
    modelName = inputBox.getString ("Enter Model Name for vehicle #" + count);
    modelType = inputBox.getString ("Model Type for #" + count);
    gasTankCapacity = inputBox.getDouble("Gas capacity for #" + count);
    rangeOnFullTank = inputBox.getDouble("Fulltank range for #" + count);
    automobile[ i ] = new Automobile ( modelName, modelType,gasTankCapacity,rangeOnFullTank );
    count ++;
    CockTail.cockTailSort(automobile);
    for (i = 0 ; i < automobile.length ; i ++){
    automobile.displayAutomobile(outputBox);
    Here is the sort:
    import javabook.*;
    class CockTail
    public CockTail()
    public static void cockTailSort (int a [] )
    boolean sorted = false;
    int top = a.length -1, bottom =0;
    for (int pass =1; bottom < top && !sorted; pass ++)
    sorted = true;
    if (pass % 2 != 0) // odd # passes
    for (int i = bottom; i < top; i ++)
    if (a[i] > a[i + 1])
    sorted = false;
    int temp = a[i];
    a[i] = a[i + 1];
    a[i + 1] = temp;
    top --;
    else // even-numbered passes
    for (int i = top; i > bottom; i--)
    if (a[i - 1] > a[i])
    sorted =false;
    int temp = a[i];
    a[i] = a[i - 1];
    a[i - 1] = temp;
    bottom ++;

    Well I changed it to what you said and it didn't work. I really appreciate your though.
    Here are the source codes :
    import javabook.*;
    import java.util.*;
    import java.text.DecimalFormat;
    class Autos
    * Setting data members and constructors
    public static void main (String[] args){
    MainWindow mainWindow;
    InputBox inputBox;
    OutputBox outputBox;
    MessageBox messageBox;
    ResponseBox responseBox;
    String modelName, modelType;
    double gasTankCapacity, rangeOnFullTank;
    int count;
    mainWindow = new MainWindow ("Automobile input");
    inputBox = new InputBox (mainWindow);
    outputBox = new OutputBox (mainWindow);
    responseBox = new ResponseBox (mainWindow );
    messageBox = new MessageBox (mainWindow);
    messageBox.setVisible (false );
    mainWindow.setVisible ( true ) ;
    outputBox.setVisible ( true ) ;
    outputBox.printLine("This program will ask for data for 15 vehicles and ");
    outputBox.printLine("calculate the Miles Per Galllon for each vehicle and ");
    outputBox.printLine("compare the MPGs to be displayed in a sorted list in an outpuBox.");
    outputBox.printLine("you will be asked to enter the vehicles model, model type");
    outputBox.printLine("gas tank capacity and total range on a full tank.");
    // create an automobile array
    Automobile[] automobile = new Automobile [3];
    * Loop for data inputs an array creation
    int i=0;
    count =1;
    for (i = 0 ; i < automobile.length ; i ++){
    modelName = inputBox.getString ("Enter Model Name for vehicle #" + count);
    modelType = inputBox.getString ("Model Type for #" + count);
    gasTankCapacity = inputBox.getDouble("Gas capacity for #" + count);
    rangeOnFullTank = inputBox.getDouble("Fulltank range for #" + count);
    automobile[ i ] = new Automobile ( modelName, modelType,gasTankCapacity,rangeOnFullTank );
    count ++;
    *Code for cocktail sort method call
    CockTail.cockTailSort(automobile); // Error in code
    * Display data and MPG's in outputBox
    for (i = 0 ; i < automobile.length ; i ++){
    automobile.displayAutomobile(outputBox);
    Here is the cocktail shaker sort:
    import javabook.*;
    import java.util.*;
    class CockTail
    //public CockTail()
    public static void cockTailSort (Automobile[] a )
    boolean sorted = false;
    int top = a.length -1, bottom =0;
    for (int pass =1; bottom < top && !sorted; pass ++)
    sorted = true;
    if (pass % 2 != 0) // odd # passes
    for (int i = bottom; i < top; i ++)
    if (a[i] .compareto( a[i + 1])==1)
    sorted = false;
    Automobile temp = a[i];
    a[i] = a[i + 1];
    a[i + 1] = temp;
    top --;
    else // even-numbered passes
    for (int i = top; i > bottom; i--)
    if (a[i] .compareto( a[i - 1])==1)
    sorted =false;
    Automobile temp = a[i];
    a[i] = a[i - 1];
    a[i - 1] = temp;
    bottom ++;
    Here is what I know of the Automobile class:
    // JBuilder API Decompiler stub source generated from class file
    // Aug 6, 2002
    // -- implementation of methods is not available
    // Imports
    import java.lang.String;
    import javabook.OutputBox;
    class Automobile {
    // Fields
    private String modelName;
    private String modelType;
    private double gasTankCapacity;
    private double rangeOnFullTank;
    private double milesPerGallon;
    // Constructors
    public Automobile() { }
    public Automobile(String p0, String p1, double p2, double p3) { }
    // Methods
    public int compareto(Automobile p0) { }
    public void displayAutomobile(OutputBox p0) { }

  • CacheLoader load() method is getting invoked all the time

    The cache.get() method invokes the CacheLoader load() method if the key is not present in the cache.
    But the key is present in the cache already and when ever i invoke cache.get() it is invoking the load() method to get the data from DB.
    The expiry delay is also not met but still it invokes load() method all the time when the cache.get() method is invoked.
    Please let me know what is the issue with this?
    because it is connecting to DB from the load() method all the time even the key is in the cache. This will be an over head.

    Please find the contents of coherence cache config file below,
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>DBBackedAccessoryCache</cache-name>
    <scheme-name>distributed-db-backed</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>distributed-db-backed</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
         <local-scheme>
         <expiry-delay>10h</expiry-delay>
         <flush-delay>4h</flush-delay>
         <high-units>250M</high-units>
         </local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>DBAccessoryLoader</class-name>
    </class-scheme>
    </cachestore-scheme>
    <read-only>true</read-only>
    <refresh-ahead-factor>1.0</refresh-ahead-factor>
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    <listener/>
    <autostart>true</autostart>
    </distributed-scheme>
    </caching-schemes>
    </cache-config>

  • Why is the web service cannot be invoked?

    Hi Experts,
    Scenario: I have created a web service from a function module from SAP CRM using SOAMANAGER. I wish to invoke this web service from Data Services.
    I have tried to invoke the web service using the 2 types of data store avaible in Data Services:
    - One Web Service datastore
    - One Adapter datastore
    Both have the same WSDL URL and I see the defintion of the web service in both. Fine.
    I created 2 dataflows:
    - One invoking the function from the Web Service datastore
    - One invoking the function from the Adapter datastore
    When I execute the batch job, I get different errors in the 2 dataflows, but the root cause seems to be the same: it cannot access and execute the web service.
    - In the dataflow using the function from the Web Service data store, I get the error RUN-248005 There is no response for thte web service. Ensure that the network, web server, and service are running properly. Also ensure that the service call time out is set properly
    - In the dataflow using the function from the Adaptor data store, I get the error RUN-058110 Error calling function. Web Service client unable to invoke Web Service Server. Error: (0)null
    I have checked the Data Integrator documentation and nothing is mentioned on what is a proper time out setting.
    I have followed the white paper of Michael Eaton [Building Data Integrator Real Time Jobs and Calling Web Services|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08?quicklink=index&overridelayout=true]. Nothing is mentioned in there in regards of special configuration. Yet, my scenario is a bit different here as I am using and external web service and not a published web service from Data Services.
    Is there some Data Services configuration missing here? The web service is not secure: it as the lowest level of security, which is NONE! :).
    What am I am missing :(?
    Thanks a lot & Best Regards
    Isabelle

    Hi Manoj,
    Thanks for the tip, unfortunately it still doesn't work.
    I had posted a thread to the web service forum [Re: How to get the http.proxyHost and http.proxyPort?;. I was given the tip to invoke the web service using SOAP UI ([www.soapui.org]). I was able to invoke my web service and execute the service successfully! That's one win!
    Yet, in DS it still doesn't work :(. I have:
    - Added the Dhttp.proxyHost and Dhttp.proxyPort in the Additional Java Launcher Options in DS Management Console. I am not sure I have the right ones though. I think I might have the wrong values. I will recheck. Yet, when using SOAP UI, I don't need it so I am wondering why DS needs this.
    - I have added the user/password in the adaptor datastore where the WSDL is specified.
    I couldn't find any documentation related to the possible options for Additional Java Launcher Options. Where is this documented?
    Thanks for your help & Best Regards
    Isabelle

  • VOIMPL setter method doesn't invoke on clearing text

    If we set some value to a text field , invoking VOIMPL setter method for the corresponding text field  works fine , on clearing the text it  doesn't invoke the same setter method (in effect ,previous value is exist behind the scenes)
    what could be the reason ??

    Hi    Alejandro,Vinay
    Thanks for the replay ,  You are correct , it wont update   Please find the details
    Jdev verson  : Studio Edition Version 11.1.1.7.0  Build : JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493
    i used auto submit = true to update the attribute. here is the code
      <af:inputText value="#{bindings.Name.inputValue}"
                                  label="#{bindings.Name.hints.label}"
                                  required="#{bindings.Name.hints.mandatory}"
                                  columns="#{bindings.Name.hints.DISPLAYWIDTH}"
                                  maximumLength="#{bindings.Name.hints.precision}"
                                  shortDesc="#{bindings.Name.hints.tooltip}"
                                  id="it1"
                                  autoSubmit="true" showRequired="true"
                                  immediate="false" partialTriggers="it1"
                                  wrap="hard"
                                  readOnly="#{pageFlowScope.pEdit==null}">
                      <f:validator binding="#{bindings.Name.validator}"/>
                    </af:inputText>
    Thanks
    Vipin

Maybe you are looking for

  • F5670: No Account Assignment for line item 002 account type S

    Hi Experts I have created assesment cycle for transfering cost from an cost center to an statistical order. While executing assesment cycle in test run, it executes successfully. But when I take out the test run tick, it gives above error. Pls help R

  • IPod Touch 5g out of stock since last Friday (21th) when will Best Buy have a restock?

    I live in South Texas, and I keep on checking online and they say it's unavailable. 

  • Ipad 2 crash

    Picked up ipad 2 64g3g yesterday. upgraded to latest software. Used camera attachment to download images from an eos7d which it did successfuly. ipad then crashed when i went to email image. Tried hard reset but it hung. Just have black screen with t

  • RS-232 binary operation

    Dear all, I am a researcher with commercial instrument. After communication with my technician, I got to know I have to do binary operation in RS-232. But I am not familiar with the binary operation. Could you please give me some solution about this

  • USB to micro USB charging question

    I was about to buy an in-car charger for my 9630. Since i have an in-car usb port, I;m wondering if I can just get a USB to microUSB cable, connect the phone to the car, and get a charge. Thanks, jwp48