Tuesday, June 2, 2015

ADF: Adding the following JSF error message: IAM-3050157 : Unknown attribute for entity user. CREATEDBY

Steps to Reproduce -

1)  After UDF creation added in Create,View and modify form.
2) Create a user with some value in new UDF

While submitting the page we go the below error.

Error-

<May 20, 2015 1:27:26 AM EDT> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: IAM-3050157 : Unknown attribute for entity user. CREATEDBY
oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-3050157 : Unknown attribute for entity user. CREATEDBY
        at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:171)
        at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)
        at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)
        at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:424)
        at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:479)
        at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
        at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2036)
        at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1680)
        at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
        at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:760)
        at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:407)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
        at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:169)
        at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:116)
        at oracle.iam.ui.catalog.view.backing.CartReqBean.submit(CartReqBean.java:980)
        at oracle.iam.ui.catalog.view.backing.CartReqBean.submitActionListener(CartReqBean.java:919)
        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:187)

Solution :

Step 1)

export below 3 files and verify new attribute is added.

/metadata/iam-features-requestactions/model-data/ModifyUserDataset.xml
/metadata/iam-features-requestactions/model-data/CreateUserDataSet.xml
/file/User.xml

If newUDF is missing .. add new field and import the xml. If its already present then just follow next  step.


Step 2)

* Do the Purgecache.sh all
* Restart the browser and try creating new user.

Regards,
Arihant Baid





6 comments:

  1. Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
    mobile application development training online
    web designing course with placement in chennai
    web designing training institute in chennai
    web design and development training
    mobile app development course
    mobile application development course

    ReplyDelete
  2. thanks for your information really good and very nice web design company in velachery

    ReplyDelete
  3. Thanks a lot for sharing a great blog I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.

    oracle adf training
    oracle adf online training
    oracle adf 11g training
    Oracle adf 12c training
    oracle adf training online

    ReplyDelete