EJBHandles getObject() method gives NoSuchObjectException in a Cluster

          I deployed a stateful session bean to server1 and server2 running in one cluster.
          In my test client,
          I first fired a query on an stateful EJBObject which
          created a different stateful EJBObject,
          bundled its EJBHandle in a serailzable object
          and returned this serializable object to the client.
          My next client statement is to get the EJBHandles from the serializable object
          and calling getEJBObject(),
          the strange thing is that when this statement is executed, it sometimes (about
          50% probability) throws a NoSuchObjectException. The error message contains "Bean
          has been deleted".
          I understand that stateful session bean can't be clustered (only ejbHome of it
          is clustable). So the ejbHandle I got from EJBObject should only contain information
          of server 1, where the stateful bean is created, any follow request of the beans
          should be routed to server 1 instead of server 2. But according to the output,
          it seems that the second request of the sf bean was sent to server 2, and the
          result is NoSuchObjectException is thrown.
          I shutdown one server in the cluster (or undeploy the erring bean from it), the
          error disappeared.
          I am using WLS 6.1 SP01 on Windows 2000.
          WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
          WebLogic XML Module 6.1 SP1 09/18/2001 14:43:02 #138716
          The idleTimeOutSeconds of the bean is set sufficiently large (5 hrs), so it should
          never be passivated as long as EJB cache is not full.
          We are setting the EJBHome clusterable (ofcourse), but we are not asking for Replicating
          state.
          <stateful-session-clustering>
          <home-is-clusterable>true</home-is-clusterable>
          <replication-type>None</replication-type>
          </stateful-session-clustering>
          Any idea why we are getting this problem?
          Thanks a lot.
          Manoj Sheth
          

          I am also facing a similar problem. Only difference is that i am getting the following
          error:
          ---Unable to locate EJBHome: BeanHome' on server: 't3://IP: PORT (A). It appears
          as if handle tries to look for the home object on the primary server A which is
          down.
          "Manoj Sheth" <[email protected]> wrote:
          >
          >I deployed a stateful session bean to server1 and server2 running in
          >one cluster.
          >In my test client,
          >I first fired a query on an stateful EJBObject which
          > created a different stateful EJBObject,
          > bundled its EJBHandle in a serailzable object
          > and returned this serializable object to the client.
          >My next client statement is to get the EJBHandles from the serializable
          >object
          >and calling getEJBObject(),
          >the strange thing is that when this statement is executed, it sometimes
          >(about
          >50% probability) throws a NoSuchObjectException. The error message contains
          >"Bean
          >has been deleted".
          >
          >I understand that stateful session bean can't be clustered (only ejbHome
          >of it
          >is clustable). So the ejbHandle I got from EJBObject should only contain
          >information
          >of server 1, where the stateful bean is created, any follow request of
          >the beans
          >should be routed to server 1 instead of server 2. But according to the
          >output,
          >it seems that the second request of the sf bean was sent to server 2,
          >and the
          >result is NoSuchObjectException is thrown.
          >
          >I shutdown one server in the cluster (or undeploy the erring bean from
          >it), the
          >error disappeared.
          >
          >I am using WLS 6.1 SP01 on Windows 2000.
          >--
          >WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
          >WebLogic XML Module 6.1 SP1 09/18/2001 14:43:02 #138716
          >--
          >
          >The idleTimeOutSeconds of the bean is set sufficiently large (5 hrs),
          >so it should
          >never be passivated as long as EJB cache is not full.
          >We are setting the EJBHome clusterable (ofcourse), but we are not asking
          >for Replicating
          >state.
          ><stateful-session-clustering>
          ><home-is-clusterable>true</home-is-clusterable>
          ><replication-type>None</replication-type>
          ></stateful-session-clustering>
          >
          >Any idea why we are getting this problem?
          >
          >Thanks a lot.
          >Manoj Sheth
          

