Iterator Binding + Attribute binding problem

I have created a SelectOneListbox and an associated attirute binding in my pagedef. When I try to access the changed value in my managed bean event handler method - I get a null object. However the index for the changed value is passed fine.
tempIter.getRowAtRangeIndex( index ) returns a null object.
I tried using attribute binding - that does not work either.
Managed bean:
public void productChange(ValueChangeEvent valueChangeEvent) {
// Add event code here...
BindingContainer bc = this.getBindings();
// get the selected department
DCIteratorBinding tempIter = (DCIteratorBinding) bc.get("TempIterator");
if ( tempIter != null ){
Object newVal= (Object)valueChangeEvent.getNewValue();
System.out.println("New Product value:"+newVal);
String ss = (String)newVal.toString();
Row rw = tempIter.getRowAtRangeIndex(Integer.parseInt(ss));
if ( rw!=null ) {
String[] attrs = rw.getAttributeNames();
//Object prodName = (Object) rw.getAttribute("ProdId");
System.out.println(" Attribute value:"+ attrs);
} else System.out.println(" Null row ");
//trying to get value from attribute binding
AttributeBinding prodIdBinding =
(AttributeBinding)getBindings().getControlBinding("TempId");
if ( prodIdBinding != null){
Object deptId = (Object)prodIdBinding.getInputValue();
if ( deptId != null)
System.out.println("Finally value:"+deptId.toString());
else
System.out.println("Cant access value for department id");
} else System.out.println("**********Product id binding is null");
Pagedef:
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="10.1.3.41.57" id="lov6PageDef" Package="view.pageDefs">
<parameters/>
<executables>
<iterator id="ProductViewIterator" RangeSize="-1" Binds="ProductView"
DataControl="SRTest1DataControl"/>
<iterator id="TempIterator" RangeSize="10" Binds="Temp"
DataControl="SRTest1DataControl"/>
</executables>
<bindings>
<table id="ProductView" IterBinding="ProductViewIterator">
<AttrNames>
<Item Value="ProdId"/>
<Item Value="Name"/>
<Item Value="Image"/>
<Item Value="Description"/>
</AttrNames>
</table>
<list id="TempTempId" IterBinding="TempIterator" StaticList="false"
ListOperMode="0" ListIter="ProductViewIterator">
<AttrNames>
<Item Value="TempId"/>
</AttrNames>
<ListAttrNames>
<Item Value="ProdId"/>
</ListAttrNames>
<ListDisplayAttrNames>
<Item Value="Name"/>
</ListDisplayAttrNames>
</list>
<attributeValues IterBinding="TempIterator" id="TempName">
<AttrNames>
<Item Value="TempName"/>
</AttrNames>
</attributeValues>
<methodAction id="displayProductValue"
InstanceName="SRTest1DataControl.dataProvider"
DataControl="SRTest1DataControl"
MethodName="displayProductValue" RequiresUpdateModel="true"
Action="999" IsViewObjectMethod="false"/>
<attributeValues IterBinding="TempIterator" id="TempId">
<AttrNames>
<Item Value="TempId"/>
</AttrNames>
</attributeValues>
</bindings>
</pageDefinition>

Frank,
When I try to obtain the row directly using the code below I get a class cast exception.
Row rw = prodIter.getRowAtRangeIndex(( (Integer)valueChangeEvent.getNewValue()).intValue());
javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.jbo.domain.Number
     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
     at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
     at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
     at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
     at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: oracle.jbo.domain.Number
     at Lov6.productChange(Lov6.java:49)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
     ... 28 more

Similar Messages

  • Content Presenter Iterator Binding Definition is invalid

    Hi,
    I am using jdeveloper version 11.1.1.6.0.
    My use case is I drag and dropped the content from content server on the page as a region (taskflow).
    <taskFlow id="doclibcontentpresenter1"
                  taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding"
                  Refresh="ifNeeded">
          <parameters>
            <parameter id="taskFlowInstId"
                       value="${'8e33ee57-9e3b-4fcf-8eeb-faada4c97591'}"/>
            <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
            <parameter id="datasource"
                       value="#{AfSplBlkActionBean.documentContentId}"/>
            <parameter id="templateCategory" value="${''}"/>
            <parameter id="templateView" value="${''}"/>
            <parameter id="maxResults" value="${''}"/>
          </parameters>
        </taskFlow>
         where value attribute is dynamic string formation to bring english or chinese content from the content server depending upon the current locale.
    like EN_TEST and ZH_TEST .
    Now there is also some script in my jspx page to show some of the region of the page to show selected divs.
    Randomly after some attempts but not regularly I got following exception what this exception means .What is solution to get rid out of this exception.
            <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
    oracle.jbo.InvalidObjNameException: JBO-25005: Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:573)
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:504)
         at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:683)
         at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:5048)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:120)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    I had this issue sometime ago and was directly related with the way of do you are navigating between this page and other pages.
    The problem is that the pageDef is not being read OK cause a problem of ADF Security filter in WebCenter Portal Application.
    In my case, i was in a environment SSO enabled (kerberos) and different ways to navigate in the same page (pprnav and goLink).
    Try change your navigation to af:commandLinks with pprnav. With this way you prevent the "random" fails of using goLinkPrettyUrl.
    PD: If you need a official explanation of this issue open a SR in Oracle My Support.
    Regards.

  • SRDemo do not handle ApplicationPoolExc on page visit with iterator binding

    I have a problem that I am able to reproduce in SRDemo as well. My goal is to be able to always present a user friendly
    message to users should database go down while they are surfing the site. In SRDemo, if I visit a page whose page definition has no iterator bindings, a user
    friendly message is presented to user if database is down. However, if I visit a page with iterator binding, an ApplicationPoolException stack trace is
    presented to user instead of a user friendly message.
    In the case of page with no iterator binding, the ApplicationPoolException is caught property in the SRDemoPageLifeCycle
    resulting in user friendly error presented to user.
    In the case of page with iterator binding, the ApplicationPoolException is not caught in the SRDemoPageLifeCycle and hence
    ApplicationPoolException stack trace is presented to user.
    For the working case of page with no iterator binding, the stack trace is as follows:
    [312] Created root application module: 'App.AppModule'
    [313] Locale is: 'en_US'
    [314] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [315] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [316] Creating a new pool resource
    [317] Trying connection/2: url='jdbc:oracle:thin:@192.168.1.101:1521:ORCL' ...
    [318] DBTransactionImpl.initTransaction: Login failed
    [319] java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    192.168.1.101:1521:ORCL
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:293)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at java.sql.DriverManager.getConnection(DriverManager.java:582)
         at java.sql.DriverManager.getConnection(DriverManager.java:154)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
         at ui.MyDCJboDataControl.beginRequest(MyDCJboDataControl.java:32)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    *     at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308)*
    *     at ui.frameworkExt.RSPageLifecycle.proactivelyWarnDemoUserIfConnectionNotSetupCorrectly(RSPageLifecycle.java:350)*
    *     at ui.frameworkExt.RSPageLifecycle.prepareModel(RSPageLifecycle.java:334)*
    *     at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)*
    *     at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)*
    *     at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)*
    *     at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)*
    *     at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)*
    *     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)*
    *     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)*
    *     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)*
    *     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)*
    *     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)*
    *     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)*
    *     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)*
    *     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)*
    *     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)*
    *     at ui.servlets.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:32)*
    *     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)*
    *     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)*
    *     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)*     at ui.servlets.gzip.GZIPFilter.doFilter(GZIPFilter.java:20)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    [320] A dead application module instance was detected
    [321] The application module instance was removed from the pool
    [322] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    For the non working case of page with iterator binding, the stact trace is as follows:
    [312] Created root application module: 'App.AppModule'
    [313] Locale is: 'en_US'
    [314] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [315] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [316] Creating a new pool resource
    [317] Trying connection/2: url='jdbc:oracle:thin:@192.168.1.101:1521:ORCL' ...
    [318] DBTransactionImpl.initTransaction: Login failed
    [319] java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    192.168.1.101:1521:ORCL
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:293)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at java.sql.DriverManager.getConnection(DriverManager.java:582)
         at java.sql.DriverManager.getConnection(DriverManager.java:154)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
         at ui.MyDCJboDataControl.beginRequest(MyDCJboDataControl.java:32)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    *     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)*
    *     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)*
    *     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)*
    *     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)*
    *     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)*
    *     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)*
    *     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)*
    *     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)*
    *     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)*
    *     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)*
    *     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)*
    *     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)*
    *     at oracle.adf.model.BindingContext.get(BindingContext.java:483)*
    *     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)*
    *     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)*
    *     at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)*
    *     at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)*
    *     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)*
    *     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)*     at ui.servlets.gzip.GZIPFilter.doFilter(GZIPFilter.java:20)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    [320] A dead application module instance was detected
    [321] The application module instance was removed from the pool
    [322] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    I am aware of the following link but I don't know how to handle the ApplicationPoolException in beginRequest method
    like Steve is refering to. Any idea? I am seeking a consistent solution to handle ApplicationPookException for both page modes with and without iterator
    bindings.
    Exception JBO-26061 (JDBC connection Error) not being handled by SRDemo
    I am using JDeveloper 10.1.3.2.
    Thanks

    Hi
    You can set a default in the item attributes. Just click on the item in the application builder page and scroll down until you see default. You can specify it in a number of ways defined by a drop down.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Iterator Binding Definition is invalid

    Hi,
    We have created a web portal and now when clicking on a particular module link sometimes it comes up with an error stating -
    Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
    also dis error doesnt come up everytime.. Could some1 help me out with this..
    Edited by: 985949 on Feb 4, 2013 4:28 AM

    I had this issue sometime ago and was directly related with the way of do you are navigating between this page and other pages.
    The problem is that the pageDef is not being read OK cause a problem of ADF Security filter in WebCenter Portal Application.
    In my case, i was in a environment SSO enabled (kerberos) and different ways to navigate in the same page (pprnav and goLink).
    Try change your navigation to af:commandLinks with pprnav. With this way you prevent the "random" fails of using goLinkPrettyUrl.
    PD: If you need a official explanation of this issue open a SR in Oracle My Support.
    Regards.

  • Default range size for iterator binding

    I noticed that the default range size for an iterator binding is 10. Is there a way to have no default? Right now I have to change it programatically by setting it to the value returned from the getEstimatedRowCount() method.

    I assume you are looking for a way to set the default range size at design time? Currently, there is no way to do this, but if you are looking for another solution at runtime, you can use
    getBindingContainer().findIteratorBinding(<IteratorName>).setRangeSize(num)
    for the component you are using the iterator in. For example, in a data page, this would mean overriding the DataPage base class.
    Hope this helps,
    Lynn Munsinger
    Java Tools Team

  • JComboBox binding problem or bug.

    I've a JClient app in wich I've a JCombo with standard LOV binding and setEditable(true) set.
    Clicking on that combo, sometime (but I wasn't able to understand when) it tries to set the description value into attribute and then throws an error.
    Debugging code I found that, in that situation the getSelectedItem() returns a String, but in normal situations it returns ViewRowImpl.
    Is it a bug into the model ?
    Is there any workaround ?
    TIA
    Tullio

    JDeveloper 9.0.3.1
    JavaSDK 1.4.2
    ViewObject vo = appModule.createViewObject("NameVO", "BusinesLogic.nameVO");
    jList.setModel(JUListSingleSelBinding.createNavigationBinding(panelBinding, jList, vo.getName(), null, vo.getName()+"Iter", new String[] {"Name"}, null));
    And this working - I see my list.
    But, in run mode methods
    jList.getSelectedValue()
    and
    jList.getModel().getElementAt(i)
    and others
    returning String :(
    In normal situation, this methods returning
    oracle.jbo.server.ViewRowImpl
    My be it's problem from
    [JDev 9.0.3.3] Bug in JUMultiAttrListCellRenderer ?
    and jdev903 working ONLY with jdk13 ???
    ... and jdev905 working ONLY with jdk14 ???

  • Read only inputText binding problem

    Hi all
    I have a h:inputText like below
    <h:inputText readonly="true" id="txtStudentId" value="#{student.id}"/>then using a Java script I change the value of this textbox.
    But when retrieve the value from backbean It's not changed. The problem is associated with read only attribute.
    When it's not read only it works.
    Can some one explain this?

    Thank You BALUSC, Your solution worked!
    Nice idea
    JSP
    <script>
                            function changeTest()
                                document.getElementById("form1:textField1").value = "text Changed";
                                document.getElementById("form1:hidden1").value = "text Changed";
                                return false;
    </script>
    <webuijsf:form id="form1">
                            <h:inputText id="textField1" readonly="true" />
                            <h:inputHidden binding="#{ReadOnly_inputField.hiddenField}" id="hidden1" />
                            <h:commandButton id="button1" value="Channge Value" onclick="return changeTest();"/>
                            <h:commandButton action="#{ReadOnly_inputField.button2_action}" id="button2"value="Check Value"/>
                        </webuijsf:form>ReadOnly_inputField.java
    private HtmlInputHidden hiddenField;
        public HtmlInputHidden getHiddenField()
            return hiddenField;
        public void setHiddenField(HtmlInputHidden hiddenField)
            this.hiddenField = hiddenField;
        public String button2_action()
            System.out.println("This is the value : "+ hiddenField.getValue());
            return null;
        }And your Blog. It's really really helpful.

  • Binding Problem in web dynpro ABAP

    Hi
    I have problem in table binding. I have created node and added attributes from ztable. The node is binded with the view table. Now my requirement is one field should be drop down in table and it should be binded with one attribute but that binded attribute is indifferent table. Is it possible? .. I have tried this but dump occured. Please guide me to get this.
    Thanks
    Indiranjithn

    nope, i don't have an ebook for WD.. but if you explain your issue, someone here may be able to help.

  • Binding problem when using NVL function

    Hello.
    I have a problem with my ADF application (11.1.2.1).
    I use VO with a query (database view) - pivot table.
    If i use where clause like table.attr = :p_attr, everything works ok.
    If i use where clause like table.attr = NVL (:p_attr, table.attr) and put a value in :p_attr (executeWithParam) , query executes as if there is a null value.
    Debug console shows:
    Binding null of type 12 for "p_attr".
    Query with NVL works ok in sqldeveloper.
    But in jdev, as if the table attribute isn't bind to bind variable.
    If a just remove NVL function, it works.
    Any idea?
    Thanks.
    Regards
    Edited by: DejanH on Oct 6, 2011 1:32 PM

    Hello.
    I enter 50 in p_depart parameter and click "ExecuteWithParams". Query is executed and shows records (pivot table).
    But if i look at the log window i see that an empty query was executed first.
    <OracleSQLBuilderImpl> <bindParamValue> [427] Binding null of type 12 for "p_depart"
    <OracleSQLBuilderImpl> <bindParamValue> [428] Binding null of type 12 for "p_job"
    <OracleSQLBuilderImpl> <bindParamValue> [429] Binding null of type 12 for "p_hire_od"
    <OracleSQLBuilderImpl> <bindParamValue> [430] Binding null of type 12 for "p_hire_do"
    Then, it is autoexecuted for the second time with parameter set to the value i inserted.
    <OracleSQLBuilderImpl> <bindParamValue> [470] Binding param "p_depart": 50
    <OracleSQLBuilderImpl> <bindParamValue> [471] Binding null of type 12 for "p_job"
    <OracleSQLBuilderImpl> <bindParamValue> [472] Binding null of type 12 for "p_hire_od"
    <OracleSQLBuilderImpl> <bindParamValue> [473] Binding null of type 12 for "p_hire_do"
    The same happens in our query. But ours is much more complex and it takes a lot of time to first execute "empty" query and then with inserted parameter.
    We cannot use it.
    It looks like bug.
    Regards
    Edited by: DejanH on Oct 11, 2011 6:52 AM

  • Dynamic UI Binding Problem

    Hi ,
       In my application I need to generate Dynamic TextView. I am having node Details and its attribute Name of type String.
    Node >  Details              (Cardinality 0-n)
    Name  (type String Value Attribute)
    I want to generate textview dynamically for number of time as size of Node Details. I have written following code to generate TextView , but i am not getting how to bind Name attribute to Dynamically genarated TextView. Can any one plz help me writing code for binding???
    Thnx in advance.
    Kavita
    IWDTransparentContainer container =(IWDTransparentContainer)view.getElement("RootUIElementContainer");
    for(int i=0;i<wdcontext.nodeDetails().size();i++)
    IWDInputField inputfield = (IWDInputField)view.createElement(IWDInputField.class, "InputField"+i);
    // Binding ??????
    container.addChild(inputfield);

    Hi Kavitha,
    //Iterate to get the attributes
           Iterator itr1 = wdContext.nodeDetails().getNodeInfo().iterateAttributes();
           IWDTransparentContainer container = (IWDTransparentContainer)view.getElement("<Your Root Container>");
           while(itr1.hasNext())
           //  Input Field for each attribute
           IWDInputField input= (IWDInputField)view.createElement(IWDInputField.class,null);
           IWDAttributeInfo iWDInfo = (IWDAttributeInfo) itr1.next();
           input.bindValue("Details."+iWDInfo.getName());
           //Add to the container
           container.addChild(input);
    Regards
    Ayyapparaj

  • Dynamic partnerlink binding problem

    I am trying to create a dynamic partnerlink as in http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html .
    When I am trying to create this with LoanService.wsdl, it works correctly for me but when I try to create it for my own service, it is showing up some errors which I fail to understand.
    I have three services service1,service2,service3.
    I have created another web service called CallPartnerService in which I have imported the service.wsdl to create the partnerlink. After that I am following the instructions in the cookbook to create the create the partner reference variable, copy the partnerReference variable into the Service partner link etc
    However, when I run it, I get the following error on invoking the partner service.
    Cannot find binding operation.
    in WSDL located at "file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_CallPartnerService_1.0_a8cb48601311c51027d61ee288d499df.tmp/Service.wsdl", cannot find a binding operation of "process", portType "{http://xmlns.oracle.com/}Service"
    Please make sure the WSDL is valid.
    Any suggestions
    This is the structure of my Service.wsdl.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="Service"
    targetNamespace="http://xmlns.oracle.com/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:tns="http://xmlns.oracle.com/"
    xmlns:client="http://xmlns.oracle.com/Service"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing"
    schemaLocation="http://CWSEOW01:8888/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/Service"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <!--     <element name="ServiceProcessRequest" type="ServiceProcessRequestType"/>
    <element name="ServiceProcessResponse" type="ServiceProcessResponseType"/> -->
         <element name="ServiceProcessRequest">
              <complexType >
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="ServiceProcessResponse">
              <complexType >
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
    </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="RelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    <message name="MessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    <message name="ReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
         <message name="ServiceRequestMessage">
              <part name="payload" element="client:ServiceProcessRequest"/>
         </message>
         <message name="ServiceResponseMessage">
              <part name="payload" element="client:ServiceProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <portType name="Service">
              <operation name="process">
                   <input message="tns:ServiceRequestMessage" />
                   <output message="tns:ServiceResponseMessage"/>
              </operation>
         </portType>
    <binding name="ServiceBinding" type="tns:Service">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="process">
    <soap:operation soapAction="tns:process" style="document"/>
    <input>
    <soap:header message="tns:MessageIDHeader" part="MessageID" use="literal" />
    <soap:header message="tns:ReplyToHeader" part="ReplyTo" use="literal" />
    <soap:body use="literal"/>
    </input>
         <output>
    <soap:body use="literal"/>
         </output>
    </operation>
    </binding>
    <!--binding name="ServiceCallbackBinding" type="client:ServiceCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="onResult">
    <soap:operation soapAction="onResult" style="document"/>
    <input>
    <soap:header message="tns:RelatesToHeader" part="RelatesTo" use="literal" required="false"/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding-->
    <service name="Service1">
    <port name="ServiceCallbackPort" binding="tns:ServiceBinding">
    <soap:address location="http://CWSEOW01:8888/orabpel/default/Service1"/>
    </port>
    </service>
    <service name="Service2">
    <port name="ServiceCallbackPort" binding="tns:ServiceBinding">
    <soap:address location="http://CWSEOW01:8888/orabpel/default/Service2"/>
    </port>
    </service>
    <service name="Service3">
    <port name="ServiceCallbackPort" binding="tns:ServiceBinding">
    <soap:address location="http://CWSEOW01:8888/orabpel/default/Service3"/>
    </port>
    </service>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="Service">
              <plnk:role name="ServiceProvider">
                   <plnk:portType name="tns:Service"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>

    Hi Kavitha,
    //Iterate to get the attributes
           Iterator itr1 = wdContext.nodeDetails().getNodeInfo().iterateAttributes();
           IWDTransparentContainer container = (IWDTransparentContainer)view.getElement("<Your Root Container>");
           while(itr1.hasNext())
           //  Input Field for each attribute
           IWDInputField input= (IWDInputField)view.createElement(IWDInputField.class,null);
           IWDAttributeInfo iWDInfo = (IWDAttributeInfo) itr1.next();
           input.bindValue("Details."+iWDInfo.getName());
           //Add to the container
           container.addChild(input);
    Regards
    Ayyapparaj

  • Create Binding Problem

    Hi,
    I am trying to bind the context of a table under the ResultView that I have created. This table is supposed to show a list of sales orders with two columns show the lists in numbers like Sales Order Number and Document Date. The problem is it requires "String Attribute" when I tried to create the binding for the table. How can I solve this problem? I would greatly appreciate your help.
    Regards,
    -Napapdol

    Hi Napadol,
    Can you please provide the strucutre of your context node to which you are trying to bind table?
    Plovide data type also for the context attributes under this node.
    You can follow this steps, if you want to show context node elements in the table:
    1. Goto the layout of the view.
    2. In outline tab, Right click on the transperant container or any other container under which you want to show this table.
    3. Select appliy template.
    4. Select table.
    5. Now, select context node which you want to bind with table.Also select attributes available under this context node which you want to show in table.
    6. click on finish.
    It will create that table with binding also.
    Let me know if you are finding somthing else or getting any problems with this.
    Regards,
    Bhavik

  • CFGRID bind problem

    Hi, I have a problem with binding fields to a cfgrid.
    When I'm populating my grid using the query attribute the
    binding is not working. The problem is the accessing a row's cell;
    myGrid.selectedItem object exists but when I use
    myGrid.selectedItem.columnname nothing returns.
    Howerever when I use the same code and I populate the grid
    manually or via a loop in cfgridrow the code is working. (commented
    in code)
    Now the second option seems to be a solution but...
    when a db column is empty cf is not populating the column
    with an empty value but just takes the next data available from the
    list in the data attribute
    Anyone experienced this anoying problem before and could help
    me with a solution ?
    Thanks for your help!
    Here the code:
    [hi]
    <cfgrid query="query" name="myGrid" rowheaders="no"
    selectmode="row">
    <cfgridcolumn name="lname" header="Lastname" />
    <cfgridcolumn name="fname" header="Firstname" />
    <!--- <cfloop query="query">
    <cfgridrow data="#lname#,#fname#" />
    </cfloop> --->
    </cfgrid>
    <cfinput type="text" name="firstName" label="First Name:"
    bind="{myGrid.selectedItem.fname}" />
    [/hi]
    PS. forgot to mention that we're running on a CF 7.0.1

    This was a tricky one for me also, but it is a simple fix.
    When using a query, the myGrid.selecteItem.columnName is case
    sensitive, and it HAS to match the column name in your query SELECT
    statement.
    Look at the code below for an example.
    If you are using a SELECT * SQL statement, then your grid
    selectedItem column name HAS to match your DB spelling.
    <cfquery name="x"
    datasource="#application.datasource#">
    SELECT
    Orderid, CustomerID <!--- case of column names has to
    match your selectedItem column name --->
    FROM Orders
    </cfquery>
    <cfform name="y" format="flash">
    <cfgrid query="x" name="myGrid" rowheaders="no">
    <cfgridcolumn name="ORDERID" header="Order" /><!---
    notice all uppercase in name, matches --->
    <cfgridcolumn name="CUSTOMERID" header="Customer" />
    </cfgrid>
    <cfinput type="text" name="cID" label="Customer"
    bind="{myGrid.selectedItem.CustomerID}"/>
    <!--- notice the case matches SELECT statement
    Changing the case of any letter in the bind or in the select
    sql will cause your binding to not work.
    --->
    </cfform>

  • 10g Signal Handlers and Dynamic Binding Problems on Mac OS X

    I have the following env vars set up, and it seems the client libs show a deadl\
    ock behavior post installation. SqlPlus exhibits a similar problem with 10g cli\
    ent libs on the Mac, since it simply hangs for 20 secs before returning the pro\
    mpt. I have G4 10.3.4 Mac, and 3.3 (1640) gcc, and still haunted by this probl\
    em...
    ORACLE_HOME=/Users/Oracle/10g/orahome
    ORACLE=ORACLE_HOME/bin
    ORACLE_BASE=/Users/Oracle/10g
    DYLD_LIBRARY_PATH=/Users/Oracle/10g/orahome/lib
    a) ktrace sqlplus user/pass@db
    b) kdump -R | grep sigaction gives:
    885 sqlplus 5.877734 CALL sigaction(0x2,0xbffff500,0xbffff570)
    885 sqlplus 0.001252 RET sigaction 0
    885 sqlplus 0.002032 CALL sigaction(0xd,0xbfff90f0,0xbfff9160)
    885 sqlplus 0.001831 RET sigaction 0
    885 sqlplus 0.001293 CALL sigaction(0x12,0xbfffb6e0,0xbfffb750)
    885 sqlplus 0.001234 RET sigaction 0
    885 sqlplus 0.001551 CALL sigaction(0x12,0xbfffbda0,0xbfffbe10)
    885 sqlplus 0.001401 RET sigaction 0
    885 sqlplus 0.001331 CALL sigaction(0x2,0xbfffd090,0xbfffd100)
    885 sqlplus 0.001333 RET sigaction 0
    This shows a 5.9 sec delay for the first sigaction, and a full response is received some long 20 secs later on the prompt.
    Some feedback from engineering regarding this issue since the 9i release has been:
    "This is a known problem with signal handlers and the lazy binding we have on Mac OS X. A small change to how Oracle library's signal
    handler is installed using _signal_nobind(3) and
    _dyld_lookup_and_bind_fully(3) could help to solve this problem.
    The problem that we are trying to avoid is a possible dead lock from
    code that could be called in a signal handler when the thread that
    gets the signal is in the middle of lazy binding a symbol. So when a
    signal handlers installed the default action is to cause it to be
    bound fully. This is made very expensive by the mismatch of the
    interfaces to signal(3) and segvec(2) like routines which are passed
    an address and the dynamic linker that wants a global symbol name. So the end result is to call the routine _dyld_bind_fully_image_containing_address(3) with the address of the signal handler to be bound. Which binds everything in the image (in this case the Oracle shared library).
    We have had problems like this before. For example: [This is what is
    done in usleep(3)]
    usleep()
    /* code removed for this example */
    setvec(vec, sleepx);
    #ifdef __DYNAMIC__
    _dyld_lookup_and_bind_fully("_usleep", NULL, NULL);
    (void) _sigvec_nobind(SIGALRM, &vec, &ovec);
    #else
    (void) sigvec(SIGALRM, &vec, &ovec);
    #endif
    static void sleepx(int unused)
    ringring = 1;
    The use of _sigvec_nobind(2) (or _signal_nobind(3) ) and the use of
    _dyld_lookup_and_bind_fully(3) will cause just the needed symbols used by the signal handler. "
    It seems this issue hasn't been resolved in the most recent 10g client release.Can anyone shed some light one this issue?
    For better demonstration, here is a series of steps we took here:
    sigaction.c - C file produced by "proc sigaction.pc"
    sigaction.pc - ProC source file
    gcc_sig* - Shell script to compile sigaction.c
    ktrace.sigtest - raw ktrace output from running sigtest
    ktrace.sqlplus - raw ktrace output from running sqlplus
    kdump.sqlplus - output of kdump -R on ktrace.sqlplus
    kdump.sigtest - output of kdump -R on ktrace.sigtest
    sigaction.lis - auxiliary file produced by proc
    1. sigaction.pc:
    #include <stdio.h>
    #include <stdlib.h>
    #include "/Users/oracle/10g/orahome/precomp/public/sqlca.h"
    int main(int argc, char **argv) {
    char user[30], passwd[30], db[40];
    char con_str[100], date[10], *icp;
    strcpy(user, "XXXXXXXX");
    strcpy(passwd, "XXXXXXXX");
    strcpy(db, "db_name");
    sprintf(con_str,"%s/%s@%s",user,passwd,db);
    EXEC SQL CONNECT :con_str;
    EXEC SQL SELECT SYSDATE INTO :date FROM DUAL;
    printf("SYSTEM DATE = %s\n",date);
    EXEC SQL COMMIT RELEASE;
    2. gcc_sig:
    #!/bin/sh
    CFLAGS="-I$ORACLE_HOME/precomp/public -I/usr/include"
    CFLAGS="$CFLAGS -I$ORACLE_HOME/lib -L$ORACLE_HOME/lib"
    ORALIBS="-L$ORACLE_HOME/lib -lclntsh $ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o"
    CC="gcc -g"
    PROG=$1
    OUTPUT=$2
    $CC $CFLAGS $PROG -o $OUTPUT $ORALIBS
    3. Generate the rest of the output files for your viewing of the results based on the commands provided above.
    Thanks!

    It's a delay, not a deadlock, that originatesfrom the way Oracle
    libraries handle dymaic bindings.to "dynamic" bindings. Maybe prebinding could help ?
    export DYLD_PREBIND_DEBUG=1ronr@[email protected]:/Users/ronr
    sqlplus "/ as sysdba"dyld: sqlplus: prebinding disabled because library: /Users/oracle/product/server/10.1/lib/libsqlplus.dylib got slid
    dyld: in map_image() determined the system shared regions ARE used
    dyld: 2 two-level prebound libraries used out of 5
    Ronald
    http://homepage.mac.com/ik_zelf/oracle/

  • Binding Problem

    Hi,
    My first step in workflow is a background step which gets first level and second level approvers.
    I need to determine the approvers and pass back to the workflow.
    When I execute the method in SWO1 the approvers are returned  properly..
    When I pass it back to Workflow the workflow container is not getting filled.
    All the names are same in Task ,Workflow ,Method and all are in capital letters.
    I have done the binding also but values don’t reflect back in workflow.
    The container is multiline and it holds max 4 values.
    Its of type WFSYST-INITIATOR.
    This happens only for ZWF_USER2(It holds second level approvers ).
    I have another element ZWF_USER1 where its of same type and the values are filled.
    I have even refreshed the buffers and logged of and executed it.
    Has anyone faced a similar kind of issue?

    hi,
    Check out the parameters attributes at tha workflow level and BO level.
    Look out for the import and export check box.
    I hope you are using macro instructions to add these values.
    Intialise the container properly and do it.
    Sometimes its works when you recreate the container simply and do the binding once again.Reset the buffer too.workflow si quite weird

Maybe you are looking for

  • I cannot install itunes on windows 7

    I have been trying for some time now to install itunes on windows 7 so that I can put music on my ipod touch.  I am told by the Apple shop that I must have itunes to put music on although when I first bought my Ipod touch (it is quite old) I was able

  • What is a 'Library Unit'?

    Can somebody point me at a definition please? this is in the context of DBMS_PROFILER. If only captures Library Units which a procedure is. But I want to capture SQL built and executed via a client application (we are using ODP.Net). Basically do wha

  • A popup that wants to scan and I don't know where it came from

    Every day when I come back to my desktop when I had the computer on "sleep" it has this pop up about how I should scan my computer for viruses. " Pro optimizer" or something like that wants to do the scan. Should I scan with an unknown scan pop up? I

  • Preparing files for export to digital editions

    Hi, Is there any documentation for best practices for creating documents to be exported to Digital Editions? I would like to retain as much bold and italic, bullets, have some spacing control, etc. In other words, would love to keep post xml manipula

  • [solved] No sound with AMD Fusion C-60

    I have a freshly-installed headless server with a Fusion C-60 APU (http://www.newegg.com/Product/Product.a … 6813131843). It's mostly a NAS box, but I'm also trying to set it up to run MPD. However, I apparently have no sound at all: sir ~ # aplay -l