ActionListener invoked multiple times Issue

Hi,
I have defined a CommandLink with ActionListener and ShowPopupBehaviour (onclick)
Inline Popup box has a Editable Table.
I would like to perform the ExecuteQuery() on the VO with ViewObject.QUERY_MODE_SCAN_DATABASE_TABLES when CommandLink is pressed to refresh the data in the table that is shown in popup.
When I click on the CommandLink VO query is executed as expected.
I can see the results on the Popup refreshed from the database tables.
When I try to change the value in the popup table the ActionListener of CommandLink is executed again. (I have ran this project in Debug Mode. I have set a breakpoint in ActionListener method).
What could be the Reason. Any ideas how to go over this.
Thanks,
Satya
code snippet:
<af:commandLink id="UpdateWIPCL"
partialSubmit="true"
text="Edit WIP"
rendered="#{pageFlowScope.pRevenueProjectId !=null }"
actionListener="#{ProjectSelection.EditWIPLink}">
<af:image source="/adf/images/update_ena.png"
shortDesc="Edit Work In Progress for all Sellers"
id="UpdateWIPImg"/>
<af:showPopupBehavior popupId="WIPUpdatePopup"
triggerType="click"/>
<af:popup id="WIPUpdatePopup"
contentDelivery="lazyUncached"
binding="#{ProjectSelection.wiPUpdatePopup}">

I have pasted part of it.
Now pasted complete commandLink
<af:commandLink id="UpdateWIPCL"
partialSubmit="true"
text="Edit WIP"
rendered="#{pageFlowScope.pRevenueProjectId !=null }">
<af:image source="/adf/images/update_ena.png"
shortDesc="Edit Work In Progress for all Sellers"
id="UpdateWIPImg"/>
<af:showPopupBehavior popupId="WIPUpdatePopup"
triggerType="click"/>
<af:popup id="WIPUpdatePopup"
contentDelivery="lazyUncached"
binding="#{ProjectSelection.wiPUpdatePopup}">
<af:dialog id="dialog2"
closeIconVisible="false"
title="Edit Work In Progress"
dialogListener="#{ProjectSelection.EditWIPDialogListener}"
clientComponent="true"
resize="on"
stretchChildren="first"
contentWidth="650"
contentHeight="250">
<af:table value="#{bindings.SellersWIPVO1.collectionModel}"
var="row"
rows="#{bindings.SellersWIPVO1.rangeSize}"
emptyText="#{bindings.SellersWIPVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.SellersWIPVO1.rangeSize}"
rowBandingInterval="0"
id="t7"
columnStretching="column:c35">
<af:column sortProperty="SellingRegionName"
sortable="false"
headerText="Seller"
id="c36"
rowHeader="true"
align="center">
<af:outputFormatted value="#{row.bindings.SellingRegionName.inputValue}"
id="of6"
inlineStyle="text-align:right;"/>
</af:column>
<af:column sortProperty="Elm"
sortable="false"
headerText="ELM"
id="c35"
align="right">
<af:outputFormatted value="#{row.bindings.Elm.inputValue}"
id="of5"
inlineStyle="text-align:right;">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.SellersWIPVO1.hints.Elm.format}"
minFractionDigits="4"
maxFractionDigits="4"/>
</af:outputFormatted>
</af:column>
<af:column sortProperty="Revenue"
sortable="false"
headerText="#{bindings.SellersWIPVO1.hints.Revenue.label}"
id="c39"
align="right">
<af:outputFormatted value="#{row.bindings.Revenue.inputValue}"
id="of7"
inlineStyle="text-align:right;">
<af:convertNumber groupingUsed="true"
pattern="#{bindings.SellersWIPVO1.hints.Revenue.format}"
minFractionDigits="0"
maxFractionDigits="0"
integerOnly="true"/>
</af:outputFormatted>
</af:column>
<af:column sortProperty="Labor"
sortable="false"
headerText="#{bindings.SellersWIPVO1.hints.Labor.label}"
id="c38"
align="right">
<af:inputText value="#{row.bindings.Labor.inputValue}"
label="#{bindings.SellersWIPVO1.hints.Labor.label}"
required="#{bindings.SellersWIPVO1.hints.Labor.mandatory}"
columns="#{bindings.SellersWIPVO1.hints.Labor.displayWidth}"
maximumLength="#{bindings.SellersWIPVO1.hints.Labor.precision}"
shortDesc="#{bindings.SellersWIPVO1.hints.Labor.tooltip}"
id="it28"
contentStyle="text-align:right;">
<f:validator binding="#{row.bindings.Labor.validator}"/>
<af:convertNumber
pattern="#{bindings.SellersWIPVO1.hints.Labor.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
</af:column>
<af:column sortProperty="Odc"
sortable="false"
headerText="Other Direct Costs"
id="c37"
align="right">
<af:inputText value="#{row.bindings.Odc.inputValue}"
label="#{bindings.SellersWIPVO1.hints.Odc.label}"
required="#{bindings.SellersWIPVO1.hints.Odc.mandatory}"
columns="#{bindings.SellersWIPVO1.hints.Odc.displayWidth}"
maximumLength="#{bindings.SellersWIPVO1.hints.Odc.precision}"
shortDesc="#{bindings.SellersWIPVO1.hints.Odc.tooltip}"
id="it30"
contentStyle="text-align:right;">
<f:validator binding="#{row.bindings.Odc.validator}"/>
<af:convertNumber
pattern="#{bindings.SellersWIPVO1.hints.Odc.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
</af:column>
<af:column sortProperty="Ops"
sortable="false"
headerText="Outside Professionals"
id="c40"
align="right">
<af:inputText value="#{row.bindings.Ops.inputValue}"
label="#{bindings.SellersWIPVO1.hints.Ops.label}"
required="#{bindings.SellersWIPVO1.hints.Ops.mandatory}"
columns="#{bindings.SellersWIPVO1.hints.Ops.displayWidth}"
maximumLength="#{bindings.SellersWIPVO1.hints.Ops.precision}"
shortDesc="#{bindings.SellersWIPVO1.hints.Ops.tooltip}"
id="it18"
contentStyle="text-align:right;">
<f:validator binding="#{row.bindings.Ops.validator}"/>
<af:convertNumber
pattern="#{bindings.SellersWIPVO1.hints.Ops.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
</af:column>
</af:table>
</af:dialog>
</af:popup>
</af:commandLink>

