ADF Toplink Deployment bindings issue

Hi,
I have an ADF / TopLink Application that works just fine when testing inside JDeveloper. The issue is when I create an EAR file and deploy it on Application Server 10.1.3 I am getting the following error:
Mar 9, 2008 12:43:43 PM com.sun.faces.application.ApplicationAssociate createAndMaybeStoreManagedBeans
SEVERE: Managedbean WelcomeBean could not be created Can't set managed bean property: 'bindings'.
javax.faces.FacesException: Can't set managed bean property: 'bindings'.
     at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:596)
     at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:253)
     at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:282)
     at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
     at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)
     at oracle.adfinternal.view.faces.model.VariableResolverUtils$JspResolver.resolveVariable(VariableResolverUtils.java:79)
     at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
     at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
     at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
     at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
     at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
     at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
     at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
     at oracle.adf.view.faces.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:85)
     at claimscoreboardjspx._jspService(_claimscoreboard_jspx.java:361)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
     at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:578)
     ... 53 moreAny help is appreciated. Thanks

I have the following jar files that are added through JDeveloper in my EAR:
standard.jar
share.jar
log4j-1.2.12.jar
jstl.jar
jsf-impl.jar
jsf-api.jar
industrial-adf-faces-impl.jar
industrial-adf-faces-api.jar
dc-adapters.jar
custComps.jar
commons-logging.jar
commons-logging-api.jar
commons.digester.jar
commons-collections.jar
commons-beanutils.jar
adf-faces-impl.jar
adf-faces-api.jar
adf-controller.jarPlus I have the following set in my application.xml file of the serever
<!-- Toplink supporting classes -->
  <library path="../../../toplink/jlib/toplink.jar"/>
  <library path="../../../toplink/jlib/antlr.jar"/>Thanks

