Menu
Category

ADF

Issue: REST web services are created in AppModule but disappeared

[JDev 12.1.3] Issue: I have created an ADF application in JDeveloper 12.1.3 in which I created restful web services in the app module for the business components. I created another ViewObject by custom sql query and added to app module and created rest services for it. Suddenly all my existing rest services are disappeared from the app module window and +…

Error: Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted

[JDev 12.1.3] I have created an EntityObject in the Model project and assigned a DB sequence to the key attribute of it. While running the project, I got the below error. [Static type checking] – [ADF security error] Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted. To avoid this issue, Go to the source of the entity object xml file…

Error: [ADF security error] The method getDBTransaction on class oracle.jbo.server.EntityImpl is not permitted

[JDev 12.2.1.0] I have created an EntityObject from database table and assigned an expression to its key attribute to get the value from a database sequance (See this post to know how to assign a db sequence to a property in entity object ). But while building the project, I got the below error. Error(11,53): [Static type checking] – [ADF security error]…

ADF_FACES-30108:The view state of the page has expired because of inactivity. Reload the page.

I have several tabs in my portal application, in which some of them are loading data from web services. Some times when I click on those tabs, an alert message with the below error message is displaying and on-click of Ok button, the app is reloading. The error message: ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1 javax.faces.application.ViewExpiredException: viewId:/oracle/webcenter/portalapp/pages/home.jspx…

oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/Connection1DS

Issue: <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6 oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/Connection1DS                 at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1476)                 at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:332)                 at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)                 at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:592)                 at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:422)                 at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8995)                 at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4603) Solution: Check the connection in AppModule. To check,   Right click on AppModule Select Configurations…

Invoking constructor twice in JSFF with panelTabbed component

I have a JSFF page which has panelTabbed component with four tabs and one of the tabs is displaying data from a managed bean. While loading the page, the bean constructor is being called twice. To avoid this add the below property to the panelTabbed tag,  which will avoid loading the tab data until it shows.   childCreation=”lazyUncached”

1 2 3 5
Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.