ADF11g: methodAction being invoked multiple times without control...

Hi,
I have a page that displays different data took from a single data control.
This datacontrol is invoked by a methodAction, and the resulting bean contains both plain attributes and List of objects.
I created my page with JDev 11.1.1.3.0, using drag and drop.
What happens (seeing the log files) is that the page calls multiple times the methodAction instead of "recognizing" it only needs to call it 1 time to have all the data bound to the page,
and of course the page does not work. I don't see the data even if the dataControls retrieve it.
Here is my code:
Page:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core">
  <c:set var="viewcontrollerBundle"
         value="#{adfBundle['sop.view.ViewControllerBundle']}"/>
  <af:pageTemplate viewId="/WEB-INF/templates/dettagliOggettoCoinvoltoTemplate.jspx"
                   id="pt1">
    <f:attribute name="dataOraUltimoAggiornamento"
                 value="#{pageFlowScope.stazione.currentDateTime}"/>
    <f:attribute name="drillDownTab1Title" value="Treni In Arrivo"/>
    <f:facet name="overviewOggettoCoinvoltoArea">
      <af:panelGroupLayout id="pgl3" valign="middle" halign="left"
                           layout="horizontal">
        <!-- rendered="#{bindings._stazione.inputValue != null}"-->
        <af:panelGroupLayout id="pgl5" layout="vertical">
          <af:panelBox text="Info Stazione" id="pb1">
            <af:panelGroupLayout id="pgl8" layout="vertical">
              <af:panelLabelAndMessage label="Stazione:" id="plam1">
                <af:outputFormatted value="#{bindings._stazione.inputValue}"
                                    id="of1"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Situazione:" id="plam2">
                <af:outputFormatted value="#{bindings.situazione.inputValue}"
                                    id="of2"/>
              </af:panelLabelAndMessage>
            </af:panelGroupLayout>
          </af:panelBox>
          <af:panelBox text="Info TVM" id="pb3">
            <f:facet name="toolbar"/>
            <af:panelGroupLayout id="pgl10" layout="vertical">
              <af:panelLabelAndMessage label="Numero TVM:" id="plam10">
                <af:outputFormatted value="#{bindings.numTVM.inputValue}"
                                    id="of10"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Allarmi TVM:" id="plam11">
                <af:outputFormatted value="#{bindings.numAllarmiTVM.inputValue}"
                                    id="of11"/>
              </af:panelLabelAndMessage>
            </af:panelGroupLayout>
          </af:panelBox>
        </af:panelGroupLayout>
        <af:panelGroupLayout id="pgl6" layout="vertical">
          <af:panelBox text="Info RFI" id="pb2">
            <f:facet name="toolbar"/>
            <af:panelGroupLayout id="pgl9" layout="vertical">
              <af:panelLabelAndMessage label="Tel RFI:" id="plam6">
                <af:outputFormatted value="#{bindings.telRFI.inputValue}"
                                    id="of6"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Cell RFI:" id="plam3">
                <af:outputFormatted value="#{bindings.cellRFI.inputValue}"
                                    id="of3"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Fax RFI:" id="plam5">
                <af:outputFormatted value="#{bindings.faxRFI.inputValue}"
                                    id="of5"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Email RFI:" id="plam4">
                <af:outputFormatted value="#{bindings.emailRFI.inputValue}"
                                    id="of4"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Tel PRM:" id="plam7">
                <af:outputFormatted value="#{bindings.telPRM.inputValue}"
                                    id="of7"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Fax PRM:" id="plam8">
                <af:outputFormatted value="#{bindings.faxPRM.inputValue}"
                                    id="of8"/>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Email PRM:" id="plam9">
                <af:outputFormatted value="#{bindings.emailPRM.inputValue}"
                                    id="of9"/>
              </af:panelLabelAndMessage>
            </af:panelGroupLayout>
          </af:panelBox>
        </af:panelGroupLayout>
        <af:panelGroupLayout id="pgl4" layout="vertical">
          <af:panelBox text="News" id="pb8">
            <f:facet name="toolbar"/>
            <af:panelGroupLayout id="pgl16">
              <af:panelFormLayout id="pfl1">
                <af:iterator id="i1" value="#{bindings.result1.collectionModel}"
                             var="current">
                  <af:panelLabelAndMessage label="Titolo" id="plam15">
                    <af:outputFormatted value="#{current.title}" id="of15"/>
                  </af:panelLabelAndMessage>
                  <af:panelLabelAndMessage label="Autore" id="plam14">
                    <af:outputFormatted value="#{current.author}" id="of12"/>
                  </af:panelLabelAndMessage>
                  <af:panelLabelAndMessage label="Data Pubblicazione"
                                           id="plam12">
                    <af:outputFormatted value="#{current.pubDate}" id="of14">
                      <af:convertDateTime pattern="yyyy-MM-dd HH:mm"/>
                    </af:outputFormatted>
                  </af:panelLabelAndMessage>
                  <af:panelLabelAndMessage label="Contenuto" id="plam13">
                    <af:outputText escape="false"
                                   value="#{current.description.value}"
                                   id="ot13"/>
                  </af:panelLabelAndMessage>
                </af:iterator>
              </af:panelFormLayout>
            </af:panelGroupLayout>
          </af:panelBox>
        </af:panelGroupLayout>
      </af:panelGroupLayout>
    </f:facet>
    <f:facet name="drillDownView1Area">
      <af:panelGroupLayout id="pgl12">
      </af:panelGroupLayout>
    </f:facet>
    <f:facet name="drillDownView2Area">
      <af:panelGroupLayout id="pgl13">
      </af:panelGroupLayout>
    </f:facet>
    <f:attribute name="drillDownTab2Title" value="Treni In partenza"/>
    <f:attribute name="drillDownTab3Title" value="Personale"/>
    <f:attribute name="drillDownTab4Rendered" value="true"/>
    <f:attribute name="drillDownTab4Title" value="Allarmi"/>
    <f:attribute name="overviewOggettoCoinvoltoAreaTitle"
                 value="Agenda Servizio Stazione"/>
    <f:facet name="drillDownView4Area">
  /af:table>
      -->
    </f:facet>
    <f:facet name="drillDownView3Area">
    </f:facet>
  </af:pageTemplate>
