7 Replies Latest reply: Jul 8, 2013 2:09 PM by Rajan_Kumar RSS

    OIM11gR2 - CustomBackingBeans

    Swati Pandey
      Hi All,

      I am in process of developing a custom MBean for a taskflow , however stuck over below step:

      Does any one has idea that below class belongs to which OIM jars/library:

      - oracle.iam.ui.platform.view.backing.BaseMB
      - oracle.iam.ui.paltform.utils.TaskFlowUtils


      Thanks & Regards
      Swati Pandey
        • 1. Re: OIM11gR2 - CustomBackingBeans
          Swati Pandey
          The issue is resolved.
          • 2. Re: OIM11gR2 - CustomBackingBeans
            996166
            How was this resolved? I am not able to find TaskFlowUtils.
            • 3. Re: OIM11gR2 - CustomBackingBeans
              user9212679
              1. Select Libraries and Classpath
              2. Click Add Library.
              3. Navigate to \Oracle_IDM1\server\jdev.lib folder and select to add library
              4. Click OK.
              5. Click Add Library.
              6. Select OIM Client Library.
              7. Confirm selection by clicking on Select.
              8. Click OK.
              9. Click Add Library.
              10. Click Load Dir.
              11. Select OIM Model Shared Library and OIM View Shared Library.
              12. Confirm selection by clicking on Select.
              13. Click OK.
              14. Save the project.
              • 4. Re: OIM11gR2 - CustomBackingBeans
                996166
                I added those libraries but still getting an error when I try to invoke FacesUtils.launchTaskFlow()

                java.lang.NoClassDefFoundError: oracle/iam/ui/platform/utils/TaskFlowUtils
                     at oracle.iam.ui.sample.common.view.utils.FacesUtils.launchTaskFlow(FacesUtils.java:172)
                     at oracle.iam.ui.custom.view.bean.LaunchFromExternal.actionListener(LaunchFromExternal.java:17)

                Any idea why that would be?
                • 5. Re: OIM11gR2 - CustomBackingBeans
                  user9212679
                  Try writing only launchTaskFlow instead of FacesUtils.launchTaskFlow()
                  • 6. Re: OIM11gR2 - CustomBackingBeans
                    996166
                    Yeah no luck, TaskFLowUtils is not found for some reason. Added all the libraries I could. It goes into launchTaskFlow method where it needs to access TaskFlowUtils but is not able to get to it.
                    • 7. Re: OIM11gR2 - CustomBackingBeans
                      Rajan_Kumar

                      Hi,

                       

                      I faced the same problem after following the below steps:

                       

                      1. Select Libraries and Classpath

                      2. Click Add Library.

                      3. Navigate to \Oracle_IDM1\server\jdev.lib folder and select to add library

                      4. Click OK.

                      5. Click Add Library.

                      6. Select OIM Client Library.

                      7. Confirm selection by clicking on Select.

                      8. Click OK.

                      9. Click Add Library.

                      10. Click Load Dir.

                      11. Select OIM Model Shared Library and OIM View Shared Library.

                      12. Confirm selection by clicking on Select.

                      13. Click OK.

                      14. Save the project.

                       

                      Then i looked at the contents of the library file OIM Model Shared Library and OIM View Shared Library. It loaded the jars and other components from client, modules directory. So i downloaded and placed in the directory structure which it required for reference.

                       

                      thanks,

                      Rajan Kumar