< oracle.adf.view > < UnifiedPopupTag > < setVisible > < 'visible' accessor property Set uses a no-op implementation.

Jdev Version: JDEVADF_11.1.1.7.2ADF - FAREL8 - BP_GENERIC_131030.1412.6661.3

Click and cancel popup, we see the following in the console:

< oracle.adf.view > < UnifiedPopupTag > < setVisible > < 'visible' accessor property Set uses a no-op implementation. Used in the extreme cases, when the value of the property, beyond the default value, leads to undesirable behaviors. >

Is this a problem? If so, suggestions on how to fix?

Thank you

R

This message is a warning that you somehow try to use the setVisible of a popup that does not work as it does nothing. The setVisible() method is obsolete and does nothing but write the message in the log.

There is not that you can do about it, but to avoid calling setVisible on the popup.

Do you have somewhere in your code call setVisible on the popup (or use the visible property of the popup on the page?

Timo

Tags: Java

Similar Questions

  • ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.f

    Hello

    I am currently check why I encounter this error in a line graph?

    Basically I have the managed bean
    public class TestMB
    {
      private List<Object[]> tabularData = new ArrayList<Object[]>();
    
      public void setTabularData(List<Object[]> tabularData)
      {
        this.tabularData = tabularData;
      }
    
      public List<Object[]> getTabularData()
      {
        
        return tabularData;
      }
    }
    In the code, I have this defined graphic line.
    <dvt:lineGraph id="lineGraph1" subType="LINE_VERT_ABS"
       emptyText="No Data To Display"
       value="#{backingBeanScope.TestMB.tabularData}"
       contentDelivery="immediate">
           <dvt:background>
              <dvt:specialEffects/>
           </dvt:background>
           <dvt:graphPlotArea/>
           <dvt:seriesSet>
              <dvt:series/>
           </dvt:seriesSet>
           <dvt:o1Axis/>
           <dvt:y1Axis/>
           <dvt:legendArea automaticPlacement="AP_NEVER"/>
    </dvt:lineGraph>
    But I continued to encounter this error.
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.DataModel
    My thought is that I would be able to display the emptytext attribute.

    JDeveloper 11.1.1.6

    Published by: Neliel Sep 9, 2012 23:51

    Neliel,

    You must link to the tabularData property and not to the value property.

    
           
              
           
           
           
              
           
           
           
           
    
    

    Arun-

  • java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.GeoMapDataModel

    Hello world

    LM l and map creation using table list as the data collection for the leaf theme of points to specify a given location. The problem l get here is that, after setting up the collection of data on the theme tab, the choice address and longtude & latitudes remain disabled. LM using JDeveloper 12 c last version & weblogic 12 c. When l run my lm project this error: java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.GeoMapDataModel. Here is the source code of my page and the Bean managed that define the ArrayList

    MapBean.pngPageSourceCode.png

    kdario Thanks for your comment, no. l didn't download the demo of component, but l did it right now. l use developer J 12 c to see how GeoMapDataModel is created .it will come back to you if any problem arises.

  • Where can I find the oracle.adf.view.faces.model.UploadedFile

    Using JDeveloper 11.1.1.4.0

    Where can I find the jar containing the oracle.adf.view.faces.model.UploadedFile, or has she been depricated? The trinidad version changes the name of file, eliminating the way she. I hope that the version of Oracle does not. If the Oracle version is not available, is there a way to keep the full path in the version of the Trinity?

    Thank you
    Troy

    I've written a series of blog on file handles lately. Part 2 http://wp.me/pcBZk-bi has a working example.

    Timo

  • oracle.adfinternal.view.faces.util.ReportableImpl: oracle.jbo.domain.DataCreationException: Houston-25009

    Hello

    I get the same error, that so many times posted in this forum. But the case of the mine is little different from the others. I use JDeveloper 12 c

    I have download several files and commit in DB a. Files and downloaded a list here. I am facing problem when Blob respective data in connection parameter. I am trying to download the file doc.txt which contained karima.

    Code snippet:

    private list < UploadedFile > uploadedFile.

    List of files < UploadedFile > = this.getUploadedFile ();

    for (int i = 0; i < files.size (); i ++) {}

    AttributeBinding atrBlobDocContent = (AttributeBinding) bindings.getControlBinding ("DocContent");

    atrBlobDocContent.setInputValue (files.get (i)); Error happen here tried 1

    Below I tried 2

    blobFile = FileOperations.writeToBlobDomain (files.get (i));

    atrBlobDocContent.setInputValue (blobFile);

    How can I set blob value in list in link atrBlobDocContent.

    See detail below code

    Bean class

    public class FolderUploadBean {}

    public BindingContainer {} getBindings()

    back...

    Return BindingContext.getCurrent () .getCurrentBindingsEntry ();

    }

    BindingContainer links = getBindings();

    private list < UploadedFile > uploadedFile.

    private list < String > fileName;

    Private BlobDomain blobFile;

    {} public void setBlobFile (BlobDomain blobFile)

    this.blobFile = blobFile;

    }

    public BlobDomain getBlobFile() {}

    Return blobFile;

    }

    public FolderUploadBean() {}

    }

    {} public void setUploadedFile (list < UploadedFile > uploadedFile)

    this.uploadedFile = uploadedFile;

    }

    public list < UploadedFile > getUploadedFile() {}

    uploadedFile return;

    }

    public String saveFiles() {}

    List of files < UploadedFile > = this.getUploadedFile ();

    System.out.println ("save the files called");

    If (file! = null) {}

    System.out.println ("\n file size ==" + files.size ());

    for (int i = 0; i < files.size (); i ++) {}

    System.out.println ("\n File Name is" + files.get (i) .getFilename ());

    System.out.println ("\n the file length is" + files.get (i) .getLength ());

    OperationBinding dmsBlobBinding = bindings.getOperationBinding ("CreateInsert");

    OperationBinding dmsInfoBinding = bindings.getOperationBinding("CreateInsert1");

    OperationBinding dmsApplMapBinding = bindings.getOperationBinding("CreateInsert2");

    //-------------------

    AttributeBinding atrBlobDocId = (AttributeBinding) bindings.getControlBinding ("DocBlobId");

    AttributeBinding atrBlobSeqNo = (AttributeBinding) bindings.getControlBinding ("SeqNo");

    AttributeBinding atrBlobDocContent = (AttributeBinding) bindings.getControlBinding ("DocContent");

    Information attribute values

    AttributeBinding atrInfDocBlobId = (AttributeBinding) bindings.getControlBinding ("DocBlobId1");

    AttributeBinding atrInfoSeqNo = (AttributeBinding) bindings.getControlBinding ("SeqNo1");

    AttributeBinding atrInfoDocType = (AttributeBinding) bindings.getControlBinding ("DocType");

    AttributeBinding atrInfoDocName = (AttributeBinding) bindings.getControlBinding ("DocName");

    Card Attrib Valuess

    AttributeBinding atrDMSMapDocBlobId = (AttributeBinding) bindings.getControlBinding ("DocBlobId2");

    dmsBlobBinding.execute ();

    dmsInfoBinding.execute ();

    dmsApplMapBinding.execute ();

    OperationBinding opBindingSeql = bindings.getOperationBinding("generateDocBlobId");

    Map paramsMap = opBindingSeql.getParamsMap ();

    String strFirstDocBlobId = opBindingSeql.execute (m:System.NET.SocketAddress.ToString ());

    System.out.println ("returned seq impl =" + strFirstDocBlobId);

    int intFirstSeqNumber = Integer.parseInt (strFirstDocBlobId);

    atrBlobDocId.setInputValue (intFirstSeqNumber);

    atrBlobSeqNo.setInputValue (0);

    //----------------Blob Table-------------------------

    System.out.println ("value of the lob is" + files);

    files. Set (i, uploadedFile.get (i));

    BlobDomain blobDomain = createBlobDomain (files.get (i));

    System.out.println ("blobDomain is" + blobDomain);

    Byte [] dataContent = blobDomain.getStorageByteArray ();

    //----------------Info Table-------------------------

    atrInfDocBlobId.setInputValue (intFirstSeqNumber);

    atrInfoSeqNo.setInputValue (0);

    atrInfoDocName.setInputValue (files.get (i) .getFilename ());

    //--------------Map Table---------------------------

    atrDMSMapDocBlobId.setInputValue (intFirstSeqNumber);

    int intgetBlob = Integer.parseInt (atrBlobDocId.getInputValue () m:System.NET.SocketAddress.ToString ());

    atrBlobDocId.setInputValue (intFirstSeqNumber);

    atrInfDocBlobId.setInputValue (intFirstSeqNumber);

    try {}

    blobFile = FileOperations.writeToBlobDomain (files.get (i));

    atrBlobDocContent.setInputValue (blobFile);

    } catch (Exception e) {}

    e.printStackTrace ();

    }

    Abvoe all values are defined

    try {}

    OperationBinding operationBinding = bindings.getOperationBinding ("Commit");

    operationBinding.execute ();

    } catch (Exception ex) {}

    ex.printStackTrace ();

    }

    }

    }

    Returns a null value.

    }

    }

    FileOperation.java

    public class {FileOperations

    Public synchronized Shared BlobDomain writeToBlobDomain (UploadedFile imageFile)

    throws SQLException, IOException {}

    InputStream in = imageFile.getInputStream ();

    BlobDomain blobDomain = new BlobDomain();

    OutputStream out = blobDomain.getBinaryOutputStream ();

    ubyte [] buffer = new byte [8192];

    int bytesRead = 0;

    While ((bytesRead = in.read (buffer, 0, 8192))! = - 1) {}

    out. Write (buffer, 0, bytesRead);

    }

    in. Close();

    Return blobDomain;

    }

    }

    Error log

    oracle.adfinternal.view.faces.util.ReportableImpl: oracle.jbo.domain.DataCreationException: Houston-25009: failed to create an object of type: java.lang.Integer type: oracle.jbo.domain.BlobDomain with value: karima

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding._postSetValue(FacesCtrlAttrsBinding.java:183)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.setInputValue(FacesCtrlAttrsBinding.java:146)

    at com.almulla.dms.view.beans.FolderUploadBean.saveFiles(FolderUploadBean.java:109)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    to 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:107)

    to 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:101)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:123)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1083)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    Caused by: oracle.jbo.domain.DataCreationException: Houston-25009: failed to create an object of type: java.lang.Integer type: oracle.jbo.domain.BlobDomain with value: karima

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:933)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:112)

    at oracle.jbo.server.AttributeDefImpl.convertToJava(AttributeDefImpl.java:2515)

    at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1090)

    at oracle.adf.model.binding.DCDataControl.setAttributeInRow(DCDataControl.java:2388)

    at oracle.adf.model.bc4j.DCJboDataControl.setAttributeInRow(DCJboDataControl.java:2884)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeInRow(JUCtrlValueBinding.java:1175)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValueInRow(JUCtrlValueBinding.java:3010)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2985)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2948)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.setInputValue(FacesCtrlAttrsBinding.java:145)

    ... more than 68

    Caused by: java.lang.NumberFormatException: for input string: "Karima".

    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

    at java.lang.Integer.parseInt(Integer.java:492)

    in java.lang.Integer. < init > (Integer.java:677)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

    at oracle.jbo.domain.TypeConvMapEntry.convert(TypeConvMapEntry.java:101)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:883)

    ... more than 78

    Maroof

    Hello

    This post related to my problem in my application have been resolved. I now use for creating data method below.

    Private BlobDomain createBlobDomain (file UploadedFile)

    {

    InputStream in = null;

    BlobDomain blobDomain = null;

    OutputStream out = null;

    Try

    {

    in = file.getInputStream ();

    blobDomain = new BlobDomain();

    out = blobDomain.getBinaryOutputStream ();

    IOUtils.copy (in, out);

    }

    catch (IOException e)

    {

    e.printStackTrace ();

    }

    catch (SQLException e)

    {

    e.fillInStackTrace ();

    }

    Return blobDomain;

    }

    and other issues as data binding attribute below list file parameter is correct.

    atrBlobDocContent.setInputValue (createBlobDomain (files.get (i)));

    In my case, it was a stupid mistake in pageDefnitionBinding, here atrBlobDocContent attribute referencing some long type with another VO.

    Thanks to Timo Hahn to propose and help debugging.

    Maroof

  • error on service cloud oracle adf application deployment

    Hello, I hv saved cloud oracle java and database service. I hv created adf simple application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11 g 2. so I hv created file ear for deployment in the cloud. I have deployed adf the cloud using the java console application. But after downloading applications, deployment failed. I tried 3 times, but the result was the same. I checked the logs, I got 3 warnings in the whitelist log and error in deploy newspaper. Those are the following:

    Warnings in the whitelist log:

    2013-04-14 06:57:11 CDT: start action "API Whitelist.
    2013-04-14 06:57:11 CDT: began API whitelist
    2013-04-14 06:57:12 CDT: WARNING - there are 3 warnings (s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - path: WEB - INF * (1 WARNING)
    2013-04-14 06:57:12 CDT: WARNING - 1: "login-config' missing under element child element has recommended.
    JavaEE:web - app.
    If you want to publish your application, you may have vacuum
    < login-config / > in your web.xml file. If you require authentication, you must then
    have <>login-config and its child < auth-method > element in the web.xml file.
    Without this element (< login-config >), users can be challenged by SSO, but
    the code of the application will be run as an anonymous user. Line no.: 4.
    2013-04-14 06:57:12 CDT: WARNING - path: WEB - INF * (2 warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1: recommended "jsp-descriptor" missing under element child element.
    ORCL - weblogic:weblogic - web - app.

    If you have a JSP file that is not precompiled, compile errors
    could be shown on the browser. It is recommended to include
    verbose false > < jsp-descriptor > < < > < * *-descriptor > in weblogic.xml.
    Line no.: 2.
    2013-04-14 06:57:12 CDT: WARNING - 2: recommended child element "session-descriptor" missing under element.
    ORCL - weblogic:weblogic - web - app.

    You will be asked to have cookies separate way, if several
    applications are available in the same SSO session or if you
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line no.: 2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 WARNING (s).

    2013-04-14 06:57:12 CDT: INFO - validate white list ended with 0 error (s) and WARNING (s) 3.
    2013-04-14 06:57:12 CDT: validation whitelist past.
    2013-04-14 06:57:12 CDT: complete "API Whitelist": status SUCCESS



    and error in deploy journal:

    2013-04-14 06:57:12 CDT: start action "deploy the Application.
    2013-04-14 06:57:12 CDT: deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: could not load the webapp: Test-ViewController-context-root cause DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: State action WL: failure
    2013-04-14 06:57:15 CDT: Action FAILED with State action WL: failure
    2013-04-14 06:57:15 CDT: see the server log of your cloud service Java for more information about the failure.
    2013-04-14 06:57:16 CDT: Application Deployment failed.
    2013-04-14 06:57:16 CDT: 'Deploy the Application' complete: FAILED status


    I use jdeveloper 11 GR 2, so pls don't tell me to use jdeveloper 11 GR 1 material. because, I hv already developed an application for my final year of Bachelor and I can't migrate to the previous version. So there is only one way for me to generate the ear file and the deployment of the console.

    Thus,.
    I m not getting what is the problem and what will be the solution for this?
    What should I do?
    What changes are required?

    Please, help me out of this problem!

    Well hosting Cloud Oracle ADF applications is for the ADF * 11.1.1-then you will not be able to deploy an application developed with * 11.1.2 thereon.
    If you don't want to revert to the version support for JDeveloper, I suggest that you look in the other accommodation options.
    For example: http://multikoop.blogspot.de/2012/09/adf-essentials-in-redhat-cloud.html

  • [ADF - 11.1.2] evidence of performance seen in oracle adf

    Hello

    Let's take an example from: http://www.gebs.ro/blog/oracle/adf-view-object-performance-tuning-analysis/

    He said perfectly how to grant VO to get a performance, but how do I see that it works?

    For example: I set Fetch size of 25, "in the batch of" value 1 or 26 I see following the SQL statement in the newspaper
     [1028] SELECT Company.COMPANY_ID,         Company.CREATED_DATE,         Company.CREATED_BY,         Company.LAST_MODIFY_DATE,         Company.LAST_MODIFY_BY,         Company.NAME FROM COMPANY Company
    as if it is fetching all records from the table at the same time regardless of the batch size. If I see 50 folders on the user interface at the same time, so I expect at least 2 Select pick 26 cases by each statement if I put the batch size to 26... OR at least 50 select for the batch size, the value '1'.


    Please tell me how to see view performance tuning work? How can we say that setting batch size = '1' is bad for the performance?

    Keltoum,

    Lot size does not affect the SQL sent to the database, but it affects the size of extraction JDBC - he catches as many records at a time when it is fetching the cursor.

    John

  • Size of session causing Oracle ADF viewScope bloat

    I'm sure you know, ADF introduced some additional scopes (pageFlowScope, viewScope and backingBeanScope) on top of the standard JSF ones. Our use of one of the stretches of the ADF, viewScope, seems to be the cause of the size of our session to swell over time.

    Objects that are view scope (for example, our Backing Beans) are managed by the ADF and seem to be put in the session in an org.apache.myfaces.trinidadinternal.application.StateManagerImpl object $PageState. The number of these objects when the session is equal to the org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS in our web.xml configuration file.

    Once all the chips are 'used', sailing around the application, one of these objects is removed from the session and (should be) garbage collected at some point. However, the recovery of this space is observed much later, after the end of the session. For this reason, what a load of test the application, we see the use of heap space gradually, increasing before causing the JVM to crash.

    Tracking the creation and destruction of our objects is done by adding instructions log in the default constructor and the finalize method (which overrides the finalize on object method). Statements by logging on the creation of objects are visible when we would expect them, but logging of the finalize method statements are seen only after the end of the session. When a garbage collection is triggered using Mission JRocket Oracle control we see the use of heap down significantly, but observe no logging calls the finalize method.

    Anyone got any ideas on why the garbage collector would not be able to recover items from sight after having been removed from the session?

    Thanks in advance.

    P.S. I found already VIEW SCOPE IS NOT RELEASE PROPERLY in ADF which is a closesly related thread, but unfortunately could not use the answers there to solve our problem. I also posted this same question on Stack Overflow (http://stackoverflow.com/questions/13380151/lifetime-of-view-scoped-objects-oracle-adf). I'll try and update the two sons if I find a solution.

    Published by: 971217 on November 14, 2012 07:08

    Hello

    I tried to reproduce the problem on JDeveloper 11 GR 2 (11.1.2.3), but after 5 minutes to go back and hard, my server does not crash. However, I did some changes to your code. You can try to replicate using the following minor change?

    Instead of
    / * Method to redirect to page two. */
    Public Sub goToPageTwo()
    {
    VR;
    {
    FacesContext.getCurrentInstance ().getExternalContext.redirect ("pageTwo.jspx");
    }
    catch (IOException e)
    {
    e.printStackTrace ();
    }
    }

    I changed it to
    public String button_action() {}
    Return "goPage1";
    }

    where "goPage1" is a case of control flow, I set on my taskflow boundless.

    Thank you

    Juan Camilo

  • How to convert a number in bar code format in oracle ADF?

    Hello

    In oracle adf application I want to convert the format of a column in my view object is displayed as a barcode without changing its data type in the database table?

    Thank you

    Check this URL:

    Blog of Ashish Awasthi (Jdev/ADF): generate the barcode Image in Oracle ADF using the OnBarcode API

  • Am new to oracle ADF, what JOBS prospect within 3 years?

    Am new to oracle ADF, what jobs prospect within 3 years in ADF, actually am a form oracle developer and I would like to know if oracle will be good learning and good in terms of career...

    You do not you ask this in the wrong place?

    The people here are biased for JDeveloper and ADF. From my point of view, the chances are great!

    Oracle has announced to do more or less everything with ADF. However, this will not mean that you as a developer of forms are without a chance.

    Timo

  • [JDev12.1.2, ADF, GlassFish 4] A few questions on the tutorial of Shay "Deploy Oracle ADF Essentials Applications to Glassfish"

    Hallo (Shay),

    I want to deploy my application Web ADF to GlassFish that is installed on a different server from the development computer.

    The application interacts with a MS SQL Server database.

    I have some doubts/questions on the tutorial of Shay https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to

    So far in the development phase, I deployed the application only to the JDeveloper-itegrated WebLogic Server on the development computer.

    Creating a connection pool

    • I could successfully creates a pool of connections only by copying the sqljdbc4.jar library in the C:\glassfish4\glassfish\libdirectory. Is this OK or should the library remain in C:\glassfish4\glassfish\domains\domain1\lib?
    • Is there a way to hide the password in the additional properties?
    • Is there any setting for the property should do (especially for MS SQL Server)? For example, somewhere I read that the isolation of transactions should be set to read uncommitted... but I did not understand why.
    • What is the difference between types java.sql.DataSource resources and java.sql.XADataSource?

    In JDeveloper application configuration

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) set to java: comp/env/jdbc/MyDatabase_DB_SQLServerDS. If I change this field value to jdbc / < name_of_jdbc_resource_created_in_GlassFish >, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What's wrong?
    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    Taking care of the libraries used by the application

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files I put in C:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Other questions

    • What is the difference between putting a library in the lib of GlassFish folder and put it in the folder lib of Domain1?
    • Deployment procedure used by Shay in his tutorial might also be used to deploy the application on a remote production server?
    • Is there a way to manually delploy an application, for example by copying manually under GlassFish project folder?
    • My final goal is as follows. I have a clean Setup that allows me (1) to continue to run the application in JDeveloper on its built-in WLS, (2) to test the application to the GlassFish that I have installed on the computer development and (3) delploy the application on the remote production server. Could help me do that?

    These are a lot of questions.

    I thank in advance all the users who want to respond and I hope that the answers to these questions will help also others.

    Ciao,.

    Federico

    Federico - most of your questions is generic Glassfish questions that do not specifically have anything to do with ADF - I recommend that you post on the forum of Glassfish. (Or read the Glassfish documentation for things like the difference between directories and deployment/admin console).

    >>

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) parameter tojava:comp / env/jdbc/MyDatabase_DB_SQLServerDS. If I change the value of this field of jdbc /, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What is the problem?

    This is because JDeveloper uses an integrated WebLogic when you run and therefor cannot use the data source of Glassfish.

    I suggest that make you this change only when you go to deploy on Glassfish.

    >>

    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    We don't know, as the matrix of certification for the ADF will show that we have not tested/certified this combination.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

    >>

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files that I put inC:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Use the properties of project-> libraries and class path to add the jar or create a library and add it to your project.

    Make sure that this library is deployed by default.

    >>

    • Deployment procedure used by Shay in his tutorial can also be used to deploy the application on a remote production server

    Yes

    > Is there any property setting should do (especially for MS SQL Server)?

    Oracle ADF business with several databases components

  • Development of rich Web Applications with Oracle ADF tutorial

    Oracle JDeveloper 12 c (12.1.2) tutorials - developing rich Web Applications with Oracle ADF

    3.8 step that a change in the Salary field should translate into a auto update, partial trigger, in terms of annual salary after tabbing off the Salary field, but it doesn't. If I do a update for the Salary field and click on the next button, click the back button, I can see the field update of annual salary.

    I use the version of the JDeveloper IDE with the logical Web server and Apache Derby network server - 10.8.2.2.

    Oracle IDE12.1.2.0.40.66.68

    I made all the changes or the steps in the tutorial.

    No idea why the automatic update does not work on my system?

    Thanks in advance for your suggestions!

    Hello

    two suggestions

    1 set the property clientComponent on the field of output annual salary to 'true '. Because the field is an element of output text sometimes what makes a client component helps the update.

    2 obtain the completed application to http://docs.oracle.com/cd/E37547_01/tutorials/tut_rich_app/labs/richclient.zip and check if she works there. If this works it then the problem is in your implementation. But then you have a working example to compare with.

    Frank

  • Oracle ADF: Could not validate database transactions

    Hi all

    I'm trying to update the oracle database using Oracle ADF command line. The following is an extract from my code

    final String amName1 = "taxreturn.AM_Taxreturn";
    final String connStr = "JDBC: thin: o9ias / [email protected]:1521:t1fdbo;
    Hashtable env = new Hashtable (2);
    env.put (Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put (JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);

    ApplicationModule appMod1 = null;
    try {}
    javax.naming.Context ic = new InitialContext (env);
    Home1 ApplicationModuleHome = (ApplicationModuleHome) ic.lookup (amName1);
    appMod1 = home1.create ();
    appMod1.getTransaction () .connect (connStr);
    } catch (Exception e) {}
    e.printStackTrace ();
    }

    ViewObject t1xvVO = appMod1.createViewObject ("t1xvVO", "taxreturn. T1XrefVView");
    t1xvVO.setWhereClause ("T1X_T1FU_USERID =" "+" testlin2 "+" ' and T1X_T1_TAXYEAR ='"+" 2012"+"' T1X_INVOICE_T1_150 is null and T1X_DELETED is null "");
    t1xvVO.executeQuery ();

    Line rowT1xv = null;
    int count = 0;
    While (t1xvVO.hasNext ()) {}
    Count ++;
    rowT1xv = t1xvVO.next ();
    }
    System.out.println ("number of discs:" + count);

    t1xvVO.executeQuery ();
    If (t1xvVO.hasNext ()) {}
    rowT1xv = t1xvVO.last ();
    System.out.println ("name:" + rowT1xv.getAttribute ("T1FirstName"));
    System.out.println ("T1xInvoiceT1150: front:" + rowT1xv.getAttribute ("T1xInvoiceT1150"));

    rowT1xv.setAttribute ("T1xInvoiceT1150", "250");
    appMod1.getTransaction () .postChanges ();
    System.out.println ("T1xInvoiceT1150: after:" + rowT1xv.getAttribute ("T1xInvoiceT1150"));
    }

    System.out.println ("Dirty is:" + t1xvVO.getApplicationModule () .getTransaction () .isDirty ());
    try {}
    appMod1.getTransaction () .commit ();
    System.out.println ("Commit succeeded.");
    } catch (oracle.jbo.JboException e) {}
    System.out.println ("Validation failed." + e);
    }

    I can see ago total 3 records retrieved. I run the query object view again, and then replace the last record. But after the statement commit, the database is not updated. What's not here? Thanks in advance

    Sheet



    For LeafWoods I think the key is to know that you need a British Colombia ADF entity to perform database updates because there is no doDML on the display objects

    Frank

  • Implement dragsort in oracle adf

    Hello
    I would like to implement the sort of drag (for example: http://jqueryui.com/sortable/#display-grid) in oracle adf.
    It comes to my sample code in oracle adf.

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:trh = "http://myfaces.apache.org/trinidad/html" >
    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >
    < f: view >
    < af:document id = "d1" title = 'Sortable' >
    < af:form id = "f1" >
    < af:resource type = "css" source="/css/test.css"/ >
    < af:resource type = "javascript" source="/js/jquery-1.9.1.js"/ >
    < af:resource type = "javascript" source="/js/jquery-ui.js"/ >
    < trh:script id = "sx4" >
    $(function () {})
    $("#sortable").sortable ();
    $("#sortable").disableSelection ();
    });
    $(function () {})
    $("#test").sortable ();
    $("#test").disableSelection ();
    });
    $(function () {})
    $("#sortable1").sortable ();
    $("#sortable1").disableSelection ();
    });
    < / trh:script >

    < af:panelList lines argument maxColumns = '6' = '3' id = 'sortable1 '.
    listStyle = "thumbnail" inlineStyle = "" list-style-type: none ">"
    < varStatus = 'vs' af:forEach start = end of the '1' = "17" >
    < af:panelList lines argument maxColumns = '6' = '3' styleClass = "span4" id = 'test '.
    listStyle = "thumbnail" inlineStyle = "list-style-type: none" >
    < af:outputText id = "ot2" value = "#{vs.index} #{vs.count} #{vs.begin}" / >
    < / af:panelList >
    < / af:forEach >
    < / af:panelList >
    < / af:form >
    < / af:document >
    < / f: view >
    < / jsp:root >


    Can someone help me...

    I use JDeveloper 11.1.1.6.0 version.

    Thanks and greetings

    Malenfant

    Published by: Madhava Maiya on April 18, 2013 02:17

    I used Control Panel dashboard for the fulfilment of the condition of dragsort.

    The code I used is below one:








    The component going to do drag, sort of items (box set)

    Thank you

    Malenfant

    Published by: Madhava Maiya on April 17, 2013 05:06

    Published by: Madhava Maiya on April 18, 2013 02:15

  • where can I find oracle.adfinternal.view.faces.taglib.UIXPanelTag class?

    Hello
    I'm developing an application with jdev 10.1.32 (jsf, adf BC), then migrating to 11.113, when I run it, found classnot excetption as: oracle.adfinternal.view.faces.taglib.UIXPanelTag
    where can I find the class, which jar file to include it?
    All suggest is appicate.thanks
    lixz

    Published by: lixinzhu on October 1, 2010 04:22

    The answer is maybe given in this thread: Re: class not found: oracle.adfinternal.view.faces.taglib.UIXPanelTag

    that refers to this blog entry: http://mfonsadf.blogspot.com/2009/02/migrating-adf-app-from-jdev-1013x-to.html

    See also: http://it.toolbox.com/blogs/jjflash-oracle-journal/migrating-from-jdeveloper-10g-to-11g-first-steps-38849

Maybe you are looking for