</jsp:root>PageDef:
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                version="11.1.1.56.60"
                id="visualizzazioneDettagliStazionePageDef" Package="fragments">
  <parameters/>
<executables>
  <variableIterator id="variables"/>
  <methodIterator Binds="generaAgendaServizioStazione.result"
                  DataControl="StazioniServicePojo" RangeSize="25"
                  BeanClass="sop.model.beans.agendaServizioStazione.BeanAgendaServizioStazione"
                  id="generaAgendaServizioStazioneIterator"/>
  <accessorIterator MasterBinding="generaAgendaServizioStazioneIterator"
                    Binds="datiStazione" RangeSize="25"
                    DataControl="StazioniServicePojo"
                    BeanClass="sop.model.beans.agendaServizioStazione.BeanStazione"
                    id="datiStazioneIterator"/>
  <accessorIterator MasterBinding="datiStazioneIterator" Binds="infoTVM"
                    RangeSize="25" DataControl="StazioniServicePojo"
                    BeanClass="sop.model.stazioniService.InfoTVM"
                    id="infoTVMIterator"/>
  <accessorIterator MasterBinding="datiStazioneIterator" Binds="infoRFI"
                    RangeSize="10" DataControl="StazioniServicePojo"
                    BeanClass="sop.model.stazioniService.InfoRFI"
                    id="infoRFIIterator"/>
  <methodIterator id="readRSSStazioneIter" Binds="readRSSStazione.result"
                  DataControl="RssServicePojo" RangeSize="25"
                  BeanClass="com.sun.syndication.feed.rss.Item"/>