Similar Messages

  • What are the preferred methods for backing up a cluster node bootdisk?

    Hi,
    I would like to use flarcreate to backup the bootdisks for each of the nodes in my cluster... but I cannot see this method mentioned in any cluster documentation...
    Has anybody used flash backups for cluster nodes before (and more importantly - successfully restored a cluster node from a flash image..?)
    Thanks very much,
    Trevor

    Hi, some backround on this - I need to patch some production cluster nodes, and obviously would like to backup the rootdisk of each node before doing this.
    What I really need is some advice about the best method to backup & patch my cluster node (with a recovery method also).
    The sun documentation for this says to use ufsdump, which i have used in the past - but will FLAR do the same job? - has anyone had experiance using FLAR to restore a cluster node?
    Or if someone has some other solutions for patching the nodes? - maybe offline my root mirror (SVM) - patch root disk - barring any major problems - online the mirror again??
    Cheers, Trevor

  • What WPF method gives the same KeyChar like in C#?

    in C#  there's a method KeyChar. when inserting a key in to a textBox it gives the value that was insert. for ex. when clicking on:5 the method gives: 5.
    but Wpf doesn't have the KeyChar method.
    i tried to use Key but then it gives me for ex. when i click: 5, i get: 5D5.
    what method can i use to get the KeyChar like in C#?
    or, maybe there's no such method and then i'll have to build one as an extension?

    >>what method can i use to get the KeyChar like in C#?
    There is no KeyChar property in WPF. WPF is not Windows Forms. If you handle a keydown event there is only the Key property and this returns for example Key.D1 when you press a digit.
    You could easily remove the "D" or the "NumPad" part using the string.SubString method though:
    private void TextBox_PreviewKeyDown(object sender, KeyEventArgs e)
    string number;
    if ((e.Key >= Key.D0 && e.Key <= Key.D9))
    //digit pressed!
    number = e.Key.ToString().Substring(1); // = "1" when D1 is pressed
    else if (e.Key >= Key.NumPad0 && e.Key <= Key.NumPad9)
    number = e.Key.ToString().Substring(6); // = "1" when NumPad1 is pressed
    else
    //no digit...
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • VSS RevertToSnapshot Method gives error for Clustered Shared Disks.

    Hi,
    This is in reference to https://support.microsoft.com/en-us/kb/945361
    Its mentioned here that VSS RevertToSnaposhot is not supported on windows 2003 and 2008 for CLuster Shared Disks.I am trying the same on Windows 2012 and getting error "8004230c" which says volume is not supported for this operation.I wanted to
    confirm whether RevertToSnapshot method for supporting Clustered Shared Disks\Volumes has be added in 2012 or not ?
    Regards,
    Saurabh.

    Hi,
    This is in reference to https://support.microsoft.com/en-us/kb/945361
    Its mentioned here that VSS RevertToSnaposhot is not supported on windows 2003 and 2008 for CLuster Shared Disks.I am trying the same on Windows 2012 and getting error "8004230c" which says volume is not supported for this operation.I wanted to
    confirm whether RevertToSnapshot method for supporting Clustered Shared Disks\Volumes has be added in 2012 or not ?
    Regards,
    Saurabh.

  • Display which method called the method (gives you a headache doesn't it)

    Hi,
    This question might sound a little weird, so maybe read it twice:
    I would like to see which method called the method.
    public void test1()
       test2();
    public void test2()
       System.out.println(....);
    The program output should be, test1 or classname.test1 or something like that. Is that possible?
    Thanx in advance, Yvo van Beek

    This should give you an idea:   public static void main (String args[]) {
          wereAreWe();
          caller2();
        public static void wereAreWe() {
          try {
            throw new RuntimeException("here we are");
          catch (Exception ex) {
            System.out.println("");       
            ex.printStackTrace(System.out);
        public static void caller1() {
          wereAreWe();
        public static void caller2() {
          caller1();
        }You can parse the result of printStackTrace() to get a more precise output.

  • Get image invoke method gives blank image when I try to capture waveform graph picture

    Hello
    I am facing problem when try to capture waveform graph picture using invoke method Get image and write JPEG function, some times it gives blank images.I am using these functions inside nested loops.
    ObservationsWith reference to attached VI)
    (1) Sometimes  I found it captures images correctly when i run labview program first time but after that it starts writing blank images.
    (2) Whenever i use flat sequence structure for waveform graph and get image node it always gives blank picture which indicates that execution of waveform graph and Get image should not be sequential.
    (3) Whenever it gives blank image i checked the image data which is not valid data so it indicates problem is with Get image method or labview program flow(may be race condition between waveform graph and Get image method).
           I have attached vi ,please change path name and folder name in which images are being saved.I'm using labview 8.5.1 .
    Attachments:
    image_capture_problem.lvproj ‏6 KB
    image capture problem.JPG ‏149 KB
    0.0_10__3.jpg ‏2 KB

    Hi,
    I have tried sequence structure.But sometimes it also gives blank images. I have attached new vi which is using flat sequence. Run this vi 7-8 times then you will observe blank images. I don't know why?Any help will be greatly appreciated.
    Attachments:
    image_capture_problem.vi ‏69 KB

  • Passing null in ArrayList as part of EJB Method gives NullPointerException

    Hi gurus,
    I have many EJBS in my application. All are working fine but when I pass null as element of ArrayList (serializable object) and pass ArrayList object to SessionBean it gives me NullPointerException. I think as part of EJB Specification it allows the Serialized object as part of method call but I think Oracle9iAS 903 has this as an error.
    e.g
         ArrayList mylist = new ArrayList();
         mylist.add("lar");
         mylist.add("%");
         mylist.add(new Long(0));
         mylist.add("%");
         mylist.add(new Long(0));
         mylist.add("");
         mylist.add("%");
         mylist.add("Y");
         mylist.add(null);
         mylist.add(new Long(0));
    Object obj= ictx.lookup("java:comp/env/sampleEJB");
    SampleEJBHome home =(SampleEJBHome)PortableRemoteObject.narrow(obj,SampleEJBHome.class);
    SampleEJB sampleEJB = home.create();
    ArrayList retList =sampleEJB.test(mylist);
    I think this is error in Oracle 903 IAS. Let me know If I am doing anything wrong here.
    Thanks
    Ritesh

    I checked the bug status for you. It looks like one of our support analysts has tested the patch for the bug I mentioned to see if it resolves the similar problem you have and determined that it doesn't fix the problem you are facing. The bug you mention is still open and pending some further analysis by our bug fixing team.
    The bug text isn't a 100% match what you have entered here in the forum, so it might be still worth your while to get the patch for bug 2753425 from support and test it in an isolated environment to see if it does resolve your problem. I'd recommend that you talk to your support analyst and discuss this with them.
    cheers
    -steve-

  • Methode graph à partir d'une cluster de graphqiue

    Bonjour tous le monde,
    Je voudrai récupérer les positions x d'un curseur graphqiue, à partir d'un cluster de graph.
    J'ai mis la chaine suivante mais rien ne s'affiche, rien en ressort (pas d'erreur de compilation).
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    Capture.JPG ‏36 KB

    En effet ça ne peut pas marcher car ne noeud de propriété "valeur" te donne - sous forme de variant - la valeur de l'élément 0 de ton cluster et l'élément 0 de ton cluster est un waveform graph donc tu essaies de transfrormer un varaint qui contient une waveform graph en référence de waveform graph, donc je parie que le "variant to data te donne une erreur.
    Pour que ça marche au lien de prendre la propriété "valeur" (là où j'ai mis l'étole rouge) prends la propriété "reference", ça devrait être mieux.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Init method in Weblogic 5.1 gives  problem

              I have used init method in 4.5
              the same method gives problem in 5.1
              C:\weblogic\myserver\classfiles\jsp_servlet\_addcontract.java:89: The method void init(javax.servlet.ServletConfig) declared in class jsp_servlet._addcontract cannot override the final method of the same signature declared in class weblogic.servlet.jsp.JspBase. Final methods cannot be overridden.
              probably occurred due to an error in /addContract.jsp line 11:
              

    Use jspInit method.
              harish <[email protected]> wrote:
              > I have used init method in 4.5
              > the same method gives problem in 5.1
              > C:\weblogic\myserver\classfiles\jsp_servlet\_addcontract.java:89: The method void init(javax.servlet.ServletConfig) declared in class jsp_servlet._addcontract cannot override the final method of the same signature declared in class weblogic.servlet.jsp.JspBase. Final methods cannot be overridden.
              > probably occurred due to an error in /addContract.jsp line 11:
              Dimitri
              

  • Please give answer

    1.Generated Report for getting the item text for a Particular material type & Material group.What is text item?
    5.lt_event_exit in REUSE_ALV_GRID_DISPLAY
    6.“Check” and “Continue”. What is the difference?
    7.“Exit” and “Stop”. What is the difference?
    8.What is the transaction code SM 31
    9.If I am in 15th Secondary List how to navigate to 5th Secondary List?
    10.Which is the First character of creating LockObject?
    11.What is the Difference Between Tablecontrols and Step Loops? 
    12.Can u call Report in Sap Script?
    13.Distinguish between setscreen and call screen?
    14.Explain Check Table and Value Table ?
    15.What is the Difference Between Collect and Sum?
    16.What are EVENTS In Interactive Report & Explain?
    17.What are Control Break Commands?
    18.How many secondary Lists u can create in a Report?
    19.Have you used match codes? What is the major difference between match codesand search help?
    20.Have you used WS Upload? Difference between WS Upload and Upload.
    21.What is meant by a client 
    22.What is the difference between Modify, Insert, Update commands 
    23.What is meant by development class
    24.what is the difference between transaction method and sessions method and why?
    25.How many layout set are there and what are they 
    26.How many main windows and aux. Windows can be opened in on layout set 
    27.What is the difference between Function module and Sub routine
    28.What is ALE, IDOC , EDI , RFC. Explain briefly.
    29.Types of User Exits, what kind of work is done on these exits? 
    30.  How will you find out where the user exits are available? 
    31.  Commit statement in User-Exits. Can it be used? 
    32.  User Exits in Production 
    33.  User Exits in Sales 
    34.How many ways you can create Table?
    35.Give few names of cluster tables in sap?
    36.Give few names of pooled tables in sap?
    37.what is table maintenance generator and how to create
    that? What is the transaction  code?
    38.How many types of table joins are there?
    39.difference between inner join & outer join?
    40.Difference between "select * from mara" and "select
    single * from mara"?
    41.what are the events in interactive reports?
    42.what is the use of start-of-selection event?
    43.how to add a gui status in a selection screen?
    44.can you create an internal table dynamically?(at run time)
    45.what is the use of select for all entries in an internal
    table?
    46.when do you need to create an internal table with header
    line ?and with out a header line?
    47.what does it mean occurs 0 while creating an internal
    table?
    48.What is the difference between a script & a report ?
    49.Can you create a script with out a main window ?
    50.How many main windows can be created for a script ?
    51.What is the use of transaction code NACE in sap scripts?
    52.what is the table name that will contain all the script form
    names and print program names?
    53.Can you assign your own form to a standard print program?
    how?
    54.What is the use of PROTECT & ENDPROTECT?
    55.How to add extra functionality to a standard print program with
    out touching the print program?
    56.what is sub routine pool in sap script? when it is used?
    57.How to read text in sapscripts?
    58.How can you send forms from one client to other?
    59.what does open_form, write_form, close_form do?
    60.How to convert a sapscript to smart form?
    61.what is the difference between synchronus &
    asynchronus methods?
    62.call transaction uses synchronus or asynchronus method?
    63.session method uses synchronus or asynchronus method?
    64.for uploading master data(ex:customer data) into sap,
    which methods you prefer? call
    transaction/session/lsmw/bapi? why?
    65.tell any 2 standard bapi function modules used for
    uploading sales order data?
    66.What is performance tuning?
    67.What are steps you follow to improve the performance of
    a report ?
    68.what is the role of secondary index in performance?
    69.what is the role of ST05 in performance tuning?
    70.what is the role of extended syntax check in
    performance tuning?
    71.will join conditions in sql queries affect perfomance? how?
    72.will sorted internal tables help in performance?
    73.will where conditions in a sql query help improve
    performance?
    74.does select single *.. / select * .. affect performance ?
    how?
    Which client number you use for the current
    project?
    how do you get functional specs  when you are
    assigned some object? (specs through email..??)
    How do you write technical specs?
    How do you write UTP?(unit test plan)

    hi,
    kindly chk this links.
    http://www.sap-img.com/abap/abap-interview-question.htm
    http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
    http://sap.ittoolbox.com/documents/document.asp?i=3240
    http://www.techinterviews.com/?p=198
    rgds
    anver

  • ResultSet.getObject casts to incomplete Date

    Hi,
    I'm using the jdbc driver in java to copy data from an oracle database to a DB2 database.
    The solution is a generic one to copy all columns regardless of type (using PreparedStatement.setObject).
    Everything works as a charm except that the DATE columns will just contain a date and no time.
    After some digging it seems that the ResultSet.getObject method doesn't include the time...I did:
    Object value = inRs.getObject(COLUMN_NAME);
    Date myDate = (Date) value;
    DateFormat myFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    String myDateAsString = format.format(myDate);
    This will give me just the date without the time, is this the expected behaviour?
    getDate and getTimestamp works just fine but I need to use getObject to keep my method generic.
    Any ideas?
    Thanks
    Database: Oracle Database 11g Release 11.1.0.0.0
    JDBC Driver: Oracle Thin 10.2.0.4.0
    JVM: IBM J2RE 1.5.0

    Ok, so I've got a workaround and found the problem.
    Object value = inRs.getObject(column.getKey());
    if (value != null && value.getClass().getName().equals("java.sql.Date"))
    outStatement.setTimestamp(colIndex, inRs.getTimestamp(column.getKey()));
    *} else {*
    outStatement.setObject(colIndex, value);
    getObject erroneously returns a java.sql.Date from the oracle DATE. Is this an error in the jdbc driver?
    UPDATE: According to the manual, this is the default behavior of the driver, but it just doesn't seem rational.
    See Table 11-2 getObject and getOracleObject Return Types:
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/datacc.htm
    Edited by: gs1 on May 14, 2009 12:57 AM
    Fixed code.

  • SSRS Execution Service Render Method stopped working

    Hello SSRS Profis!
    I'm having the following Problem:
    I was trying to integrate SSRS in my Company-Software, and until today it went quite good:
    Its an ASPMVC 5 project with WCF-Services, and in these i had methods to render reports with the help of the ReportExecution - Webservice (2005), the Version of the MSSQL Server we use is 2008R2, reports use stored procedures as data sets.
    Everything worked fine, i could render all my reports in the services, gave the result back to the Frontendprojects to present it there, it worked fast and properly.
    Until today: For some reason, the call of the ReportExection.Render() - Method gives no more results back.
    Debugging shows me that it works approx. the same time as it did before for every report, but the result now is only "null" for every report i integrated until now:
    Here is the code I use to execute the service (for network credentials i use a user with administrator privilegue who can access all the reports (tested in private session), Parameter constructio also should work properly because it did before, same
    for the Report path...
    Any Ideas would be helpful!
    private byte[] getPDFFromReport(string ReportPath, Dictionary<string, string> parameterDicitionary)
    ReportExecutionService rs = new ReportExecutionService();
    // private method to set a user with enough permissions
    rs.Credentials = SetServiceAccount();
    // Render arguments
    byte[] result = null;
    string reportPath = ReportPath;
    string format = "PDF";
    string historyID = null;
    string devInfo = @"<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>";
    // Prepare report parameter.// mapping Parameters, gives back ReportExecution.ParamaterValue Array, still works as it should
    ParameterValue[] parameters = SetReportParameters(reportPath, parameterDicitionary); DataSourceCredentials[] credentials = null;
    string showHideToggle = null;
    string encoding;
    string mimeType;
    string extension;
    Warning[] warnings = null;
    ParameterValue[] reportHistoryParameters = null;
    string[] streamIDs = null;
    ExecutionInfo execInfo = new ExecutionInfo();
    ExecutionHeader execHeader = new ExecutionHeader();
    rs.ExecutionHeaderValue = execHeader;
    execInfo = rs.LoadReport(reportPath, historyID);
    rs.SetExecutionParameters(parameters, "de-de");
    // rs.Timeout = 300000;
    String SessionId = rs.ExecutionHeaderValue.ExecutionID;
    Console.WriteLine("SessionID: {0}", rs.ExecutionHeaderValue.ExecutionID);
    try
    result = rs.Render(format, devInfo, out extension, out encoding, out mimeType, out warnings, out streamIDs);
    execInfo = rs.GetExecutionInfo();
    Console.WriteLine("Execution date and time: {0}", execInfo.ExecutionDateTime);
    catch (SoapException e)
    Console.WriteLine(e.Detail.OuterXml);
    // Write the contents of the report to an MHTML file.
    return result;
    Edit:
    I tested the methods with the same user in an WindowsForms Project and got a result. In a former Version, it also still works. I changed nothing since the last deploy in this methods, so can't imagine why it suddenly stopped working....

    Found the solution!
    After checking team-foundation-changelogs of the last checkins, it turned out that somehow automatically some value in the reference.cs of the reportexecution - webservice was changed from:
            [return: System.Xml.Serialization.XmlElementAttribute("Result", DataType="base64Binary")]
    to
            [return: System.Xml.Serialization.XmlElementAttribute("Value", DataType="base64Binary")]
    After deleting and readding the webreference to the Project, it worked again.
    The next Thing to Research for me is how it can be, that this value automatically changes. Possibly because of different Versions of VS in the dev-Team.. (Ultimate and premium) In any case, this issue is solved, thank you for reading :)

  • Reports to display vendor open items by payment methods

    Hi Gurus,
    Is there any reports to display vendor open items by payment methods?
    Thanks i

    Hi,
      Use FBl1N or F.41
    Goto Dynamic selections, Select payment method give that and execute. It will give you the report payment methd wise.
    Regards,
    Radhika.

  • Using JOptionPane to exit program & Using toString method

    Hello,
    In my program I have to use a toString method below
    public String toString(Hw1NCBEmployee[] e)
            String returnMe = String.format(getStoreName() + "\n" + getStoreAddress() + "\n" + getCityState() +  "\nYou have " + getEmpCount() + "employee(s)");
            return returnMe;
    }Now, at first, when I initially tested my code, it was working just fine, printing out the right way
    Point is -- now that Im practically finished with my program, and am going back and running it - calling the toString method gives me the address rather than the information . . . Can anyone help me with this issue??
    Also, Im using JOptionPane to display everything, but -- at first, it worked fine, then (around the same time I started having the above problem) it stopped exiting the do-while loop:
    while(go)
                 int option = JOptionPane.showConfirmDialog(null, "Do you want to enter employee information?", "Welcome!", JOptionPane.YES_NO_OPTION);
                     if(option == JOptionPane.NO_OPTION)
                        go = false;  //exit loop
            

    ncjb wrote:
    well, for the toString - I have to print out the info inside the array -- am I right in thinking that the only way to do this is to pass in the array ??If the array is part of the class then there is no need to pass it as a parameter. If it is being passed in from outside the class then I have to question your design. Why should class X being formatting data that is not a representation of itself?
    and i have 2 other files that go with this program . . . I just want to know if there is a way to make sure that when the user presses the NO option, it will exit the loop -- the piece of code you see if apart of an entire method (not long) -- do you want me to include this??You read that link I provided REAL quick!

  • Calling Java Method on an Object?????

    It is quite clear how to call a method that passes an argument in Express i.e.
    <invoke name='methodName' class='com.waveset.ui.ClassName'>
    <ref>argument</ref>
    </invoke>
    Essentially this is the same as calling
    methodName( argument );
    How is is possible to call a method in a class that operates on the object i.e.
    object.methodName( );
    i.e.
    com.waveset.object.GenericObject has a method called toMap( ) which returns the GenericObject back as a Map.
    A User View is a GenericObject so how do you call a method on the User object i.e.
    <ref>user</ref>.someMethod( ); or user.toMap( ); rather than
    <invoke name='toMap' class='com.waveset.object.GenericObject'>
    <ref>user</ref>
    </invoke>
    This will not work because there is no method called toMap that takes a GenericObject as a argument.
    I can't find any documentation that addresses this issue.

    The invoke tag is handled differently depending on its arguments.
    <invoke name='methodName' class='com.something'>
       <ref>someVariable</ref>
    </invoke>is calling static method methodName on class com.something and passes someVariable as an argument
    If you leave the class name out of the invoke, it calls the method on the first variable within the tag (the object). The remaining variables act as arguments to the method.
    Here's a trivial example. It creates a HashMap and then performs a 'get' on one of its keys (name)
    <invoke name='get'>
        <new class='java.util.HashMap'>
            <map>
                 <s>name</s>
                 <s>Darth Vader</s>
                 <s>type</s>
                 <s>villain</s>
            </map>
        </new>
        <s>name</s>
    </invoke>Here's a more complex example:
    <new class='com.waveset.object.Resource'>
         <invoke name='toXml'>
                <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                       <ref>:display.session</ref>
                       <s>Resource</s>
                       <s>Active Directory Resource Adapter</s>
                </invoke>
         </invoke>
    </new>This calls the static getObject method returns a com.waveset.object.PersistentObject, which in turn has toXML invoked on it (returning a java.lang.String serialized version of the object) which is then used as the argument for constructing a com.waveset.object.Resource object.
    Jason

Maybe you are looking for

  • Send mail to non-sap using bapi's

    hi friends, Can any one please help me how to send mail from sap to non-sap systems using bapi's.plesae help me .i want the procedure and code regards srikanth.v

  • Has anyone had a problem with printing from Elements 9 on a MAC?

    When I first installed Elements 9 and tried to print, all I got were blank pages.  I contacted adobe support and after an hour on the  phone, she referred me to the next level.  I then received an email from them asking me to call them and in the mea

  • Satellite L355D - No sound after upgrade to Win 7

    I have downloaded all of the drivers from Toshiba, upgraded the BIOS, and still nothing.  I get sound from headphones, but not the speakers. Volume level shows activity, I can see the ReakTek High - Def Audio as installed and Windows says it's workin

  • 4.0 EA2 - Insufficient Privileges When Creating Object With Proxy

    When I have connected by proxying to another user, I receive the following message when trying to create a new object: The database user has insufficient privileges for the given operation. Steps to reproduce: Connect by proxying to another user Righ

  • Filter with "AND", and not with "OR"?...

    Hello. When I am in my pictures folder, if I click on two keywords (say "A" and "B"), it will give me all of the pictures where "A" is tagged OR all of the pictures where "B" is tagged. So, if I have 12 "A" pictures and 10 "B" pictures, but only 5 pi