Similar Messages

  • Does anyone deploy 10.1.3 applications (adf & toplink) in websphere 6.0?

    does anyone deploy 10.1.3 applications (adf & toplink) in websphere 6.0?
    We are migrating the Jdev code to 10.1.3 and make some more development.
    do any of you deploy 10.1.3 in websphere 6.0?
    Thanks

    I am not using the ADF or Toplink.
    Just a simple welcome page. I followed the steps from metalink and downgrade
    Jdeveloper JDK 1.4.2 still doesn't work. any Idea?

  • ADF Mobile Deployment issue

    Hello -
    I am so frustrated with the ADF Mobile deployment. I have already created couple of Android Apps using the native language and never faced problems like this. I am very familiar with ADF development as well.
    Anyways this is my problem.
    I downloaded the sample adf mobile app from the following tutorial, but I was unable to deploy it on the Android emulator in  Release mode. The debug mode takes for ever.
    Oracle JDeveloper 11g Release 2 Tutorials - Building Mobile Applications with Oracle ADF Mobile
    This is the error messages I am getting:
    [11:02:51 PM] ----  Deployment started.  ----
    [11:02:51 PM] Target platform is  (Android).
    [11:02:51 PM] Beginning deployment of ADF Mobile application "Employees" to Android using profile "Android3".
    [11:02:51 PM] Deployment cancelled.
    [11:02:51 PM] ----  Deployment incomplete  ----.
    [11:02:51 PM] The following Android preference configuration is missing or invalid. Set these options in JDeveloper Preferences on the ADF Mobile panel:
    Key Password
    (oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
    I generated the keystore using keygen per the tutorial and it doesnt't help.
    This is how I validated the keystore.
    C:\Oracle\MiddlewareMob\jdk160_24\bin>keytool -list -keystore emp.keystore
    Enter keystore password:
    Keystore type: JKS
    Keystore provider: SUN
    Your keystore contains 1 entry
    empl, Nov 19, 2013, PrivateKeyEntry,
    Certificate fingerprint (MD5): 8A:27:53:64:B3:AF:01:CA:9C:2F:47:2A:50:16:E4:40
    C:\Oracle\MiddlewareMob\jdk160_24\bin>
    I tried recreating the keystore couple of times, but it didn;t help. I know the password entered is correct.
    Any suggestions will be appreciated. Also, I started learning JQuery Mobile in parallel.
    Thanks,
    -S

    Thanks for the reply Shay!
    Here are the settings:
    Android SDK location: C:\Android\sdk (This is where I extracted the Android SDK)
    Plat form Location : C:\Android\sdk\platforms\android-17
    Android Buid Tools Location: C:\Android\sdk\platform-tools
    Keystore location : C:\Oracle\MiddlewareMob\jdk160_24\bin\emp.keystore
    Key Alias : empl
    Directory of C:\Android\sdk\platforms\android-17
    11/19/2013  10:13 PM    <DIR>          .
    11/19/2013  10:13 PM    <DIR>          ..
    11/19/2013  10:13 PM        19,090,582 android.jar
    11/19/2013  10:13 PM             1,416 build.prop
    11/19/2013  10:13 PM    <DIR>          data
    11/19/2013  10:13 PM             2,362 framework.aidl
    11/19/2013  10:13 PM               209 sdk.properties
    11/19/2013  10:13 PM    <DIR>          skins
    11/19/2013  10:13 PM            16,802 source.properties
    11/19/2013  10:13 PM    <DIR>          templates
    11/19/2013  10:13 PM             8,800 uiautomator.jar
                   6 File(s)     19,120,171 bytes
                   5 Dir(s)  39,479,033,856 bytes free
    I tried this from a different machine and I am getting the same error there too.
    Pls advise.
    Thanks!

  • Jdev10g JSP + ADF + TopLink use of sessions.xml

    I am using JSP/Struts, ADF and TopLink. I would like my data controls to use the database information in sessions.xml instead of the TopLink deployment descriptor. It appears that, in order to do that, I have to subclass oracle.adf.model.generic.toplink.ToplinkDataControl, which is one of the system ADF classes. Am I wrong?
    Thanks,
    Ara

    If you are using jdev to create your toplink mappings and sessions.xml in the same project, you should be able to specify the location of the toplink-deployment-descriptor in the sessions.xml as follows:
    /META-INF/Model/toplink-deployment-descriptor.xml
    This issue (3583952) was fixed in Jdev 9.0.5.2. Please make sure you are using JDev 9.0.5.2 and 9.0.5.1.
    Thanks,
    Anuj Jain

  • ADF/TopLink/Struts - start browsing from a given row position?

    I created a web-application to browse a table called "Project" in the database using ADF/TopLink/Struts, following some online tutorials, and successfully deployed it to Tomcat 5.5.7. Now I am able to browse the table using the following link,
    http://localhost:8080/Project/browseProject.do
    Since there are too many data records in the table, I am wondering if there is a way to jump to a given row using something like,
    http://localhost:8080/Project/browseProject.do?Project_ID_No=123
    where "Project_ID_No" is the primary key of table "Project".
    I understand that we can retrieve the value of the "Project_ID_No" parameter from the HttpServletRequest. The question is how to obtain the currency corresponding to the value of "Project_ID_No" and perform some necessary steps afterwards?
    Thanks,
    Henry

    Sorry I haven't been able to reply, got dragged into an emergency project.
    I have it all working very well, and I really should have figured the commit thing out myself, I was just thinking about it way too hard.
    I do have one more quick question about something I was able to do, I want to have a link next to each row that will delete that row. In order to do that I need to:
    1) Set the current row
    2) Delete the row
    3) Commit
    I was able to do this declarative without having to create any extra data actions by passing three event params on a link such as the following
    &lt;a href="engineManagement.do?event=selectRow&rowKeyStr=&lt;c:out value='${Row.rowKeyStr}' /&gt;&event=Delete&event=Commit" &gt;Delete&lt;/a&gt;
    (selectRow is bound to the setCurrentRowWithKey method)
    Should I be using the event system in this way?
    This seems to work very well, but i'm concerned about the ordering of the events, if they get executed in the wrong order, the wrong row will be deleted or the transaction won't get committed. Will the ADF controller always execute events in the order they appear on the query string?

  • ADF Toplink Create Row with foreign key

    Hello,
    I'd like to create a new row in a table that has a required one-to-one mapping relationship (foreign key). I've created an edit form by dragging the return node of a readQuery. The columns holding foreign key values aren't added to the page(because of 1-1 relationship) and when I commit the changes errors are raised.
    How do I pass the foreign key to the ADF Toplink framwork to include in the insert statement.

    TopLink's persistence model is based around relationships, which represent FKs. To have these FKs properly populated you need to create the corresponding object relationships.
    To do this you need to create a data action that will invoke a method on your class passing in the object you want to create the relationship with. There is currently an issue where ADF will not allow you to easily drop a set method onto an action. You will need to create a method on your bean that does not start with 'set'.
    In the demos I have done I have added a method like 'populateAddress(Address)' that internally calls the set method. This populate method will show up on the data control palette and you can then drop it on the action in your page flow.
    One additional tip: To access the object you want to pass in you will need to extend the default expression that reflects the current selected row in the iterator to have '.dataProvider' appended. This accesses the persistent object within row container.
    If you are still struggling please contact me through the email address in my forum profile.
    Doug

  • ADF/Toplink embedded OC4J

    G'Day,
    I have problems to deploy an ADF/Toplink application. I checked out the "EJB Based Application Development with Oracle ADF"-Demo which I found at the "Oracle JDeveloper Reviewer's Guide"-Page.
    Instead of "EJB 2.0 Entity Beans (OC4J Native persistence)" I used Toplink as persistence. When I run the dept.jsp I do get an OC4J Embedded Server Alert that tells me to use the standalone OC4J 10.0.3.
    Why ? I suggest it's just while Toplink is set up already in OC4J 10.0.3 ? If so, is there a way of how I'm able to use the embedded OC4J ?
    Cheers
    Norman

    JDeveloper 10g production release comes with OC4J 10g (9.0.4). This OC4J is used as embedded OC4J Server. TopLink is not integrated as CMP provider in the above release of OC4J (10g - 9.0.4). When you try to run a CMP which is mapped using TopLink persistence an alert is popped up.
    OC4J 10g (10.0.3) preview release (available on OTN) has TopLink integrated as CMP provider. You can deploy CMP with TopLink persistence from JDeveloper 10g to OC4J 10g (10.0.3) and test them out.
    raghu
    JDev Team

  • Please Help With toplink deployment

    Hello
    I have a simple j2ee application that runs great in jdeveloper but bombs when I deploy it to my OAS server.
    JDev Version 10.1.2
    OAS 10.1.2
    Technologies used
    Struts, toplink
    I have 1 table I mapped with toplink, I have a toplink-deployment-descriptor.xml, sessions.xml and a TopLink Mappings.
    I have a struts action called kicker.
    In kicker I do the following:
    <code>
    oracle.toplink.tools.sessionconfiguration.XMLLoader xmlLoader = new oracle.toplink.tools.sessionconfiguration.XMLLoader("META-INF/sessions.xml");
    oracle.toplink.tools.sessionmanagement.SessionManager sessionManager = oracle.toplink.tools.sessionmanagement.SessionManager.getManager();
    DatabaseSession session = (DatabaseSession)sessionManager.getSession(xmlLoader, "default", Thread.currentThread().getContextClassLoader());
    Vector objects = session.readAllObjects(t3.model.NibuSalaryWorksheets.class);
    System.out.println(objects.size());
    request.getSession().setAttribute("results",objects);
    return mapping.findForward("success");
    </code>
    Then in a jsp page I iterate over the results collection and print it out.
    When I try to deploy this it blows up on the server with the following error :
    Local Exception Stack:
    Exception [TOPLINK-6007] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
    Exception Description: Missing descriptor for [class t3.model.NibuSalaryWorksheets].
    Query: ReadAllQuery(t3.model.NibuSalaryWorksheets)
    Can someone please help me, I am desparate to use toplink over ejb's but I can't get it to run on the server.
    thanks
    troy

    Seems to be some kind of classloader issue.
    You can check if the session has a descriptor for the class by calling,
    session.getDescriptor(Class.forName("t3.model.NibuSalaryWorksheets"));
    It is most likely that the class is on the classpath twice.
    Instead of loading the sessions.xml with the thread class loader you could try using the classes class loader.
    i.e.
    DatabaseSession session = (DatabaseSession)sessionManager.getSession(xmlLoader, "default", t3.model.NibuSalaryWorksheets.class.getClassLoader());

  • No option to create toplink-deployment-descriptor

    I originally started a TopLink project that allowed me to generate a toplink-deployment-descriptor.xml by right clicking on the project's mapping file.
    However, this option has recently been replaced with an option to generate toplink-ejb-jar.xml instead. There is no longer an option for toplink-deployment-descriptor.xml, yet the project will bomb if it's not there...
    Apparently the two files are the same thing (although one goes to META-INF and the other goes to a subfolder under META-INF) because if I rename toplink-ejb-jar.xml to toplink-deployment-descriptor.xml, the project runs fine.
    Can anyone explain why this is? I did add an EJB to the project (an MDB)... could that have messed something up?

    Adding an ejb, hence presence of an ejb-jar.xml, to the jdev project will cause this.
    This is a known issue and will be addressed in future releases.
    Hope this helps.

  • Wrong security Principal in ADF BC deployed as EJB SessionBean

    Hi everybody,
    We have an ADF Web application using ADF Faces and ADF BC. Due to security reasons we need to execute the ADF Faces layer and the ADF BC layer at separate machines (in separate security zones), so we tried to deploy and access ADF BC as EJB Session Beans (i.e. to use "remote" Business Components). We used the necessary JDeveloper wizards to make it, we did have problems to achieve it on JDev 11.1.1.2 and JDev 11.1.1.3 (due to runtime java.lang.ClassCastException: oracle.adf.model.servlet.HttpSessionContextImpl cannot be cast to oracle.jbo.SessionContext, which probably is a bug), but eventually we succeded on JDev 11.1.1.4.
    Unfortuanetly we encountered a problem - in the remote ApplicationModuleImpl (at "ADF BC" tier, where the EJBs were deployed) <tt>ADFContext.getCurrent().getSecurityContext().getUserName()</tt> does not return the username of the currently authenticated user (e.g. the session user in the presentation tier), but it returns the username of the user who has been current when this particular AM instance has been created (e.g. next time when this AM instance is reused by another user the method does not return his username but the username of the AM instance's creator). Note, that our EJBs are configured by default with <tt><use-caller-identity/></tt> and we have established Global Trust between the WLS domains, so the current authenticated Subject from the client tier should be propagated to the remote EJB (in order to execute the EJB in the security context of the client application).
    We rely on the username in ApplicationModuleImpl.prepareSession() to setup a security context in the database session, so it is crucial for us to get the correct username. The method <tt>ApplicationModuleImpl.getUserPrincipalName()</tt> returns the proper username, but not always, because of a well-known bug appearing since JDev 11.1.1.2, so we could not use this method either.
    My questions are:
    (1) Has anybody encountered such a problem?
    (2) What should happen in such a configuration, e.g. how and when the "remote" ADF SecurityContext is (re)loaded in such an environment?
    (3) How could we resolve the problem?
    Our environment is JDeveloper 11.1.1.4 + WebLogic Server 10.3.4.
    Thanks,
    Dimitar
    Edited by: Dimitar Dimitrov on Feb 4, 2011 6:53 PM

    Hi codeplay,
    The forum has excluded this thread from my watch list when I have marked the thread as answered and I have missed your questions, so I appologize to you. Now I am answering your questions despite it may be too late for you.
    Q: I am very interested to know that besides this wrong security principal issue, what else problems do you encounter for BC-as-EJB deployment?1) The EAR file that is generated for the remote ADF BC (i.e. for the ADF BC deployment at the remote server) puts the EJB JARs in <tt>lib</tt> folder within the generated EAR instead of <tt>APP-INF/lib</tt> (which is part of the CLASSPATH in WebLogic by default). As a result we were receiving ClassNotFound exceptions. The problem is solved by specifying <tt>APP-INF/lib</tt> as a target for the "Application Libraries" file group in the corresponding EAR deployment descriptor;
    2) We were receiving "Exhausted ResultSet" or "ResultSet is already closed" exceptions (I cannot remember well which ones, please excuse me, it was some time ago). We solved this problem by setting <tt>jbo.ejb.txntype=global</tt> in AM's configuration (i.e. we instructed the framework to use global (e.g. JTA) transactions instead of local ones). However, this setting caused another problem - after COMMIT/ROLLBACK the framework did not start a new global transaction immediately. We solved this problem by implementing <tt>afterCommit()</tt> and <tt>afterRollback()</tt> methods to our ApplicationModuleImpl class where we started a new JTA transaction explicitly.
    Q: For EO attributes that are configured as "Track Change History" (created/updated by), will the correct values be stored? Assume we couldn't get correct user name from remote BC, what else features do we lose? (eg, protect EO attributes using ADF security?)As far as I know history attributes rely on the method <tt>ApplicationModule.getUserPrincipalName()</tt>. This method is considered as a deprecated, but in fact the history attributes rely on it instead of the <tt>ADFContext.getCurrent().getSecurityContext().getUserPrincipal().getName()</tt>. The method getUserPrincipalName() returns a wrong result only during the 1st chekout after AM's establishment in the AM pool. Then it works correctly even if recycling the AM instance in another user session. In fact this method was the most reliable "username" source (but not reliable during the initial checkout).
    Q: My understanding is that you will go for this kind of deployment in your project regardless of all known issues, is it?A: No, we abandoned this kind of deployment because of all these problems and because we realized that Oracle's support for this feature is very poor and Oracle did not confirm commitment to this feature in the future.
    Lastly, did you ever try to reproduce this issue in jdev 11.1.2?A: No, we have not tried JDev 11.1.2 because it was not existing at the time when were doing our trial and because our application was going to be a WebCenter application. JDev 11.1.2 does not have WebCenter extension yet.
    Dimitar

  • How to upload/download to blob using ADF-toplink?

    I am using ADF-toplink,i tried upload to blob using some of the code given in the ADFBC upload/download application...IT WORKED... but download is not working...I want to know some better method for both uploading and downloading... IN ADF-TOPLINK only......

    Hi guys,
    I'm able to download file in ADF using af:fileDownloadActionListener.......
    does any one knows how to upload a file using ADF???

  • Image size with adf:render  model="bindings.Image" /

    Hi all. Please help.
    i don't how to make image size when i use <adf:render model="bindings.Image" />. In database Image column type is ORDSYS.ORDIMAGE.
    And when I upload image i use <adf:inputrender model="bindings.Image"/> it's work ok, but i don't how to hide the text "Upload file" next to the browse file input.
    Please help.
    THanks you very much.

    Repost, Urgent, please help

  • Struts/ADF/Toplink conversion from 10.1.2 to 10.1.3

    Hi. We have a J2EE application based on Struts/ADF/Toplink.
    We just let the JDeveloper migrate the whole application itself.
    We solved a few minor problems, but now we have the greater one:
    - we have in domain classes some getX...(), setX...() methods, intended for example
    for getting attributes of nested objects or for conversion from String to Date.
    In older version, when you had some getXSomeAtr() method in domain class, the attribute
    XSomeAttr was automatically generated into Data Control.
    In newer version it's not! If you want the attribute to be in data control, you must
    have an private attribute XSomeAtr declared in domain class.
    Example - we have these attibutes (first two has their own getters and setters and are
    mapped in toplink, the third is unmapped)
         private Date datum;
    private String nazev;
    private String XDatumAsDate;
    and methods
    public String getXDatumAsDate() {
    return OurUtils.dateToStringAsDate(getDatum());
    public void setXDatumAsDate(String datum) throws ParseException{
    Date d = OurUtils.StringToDateAsDate(datum);
    setDatum(d);
    And the form look like this
    <html:text property="XDatumAsDate" .../>
    <html:text property="nazev"     .../>
    Reading is ok, but attempt to modify date in input field ends with
    "JBO-35009: Setting attribute for XDatumAsDate in object methodRSICollection failed"
    Are we doing something wrong ? We just need to have the date entering under our control and
    be able to enter dates in various formats.
    Thanks in advance for any comments.

    I compared the both old and new data control xml files and found the difference. The previous attribute descriptor has IsUpdateable="true" but the new has IsUpdateable="0".
    Manually changing won't help - data control generation of any class regenerates all data controls and puts back IsUpdateable="0". I'm stuck now.

  • Haven't got submenu [generate toplink-deployment-descriptor.xml]

    followed steps in the tutorial : Building a Simple JSF and TopLink App in JDeveloper 10.1.3 Preview
    http://www.oracle.com/technology/products/jdev/101/howtos/jsftoplink/index.html
    but at the step 8 ( Now that you've generated your TopLink Class and initial mappings, you'll want to generate the TopLink Deployment Descriptor. Locate the TopLink Mapping node and right click "Generate toplink-deployment-descriptor.xml")
    i can't see the submenu [generate toplink-deployment-descriptor.xml]
    please help me
    thanks

    and at TopLink node have 2 file : sessions.xml and "TopLink Mapping"
    when right-click on "TopLink Mapping" see 3 sub-menu
    +Add or remove Descriptor
    Generate Mapping Status Report
    Create Data Control
    Help me get the sub-menu :Generate toplink-deployment-descriptor.xml ???
    thanks

  • ADF 12g deployment failed

    Hi All,
    I was trying to deploy an ADF 12c Application which successfully tested in JDeveloper failed in while deploying through Fusion Middleware Control 12c
    I am getting the below exception while deploying the EAR ..
    Apr 22, 2015 12:05:57 PM IST> <Warning> <org.apache.myfaces.trinidad.component.UIXComponentBase> <BEA-000000> <getClientId should not be called while the
    view is being constructed. Component ID: j_id2>
    <Apr 22, 2015 12:06:14 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "4653741066113340" for task
    "0". Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.context.AccessibilityProfile"
    weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.context.AccessibilityProfile
            at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
            at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)
            at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)
            at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.context.AccessibilityProfile
            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
            Truncated. see log file for complete stacktrace
    >
    After adding trinidad-impl.jar in classpath manually , this error gone and I got the another one..
    <Apr 22, 2015 12:45:26 PM IST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application /scratch/app/Middleware12c/user_projects/domains/OFSLL_domain/servers/OFSLL_ManagedServer/tmp/_WL_user/ofsll_1431_V14.3.0.0.0-b19/lbon52/ofsll143.war. Ensure that the annotations are valid. The error is oracle.adf.view.faces.bi.webapp.MapProxyServlet
    java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
            Truncated. see log file for complete stacktrace
    >
    <Apr 22, 2015 12:45:26 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "4656093454447625" for task "3". Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet"
    weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
            at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
            at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)
            at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)
            at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
            Truncated. see log file for complete stacktrace
    I hope these classes should be available at runtime once i apply JRF template.  Please let me know what could be wrong in my setup.

    java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    Deploy the ADF runtime to WLS.
    https://docs.oracle.com/middleware/1212/adf/ADFAG/deploy.htm#ADFAG20790

Maybe you are looking for

  • Adobe Reader leaving temp files, which are not auto-deleting.

    Adobe reader is leaving temp files all over and I can't delete them. The temp files are left in my "My Documents" folder, which is redirected to the server. Anytime I open a PDF, it leaves a temp file (ie:U17F7.tmp) and it does not auto-delete. The t

  • Error 1327. Invalid Drive when Installing 502-06-07-2013

    When I'm trying to install the systemupdate502-06-07-2013 fails with "Error 1327. Invalid Drive: m:\" This drive is a network drive that I have My Documents mapped to.  I tried to install from the Downloads directory as well as the root of the C driv

  • HT3669 Software Update: Printer prints just outline characters!

    After installation of the latest printer update my printer prints everything in outline characters. Same problem for my co-workers. Any solution Apple?

  • XML Auto page layout

    hi i want some help about xml mapping in indesign. i have xml file, but want extract some data (structure is name, statement, statement 1, address, address1, address2, city etc.) like name, statement, address1, city. So How to map this to come only t

  • Recognize the install CD..?

    I purchased Elements 11 & Premiere Elements 11 & my laptop will not recognize the install CD.. Thoughts on what may be the reason?