</executables>
<bindings>
  <methodAction id="generaAgendaServizioStazione" RequiresUpdateModel="true"
                Action="invokeMethod" MethodName="generaAgendaServizioStazione"
                IsViewObjectMethod="false" DataControl="StazioniServicePojo"
                InstanceName="StazioniServicePojo.dataProvider"
                ReturnName="StazioniServicePojo.methodResults.generaAgendaServizioStazione_StazioniServicePojo_dataProvider_generaAgendaServizioStazione_result">
   <NamedData NDName="locationCode"
              NDValue="#{pageFlowScope.stazione.stazione.locationCode}"
              NDType="java.lang.String"/>
   <NamedData NDName="dataRichiesta"
              NDValue="#{pageFlowScope.stazione.dataRichiesta}"
              NDType="java.util.Calendar"/>
  </methodAction>
  <attributeValues IterBinding="datiStazioneIterator" id="situazione">
   <AttrNames>
    <Item Value="situazione"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="datiStazioneIterator" id="_stazione">
   <AttrNames>
    <Item Value="_stazione"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoTVMIterator" id="numTVM">
   <AttrNames>
    <Item Value="numTVM"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoTVMIterator" id="numAllarmiTVM">
   <AttrNames>
    <Item Value="numAllarmiTVM"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="telRFI">
   <AttrNames>
    <Item Value="telRFI"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="faxRFI">
   <AttrNames>
    <Item Value="faxRFI"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="cellRFI">
   <AttrNames>
    <Item Value="cellRFI"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="emailRFI">
   <AttrNames>
    <Item Value="emailRFI"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="telPRM">
   <AttrNames>
    <Item Value="telPRM"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="faxPRM">
   <AttrNames>
    <Item Value="faxPRM"/>
   </AttrNames>
  </attributeValues>
  <attributeValues IterBinding="infoRFIIterator" id="emailPRM">
   <AttrNames>
    <Item Value="emailPRM"/>
   </AttrNames>
  </attributeValues>
  <methodAction id="readRSSStazione" InstanceName="RssServicePojo.dataProvider"
                DataControl="RssServicePojo" RequiresUpdateModel="true"
                Action="invokeMethod" MethodName="readRSSStazione"
                IsViewObjectMethod="false"
                ReturnName="RssServicePojo.methodResults.readRSSStazione_RssServicePojo_dataProvider_readRSSStazione_result">
   <NamedData NDName="stazioneLocationCode"
              NDValue="#{pageFlowScope.stazione.stazione.locationCode}"
              NDType="java.lang.String"/>
  </methodAction>
  <tree IterBinding="readRSSStazioneIter" id="result1">
   <nodeDefinition DefName="com.sun.syndication.feed.rss.Item" Name="result10">
    <AttrNames>
     <Item Value="title"/>
     <Item Value="author"/>
     <Item Value="uri"/>
     <Item Value="pubDate"/>
    </AttrNames>
    <Accessors>
     <Item Value="description"/>
    </Accessors>
   </nodeDefinition>
   <nodeDefinition DefName="com.sun.syndication.feed.rss.Description"
                   Name="result11">
    <AttrNames>
     <Item Value="type"/>
     <Item Value="value"/>
    </AttrNames>
   </nodeDefinition>
  </tree>
</bindings>
</pageDefinition>The datacontrols are standard pojo data controls.
Can someone point me out to the solution ? Why methodAction is called multiple times ?

Does someone has any clues ?!

