NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel

I used JDev 10.1.3.0.4 to build an ADF Swing app (swing app in one project, ADF BC components in another project); which run fine from within JDev in the embedded OC4J environment.
I am trying to create a simple jar file to execute my application.
I followed the help descriptions for creating a deployment profile, and added an ADFRuntime file group with all libraries defined in the project properties. The files displayed in the profile's ADFRuntime file group include the expected jars; including adfm.jar. The resulting application jar file contains the jars listed in the profile, but when trying to execute the jar, an "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel" is thrown.
I can see adfm.jar in my application jar, and can also see "JUPanel.class" listed under "oracle/jbo/uicli/controls" in adfm.jar.
Any suggestions on what I am missing or why this is happening are much appreciated!!

Hi,
if you put jar files into jar files then this wont work. Either you add the jar files directly to the classpath (seratately) or you add them to the dependency analyzis so the contained classes get added to the application jar file (which then makes this jar file very big - c.a. 15 - 20 MB).
Frank

Similar Messages

  • Oracle.jbo.uicli.binding.JUCtrlActionBinding for method doesn't work

    I have a data control method called as listForums(). When i dropped this method on to a region it renders the data fine in af:selectOneChoice. But when the same method is dropped on to a simple jspx page it doesn't render the data.
    The difference in the console logs i see is that:
    In the case where it renders data it says:
    FINE: [103] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding, for listForums
    But in the case where it doesn't render the data it says:
    FINE: [106] DCUtil, returning:oracle.jbo.uicli.binding.JUCtrlActionBinding, for listForums
    Can some one give me any tips on how to make this work on a simple jspx page?

    I have a test case with me.But I found out the issue. The problem is, in the old projects which we have created long time back, we never have migrated the web.xml file. Hence it was failing. I have migrated the web.xml now. So it started working fine. (Build JDEVADF_MAIN_GENERIC_070416.1022.4501).
    Thanx for the response.

  • ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef

    JDev version : 11.1.1.4
    WLS : 10.3.4
    Hi All,
    Recently we have migrated JDev from 11.1.1.3 to 11.1.1.4 and WLS from 10.3.3 to 10.3.4. We had security enabled in our application and use to work without any issues in our previous version (before migration). We are getting below error after migration and not able to access our application.
    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@d856cd' 'VIEW'.
    We get this exception as soon as log in is successful. We have tried with different users including administrator who has complete permissions but got same exception. Note that same application is working in previous version.
    Please help us in resolving this issue. Below I have mentioned complete stack trace.
    More details:
    Policy store : jaxz-data.xml
    Identity store : integrated WLS LDAP
    WLS : standalone WLS
    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@d856cd' 'VIEW'.
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:180)
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:160)
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:114)
         at oracle.adfinternal.controller.state.ControllerState.checkPermission(ControllerState.java:632)
         at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:669)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:447)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:46)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:398)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         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 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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         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:136)
         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:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    Usually, the security policy of the application is bundled in the EAR file. When you deploy the application the security policy is automatically migrated (e.g. added) to domain's security policy repository (e.g. <tt>system-jazn-data.xml</tt> file, if neither LDAP or DB repository is used). Also when you undeploy an application its security policy is removed from domain's security policy repository.
    My practical experience says that both of these happen only if the application has been targetted to WLS domain's admin server (i.e. if the application is targetted only to managed servers but not to the admin server, then the security policy is neither migrated nor removed).
    The trick I apply is to do the following:
    (1) Target and deploy the application to the admin server (so the security policy is migrated into <tt>system-jazn-data.xml</tt>);
    (2) Copy the migrated application's policy section from <tt>system-jazn-data.xml</tt> to the clipboard;
    (3) Undeploy the application from the admin server (the security policy is removed from <tt>system-jazn-data.xml</tt> in result);
    (4) Paste the security section back into <tt>system-jazn-data.xml</tt> file and save it;
    (5) Deploy the application to managed servers;
    (6) Restart the servers.
    (It is not necessary to undeploy the application at step 3, it is enough to remove the admin server from application's targets).
    I am not sure that this is the right approach, but it works and I have not found anything in the documentation about this topic.
    One more thing - the automatic migration of the security policy that is included in the EAR is controlled by the following parameter in <tt>weblogic-application.xml</tt> file:
    <application-param>
        <param-name>jps.policystore.migration</param-name>
        <param-value>OVERWRITE</param-value>
    </application-param>The policy is not migrated if this parameter is not set.
    If you deploy the application from JDeveloper, it will not be necessary to set this parameter in <tt>weblogic-application.xml</tt> manually because JDeveloper will do it for you. Just open the Application Properties dialog in JDev, go to page "Deployment" and check the checkbox "Application Policies". Then JDeveloper will automatically add this parameter into <tt>weblogic-application.xml</tt> file within the EAR files generated from this time onwards (do not be confused that it will not be added to the file in the IDE).
    Dimitar

  • Java.lang.NoClassDefFoundError: oracle/jbo/common/ampool/ApplicationPoolException

    Oracle 9iAS J2EE Container 2.0 running on Sun Solaris 5.8
    Development Env:
    Oracle 9i JDeveloper Release Candidate running on Win2000
    I have created a few JSPs in Jdeveloper and they work fine in the embedded OC4J server on Windows.
    Then I downloaded oc4j_extended.zip and unzipped and installed in the Solaris box using the Readme.txt instructions. Then I deployed my .deploy file directly to Oracle 9iAS from Jdeveloper9i.
    When I try to reach the page of on the appserver I got the following error:
    Request URI:/vca/Virtual.jsp
    Exception:
    java.lang.NoClassDefFoundError: oracle/jbo/common/ampool/ApplicationPoolException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName0(Compiled Code)
         at java.lang.Class.forName(Compiled Code)
         at com.evermind.server.ApplicationContextClassLoader.findClass(Compiled Code)
         at java.lang.ClassLoader.loadClass(Compiled Code)
         at java.lang.ClassLoader.loadClass(Compiled Code)
         at oracle.jsp.parse.JspUtils.loadClassJDK(Compiled Code)
         at oracle.jsp.parse.JspUtils.loadClass(Compiled Code)
         at oracle.jsp.parse.JspRTTag.(JspRTTag.java:100)
         at oracle.jsp.parse.JspParseState.createTagParser(Compiled Code)
         at oracle.jsp.parse.JspParseTag.parseNextTag(Compiled Code)
         at oracle.jsp.parse.JspParseTagFile.parse(Compiled Code)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:280)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:173)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:362)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:357)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:145)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:356)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:306)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(Compiled Code)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(Compiled Code)
         at com.evermind.server.http.HttpRequestHandler.run(Compiled Code)
         at com.evermind.util.ThreadPoolThread.run(Compiled Code)
    Does the installation file for oc4j missing some libraries? I thought they would be already installed? Should I manually copy them from the embedded oc4j from my Windows installation. If yes, which files?
    Please help.
    Regards,
    D.C.

    You need to configure oc4J_extended with BC4J runtime libraries in order to run BC4J applications.
    Check out the information in help system
    Launch JDev Help system
    Select "packaging and deploying"
    Select "Ways to deploy Business components for Java (Bc4J)"
    Select "Loading BC4J runtime libraries to oc4J"
    raghu
    JDev Team

  • Java.lang.NullPointerException at oracle.jbo.uicli.binding.JUCtrlListBinding.findOrCreateLOVDialogIteratorBinding

    Our application is developed using JDev Version 11.1.2.1.0.. We have an 'inputComboboxListOfValues' component with the following code:
    The source code from the page is hte follwoing:
      <af:inputComboboxListOfValues id="TypeLOVId" autoSubmit="true"
                                                                  popupTitle="Search and Select: #{bindings.TypeLOV.hints.label}"
                                                                  value="#{bindings.TypeLOV.inputValue}"
                                                                  label="#{UIRes.TYPE}"
                                                                  model="#{bindings.TypeLOV.listOfValuesModel}"
                                                                  required="true"
                                                                  columns="50"
                                                                  inlineStyle="width:80pt;">
                                        <f:validator binding="#{bindings.TypeLOV.validator}"/>
                                        <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.lovMB.typeSV}" />
          </af:inputComboboxListOfValues>
    The source code of the binding from page definition is the following:
    <listOfValues StaticList="false" IterBinding="TypIterator" Uses="LOV_TypeLOV" id="TypeLOV"/>
    We got this following error yesterday when user tried to enter value in the the above mentioned combo box. This error occurred only once and it started working fine later. We are not able to recreate this error in development envronment even after disabling the pooling. We have no clues regarding what may have went wrong...
    ADF_FACES-60096:Server Exception during PPR, #7[[
    java.lang.NullPointerException
        at oracle.jbo.uicli.binding.JUCtrlListBinding.findOrCreateLOVDialogIteratorBinding(JUCtrlListBinding.java:5131)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.getSearchBinding(FacesCtrlLOVBinding.java:201)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ListOfValuesModelImpl.getSearchRegion(FacesCtrlLOVBinding.java:1821)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ListOfValuesModelImpl.getQueryModel(FacesCtrlLOVBinding.java:1465)
        at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$InternalLaunchPopupListener.processLaunch(SimpleInputListOfValuesRendererBase.java:1487)
        at oracle.adf.view.rich.event.LaunchPopupEvent.processListener(LaunchPopupEvent.java:108)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:243)
        at oracle.adf.view.rich.component.UIXInputPopup.broadcast(UIXInputPopup.java:157)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
        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 oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:100)
        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:136)
        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)
    The user had entered a value in the combo box, say '145' and tabbed out, which did not match any of the value in the drop down or the auto suggest and when it was trying to display the 'Search and Select' pop-up the error occurred.
    Please advice on what could be the possible reason and the solution for the issue...

    This kind of error is hard to diagnose. From the stacktrace I see that the creation of a list iterator definition failed, while the framework tried to create the search popup. However I can't see why. On reason would be passivation/activation problem, which you already have tested.
    As you can't reproduce the error there is little we can do, sorry.
    Timo

  • Oracle.jbo.uicli.binding.JUIteratorBinding cannot be cast to oracle.adf.

    HI ,
    I'm using ADF 11g,
    I'm working on individual work space. i have used oracle.adf.model.binding.DCControlBinding in my bean class and working fine .Now one day before i have taken svn version repository project and started working .I made simple jspx with adf table and tool bar button such as Add. When i fire add button i'm calling a method in bean class.
    public String createRecord() {
    // Add event code here... bank_add
    System.out.println("-- create record --");
    BindingContainer bindings2 = ADFUtils.getBindingContainer();
    DCControlBinding dcc = (DCControlBinding)bindings2.get("XbtBankSettlementVOIterator");
    return "banksettlement_add";
    surprisingly i got this error.when my fellow colleague is using same svn repository project and using oracle.adf.model.binding.DCControlBinding it is working fine.
    but why i'm getting this error below.i have followed the same steps to create View Object and Entity Object as previous .
    <ActionListenerImpl><processAction> java.lang.ClassCastException: oracle.jbo.uicli.binding.JUIteratorBinding cannot be cast to oracle.adf.model.binding.DCControlBinding
    javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.jbo.uicli.binding.JUIteratorBinding cannot be cast to oracle.adf.model.binding.DCControlBinding
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         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:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         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.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassCastException: oracle.jbo.uicli.binding.JUIteratorBinding cannot be cast to oracle.adf.model.binding.DCControlBinding
         at com.agile.xb.view.managed.BankSettlementDtlBean.createRecord(BankSettlementDtlBean.java:32)
         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:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 51 more
    thanks in advance

    Hi Frank,
    I know that JUIteratorBinding is taking ,but how can i change and where could i find . I have import operation binding in my bean and creation of VO and EO object time as i did noraml way .
    sorry can i get some more information.
    thanks in advance .

  • Java.io.NotSerializableException: oracle.jbo.uicli.binding.JUApplication

    Using lated 11g jdev from otn.
    Seeing repeatedly below exception in the trace. Can someone advise what is going wrong here?
    ####<Jan 4, 2011 3:16:37 PM PST> <Error> <Cluster> <usfsmda2.folsom.calwin.eds.com> <MDA2-Server01> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <a22b767b51943419:3e7fbdd6:12d51f2eae4:-8000-0000000000000641> <1294182997743> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.
    java.rmi.MarshalException: failed to marshal update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;Ljava.lang.Object;); nested exception is:
         java.io.NotSerializableException: oracle.jbo.uicli.binding.JUApplication
         at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:92)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
         at weblogic.cluster.replication.ReplicationManager_1033_WLStub.update(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:184)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:154)
         at $Proxy130.update(Unknown Source)
         at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:535)
         at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:594)
         at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:85)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2811)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2786)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1473)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.io.NotSerializableException: oracle.jbo.uicli.binding.JUApplication
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at java.util.ArrayList.writeObject(ArrayList.java:570)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at weblogic.servlet.internal.session.ReplicatedSessionChange.writeExternal(ReplicatedSessionChange.java:124)
         at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1744)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1422)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:618)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObjectWL(MsgAbbrevOutputStream.java:609)
         at weblogic.rmi.internal.ObjectIO.writeObject(ObjectIO.java:38)
         at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:88)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
         at weblogic.cluster.replication.ReplicationManager_1033_WLStub.update(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:184)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:154)
         at $Proxy130.update(Unknown Source)
         at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:535)
         at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:594)
         at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:85)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2811)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2786)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1473)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Jan 4, 2011 3:16:37 PM PST> <Error> <Cluster> <usfsmda2.folsom.calwin.eds.com> <MDA2-Server01> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <a22b767b51943419:3e7fbdd6:12d51f2eae4:-8000-0000000000000642> <1294182997958> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.
    java.rmi.MarshalException: failed to marshal update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;Ljava.lang.Object;); nested exception is:
         java.io.NotSerializableException: oracle.jbo.uicli.binding.JUApplication
         at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:92)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
         at weblogic.cluster.replication.ReplicationManager_1033_WLStub.update(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:184)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:154)
         at $Proxy130.update(Unknown Source)
         at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:535)
         at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:594)
         at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:85)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2811)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2786)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1473)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Vik2,
    Are you putting a JUApplication in session/application scope somehow, perhaps by trying to put something from the BindingContainer in a session/application-scoped bean? You don't give any context for your issue, so other than "there is a JUApplication in session scope, WLS is trying to replicate the session state across cluster members, and JUApplication is not Serializable (making it impossible to replicate across cluster members)" - not much we can say
    John

  • Exception:cannot be cast to oracle.jbo.uicli.binding.JUCtrlValueBindingRef

    Hi all,
    Please help -
    I got this exception when try to retrieve a table row from my backing bean:
    Caused by: java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding cannot be cast to oracle.jbo.uicli.binding.JUCtrlValueBindingRef
    The line of code in the backing bean caused the error:
    oracle.jbo.uicli.binding.JUCtrlValueBindingRef tableRowRef = (oracle.jbo.uicli.binding.JUCtrlValueBindingRef) this.getTable1().getRowData();
    What bugs me is that the same code works fine in another page's backing bean (see *1) and I can't find out the difference.
    My environment:
    I am using JDeveloper 11. The application I am working on was migrated from a JDeveloper 10g app, so the components are mostly Trinidad. We had to do a lot adjustment to get that app to work in 11g. The working page I mentioned above was done in 10g app (*1).
    I am now adding more things into this app. The app's setup is EJB session beans and Trinidad components now.
    In the jspx page, I have a table which was made up with a view from the database (NOT VO). I have a command link in a column in that table, and would like to get a Id from the row in the table. The line of code causes error above is in the command link's action method.
    Please help if you have any clue.
    Thanks a lot!
    Sophia
    Edited by: user12876081 on Jan 12, 2011 2:40 PM

    Thank you so much Frank! It's just that simple. This is my first post question, although I had always looked up the forum for answers before. I am a big fan of yours. This is such a great experience on my first post. I am having a much better day than yesterday. :-) Thanks again!

  • Deploy Oc4j: NoClassDefFoundError: oracle/jbo/JboException

    Hi!
    I'm pretty new developer with JDeveloper.
    I got an error when I try to deploy my application.
    I was looking over my blog,but I couldn't find solution.
    Please help me.
    This is my deploy log message.
    Deployment failed
    Elapsed time for deployment: 22 minutes, 22 seconds
    #### Deployment incomplete. #### Dec 6, 2006 1:43:29 PM
    ---- Deployment started. ---- Dec 6, 2006 1:57:54 PM
    Target platform is Standalone OC4J 10g 10.1.3 (dev).
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMain.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMain.ear
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Application Deployer for CustomerMain STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\CustomerMain.ear
    Initialize D:\oc4j\j2ee\home\applications\CustomerMain.ear begins...
    Unpacking CustomerMain.ear
    Done unpacking CustomerMain.ear
    Unpacking CustomerMain.war
    Done unpacking CustomerMain.war
    Initialize D:\oc4j\j2ee\home\applications\CustomerMain.ear ends...
    Starting application : CustomerMain
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize CustomerMain begins...
    Initialize CustomerMain ends...
    Started application : CustomerMain
    Binding web application(s) to site default-web-site begins...
    Binding CustomerMain web-module for application CustomerMain to site default-web-site under context root customer
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    I found a blog about variables.
    So I set my variable like this:
    CLASSPATH : C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\j2ee\home\oc4j.jar;C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar;C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\j2ee\home\applib
    JAVAHOME: C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\jdk
    JDKHOME:C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\jdk;
    PATH:C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdk\bink:\oracle\ora817\bin;
    Please help !!!

    Thanks.
    Now I can deploy my application at localhost.
    So now I try to deploy at my company server.
    So I created new application server, and tried to deploy them.
    But now I got same error.
    ---- Deployment started. ---- Dec 8, 2006 1:49:11 PM
    Target platform is Standalone OC4J 10g 10.1.3 (SDCDev).
    Running dependency analysis...
    Wrote JAR file to C:\Documents and Settings\train2.SDC\Desktop\dev_mywork\CntryCustomer1109-OnlyManagedBean\Model\deploy\ModelArchive.jar
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\dev_mywork\CntryCustomer1109-OnlyManagedBean\ViewController\deploy\ViewArchive.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\dev_mywork\CntryCustomer1109-OnlyManagedBean\Deployment\deploy\Customer1109application.ear
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Application Deployer for Customer1109application STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\Customer1109application.ear
    Initialize D:\oc4j\j2ee\home\applications\Customer1109application.ear begins...
    Unpacking Customer1109application.ear
    Done unpacking Customer1109application.ear
    Unpacking ViewArchive.war
    Done unpacking ViewArchive.war
    Initialize D:\oc4j\j2ee\home\applications\Customer1109application.ear ends...
    Starting application : Customer1109application
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize ViewArchive begins...
    Initialize ViewArchive ends...
    Started application : Customer1109application
    Binding web application(s) to site default-web-site begins...
    Binding ViewArchive web-module for application Customer1109application to site default-web-site under context root customer1109
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    Deployment failed
    Elapsed time for deployment: 33 seconds
    #### Deployment incomplete. #### Dec 8, 2006 1:49:43 PM
    When I looked over this log.
    I found this is working D drive.
    so I opened D dirve but that was nothing.
    So I tried to downed OC4J again at D drive. and I changed ORACLE_HOME Path too.
    This case was ok at localhost.
    But when I deploied to other application server, I got error like above.
    What should I do?

  • Can someone tell me the lib/jar that oracle.jbo.uicli.mom is located in ?

    For Jdeveloper 11g 1.2
    thanks

    Rob,
    I can do you one better by showing you how to find out.
    Tools->Manage Libraries. Type the name of the class in the search box and click the button.
    By the way, I didn't find that particular class, so it may not be in one of the default libraries. Oh, I see now it's a package, only works with classes. I tried searching for oracle.jbo.uicli.mom.JUApplicationDefImpl using this method and found it in a number of libraries.
    John
    Shay... down there in the next post: drat, foiled again! ;)

  • ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormD

    JDev version : 11.1.1.4
    WLS : 10.3.4
    Hi All,
    Recently we have migrated JDev from 11.1.1.3 to 11.1.1.4 and WLS from 10.3.3 to 10.3.4. We had security enabled in our application and use to work without any issues in our previous version (before migration). We are getting below error after migration and not able to access our application.
    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@d856cd' 'VIEW'.We get this exception as soon as log in is successful. We have tried with different users including administrator who has complete permissions but got same exception. Note that same application is working in previous version.
    Please help us in resolving this issue. Below I have mentioned complete stack trace.
    More details:
    Policy store : jaxz-data.xml
    Identity store : integrated WLS LDAP
    WLS : standalone WLS
    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@d856cd' 'VIEW'.
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:180)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:160)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:114)
    at oracle.adfinternal.controller.state.ControllerState.checkPermission(ControllerState.java:632)
    at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:669)
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:447)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:46)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:398)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    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 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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    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:136)
    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:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)Thanks,
    Ravindra

    What we observed is that non of our application security policies are getting migrated to system-jazn-data.xml file during deployment. This was working in previous version.
    weblogic-application.xml file contents:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
      <xml>
        <parser-factory>
          <saxparser-factory>oracle.xml.jaxp.JXSAXParserFactory</saxparser-factory>
          <document-builder-factory>oracle.xml.jaxp.JXDocumentBuilderFactory</document-builder-factory>
          <transformer-factory>oracle.xml.jaxp.JXSAXTransformerFactory</transformer-factory>
        </parser-factory>
      </xml>
      <application-param>
        <param-name>jps.credstore.migration</param-name>
        <param-value>OVERWRITE</param-value>
      </application-param>
      <application-param>
        <param-name>jps.policystore.migration</param-name>
        <param-value>OVERWRITE</param-value>
      </application-param>
      <listener>
          <listener-class>oracle.communications.brm.pdc.server.common.PricingApplicationLifeCycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener</listener-class>
      </listener>
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
      </library-ref>
      <library-ref>
        <library-name>oracle.jsp.next</library-name>
      </library-ref>
    </weblogic-application>

  • Error Message: oracle/jbo/uicli/mom/JUMetaObjectManager

    Trying to deploy a BC4J project on 9ias release 2 and having trouble. Currently I'm using JDeveloper 9.0.3. Are the two compatible?

    This is a new library with Jdev 9.0.3,
    bc4j_jclient_common.jar.
    iAS 9.0.2 doesn't include this file.

  • Oracle.jbo.RowInconsistentException:JBO-25014:Another user has changed the

    Hi Experts,
    I am working jdev 11.1.1.3.0
    I am trying to update selected rows on the table, for this i lam getting selected data from the table and updating one flag on the row.
    when i executing save/commit i am getting below error.
    oracle.jbo.RowInconsistentException: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[653974305 ].
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1064)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:548)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:7843)
         at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:6563)
         at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:6900)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:918)
         at oracle.jbo.server.EntityCache.add(EntityCache.java:485)
         at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:2921)
         at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:3550)
         at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:5182)
         at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3304)
         at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3164)
         at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2154)
         at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:4853)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2914)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2770)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3011)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2677)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1221)
         at oracle.jbo.server.ViewRowSetImpl.activateRowSetState(ViewRowSetImpl.java:6920)
         at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3908)
         at oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6971)
         at oracle.jbo.server.ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:17791)
         at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:7893)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7639)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:7606)
         at oracle.jbo.server.Serializer.activate(Serializer.java:291)
         at oracle.jbo.server.ByteSerializer.activateRootAMFromBytes(ByteSerializer.java:93)
         at oracle.jbo.server.ApplicationModuleImpl.activateFromStack(ApplicationModuleImpl.java:6255)
         at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6070)
         at oracle.jbo.server.ApplicationModuleImpl.activateStateForUndo(ApplicationModuleImpl.java:8582)
         at oracle.jbo.server.DBTransactionImpl.restoreTmpPostState(DBTransactionImpl.java:1843)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2999)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2018)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1577)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1404)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1427)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:411)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
         at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:117)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    i search in forums and tried all the options like
    1. jbo.locking.mode to Pessimistic no use -- i am not getting the error but at the same time row is not updating.
    2. set the refresh after update/insert no use
    EVEN THE SAME PROBLEM WHEN I RUN AM ASWELL.
    Any inputs could be highly appreciate.
    Edited by: user642703 on Feb 21, 2012 8:58 PM

    Hi,
    See
    JBO-25014: Another user has changed .. call StoredProc after commit .helpp
    Another user has changed the row with primary key oracle.jbo.Key[1447 EN ]
    http://radio-weblogs.com/0118231/stories/2004/03/24/whyDoIGetOraclejborowinconsistentexception.html

  • Oracle.jbo.NoDefException JBO-25058

    I am using JDeveloper 11g (11.1.1.2.0) and I am getting an exception when using a choice list in a Search form (Query Component) which is created as a View Criteria on a view object based on an entity object. These are the steps I followed when creating this:
    1. Created an Entity Object.
    2. Created a view object
    3. Created a view accessor for accessing the values to be used for LOV.
    4. In the View Object's attributes window, specified the LOV for the attribute "USR_STA_CD"
    5. Created a view criteria(s) for this view object.
    6. For one of the View Criteria's, for the attribute "USR_STA_CD", selected operator "EqualTo", Operand to be "Literal", checked "IgnoreCase" so that this attribute can use the Choice list with all the values retrieved by the view accessor created earlier.
    Now in the front end, using this view object created the search form (Query Components) page and the detail page (with the control flow accordingly mapped in the bounded task flow). The Detail Page is able to show the choice list (correctly with the view accessor and LOV configiration done in the Model).
    I have also tested the functionality using the Business Component Tester locally and it is working fine with the choice list getting all the required configured values from the view accessor but in the front end, the search form (Query Components) page is throwing the below error on loading:
    *oracle.jbo.NoDefException: JBO-25058: Definition __vcrow_indexed_attribute__UsrStaCd_0 of type Attribute is not found in vcilov_LOV_UsrStaCd_DSExternalUserVOSubCriteria1_vcrow78_UsrStaCd.*     
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:526)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.hasAttributeViewablePermission(JUCtrlValueBinding.java:3300)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeViewable(JUCtrlValueBinding.java:3265)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:685)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributes(JUCtrlValueBinding.java:1348)
         at oracle.jbo.uicli.binding.JUCtrlListBinding$JUCtrlListBindingItemRef.getDisplayValues(JUCtrlListBinding.java:3675)
         at oracle.jbo.uicli.binding.JUCtrlListBinding$JUCtrlListBindingItemRef.getMergedPrompt(JUCtrlListBinding.java:3666)
         at oracle.jbo.uicli.binding.JUCtrlListBinding$JUCtrlListBindingItemRef.get(JUCtrlListBinding.java:3633)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding$1.get(FacesCtrlListBinding.java:271)
         at java.util.AbstractList$Itr.next(AbstractList.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.SelectItemUtils.addSelectItems(SelectItemUtils.java:209)
         at oracle.adfinternal.view.faces.renderkit.rich.SelectItemUtils.getSelectItems(SelectItemUtils.java:78)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneChoiceRenderer.getSelectItems(SimpleSelectOneChoiceRenderer.java:83)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer._renderContent(SimpleSelectBaseRenderer.java:194)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer.renderElementContent(SimpleSelectBaseRenderer.java:113)
         at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:149)
         at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:135)
         at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1600)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:204)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:186)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:468)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$100(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:628)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    Caused By: oracle.jbo.NoDefException: JBO-25058: Definition __vcrow_indexed_attribute__UsrStaCd_0 of type Attribute is not found in SNIDataSecurityService_DSExternalUser1_SearchExternalUsers_51.
    Below is the XML file for the view object with the View criteria(s) definition. The view criteria that is causing this
    problem is "SearchExternalUsers" and the attribute name is "UsrStaCd" (USR_STA_CD).
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="DSExternalUserVO"
    Version="11.1.1.55.36"
    SelectList="DSExternalUserEO.USR_ID,
    DSExternalUserEO.USR_STA_CD,
    DSExternalUserEO.USR_TERM_DT,
    DSExternalUserEO.USR_FRST_NAM,
    DSExternalUserEO.USR_LAST_NAM,
    DSExternalUserEO.CPY_NAM,
    DSExternalUserEO.VERS_NUM,
    DSExternalUserEO.CRE_USR_ID,
    DSExternalUserEO.CRE_DTTM,
    DSExternalUserEO.UPD_USR_ID,
    DSExternalUserEO.UPD_DTTM"
    FromList="SNI.SNI_DS_EXT_USR DSExternalUserEO"
    BindingStyle="OracleName"
    CustomQuery="false"
    RowClass="sni.datasecurity.model.queries.DSExternalUserVORowImpl"
    ComponentClass="sni.datasecurity.model.queries.DSExternalUserVOImpl"
    DefClass="sni.foundation.bcextensions.SNIViewDefImpl"
    PageIterMode="Full"
    UseGlueCode="false"
    ComponentInterface="sni.datasecurity.model.queries.common.DSExternalUserVO"
    ClientProxyName="sni.datasecurity.model.queries.client.DSExternalUserVOClient">
    <DesignTime>
    <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess"/>
    <Attr Name="_isCodegen" Value="true"/>
    </DesignTime>
    <Variable
    Name="roleCd"
    Kind="viewcriteria"
    Type="java.lang.String"/>
    <Data>
    <Property
    Name="ID"
    Value="69408eb1-0128-1000-800c-0a0a0a0a2ccb::::ViewObject"/>
    </Data>
    *<ViewAccessor*
    Name="ExtUserStatusCodesLOVVA"
    ViewObjectName="sni.foundation.lovs.quries.SNIListOfValuesVO">
    *<ParameterMap>*
    *<PIMap Variable="BindApplicationCode">*
    *<TransientExpression><![CDATA['DATASEC']]></TransientExpression>*
    *</PIMap>*
    *<PIMap Variable="BindDomainName">*
    *<TransientExpression><![CDATA['USER_STATUS_CODES']]></TransientExpression>*
    *</PIMap>*
    *</ParameterMap>*
    *</ViewAccessor>*
    *<ListBinding*
    Name="LOV_UsrStaCd"
    ListVOName="ExtUserStatusCodesLOVVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    *NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"*
    *MRUCount="0">*
    *<AttrArray Name="AttrNames">*
    *<Item Value="UsrStaCd"/>*
    *</AttrArray>*
    *<AttrArray Name="ListAttrNames">*
    *<Item Value="DmnValCd"/>*
    *</AttrArray>*
    *<AttrArray Name="ListDisplayAttrNames">*
    *<Item Value="LongVal"/>*
    *</AttrArray>*
    *<DisplayCriteria/>*
    *</ListBinding>*
    <EntityUsage
    Name="DSExternalUserEO"
    Entity="sni.datasecurity.model.entities.DSExternalUserEO">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-808b-0a0a0a0a2ccb::::EntityObjectInstance"/>
    </Data>
    </EntityUsage>
    <ViewAttribute
    Name="UsrId"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="UsrId"
    EntityUsage="DSExternalUserEO"
    AliasName="USR_ID">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-8079-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    <Properties>
    <SchemaBasedProperties>
    <DISPLAYWIDTH
    Value="30"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    *<ViewAttribute*
    *Name="UsrStaCd"*
    *IsNotNull="true"*
    *PrecisionRule="true"*
    *EntityAttrName="UsrStaCd"*
    *EntityUsage="DSExternalUserEO"*
    *AliasName="USR_STA_CD"*
    *LOVName="LOV_UsrStaCd">*
    *<Data>*
    *<Property*
    *Name="ID"*
    *Value="69409894-0128-1000-807a-0a0a0a0a2ccb::::ViewObjectAttribute"/>*
    *</Data>*
    *<Properties>*
    *<SchemaBasedProperties>*
    *<CONTROLTYPE*
    *Value="choice"/>*
    *<DISPLAYWIDTH*
    *Value="20"/>*
    *</SchemaBasedProperties>*
    *</Properties>*
    *</ViewAttribute>*
    <ViewAttribute
    Name="UsrTermDt"
    PrecisionRule="true"
    EntityAttrName="UsrTermDt"
    EntityUsage="DSExternalUserEO"
    AliasName="USR_TERM_DT">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-807b-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    </ViewAttribute>
    <ViewAttribute
    Name="UsrFrstNam"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="UsrFrstNam"
    EntityUsage="DSExternalUserEO"
    AliasName="USR_FRST_NAM">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-807c-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    <Properties>
    <SchemaBasedProperties>
    <DISPLAYWIDTH
    Value="30"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="UsrLastNam"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="UsrLastNam"
    EntityUsage="DSExternalUserEO"
    AliasName="USR_LAST_NAM">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-807d-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    <Properties>
    <SchemaBasedProperties>
    <DISPLAYWIDTH
    Value="30"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="CpyNam"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="CpyNam"
    EntityUsage="DSExternalUserEO"
    AliasName="CPY_NAM">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-807e-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    <Properties>
    <SchemaBasedProperties>
    <DISPLAYWIDTH
    Value="30"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="VersNum"
    PrecisionRule="true"
    EntityAttrName="VersNum"
    EntityUsage="DSExternalUserEO"
    AliasName="VERS_NUM">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-8086-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    </ViewAttribute>
    <ViewAttribute
    Name="CreUsrId"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="CreUsrId"
    EntityUsage="DSExternalUserEO"
    AliasName="CRE_USR_ID"
    IsUpdateable="false">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-8087-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    <Properties>
    <SchemaBasedProperties>
    <DISPLAYWIDTH
    Value="20"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="CreDttm"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="CreDttm"
    EntityUsage="DSExternalUserEO"
    AliasName="CRE_DTTM"
    IsUpdateable="false">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-8088-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    </ViewAttribute>
    <ViewAttribute
    Name="UpdUsrId"
    PrecisionRule="true"
    EntityAttrName="UpdUsrId"
    EntityUsage="DSExternalUserEO"
    AliasName="UPD_USR_ID"
    IsUpdateable="false">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-8089-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    </ViewAttribute>
    <ViewAttribute
    Name="UpdDttm"
    PrecisionRule="true"
    EntityAttrName="UpdDttm"
    EntityUsage="DSExternalUserEO"
    AliasName="UPD_DTTM"
    IsUpdateable="false">
    <Data>
    <Property
    Name="ID"
    Value="69409894-0128-1000-808a-0a0a0a0a2ccb::::ViewObjectAttribute"/>
    </Data>
    </ViewAttribute>
    *<ViewCriteria*
    *Name="SearchExternalUsers"*
    *ViewObjectName="sni.datasecurity.model.queries.DSExternalUserVO"*
    *Conjunction="AND">*
    *<Properties>*
    *<CustomProperties>*
    *<Property*
    *Name="displayOperators"*
    *Value="InAdvancedMode"/>*
    *<Property*
    *Name="autoExecute"*
    *Value="false"/>*
    *<Property*
    *Name="allowConjunctionOverride"*
    *Value="true"/>*
    *<Property*
    *Name="showInList"*
    *Value="true"/>*
    *<Property*
    *Name="mode"*
    *Value="Basic"/>*
    *<Property*
    *Name="displayName"*
    *ResId="displayName"/>*
    *</CustomProperties>*
    *</Properties>*
    *<ViewCriteria*
    *Name="DSExternalUserVOSubCriteria1"*
    *ViewObjectName="sni.datasecurity.model.queries.DSExternalUserVO"*
    *Conjunction="AND">*
    *<ViewCriteriaRow*
    *Name="vcrow78"*
    *UpperColumns="1">*
    *<ViewCriteriaItem*
    *Name="DSExternalUserVOSubCriteria1_vcrow78_UsrId"*
    *ViewAttribute="UsrId"*
    *Operator="STARTSWITH"*
    *Conjunction="AND"*
    *Required="Optional"/>*
    *<ViewCriteriaItem*
    *Name="SearchExternalUsers_DSExternalUserVOSubCriteria1_vcrow78_UsrStaCd"*
    *ViewAttribute="UsrStaCd"*
    *Operator="="*
    *Conjunction="AND"*
    *Required="Optional"/>*
    *<ViewCriteriaItem*
    *Name="SearchExternalUsers_DSExternalUserVOSubCriteria1_vcrow78_UsrFrstNam"*
    *ViewAttribute="UsrFrstNam"*
    *Operator="STARTSWITH"*
    *Conjunction="AND"*
    *Required="Optional"/>*
    *<ViewCriteriaItem*
    *Name="SearchExternalUsers_DSExternalUserVOSubCriteria1_vcrow78_UsrLastNam"*
    *ViewAttribute="UsrLastNam"*
    *Operator="STARTSWITH"*
    *Conjunction="AND"*
    *Required="Optional"/>*
    *<ViewCriteriaItem*
    *Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_vcrow78_CpyNam"*
    *ViewAttribute="CpyNam"*
    *Operator="STARTSWITH"*
    *Conjunction="AND"*
    *Required="Optional"/>*
    *</ViewCriteriaRow>*
    *</ViewCriteria>*
    *</ViewCriteria>*
    <ViewCriteria
    Name="SecondarySearch"
    ViewObjectName="sni.datasecurity.model.queries.DSExternalUserVO"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="displayOperators"
    Value="InAdvancedMode"/>
    <Property
    Name="autoExecute"
    Value="false"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="mode"
    Value="Basic"/>
    <Property
    Name="displayName"
    ResId="displayName"/>
    </CustomProperties>
    </Properties>
    <ViewCriteria
    Name="DSExternalUserVOSubCriteria1_1"
    ViewObjectName="sni.datasecurity.model.queries.DSExternalUserVO"
    Conjunction="AND">
    <ViewCriteriaRow
    Name="vcrow11"
    UpperColumns="1">
    <ViewCriteriaItem
    Name="DSExternalUserVOSubCriteria1_1_vcrow11_UsrId"
    ViewAttribute="UsrId"
    Operator="STARTSWITH"
    Conjunction="AND"
    Required="Optional"/>
    <ViewCriteriaItem
    Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_1_vcrow11_UsrFrstNam"
    ViewAttribute="UsrFrstNam"
    Operator="STARTSWITH"
    Conjunction="AND"
    Required="Optional"/>
    <ViewCriteriaItem
    Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_1_vcrow11_UsrLastNam"
    ViewAttribute="UsrLastNam"
    Operator="STARTSWITH"
    Conjunction="AND"
    Required="Optional"/>
    <ViewCriteriaItem
    Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_1_vcrow11_CpyNam"
    ViewAttribute="CpyNam"
    Operator="STARTSWITH"
    Conjunction="AND"
    Required="Optional"/>
    <ViewCriteriaItem
    Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_1_vcrow11_CreUsrId"
    ViewAttribute="CreUsrId"
    Operator="STARTSWITH"
    Conjunction="AND"
    Required="Optional"/>
    <ViewCriteriaItem
    Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_1_vcrow11_CreDttm"
    ViewAttribute="CreDttm"
    Operator="="
    Conjunction="AND"
    Required="Optional"/>
    </ViewCriteriaRow>
    </ViewCriteria>
    </ViewCriteria>
    <ViewCriteria
    Name="SearchExternalUsersByRole"
    ViewObjectName="sni.datasecurity.model.queries.DSExternalUserVO"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="displayOperators"
    Value="InAdvancedMode"/>
    <Property
    Name="displayName"
    ResId="LABEL_SEARCH_EXTERNAL_USERS_BY_ROLE"/>
    <Property
    Name="autoExecute"
    Value="false"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="mode"
    Value="Basic"/>
    </CustomProperties>
    </Properties>
    <ViewCriteria
    Name="DSExternalUserVOSubCriteria1_1"
    ViewObjectName="sni.datasecurity.model.queries.DSExternalUserVO"
    Conjunction="AND">
    <ViewCriteriaRow
    Name="vcrow124"
    UpperColumns="1">
    <!--ViewCriteriaItem
    Name="DSExternalUserVOSubCriteria1_1_vcrow124_UsrId"
    ViewAttribute="UsrId"
    Operator="STARTSWITH"
    Conjunction="AND"
    Value=""
    Required="Optional"/-->
    <ViewCriteriaItem
    Name="DSExternalUserVOCriteria_DSExternalUserVOSubCriteria1_1_vcrow124_DSExternalUserRole"
    ViewAttribute="DSExternalUserRole"
    Operator="EXISTS"
    Conjunction="AND"
    Required="Optional">
    <ViewCriteria
    Name="DSExternalUserRoleVONestedCriteria"
    ViewObjectName="sni.datasecurity.model.queries.DSExternalUserRoleVO"
    Conjunction="AND">
    <ViewCriteriaRow
    Name="vcrow125"
    UpperColumns="1">
    <!--ViewCriteriaItem
    Name="DSExternalUserRoleVONestedCriteria_vcrow125_UsrId"
    ViewAttribute="UsrId"
    Operator="STARTSWITH"
    Conjunction="AND"
    Value=""
    Required="Optional"/-->
    <ViewCriteriaItem
    Name="DSExternalUserRoleVONestedCriteria_vcrow125_RolCd"
    ViewAttribute="RolCd"
    Operator="="
    Conjunction="AND"
    Required="Optional"/>
    </ViewCriteriaRow>
    </ViewCriteria>
    </ViewCriteriaItem>
    </ViewCriteriaRow>
    </ViewCriteria>
    </ViewCriteria>
    <ViewLinkAccessor
    Name="DSUserGroup"
    ViewLink="sni.datasecurity.model.queries.viewlinks.ExternalUserToUserGroup"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false"/>
    <ViewLinkAccessor
    Name="DSExternalUserRole"
    ViewLink="sni.datasecurity.model.queries.viewlinks.ExternalUserToExternalUserRole"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false"/>
    <ViewLinkAccessor
    Name="DSExternalUserSniRel"
    ViewLink="sni.datasecurity.model.queries.viewlinks.ExternalUserToExternalUserSniRel"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false"/>
    <LOVUIHints
    ListType="105"
    MRUCount="0"
    ListRangeSize="-1"
    NullValueFlag="none"
    NullValueId="LOVUIHints_NullValueId">
    <DisplayCriteria/>
    </LOVUIHints>
    <ResourceBundle>
    <PropertiesBundle
    PropertiesFile="sni.datasecurity.model.SNIDataSecurityModelBundle"/>
    </ResourceBundle>
    <ClientInterface>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    <Method
    Name="getRowStatus">
    <Return
    Type="java.lang.String"/>
    <Parameter
    Name="row"
    Type="oracle.jbo.Row"/>
    </Method>
    </ClientInterface>
    </ViewObject>
    Thanks
    Venkat
    Edited by: Venkatesh Pasam on Jun 9, 2010 2:14 PM
    Edited by: Venkatesh Pasam on Jun 9, 2010 2:16 PM
    Edited by: Venkatesh Pasam on Jun 9, 2010 2:18 PM

    Can some one please help me with this.
    Thanks
    Venkatesh

  • JBO-25013: Too many objects match the primary key oracle.jbo.Key

    hi am adding values from one viewObject to another viewObject am geting this error JBO-25013: Too many objects match the primary key oracle.jbo.Key
    i used this code
    <af:commandButton text="Add New" id="cb5"
                                            actionListener="#{pageFlowScope.addMember.addMember}"/>
        RichTable empTable;
         public void setEmpTable(RichTable empTable) {
             this.empTable = empTable;
         public RichTable getEmpTable() {
             return empTable;
    binding="#{pageFlowScope.addMember.empTable}">
    the error is pointing in this line
        public void addMember(javax.faces.event.ActionEvent actionEvent) {
            List<String> tempTable = new ArrayList<String>();
            //Code to get the bindings for TargetVO :
                 RowKeySet selectedEmps = getEmpTable().getSelectedRowKeys();   
                   Iterator selectedEmpIter = selectedEmps.iterator();
                   DCBindingContainer bindings =
                                     (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding empIter = bindings.findIteratorBinding("UserDetailsViewVO1Iterator");
                   RowSetIterator empRSIter = empIter.getRowSetIterator();
                    while(selectedEmpIter.hasNext()){
                      Key key = (Key)((List)selectedEmpIter.next()).get(0);
                      Row currentRow = empRSIter.getRow(key);
                         onRowCreate(currentRow);
        public void onRowCreate( Row currentRow ) {
            OIDOperations   oIDOperations= new  OIDOperations();
            Map<Object,String> mp=new HashMap<Object, String>();         
         BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
         //access the name of the iterator the table is bound to.
         DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("DeltMember1Iterator");
         //access the underlying RowSetIterator
         RowSetIterator rsi = dciter.getRowSetIterator();
         //get handle to the last row
         Row lastRow = rsi.last();
         //obtain the index of the last row
         int lastRowIndex = rsi.getRangeIndexOf(lastRow);
         //create a new row
         Row newRow = rsi.createRow();
         String f = (String)currentRow.getAttribute("Firstname");
         String s = (String)currentRow.getAttribute("Surname");
         String u = (String)currentRow.getAttribute("Username"); 
         String n = (String)currentRow.getAttribute("Emailaddress");
            newRow.setAttribute("Firstname", f);
            newRow.setAttribute("Surname", s);
            newRow.setAttribute("Username1", u);
            newRow.setAttribute("Username", u);
            newRow.setAttribute("Emailaddress", n);
            newRow.setAttribute("Organisationid1",getorgid());
         //initialize the row
         newRow.setNewRowState(Row.STATUS_INITIALIZED);
         //add row to last index + 1 so it becomes last in the range set
         rsi.insertRowAtRangeIndex(lastRowIndex +1,  newRow);
         //make row the current row so it is displayed correctly
         rsi.setCurrentRow(newRow);   
            System.out.println("Username " + u);
            System.out.println("firstname " + f);
            System.out.println("surname " + s);
            System.out.println("email " + n);
        }Edited by: adf009 on 2013/02/14 2:44 PM
    Edited by: adf009 on 2013/02/14 2:44 PM
    Edited by: adf009 on 2013/02/14 2:46 PM
    Edited by: adf009 on 2013/02/14 2:47 PM

    how must i control my pk
    my log error is
    Caused by: oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[2909 ].
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.add(EntityCache.java:537)
         at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1207)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1152)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:498)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:515)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5714)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1993)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2492)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2533)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2514)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:11079)
         at uam.cadastre.gov.za.OrgDetails.onRowCreate(OrgDetails.java:1650)
         at uam.cadastre.gov.za.OrgDetails.addMember(OrgDetails.java:1624)
         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:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 49 more
    <DCUtil> <findSpelObject> [3498] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_OrgDetailsPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
    <DCIteratorBinding> <releaseDataInternal> [3499] Releasing iterator binding:OfficecodeList_436
    <DCIteratorBinding> <releaseDataInternal> [3500] Releasing iterator binding:OrganisationtypecodeList_344
    <DCIteratorBinding> <releaseDataInternal> [3501] Releasing iterator binding:OrgsubtypecodeList_437
    <DCIteratorBinding> <releaseDataInternal> [3502] Releasing iterator binding:CountrycodeList_438
    <DCIteratorBinding> <releaseDataInternal> [3503] Releasing iterator binding:ProvinceList_439
    <DCIteratorBinding> <releaseDataInternal> [3504] Releasing iterator binding:CityList_440
    <DCIteratorBinding> <releaseDataInternal> [3505] Releasing iterator binding:SuburbList_441
    <JUCtrlHierNodeBinding> <release> [3506] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_45, value:UpdResPerson1Iterator
    <JUCtrlHierNodeBinding> <release> [3507] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_46, value:UpdResPerson1Iterator
    <JUCtrlHierNodeBinding> <release> [3508] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_90, value:UserDetailsViewVO1Iterator
    <JUCtrlHierNodeBinding> <release> [3509] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_203, value:DeltMember1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3510] Releasing iterator binding:UpdUamOrganisation1Iterator
    <JUCtrlHierNodeBinding> <release> [3511] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_45, value:UpdResPerson1Iterator
    <JUCtrlHierNodeBinding> <release> [3512] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_46, value:UpdResPerson1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3513] Releasing iterator binding:UpdResPerson1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3514] Releasing iterator binding:UpdPaymentOptions1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3515] Releasing iterator binding:LutPaymentmethodsView1Iterator
    <JUCtrlHierNodeBinding> <release> [3516] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_203, value:DeltMember1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3517] Releasing iterator binding:DeltMember1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3518] Releasing iterator binding:UamUserdetailsView1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3519] Releasing iterator binding:UpdOrganisationUser1Iterator
    <JUCtrlHierNodeBinding> <release> [3520] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_90, value:UserDetailsViewVO1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3521] Releasing iterator binding:UserDetailsViewVO1Iterator
    <JUCtrlHierNodeBinding> <release> [3522] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3523] Releasing iterator binding:operators_357
    <DCIteratorBinding> <releaseDataInternal> [3524] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3525] Releasing iterator binding:values_360
    <DCIteratorBinding> <releaseDataInternal> [3526] Releasing iterator binding:values_360
    <DCIteratorBinding> <releaseDataInternal> [3527] Releasing iterator binding:nestedViewCriteria_362
    <DCIteratorBinding> <releaseDataInternal> [3528] Releasing iterator binding:nestedViewCriteria_362
    <DCIteratorBinding> <releaseDataInternal> [3529] Releasing iterator binding:operators_357
    <DCIteratorBinding> <releaseDataInternal> [3530] Releasing iterator binding:operators_364
    <DCIteratorBinding> <releaseDataInternal> [3531] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3532] Releasing iterator binding:values_367
    <DCIteratorBinding> <releaseDataInternal> [3533] Releasing iterator binding:values_367
    <DCIteratorBinding> <releaseDataInternal> [3534] Releasing iterator binding:nestedViewCriteria_369
    <DCIteratorBinding> <releaseDataInternal> [3535] Releasing iterator binding:nestedViewCriteria_369
    <DCIteratorBinding> <releaseDataInternal> [3536] Releasing iterator binding:operators_364
    <DCIteratorBinding> <releaseDataInternal> [3537] Releasing iterator binding:operators_371
    <DCIteratorBinding> <releaseDataInternal> [3538] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3539] Releasing iterator binding:values_374
    <DCIteratorBinding> <releaseDataInternal> [3540] Releasing iterator binding:values_374
    <DCIteratorBinding> <releaseDataInternal> [3541] Releasing iterator binding:nestedViewCriteria_376
    <DCIteratorBinding> <releaseDataInternal> [3542] Releasing iterator binding:nestedViewCriteria_376
    <DCIteratorBinding> <releaseDataInternal> [3543] Releasing iterator binding:operators_371
    <DCIteratorBinding> <releaseDataInternal> [3544] Releasing iterator binding:operators_378
    <DCIteratorBinding> <releaseDataInternal> [3545] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3546] Releasing iterator binding:values_381
    <DCIteratorBinding> <releaseDataInternal> [3547] Releasing iterator binding:values_381
    <DCIteratorBinding> <releaseDataInternal> [3548] Releasing iterator binding:nestedViewCriteria_383
    <DCIteratorBinding> <releaseDataInternal> [3549] Releasing iterator binding:nestedViewCriteria_383
    <DCIteratorBinding> <releaseDataInternal> [3550] Releasing iterator binding:operators_378
    <DCIteratorBinding> <releaseDataInternal> [3551] Releasing iterator binding:criteriaItemsForSearch_348
    <DCIteratorBinding> <releaseDataInternal> [3552] Releasing iterator binding:viewObjectBindVars_351
    <DCIteratorBinding> <releaseDataInternal> [3553] Releasing iterator binding:viewObjectBindVars_351
    <DCIteratorBinding> <releaseDataInternal> [3554] Releasing iterator binding:properties_353
    <DCIteratorBinding> <releaseDataInternal> [3555] Releasing iterator binding:properties_353
    <DCIteratorBinding> <releaseDataInternal> [3556] Releasing iterator binding:criteriaItemsForSearch_348
    <JUCtrlHierNodeBinding> <release> [3557] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3558] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3559] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3560] Releasing iterator binding:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3561] Releasing iterator binding:variableIterator
    <DCIteratorBinding> <releaseDataInternal> [3562] Releasing iterator binding:UamAddress1Iterator
    <ApplicationPoolMessageHandler> <doPoolMessage> [3563] **** PoolMessage REQ ATTACH LWS
    <ApplicationPoolMessageHandler> <doPoolMessage> [3564] **** PoolMessage REQ DETACH LWS
    <ViewObjectImpl> <closeStatementsResetRowSet> [3565] ViewObject: [internal_vcival_def]Root.internal_vcival_def_385 close prepared statements...
    <ViewObjectImpl> <closeStatementsResetRowSet> [3566] ViewObject: [internal_vco_def]Root.internal_vco_def_442 close prepared statements...
    <ViewObjectImpl> <closeStatementsResetRowSet> [3567] ViewObject: [internal_vci_def]Root.internal_vci_def_355 close prepared statements...
    <ViewObjectImpl> <closeStatementsResetRowSet> [3568] ViewObject: [AppModule.UserDetailsViewVO1.data_uam_view_updateorgPageDef_Updatetaskflowdefinition1_uam_view_pageDefs_OrgDetailsPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition_ImplicitViewCriteriaQuery]Root.AppModule_UserDetailsViewVO1_data_uam_view_updateorgPageDef_Updatetaskflowdefinition1_uam_view_pageDefs_OrgDetailsPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition_ImplicitViewCriteriaQuery_346 close prepared statements...
    <DCUtil> <findSpelObject> [3569] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding, for ImplicitViewCriteriaQuery
    <JUCtrlHierNodeBinding> <release> [3570] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3571] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3572] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3573] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3574] Releasing iterator binding:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3575] Releasing iterator binding:variableIterator
    <ADFLogger> <begin> Rollback transaction
    <ApplicationModuleImpl> <resetState> [3576] Resetting AM=Root
    <ApplicationPoolMessageHandler> <doPoolMessage> [3577] **** PoolMessage REQ DETACH LWS
    <ApplicationPoolMessageHandler> <doPoolMessage> [3578] **** PoolMessage REQ ATTACH LWS
    <ApplicationPoolMessageHandler> <doPoolMessage> [3579] **** PoolMessage REQ DETACH LWS
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[2909 ].
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         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 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.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)
    Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[2909 ]}
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.add(EntityCache.java:537)
         at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1207)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1152)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:498)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:515)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5714)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1993)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2492)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2533)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2514)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:11079)
         at OrgDetails.onRowCreate(OrgDetails.java:1650)
         at OrgDetails.addMember(OrgDetails.java:1624)
         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:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 more
    the error is in this like Row newRow = rsi.createRow();Edited by: adf009 on 2013/02/14 2:48 PM

Maybe you are looking for

  • Change the look after creating own composed look.

    I have recently been introduced to Sharepoint 2013, i have used the sharepoint palette download to change set colours in an .spcolor file. I have uploaded these and all worked fine however I now dont seem to be able to change the look it just hangs a

  • Null Pointer Exception in orion-ejb-jar.xml GUI editor

    Hi, I am getting a NPE when attempting to configure CMR mappings orion-ejb-jar.xml with the GUI/Properties Editor. Using 9.0.5.2 on Windows XP professional SP2 Have defined the necessary <relationships> descriptors for this relation. 1:M unidirection

  • Combining AAC Files

    I am trying to combine AAC(m4a, m4b) audio files into larger, longer files. However Quicktime doesn't seem to be able to combine more than 12 hours per file. Does anyone here know of a workaround. Many of my files (Audiobooks primarily) are 30+ hours

  • Dreamweaver CC 2014 won't open on mac

    The icon just bounces a couple times then disappears. I've tried uninstalling and reinstalling - same issue occurs. All the other creative cloud apps I have are working fine.

  • Command line differences

    I've tried to change the case of a string using "sed", and apparently it's not supported by this version of "sed" available on Mountain Lion. First, I was under the impression that the bash running on ML was POSIX compliant, and that commands would b