Similar Messages

  • 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>

  • 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

  • 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 ?!

  • Process request method executing multiple times issue

    Hi ALL,
    In my controller code , process request method is executing multiple times and inserting multiple data into the table, can any body help me how to resolve this issue.
    I have the below code in my process request:
    OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
         am.invokeMethod("InsertRecord",null);
         OAMessageLovInputBean oalovinputbean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("ccustatus") ;
         oalovinputbean.setValue(pageContext,"INPROGRESS");
         String userName = pageContext.getUserName();
          System.out.println("User NAme is :" + userName);
          OAMessageTextInputBean pUserId = (OAMessageTextInputBean)webBean.findChildRecursive("item32");
          pUserId.setValue(pageContext,userName);
          OAMessageTextInputBean pchangedby =  (OAMessageTextInputBean)webBean.findChildRecursive("item34");
          pchangedby.setValue(pageContext,userName);
          if((("on").equals(pageContext.getParameter("rrchkbox"))))
                  String whereclause1=(String)pageContext.getTransactionValue("whereclause");
                  String workordnum=(String)pageContext.getTransactionValue("workordnum");
                  String rrnum =(String)pageContext.getTransactionValue("rrnum");
                  String ponum =(String)pageContext.getTransactionValue("ponum");
                  System.out.println("whereclause test1"+whereclause1);
                  String status=pageContext.getParameter("ccustatus");
                  System.out.println("DEBENDRA LINE STATUS:" + status);
                  Serializable param[] = {whereclause1,workordnum,rrnum,ponum};        
                           // am.invokeMethod("getSearchData1",param);
                           // am.invokeMethod("checkSelectedrow",param);       
                 Serializable vcnt =  am.invokeMethod("processPOData",param);  
    Below code written in AM:
    public void InsertRecord()
            XXDPECONTAINERVOImpl vo = getXXDPECONTAINERVO1();
            vo.setMaxFetchSize(0);
            XXDPECONTAINERVORowImpl row = (XXDPECONTAINERVORowImpl)vo.createRow();
            oracle.jbo.domain.Number empNum = (oracle.jbo.domain.Number)getOADBTransaction().getSequenceValue("XXDPE_CONTAIN_SEQ");
            row.setContainerizationId(empNum);
            vo.insertRow(row);
            row.setNewRowState(row.STATUS_INITIALIZED);
    Please help me out.

    hi,
    PR() will be called whenever your page will load, so the number of times you will load your page all the time your PR will be called and it will call the AM method.
    otherwise put some condition and call the insert method from your PR.
    Regards
    Mahesh

  • Problem with ActionListener firing multiple times

    I have a GUI class, GUIView, with a no-arg constructor and a static getInstance() method.
    The GUI class has a JButton called btnB1 with a method:
         void addB1Listener(ActionListener al){
              btnB1.addActionListener(al);
         }The Controller class has an instance of the GUI and the Model.
    The Controller has a constructor which assigns a new ActionListener to the JButton from the GUI.
    private GUI m_gui;
         FTController(GUIView view){
              m_gui = view;
              m_gui.addButtonListener(new AddButtonListener());
         }The Controller has an inner class:
    class AddButtonListener implements ActionListener{
              @Override
              public void actionPerformed(ActionEvent e) {
                          // do stuff
    }The model has a constructor which accepts a GUIView.
    My main method setups instances of the objects:
         private GUIView view;
         private Model model;
         private Controller controller;
         public static void main(String [] args){
              view = GUIView.getInstance();
              model = new Model(view);
              controller = new Controller(view);
         }This action listener for btnB1 is firing multiple times, but I don't understand why.
    Edited by: user10199598 on Jan 9, 2012 2:56 PM

    Here is the actual Controller class
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.IOException;
    import javax.swing.JOptionPane;
    import com.esri.arcgis.carto.FeatureLayer;
    import com.esri.arcgis.carto.IActiveView;
    import com.esri.arcgis.carto.Map;
    import com.esri.arcgis.interop.AutomationException;
    public class FTController{
         private FTView m_arraView;
         private FTModel m_arraModel;
         private Map m_map;
         FTController(FTView view, FTModel model, Map map){
              m_arraView = view;
              m_arraModel = model;
              m_map = map;
              m_arraView.addPointListener(new AddPointListener());
              m_arraView.addExitListener(new AddExitListener());
              m_arraView.addResetListener(new AddResetListener());
         public FTView getM_arraView() {
              return m_arraView;
         // Inner class used as the ActionListener for the btnAddPoint in FTView
         class AddPointListener implements ActionListener {
              @Override
              public void actionPerformed(ActionEvent e) {
                   FeatureLayer fl = (FeatureLayer) m_arraModel.getLayerByName("arra_field_teams", m_map);
                   try {
                        // Start the process to add a new feature point
                        m_arraModel.addPoint(fl, (IActiveView) m_map.getActiveView());
                        // Reset and dispose of the ARRA Field Teams form.
                        m_arraView.getCboTeam().setSelectedIndex(0);
                        m_arraView.getCboAgency().setSelectedIndex(0);
                        m_arraView.getTxtLatitude().setText("");
                        m_arraView.getTxtLongitude().setText("");
                        m_arraView.getTxtGridL().setText("");
                        m_arraView.getTxtGridN().setText("");
                        m_arraView.getTxtQuadrant().setText("");
                        m_arraView.getFtf3IC().setText("0.002");
                        m_arraView.getFtf3FC().setText("0.002");
                        m_arraView.getFtf3IO().setText("0.002");
                        m_arraView.getFtf3FO().setText("0.002");
                        m_arraView.getFtfAgxCartridge().setText("0.000");
                        m_arraView.getFtfBGCM().setText("50.000");
                        m_arraView.getFtfBGURHR().setText("0.002");
                        m_arraView.getTxtTimeOfReading().setText("");
                        m_arraView.dispose();
                        // Refresh the map window
                        m_map.getActiveView().refresh();
                   } catch (AutomationException e1) {
                        e1.printStackTrace();
                   } catch (IOException e1) {
                        e1.printStackTrace();
         } // end AddPointListener
         // Inner class used as the ActionListener for the btnExit in FTView
         class AddExitListener implements ActionListener{
              @Override
              public void actionPerformed(ActionEvent e) {
                   m_arraView.getCboTeam().setSelectedIndex(0);
                   m_arraView.getCboAgency().setSelectedIndex(0);
                   m_arraView.getTxtLatitude().setText("");
                   m_arraView.getTxtLongitude().setText("");
                   m_arraView.getTxtGridL().setText("");
                   m_arraView.getTxtGridN().setText("");
                   m_arraView.getTxtQuadrant().setText("");
                   m_arraView.getFtf3IC().setText("0.002");
                   m_arraView.getFtf3FC().setText("0.002");
                   m_arraView.getFtf3IO().setText("0.002");
                   m_arraView.getFtf3FO().setText("0.002");
                   m_arraView.getFtfAgxCartridge().setText("0.000");
                   m_arraView.getFtfBGCM().setText("50.000");
                   m_arraView.getFtfBGURHR().setText("0.002");
                   m_arraView.getTxtTimeOfReading().setText("");
                   m_arraView.dispose();
         } // end AddExitListener
         // Inner class used as the ActionListner for the btnReset in FTView
         class AddResetListener implements ActionListener{
              @Override
              public void actionPerformed(ActionEvent e) {
                   FeatureLayer fl = (FeatureLayer) m_arraModel.getLayerByName("field_teams", m_map);
                   try {
                        // Actually, "Reset" is deleting all features from the shapefile, poor choice of labels.
                        m_arraModel.resetFeatures(fl, (IActiveView) m_map.getActiveView(), (Map) m_map);
                        // Refresh the map window
                        m_map.getActiveView().refresh();
                   } catch (AutomationException e1) {
                        e1.printStackTrace();
                   } catch (IOException e1) {
                        e1.printStackTrace();
    }Here is where the application starts:
    import java.awt.event.MouseEvent;
    import java.io.IOException;
    import java.text.DecimalFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    import com.esri.arcgis.addins.desktop.Tool;
    import com.esri.arcgis.arcmap.Application;
    import com.esri.arcgis.arcmapui.IMxDocument;
    import com.esri.arcgis.arcmapui.MxDocument;
    import com.esri.arcgis.carto.IActiveView;
    import com.esri.arcgis.carto.IFeatureLayer;
    import com.esri.arcgis.carto.Map;
    import com.esri.arcgis.framework.IApplication;
    import com.esri.arcgis.geodatabase.Feature;
    import com.esri.arcgis.geodatabase.IFeatureClass;
    import com.esri.arcgis.geometry.Point;
    import com.esri.arcgis.interop.AutomationException;
    public class FTTool extends Tool {
         private IApplication app;
         private IActiveView av;
         private IMxDocument mxDocument;
         private Map map;
         private FTView arraView;
         private FTModel model;
         private FTController controller;
         private int left;
         private int top;
          * Called when the tool is activated by clicking it.
          * @exception java.io.IOException if there are interop problems.
          * @exception com.esri.arcgis.interop.AutomationException if the component throws an ArcObjects exception.
         @Override
         public void activate() throws IOException, AutomationException {
         @Override
         public void init(IApplication app) throws IOException, AutomationException {
              this.app = app;
              try {
                 try {
                        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                   } catch (ClassNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (InstantiationException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalAccessException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (UnsupportedLookAndFeelException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   // Initialize our map document, map and active view
                   mxDocument = (IMxDocument)app.getDocument();
                   av = mxDocument.getActiveView();
                   map = (Map)mxDocument.getMaps().getItem(0);
                   // Get an instance of the ARRAView JFrame, and setup the model and controller for this tool add-in
                   arraView = FTView.getInstance();
    //               arraView.addWindowListener(arraView);
                   // Set up the model and controller objects
                   model = new FTModel(arraView);
                   controller = new FTController(arraView, model, map);
              } catch (AutomationException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
         @Override
         public void mousePressed(MouseEvent mouseEvent) {
              super.mousePressed(mouseEvent);
              // Cast IMxDocument into MxDocument so we can get the Parent which returns an Application
              MxDocument mxd = (MxDocument)mxDocument;
              Application application;
              // Create an Application object so we can get the left and top properties of the window
              //  so we can position the Field Teams GUI.
              try {
                   application = new Application(mxd.getParent());
                   left = application.getLeft() + 75;
                   top = application.getTop() + 105;
              } catch (IOException e2) {
                   e2.printStackTrace();
              try {
                   // Call the model to convert the screen coordinates to map coordinates and project the point to WGS_1984
                   Point p1 = new Point();
                   p1.putCoords((double)mouseEvent.getX(), (double)mouseEvent.getY());
                   Point p2 = (Point) model.getMapCoordinatesFromScreenCoordinates(p1, av);
                   Point point = (Point)model.handleToolMouseEvent(mouseEvent, av);
                 // Format the decimal degrees to six decimal places
                   DecimalFormat df = new DecimalFormat("#.######");
                   // Assign the point2 values to double
                   double x = point.getX();
                   double y = point.getY();
                   // Set the text of the lat/long fields.
                   arraView.getTxtLatitude().setText(df.format(y));
                   arraView.getTxtLongitude().setText(df.format(x));
                   // Set the Time of Reading text field
                   Date now = new Date();
                   SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
                   arraView.getTxtTimeOfReading().setText(sdf.format(now).toString());
                   // Determine whether the mouse click point intersects the arra_grid_quad.
                   //  If so, iterate over that feature cursor to update the gridl, gridn and quadrant fields...
                   IFeatureLayer featLayer = (IFeatureLayer) model.getLayerByName("arra_grid_quads", map);     
                   IFeatureClass featClass = featLayer.getFeatureClass();
                   Feature iFeat = (Feature) model.queryArraGridQuads(featClass, p2);
                   if(iFeat != null){
                        // Fill in the grid and quadrant values if there are any.
                        String gridl = (String) iFeat.getValue(iFeat.getFields().findField("GRID_L"));
                        String gridn = (String) iFeat.getValue(iFeat.getFields().findField("GRID_N"));
                        String quadrant = (String) iFeat.getValue(iFeat.getFields().findField("QUADRANT"));
                        arraView.getTxtGridL().setText(gridl);
                        arraView.getTxtGridN().setText(gridn);
                        arraView.getTxtQuadrant().setText(quadrant);
                   } else {
                        // Revert values back to empty string after clicking in the grid, then outside of the grid.
                        arraView.getTxtGridL().setText("");
                        arraView.getTxtGridN().setText("");
                        arraView.getTxtQuadrant().setText("");
                   // Set the Field Team Readings form to visible, or redisplay it if it is already visible
                   arraView.setBounds(left, top, 325, 675);
                   arraView.setVisible(true);
              } catch (Exception e) {
                   e.printStackTrace();
         @Override
         public boolean deactivate() throws IOException, AutomationException {
              return super.deactivate();
         @Override
         public boolean isChecked() throws IOException, AutomationException {
              return super.isChecked();
         public FTView getArraView() {
              return arraView;
         public IApplication getApp() {
              return app;
         public Map getMap() {
              return map;
         public FTModel getModel() {
              return model;
    }Is this enough?
    Edited by: user10199598 on Jan 9, 2012 3:20 PM

  • CommandButton action method invoked multiple times in standalone OC4J

    Hi,
    We've developed an application in JDeveloper 10.1.3.3.0 (ADF Business Components version 10.1.3.41.57). In one page we have a commandButton with an action method:
    <af:commandButton action="#{MyBean.myActionMethod}"
    blocking="false"
    textAndAccessKey="#{nls['MY_LABEL']}"
    id="myButtonId" >
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.ResetBreadcrumbStackActionListener"/>
    </af:commandButton>
    This method is defined in a managed bean:
    public String myActionMethod() {
    /* some code */
    return "indexPage";
    There is a navigation-rule for outcome "indexPage". When we run our application in the JDeveloper embedded OC4J instance and click on the commandButton, the action method is invoked once and then the .jspx in the navigation-rule is navigated to.
    We deployed our application to a standalone OC4J instance. Both embedded and standalone OC4J have version: Oracle Containers for J2EE 10g (10.1.3.3.0) (build 070610.1800.23513)
    When we run our application in the standalone OC4J and click on the commandButton, the action method is repeatedly invoked in a seemingly infinite loop.
    We'd appreciate it if someone could shed some light on the matter. Please note that we cannot use <redirect /> in our navigation-rule for "indexPage" because in production we have an Oracle webcache server upstream of our OC4J. Users can only submit HTTPS requests to the webcache, which in turn forwards these requests as HTTP requests.
    Kind regards,
    Ibrahim

    Dear All,
    We'd really appreciate it if somebody would suggest some possible causes even if these might seem fare-fetched. Perhaps compare certain .jar files or something to that effect.
    Anything ????
    Thanks and regards,
    Ibrahim

  • Actionlistener initiated multiple times on a single click

    Hi!
    Well I have major problem with my ActionListener. basically I have this TreeSelectionListener now inside that I have initiated actionListeners for buttons. The idea is that JTree (implemented from the dom tree) can be selected and copied, pasted etc.. The whole procedure works for the first time but after that every time when I press the button say copy its selected that many number of times.
    E.g.: When I first initiated the JFrame I pressed copy ---> It was called once
    Second time on clicking the JButton (once) it called JButton twice
    Third time thrice and so on....
    I dont have a clue whats wrong with the code (BELOW).. There is a small bug or probably its the wrong approach..
    Thanks.. in advance for ur help
    -saddz
    instanceTree.addTreeSelectionListener(new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent ev)
    try
    ///////////////////////copy button's ActionListener/////////////////////
    copyNodeButton.addActionListener ( new ActionListener()
    public void actionPerformed(ActionEvent e)
    nodeSelected = (XMLProcessor.AdapterNode)instanceTree.
    getLastSelectedPathComponent();
    System.out.println ( "Copy used" ) ;
    if ( nodeSelected.isLeaf() )
    copiedNode = nodeSelected.getDomNodeReference();
    text.setText(copiedNode.getNodeValue());
    statusBar.setText ( "\"" + copiedNode.getNodeValue() + "\" copied" ) ;
    displaySelectedItem.setText ( copiedNode.getNodeValue() ) ;
    else
    copiedNode =nodeSelected.getDomNodeReference().cloneNode( true );
    text.setText(copiedNode.getNodeName() );
    statusBar.setText ( "\"" + copiedNode.getNodeName() + "\" copied" ) ;
    displaySelectedItem.setText ( copiedNode.getNodeName() ) ;
    copyNodeButton.removeActionListener(this);
    Other buttons for deletion, paste etc

    Hey bill,
    Well I wish I could do that.. the problem is -> I have to use the some tree selected components like nodeSelected on clicking of the button.. I wont be able to use them if I call the ActionListeners outside the TreeSelectionListener()
    Any other suggestions ?
    -saddz

  • Multiple times Issue of material against same Sub. con. PO

    Hi,
           I have one issue,  we have created one Sub contract PO, and we have done MB1B ref. to PO and Challan is created by one user,  and when another user comes he has also issue the material in MB1B against same PO and created Challan  even thpugh  the full PO qty. is transfer in first MB1B and challan,  so How to set error message for this onece the full qty. of material issue against one order next time when user try to issue material gainst same PO user should get the error message.
    regards,
      zafar

    It can be restricted to some extent  if child materials in BOM is batch activated.
    or
    Restrict p.o authorizatin to single user,he should lock p.o line items once materials are issued using challan.
    Since there is no control in MB1B/Challan creation until material is goods receipted.

  • ESB invokes BPEL multiple times

    Hi All,
    I am facing an issue with ESB.
    I have registered an ESB which is calling a synchronous process.
    When I am initiating this ESB the same BPEL process is invoked multiple time and none of the BPEL instance has faulted.
    Like:
    Initiate ESB -&gt; invokes BPEL_Process Instance1
    invokes BPEL_Process Instance2 and so on. Please notice that Instance1 has not faulted.
    I want my ESB to call BPEL_Process only once if its not faulting.
    Any pointer to this will be of great help.
    Thanks & Regards,
    Shanty

    Hi,
    I have not used any adapter in any of my BPEL or ESB process.
    I am calling the ESB from a BPEL Process which in turn call another BPEL Process.
    i.e. BPEL_Process1-->ESB-->BPEL_Process2
    There is no fault thrown by any of the process but still BPEL_Process2 is invoked multiple times by ESB.
    Thanks & Regards,
    Shanty

  • ESB invokes BPEL multiple time

    Hi All,
    I am facing an issue with ESB.
    I have registered an ESB which is calling synchronous process.
    When I am initiating this ESB the same BPEL process is invoked multiple time and none of its instance has faulted.
    Like:
    Initiate ESB -> invokes BPEL_Process Instance1
    invokes BPEL_Process Instance2 and so on. Please notice that Instance1 has not faulted.
    I require the ESB to invoke BPEL_Process only once if it is not faulting.
    Any pointer to this will be of great help.
    Thanks & Regards,
    Shanty

    Hi,
    I have not used any adapter in any of my BPEL or ESB process.
    I am calling the ESB from a BPEL Process which in turn call another BPEL Process.
    i.e. BPEL_Process1-->ESB-->BPEL_Process2
    There is no fault thrown by any of the process but still BPEL_Process2 is invoked multiple times by ESB.
    Thanks & Regards,
    Shanty

  • I am using Windows 7 Home Premium 64-bit OS.  I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installa

    I am using Windows 7 Home Premium 64-bit OS.I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installation process it gave me an error message that said: 
    Runtime error! 
    Program C:\Program Files\iTunes.exe
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I quit the installation, uninstalled iTunes and rebooted my computer.  I now receive a similar message with a slight difference:
    Runtime error! 
    Program C:\Program Files (x86)...
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I did not leave anything out from the error message.  It doesn't point to a specific file, it just ends with "(x86)..."  Every time I boot up my computer, this error message pops up on my desktop.
    How do I repair this issue?  I have found multiple suggested solutions but am unsure which one is the best, and I don't want to try a bunch of different things for fear I may make the problem worse.  I would like to try and fix this myself if possible but I need to know if that is really possible or if I need to take my computer to someone for repairs.  Any suggestions will be greatly appreciated!!

    Hi lustyln,
    I'm having a little trouble understanding all of what you are trying to explain. From what I can tell, it sounds like your PC has a lot of software problems and you want to know what is supposed to be there and what isn't.
    For reference, here are your product specifications:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01893242&lc=en&product=4043282
    To get your PC software back to how it was when it was first purchased, run a system recovery:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01867418&lc=en&product=4043282
    I hope this helps.
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • Problem when invoking a web service multiple times

    Hello,
    I have a java client which invokes an apache axis web service (deployed on an Oracle Application Server on a remote machine) multiple times.
    The client distributes the web service invokes among multiple threads, every thing goes well but after an average of 300 web service invokes (among all threads) ab exception is thrown from the client:
    java.net.SocketException: Unable to establish connection
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:11
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at standardwebservice.StandardWebserviceSoapBindingStub.getStandardWebserviceData(StandardWebserviceSoapBindingStub.java:225)
    at standardwebservice.StandardWebserviceProxy.getStandardWebserviceData(StandardWebserviceProxy.java:50)
    at main.VericalThread.run(VericalThread.java:65)
    Caused by: java.net.SocketException: Unable to establish connection
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:13
    ... 12 more
    Thread No. 1 Start for calling 1210ZD106MAT2AAxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.SocketException: Unable to establish connection
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Unable to establish connection
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:13
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:11
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at standardwebservice.StandardWebserviceSoapBindingStub.getStandardWebserviceData(StandardWebserviceSoapBindingStub.java:225)
    at standardwebservice.StandardWebserviceProxy.getStandardWebserviceData(StandardWebserviceProxy.java:50)
    at main.VericalThread.run(VericalThread.java:65)
    By the way, when I deploy the same web service on an oracle application server on a local machine (in same physical network), every thing goes well and this exception doesn't appear.
    By the way, I also tried a JAX-RPC web service and the same exception is thrown.
    So please can somebody give me a help.

    Hello,
    I have a java client which invokes an apache axis web service (deployed on an Oracle Application Server on a remote machine) multiple times.
    The client distributes the web service invokes among multiple threads, every thing goes well but after an average of 300 web service invokes (among all threads) ab exception is thrown from the client:
    java.net.SocketException: Unable to establish connection
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:11
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at standardwebservice.StandardWebserviceSoapBindingStub.getStandardWebserviceData(StandardWebserviceSoapBindingStub.java:225)
    at standardwebservice.StandardWebserviceProxy.getStandardWebserviceData(StandardWebserviceProxy.java:50)
    at main.VericalThread.run(VericalThread.java:65)
    Caused by: java.net.SocketException: Unable to establish connection
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:13
    ... 12 more
    Thread No. 1 Start for calling 1210ZD106MAT2AAxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.SocketException: Unable to establish connection
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Unable to establish connection
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:13
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:11
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at standardwebservice.StandardWebserviceSoapBindingStub.getStandardWebserviceData(StandardWebserviceSoapBindingStub.java:225)
    at standardwebservice.StandardWebserviceProxy.getStandardWebserviceData(StandardWebserviceProxy.java:50)
    at main.VericalThread.run(VericalThread.java:65)
    By the way, when I deploy the same web service on an oracle application server on a local machine (in same physical network), every thing goes well and this exception doesn't appear.
    By the way, I also tried a JAX-RPC web service and the same exception is thrown.
    So please can somebody give me a help.

  • I still cannot view flash players in firefox after uninstalling and reinstalling firefox and flash multiple times. how do i fix this issue perminantly?

    I can go into chrome without any issues and watch any video without any problem. the second i get into firefox nothing works. i have had this issue on and off for years. i really do not see why you cannot fix this if everybody else can. i have uninstalled and reinstalled firefox and flash player multiple times. nothing seems to work. I am truly getting really tired of this same problem year after year, i stay with firefox because you are privacy conscience and are being more so consistently. i do not know what other details to tell you other than this just keeps happening and it is making it very tough to do anything on firefox when i cannot use a simple thing such as flash player. as i said, if the other browsers can fix this i see no reason why firefox cannot year after year. i hope there is a simple fix for this problem because it has basically halted a lot of my work on the net as i will no longer use google or microsoft. thank you

    Firefox does not play videos. That is the job of the plugins.
    Security Issue: Update your Flash Player '''v16.0.0.305<br>https://www.adobe.com/products/flashplayer/distribution3.html'''
    If you have problems with current Shockwave Flash plugin versions then check this:
    * see if there are updates for your graphics drive drivers
    '''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
    * disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    '''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
    * disable hardware acceleration in the Flash plugin
    '''https://forums.adobe.com/thread/891337'''
    See also:
    * '''http://kb.mozillazine.org/Flash#Troubleshooting'''

  • Bridge issues:  Bridge does not open.  It can show multiple times in TaskBar but nothing to user

    Issue 1 Bridge does not open.  If you click on the application multiple times in trying to get it to load... it shows the app multiple times in the TASK BAR Manager. 

    Sounds like you may need to restart the computer Braswels.
    Try that and see if it resolves the issue.

Maybe you are looking for

  • Hard drive is full of "backups"

    I just happened to check my hard drive and it is almost full of "back ups." I just bought a new MacBook Pro 15" with 500 gigs of drive space. I haven't had this thing a week and my hard drive is being taken up with "back ups." I have a time machine a

  • Portlet backing file vs content backing file

    Hi, could someone explain the differences between a "portlet backing file" and a "content backing file". Both are properties available on a portlet. Thx Emmanuel

  • How to get utf-8 Chinese Characters from Oracle DB by EJB

    We have found that after disabling JIT in weblogic, the Chinese can be displayed correctly, otherwise, it doesn't work.How come this happens?

  • I can't publish photos to facebook anymore with Iphoto...

    I can't publish photos to facebook anymore using Iphoto...A small window opens requesting my FB email & password and to accept FB's terms. Once I add the info and hit "login" a message shows underneath saying: An unknown error occurred. Please try ag

  • Portege M750 tablet, buttons and fingerprint functions not working in win7

    I have installed win7 64 bit ("fresh install" on my M750-129) and i have also downloaded and installed all the newest drivers from toshiba website. the device manager shows no problem / drivers needed, and trhings like HDD protection work well. Howev