Similar Messages

  • On Execute operation, the bean getter is being called multiple times

    Hi,
    I have a JCR data control, i am trying to write a method that returns predicate, but this method is being called multiple times, when executing the advanced search operation.
      public List<Predicate> getPredicates() {
      ArrayList<Predicate> predicates = new ArrayList<Predicate>();
       // predicates.add(new Predicate("jcr:content/idc:metadata/idc:xScope",Operator.EQUALS,"GLOBAL"));
      DCBindingContainer bc=(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
      JUCtrlListBinding attrBinding=(JUCtrlListBinding)  bc.findCtrlBinding("StateId");
      Object stateId= attrBinding.getSelectedValue();
      if(stateId instanceof Row){
      predicates.add(new Predicate("jcr:content/idc:metadata/idc:xState"
      , Operator.EQUALS
      ,((Row)stateId).getAttribute("StateId").toString()));
      attrBinding=(JUCtrlListBinding)  bc.findCtrlBinding("DistrictId");
      Object districtId=attrBinding.getSelectedValue();
      if(districtId instanceof Row){
          predicates.add(new Predicate("jcr:content/idc:metadata/idc:xDistrict",Operator.EQUALS,((Row)districtId).getAttribute("DistrictId").toString()));
        attrBinding=(JUCtrlListBinding)  bc.findCtrlBinding("Scope");
        Object scopeId=attrBinding.getSelectedValue();
        if(scopeId instanceof Row){
            predicates.add(new Predicate("jcr:content/idc:metadata/idc:xScope",Operator.EQUALS,((Row)scopeId).getAttribute("ScopeType")));
        AttributeBinding tempAttrBinding=(AttributeBinding)bc.findCtrlBinding("CreatedDate");
        Object createdDate=tempAttrBinding.getInputValue();
        if(createdDate!=null){
            predicates.add(new Predicate("jcr:content/jcr:created",Operator.EQUALS,createdDate.toString()));
        if (predicates.size()>0){
          return predicates;
      return Collections.emptyList();
      } The problem is while it's being called multiple times different list's are being returned which is causing the method not to work . The bean is in pageFlowScope .

    That is bc ADF life cicle... Is always executing 2 times...

  • Signing a document multiple times without saving it?

    Hello all,
    Can someone please tell me how do we sign a document multiple times without having to save the document after each signature?
    For instance, I am a realtor and have to sign the contract about 3-4 times. However, when I sign it, Acrobat 8 prompts me to sign after each signature.
    When I was using Acrobat 7, I could sign as much as I want and then save it. This is much more efficient and practical.
    Can anyone advise me?
    Thanks in advance.
    Geo

    Hi Geo,
    It may be more cumbersome in version 8 (and 9), but it's safer. In version 7 and earlier when you signed, Acrobat did everything in memory. You weren't prompted to save the file to disk until you wanted to close the file. The problem is computer memory is where the bad guys get into to make changes. The majority of computer vulnerabilities occur when the hacker escapes the allotted memory space (aka buffer overflows) and reads and writes to memory address that they shouldn't be in. Think of memory being divided up like a row of houses along a block. The bad guy gets out of his house and into yours, and that's where bad things happen.
    Beginning with version 8, signature operation all take place on disk, not in memory. It's slower, and as you pointed out it's more cumbersome, but it's safer. The file is committed to disk (the hard drive) before the signature is created and the signed bytes cannot be manipulated in the middle of the signing procedure.
    Interestingly (at least to me), when we had this discussion four or five years ago when the change was made, the example used was of mortgage contact being signed where any of the terms could be changed in memory prior to the signature being completed. It was just a bunch of geeky engineers sitting around a table discussing possible vulnerabilities with the current signing operation (i.e. signing in memory). To see the theoretical example in actual use is kind of exciting (granted I don't get out much ).
    Steve

  • Why PageController method invoked multiple times per request

    I have a page with a customized PageController to override the "prepareModel(LifecycleContext)" method to create bindings dynamically for the page.
    I expected the overridden method only invoked once per loading/refresh of the page.
    From debugging, I found the overridden method actually invoked 3 times before the page was loaded.
    When I put some logic so that bindings only created the 1st time the overridden method invoked, then the page failed to show the data properly as if the binding was missing.
    With some debugging, I noticed the PageController invoked multiple times when I added the af:table to the page.
    Any idea why prepareModel() got invoked multiple time per loading of a page with af:table ?
    How do I determine when to create bindings within prepareModel() so that bindings only created once and the page can use the binding to show the data properly?

    <executables>
    <invokeAction id="onpageLoadClearTable" Binds="clearViewObject"
    RefreshCondition="#{adfFacesContext.postback == false}"/> --------added this into your pagedef.
    </executables>
    <bindings>
    <methodAction IterBinding="XXXXXXXXViewIterator" id="clearViewObject"
    MethodName="clearViewObject" RequiresUpdateModel="true"
    Action="999" IsViewObjectMethod="true"
    </bindings>

  • Flash player has been installed multiple time without errors but bbc news website and even flash player help say it isn't. How do i get out of this loop? - using windows 7 ultimate and latest IE11

    flash player has been installed multiple time without errors but bbc news website and even flash player help say it isn't. How do i get out of this loop? - using windows 7 ultimate and latest IE11

    I have had the same problem for WEEKS and I cannot access any sites that use Flash. Flash has been installed on this computer since I bought it in 2012. I have allowed auto updates but for weeks the updates never get past Step 2 - is this because I do NOT want the Google Tool bar? I use NO tool bars as there is only 6 inches of vertical screen space. Is this because I uncheck wanting Chrome as a default browser?  It is already installed, I just don't use it.  I came to this site and ran the check is it installed and the system says it is either not installed or not enabled. Version 14 just downloaded about 30 minutes ago - but did not progress to Step 3 although a pop up screen came up with a finish button, which I clicked. WHAT is the problem and how do I fix it?  If this were just a compatibility bug between IE11 and Adobe they have had plenty of time to fix it.
    Stephanie HC

  • Finalize() method being called multiple times for same object?

    I got a dilly of a pickle here.
    Looks like according to the Tomcat output log file that the finalize method of class User is being called MANY more times than is being constructed.
    Here is the User class:
    package com.db.multi;
    import java.io.*;
    import com.db.ui.*;
    import java.util.*;
    * @author DBriscoe
    public class User implements Serializable {
        private String userName = null;
        private int score = 0;
        private SocketImage img = null;
        private boolean gflag = false;
        private Calendar timeStamp = Calendar.getInstance();
        private static int counter = 0;
        /** Creates a new instance of User */
        public User() { counter++;     
        public User(String userName) {
            this.userName = userName;
            counter++;
        public void setGflag(boolean gflag) {
            this.gflag = gflag;
        public boolean getGflag() {
            return gflag;
        public void setScore(int score) {
            this.score = score;
        public int getScore() {
            return score;
        public void setUserName(String userName) {
            this.userName = userName;
        public String getUserName() {
            return userName;
        public void setImage(SocketImage img) {
            this.img = img;
        public SocketImage getImage() {
            return img;
        public void setTimeStamp(Calendar c) {
            this.timeStamp = c;
        public Calendar getTimeStamp() {
            return this.timeStamp;
        public boolean equals(Object obj) {
            try {
                if (obj instanceof User) {
                    User comp = (User)obj;
                    return comp.getUserName().equals(userName);
                } else {
                    return false;
            } catch (NullPointerException npe) {
                return false;
        public void finalize() {
            if (userName != null && !userName.startsWith("OUTOFDATE"))
                System.out.println("User " + userName + " destroyed. " + counter);
        }As you can see...
    Every time a User object is created, a static counter variable is incremented and then when an object is destroyed it appends the current value of that static member to the Tomcat log file (via System.out.println being executed on server side).
    Below is the log file from an example run in my webapp.
    Dustin
    User Queue Empty, Adding User: com.db.multi.User@1a5af9f
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    Joe
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin pulled from Queue, Game created: Joe
    User Already Placed: Dustin with Joe
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    INSIDE METHOD: false
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    User Dustin destroyed. 9
    User Joe destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    It really does seem to me like finalize is being called multiple times for the same object.
    That number should incremement for every instantiated User, and finalize can only be called once for each User object.
    I thought this was impossible?
    Any help is appreciated!

    Thanks...
    I am already thinking of ideas to limit the number of threads.
    Unfortunately there are two threads of execution in the servlet handler, one handles requests and the other parses the collection of User objects to check for out of date timestamps, and then eliminates them if they are out of date.
    The collection parsing thread is currently a javax.swing.Timer thread (Bad design I know...) so I believe that I can routinely check for timestamps in another way and fix that problem.
    Just found out too that Tomcat was throwing me a ConcurrentModificationException as well, which may help explain the slew of mysterious behavior from my servlet!
    The Timer thread has to go. I got to think of a better way to routinely weed out User objects from the collection.
    Or perhaps, maybe I can attempt to make it thread safe???
    Eg. make my User collection volatile?
    Any opinions on the best approach are well appreciated.

  • Simple Event being Displayed Multiple Times

    I have a simple event from the past that is being displayed multiple times. There are no other UIDs that are the same in iCal and no other event has the same SUMMARY name.
    This particular event shows up 9 times. I can also reproduce the result from Automator by searching the specific calendar and looking for events in the date range.
    The event is as follows:
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//Apple Inc.//iCal 3.0//EN
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    SEQUENCE:5
    TRANSP:OPAQUE
    UID:EC6F5DBC-9BCC-4007-87F2-4A9C796C8551
    DTSTART:20070330T000000
    DTSTAMP:20071206T205550Z
    SUMMARY:Babysit Paul
    CREATED:20080919T173959Z
    DTEND:20070401T120000
    END:VEVENT
    END:VCALENDAR
    I am not very familiar with the format but it looks pretty straight forward.
    The calendar is being synched via Mobile Me and is shared by another two computers. Not sure why this should be relevant since the entry on the computer and on Mobile Me both show this duplication of the event.
    The reason I was looking at all was because of the hangs in iCal since I set the sync to automatic.
    Any ideas welcome,
    Richard

    Post Author: foghat
    CA Forum: Data Connectivity and SQL
    If all the records you are displaying in your report
    truly are duplicated, you could try check off 'select distinct records'
    from the File --> Report Options menu.  While this may solve the problem for you, it would be worthwhile to determine if you are actually joining your tables correctly.
    likely the records aren't an exact duplicate and the problem is with your join criteria.  To verify this you can:  start by removing table b from the database expert altogether.  does
    that solve your problem of multiple rows?  If it does, you are not joining to table b correctlyIf you still have
    multiple rows, loan_id on its own must not make a record unique.  Is
    loan_id duplicated in either of your tables?  Just because loan_id is a
    primary key does not necessarily mean it is unique - often a record
    will have 2 or more primary keys and only when all primary keys are
    used is the record unique.   If you display all of the columns
    from both tables, you will hopefully see some (maybe just one) columns
    where the value is different between your seemingly duplicate data.
    You may need to join on this value as well.as for the type of join you are using (inner, not enforced) you should be fine. Good luck

  • Unable to open iTunes. I have completely unistalled and reinstalled multiple times without any resolution.

    Unable to open iTunes. I have completely unistalled and reinstalled multiple times without any resolution. When I try to open it, a shadow/outline comes up as though the window is there but it is transparent and I am unable to see any content whatsoever. I am unable to take any action at all. Please help it's been doing my head in for a looooooooooooooong time!!! TIA

    Also, in Task Manager, it always shows that iTunes is "Not Responding".
    Cheers

  • Email being sent multiple times when actions are triggered after creating an incident. Anyone has a resolution?

    Email being sent multiple times (3 times) when actions are triggered after creating an incident.
    Below is the snip of "Scheduled Actions" of the created Incident.

    Hi Ritesh
    Email is triggered based upon conditions and you set
    on closer look it is 3 different email on three 3 different requirement for e.g
    email triggered to reporter on new status
    email trigerred to processor on Proposed solution and New status
    Therefore, check the start condition for above 2 email actions and refer below blog
    Sending E-Mail from Support Message
    Thanks
    Prakhar

  • Some fields in text box are being displayed multiple times

    Hi All,
    I am getting a strange error in Crystal Reports.
    It is displaying a particular field multiple times while the query returns a single row.
    I have used a text box in which I have dragged and dropped that field.
    The version used to design the reports is Crystal Reports XI while client is having Crystal Reports 11.5.
    Regards,
    Misra P.

    Hi Salah,
    Thanks a lot for quick reply.
    1- I am using SQL queries ,not tables.
    2- The field is in page header for one report and in group header for the other one.
    3- If i grag and drop simply,then it shows correct result,i.e. a single record.
    e.g i am displaying a customer name with title.
    Like Mr XYZ(page header,query is returning a single row).
    and it is being displayed as
    Mr XYZ
    Mr
    Mr
    Mr
    Mr
    Mr
    Thanks again.
    Regards,
    Misra P.

  • AddPartialTarget causes valueChangeListener invoked multiple times

    Hi All,
    I am using JDev 11.1.1.6.0.
    I have a problem with programmatic ppr using addPartialTarget method.
    The scenario is as follows:
    I have an af:table in which 2 of the columns include selectOneChoice in each: ( select1 and select2 ).
    The values of select2 depends on select1. For example, select1 has countries, and select2 has cities of the selected country of select1.
    So, in valueChangeListener of select1, based on the selected value, get the respective cities, put into the list used by select2. And after everything finished, refresh the select2 using AdfFacesContext.getCurrentInstance().addPartyTarget(this.getSelect2()).
    The problem is that the valueChangeListener of select1 (countryChangeListener) is called multiple times. Then it shows NullPointerException pop-up in the ui. But I can't find the exception trace in my log. I found that it's not coming from the listener method when I debug.
    Below is the jsff content:
    +<af:column headerText="#{bindings.tableVO1.hints.Country.label}" id="c16">+
    +<af:selectOneChoice label=""+
    +value="#{row.bindings.Country.inputValue}"+
    +valueChangeListener="#{backingBeanScope.myBean.countryChangeListener}"+
    +autoSubmit="true"+
    +id="soc1">+
    +<f:selectItems value="#{pageFlowScope.countryList}"+
    +id="si2"/>+
    +</af:selectOneChoice>+
    +</af:column>+
    +<af:column headerText="#{bindings.tableVO1.hints.City.label}" id="c8">+
    +<af:selectOneChoice label="" id="soc4"+
    +value="#{row.bindings.City.inputValue}"+
    +autoSubmit="true"+
    +binding="#{backingBeanScope.myBean.socCity}">+
    +<f:selectItems value="#{row.bindings.CityList.inputValue}"+
    +id="si6"/>+
    +</af:selectOneChoice>+
    +</af:column>+
    The problem also occurs for other select boxes in that table.
    Although I solved it by using *partialTriggers=soc1* in city select box in jsff, it works (it refreshes the city select box and shows the values), I don't know why the programmatic refresh with addPartialTarget() is not working.
    Can you all please help with that issue? Because I need to use addPartialTarget for other cases.
    Thanks.
    Best Regards,
    cmoster

    Hi,
    there is no way in JSF to execute a value change listener multiple times and I spare myself the full life cycle explanation here. Because you use this in a table, how likely is it that the Value Change Listener is invoked for other rows of the table? Can you try setting the selectOneChoice valuePassThru property to true? My assumption is that upon rendering of the select lists you do change the underlying component value
    Frank

  • Default button being clicked multiple times when enter key is pressed

    Hello,
    There seems to be a strange difference in how the default button behaves in JRE 1.4.X versus 1.3.X.
    In 1.3.X, when the enter key was pressed, the default button would be "pressed down" when the key was pressed, but wouldn't be fully clicked until the enter key was released. This means that only one event would be fired, even if the enter key was held down for a long time.
    In 1.4.X however, if the enter key is pressed and held for more than a second, then the default button is clicked multiple times until the enter key is released.
    Consider the following code (which is just a dialog with a button on it):
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(jButton1);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    new SimpleDialog().show();
    When you compile and run this code under 1.3.1, and hold the enter key down for 10 seconds, you will only see one print line statement.
    However, if you compile and run this code under 1.4.1, and then hold the enter key down for 10 seconds, you will see about 100 print line statements.
    Is this a bug in 1.4.X or was this desired functionality (e.g. was it fixing some other bug)?
    Does anyone know how I can make it behave the "old way" (when the default button was only clicked once)?
    Thanks in advance if you have any advice.
    Dave

    Hello all,
    I think I have found a solution. The behaviour of the how the default button is triggered is contained withing the RootPaneUI. So, if I override the default RootPaneUI used by the UIDefaults with my own RootPaneUI, I can define that behaviour for myself.
    Here is my simple dialog with a button and a textfield (when the focus is NOT on the button, and the enter key is pressed, I don't want the actionPerformed method to be called until the enter key is released):
    package focustests;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(new JTextField("a text field"), BorderLayout.NORTH);
    this.getContentPane().add(jButton1, BorderLayout.SOUTH);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    javax.swing.UIManager.getDefaults().put("RootPaneUI", "focustests.MyRootPaneUI");
    new SimpleDialog().show();
    and the MyRootPaneUI class controls the behaviour for how the default button is handled:
    package focustests;
    import javax.swing.*;
    * Since we are using the Windows look and feel in our product, we should extend from the
    * Windows laf RootPaneUI
    public class MyRootPaneUI extends com.sun.java.swing.plaf.windows.WindowsRootPaneUI
    private final static MyRootPaneUI myRootPaneUI = new MyRootPaneUI();
    public static javax.swing.plaf.ComponentUI createUI(JComponent c) {
    return myRootPaneUI;
    protected void installKeyboardActions(JRootPane root) {
    super.installKeyboardActions(root);
    InputMap km = SwingUtilities.getUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    if (km == null) {
    km = new javax.swing.plaf.InputMapUIResource();
    SwingUtilities.replaceUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW, km);
    //when the Enter key is pressed (with no modifiers), trigger a "pressed" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, false), "pressed");
    //when the Enter key is released (with no modifiers), trigger a "release" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, true), "released");
    ActionMap am = SwingUtilities.getUIActionMap(root);
    if (am == null) {
    am = new javax.swing.plaf.ActionMapUIResource();
    SwingUtilities.replaceUIActionMap(root, am);
    am.put("press", new HoldDefaultButtonAction(root, true));
    am.put("release", new HoldDefaultButtonAction(root, false));
    * This is a copy of the static nested class DefaultAction which was
    * contained in the JRootPane class in Java 1.3.1. Since we are
    * using Java 1.4.1, and we don't like the way the new JRE handles
    * the default button, we will replace it with the old (1.3.1) way of
    * doing things.
    static class HoldDefaultButtonAction extends AbstractAction {
    JRootPane root;
    boolean press;
    HoldDefaultButtonAction(JRootPane root, boolean press) {
    this.root = root;
    this.press = press;
    public void actionPerformed(java.awt.event.ActionEvent e) {
    JButton owner = root.getDefaultButton();
    if (owner != null && SwingUtilities.getRootPane(owner) == root) {
    ButtonModel model = owner.getModel();
    if (press) {
    model.setArmed(true);
    model.setPressed(true);
    } else {
    model.setPressed(false);
    public boolean isEnabled() {
    JButton owner = root.getDefaultButton();
    return (owner != null && owner.getModel().isEnabled());
    This seems to work. Does anyone have any comments on this solution?
    Tjacobs, I still don't see how adding a key listeners or overriding the processKeyEvent method on my button would help. The button won't receive the key event unless the focus is on the button. There is no method "enableEvents(...)" in the AWTEventMulticaster. Perhaps you have some code examples? Thanks anyway for your help.
    Dave

  • Same system being shown multiple time in Solution for Early Watch Report

    Hi Gurus ,
    I have some satellite system configured to Solution Manager . Today I can see the same system entry multiple time in the
    Operations: Solution Monitoring -> Early Watch Alert.
    eg .,
    I have a system whose SID is ABC , i can see the ABC entry for todays date (i.e., 4 FEB 08) nearly 4 time .And this systems are not rescheduled for the next EWR (i.e scheduled for 11 FEB 08- since we have kept a period of 7 days )
    Please suggest
    Anthony

    Hi Anthony,
    There was an error, that EWA sessions for one systems were scheduled multiple times per week.
    Please check [SAP Note 1083108 - Duplicate EarlyWatch Alerts|http://service.sap.com/sap/support/notes/1083108]
    Search for SAP Notes with key words: EWA, multiple, duplicate.
    Application area: SV-SMG-OP
    What's the software configuration of your SolMan?
    Best regards,
    Ruediger

  • How can I restore Thunderbird behavior so I can delete emails by pressing delete key multiple times (without using mouse to change focus back to message list)?

    Thunderbird 24.3.0 (latest under OpenBSD)
    I (like most people) get spam in my inbox. When there are multiple spam messages in a row in my inbox I used to click on the first message and then press the delete key repeatedly for each sequential spam message.
    After upgrading, this doesn't work. Instead, when I click a message it opens in the message preview pane and moves the focus to the message. Thus I need to click twice to even be able to press the delete key to delete one message. When I press the delete key, the message is deleted and the highlighted message becomes the next one in the list. This opens the message in the preview pane and again shifts the focus to the message. Thus I can't press the delete key again but must move the mouse to click on the message before I can delete it.
    As a result, what used to be a very fast process of weeding through spam has become a real annoyance.
    I realize I can hide the message preview pane to prevent the focus from moving, but this means I must delete solely based on the email subject/sender -- or open each message (which is even slower).
    I also realize that I can press tab multiple times (sometime 4, sometimes many more) to shift the focus back but that's not much faster than using the mouse.
    How can I prevent Thunderbird from shifting the focus away from the email list panel unless I actually click somewhere else?

    Well said! And you said it about six weeks ago. And 4 other people said "Me Too." - I guess we're screwed.
    I guess it's time to switch to GMail.
    Such a trivial thing, but it irritates me every single time.
    MOZILLA - YOU'RE GOING DOWNHILL...

  • EO entity level validations being executed multiple times

    Hi,
    I'm using JDev 10.1.3.4, BC, JSF
    I have defined multiple entity level method validators in my entity object. On commit I get the desired results except for the fact that each of my method validators runs multiple times when they should only run once. So I end up with twice the method validator messages that I should. And if I put any additional messaging in in the validators themselves I end up with 10 times the desired messages.
    What are some of the reasons that would cause this looping through the validators. I assume I have done something to cause this but can not figure out what it is. Any ideas on what I should look for?
    Note : Also using JHeadstart but I don't think it should be a factor at the entity level.
    Thanks,
    Jim
    Edited by: 170412 on May 5, 2009 4:11 PM

    Hi,
    1) Set the Foreign key using setAttribute Methods ? When u create a VO based on Multiple EO's, there should be some relationship between those 8 EO's like Primary key & Foregin key. And when u perform Commit on this all the value from ur beans will get saved to the database. But the Foreign u need to set independently using setAttribute method becoz it wont get saved by its own.
    2) If i'm doing the validations at EO level, those setters and getters will be called before the Create(), Update() and Delete()
    methods in the EOImpl class. Is that true?Yes, you are right it will get called for create and update operation but not for Delete.
    Regards,
    Gyan

Maybe you are looking for

  • My old account has been delete how can i open my old account

    my old account has been delete and my phone ask my to use the old account  what i have to do ?

  • Ipod not charging, turning on, or being recognized by computer....

    hi. i turned my ipod on and it kept popping up the folder with exclamation point. so i went to the support webiste and did everything it told me to do. however, it didn't work. and now, my ipod doesn't charge even though it's plugged in securely, it

  • Suppress the Page Header section on a specific Section

    Hello, I have a single page word document I want to append to the end of a report I have, so I placed it in Report Footer b. The word document fits perfectly on a single page without any header. I tried simply supressing the Page Header on the last p

  • Sound Blaster R3: Delay on Recording / Playing Music

    Hi all, Recently purchased with the Sound Blaster R3 and am very happy with its build quality. However, I get delays on both recording and playing sound. Recording When I use GarageBand to record from the Vocal Mic (1), the sound recorded into Garage

  • OODBMS features of Oracle

    Hi guys, I do not know if this is the correct place to post this, inform me if not. 1.Why should someone use an object oriented database? What are the benefits and the drawbacks? 2.The member functions of the objects usually contain insert/update/del