11 Replies Latest reply: Apr 23, 2013 4:11 AM by 908641 RSS

    Unable to uninstall our Custom Component.

    908641
      Hi,

      UCM Version: 11gR1-11.1.1.6.0-idcprod1-111219T111403 (Build:7.3.3.183)

      We created a custom component which we tested and it works 100% in DEV environment but we cannot even enable it, open nor Delete it.

      The Component was Downloaded from DEV via the advanced component manager. We then installed the *.zip file into TEST, and

      Here are a List of warnings we get:
      1. "Cannot open a read only component" - This happens when we try opening it.
      2. "Cannot Uninstall a component in the ECM Home Directory" - This happens when we try to uninstall it. We checked in the ECM Home Dir and the component is not listed in there.

      We checked the ECM Home dir and the component is not even there....

      How does this happen with a custom component and how can we move past this problem or avoid it in the future?

      We need to move past this issue, Please Help.

      Thanks
        • 1. Re: Unable to uninstall our Custom Component.
          ar*918953*su
          Check in <domain_home>/ucm/cs/data/components/idccs_components.hda if the component is there or not.
          If it is there you can disable the component by setting status to Disabled.

          If this works, you can try reinstalling the component.

          Thanks
          Arijit
          • 2. Re: Unable to uninstall our Custom Component.
            William Phelps
            Typically this means that the system thinks the custom component is supposed to go in the ECM home directory, when it's actually supposed to go in the "custom" directory.

            By chance did you set any custom "tags" on the component during development? Or copy an existing "standard" component to start your custom component?

            How about posting your <component_name>.hda and the manifest.hda file (located in the component's root directory)?
            • 3. Re: Unable to uninstall our Custom Component.
              908641
              Hi Arijit,

              The component is in that file and is status is set to Disabled but I'm still getting the same results.

              Any Idea?
              • 4. Re: Unable to uninstall our Custom Component.
                908641
                Hi William, here are the files. I hope you can see the text...

                Manifest.hda

                "<?hda version="11gR1-11.1.1.6.0-idcprod1-111219T111403" jcharset="UTF8" encoding="utf-8"?>
                @Properties LocalData
                ComponentName=CustomProfileGrouping
                CreateDate=4/18/13 5:45 PM
                blDateFormat=M/d{/yy}{ h:mm[:ss]{ a}}!mAM,PM!tAfrica/Johannesburg
                blFieldTypes=CreateDate date
                @end
                @ResultSet Manifest
                2
                entryType
                location
                component
                CustomProfileGrouping/CustomProfileGrouping.hda
                componentExtra
                CustomProfileGrouping/readme.txt
                @end

                "

                component.hda

                "<?hda version="11gR1-11.1.1.6.0-idcprod1-111219T111403" jcharset="UTF8" encoding="utf-8"?>
                @Properties LocalData
                ComponentName=CustomProfileGrouping
                blDateFormat=M/d{/yy}{ h:mm[:ss]{ a}}!mAM,PM!tAfrica/Johannesburg
                hasPreferenceData=0
                preventAdditionalComponentDowngrade=0
                version=2013_03_11-dev(build 1)
                @end
                @ResultSet ClassAliases
                3
                classname
                location
                loadOrder
                @end
                @ResultSet Filters
                4
                type
                location
                parameter
                loadOrder
                @end
                @ResultSet ResourceDefinition
                4
                type
                filename
                tables
                loadOrder
                resource
                resources/customprofilegrouping_resource.htm
                null
                10
                environment
                customprofilegrouping_environment.cfg
                null
                11
                resource
                resources/hideStandardCheckInAndSearch_resource.htm
                null
                11
                @end
                @ResultSet MergeRules
                4
                fromTable
                toTable
                column
                loadOrder
                @end
                "
                • 5. Re: Unable to uninstall our Custom Component.
                  908641
                  Hi, We've found one more piece of information in the log files...

                  "Error loading definition file for component 'CustomProfileGrouping' at the 'local' location with path '/u01/app/oracle/admin/<domain>/cs/components/CustomProfileGrouping/CustomProfileGrouping.hda'. However, the
                  definition file has been found at '/u01/app/oracle/admin/<domain>/cs/custom/CustomProfileGrouping/CustomProfileGrouping.hda' which is the location of 'custom' components.
                  Please check the component tags and make sure it is consistent with its current location"

                  Does this mean anything to you... Please help
                  • 6. Re: Unable to uninstall our Custom Component.
                    William Phelps
                    Yes, it does. That's what I was asking earlier about the "tags". I don't see the tags in the component's hda file, which is odd - since the tags aren't there, it shouldn't be complaining. I'm betting the idccs_components.hda file in the target system is partially corrupt.

                    You may have to manually remove the component in the target environment, and remove the section in the file "<domain_home>/ucm/cs/data/components/idccs_components.hda"in the target system that refers to the custom component. (MAKE A BACKUP OF THIS FILE BEFORE DOING ANY EDITS.)

                    Then open Component Wizard in the working dev environment (not the web UI, but the applet), and make sure you can build the component successfully in the development environment. Build it, and then take the rebuilt version to import into the target environment.
                    • 7. Re: Unable to uninstall our Custom Component.
                      ar*918953*su
                      As William mentioned remove the component from idccs_components.hda as the Disabled component is also giving error.
                      Then try reinstalling.

                      Thanks
                      Arijit
                      • 8. Re: Unable to uninstall our Custom Component.
                        Mohan Basavarajappa
                        removing the custom component reference from idccd_components.hda file, disable and uninstalling the component from UCM instance should get things working. Crosscheck the component status via "Admin Server" page and Component Manager Wizard.
                        Check whether you're building it rightly. When deployed successfully it will give a message with installation status.
                        • 9. Re: Unable to uninstall our Custom Component.
                          908641
                          Hi Everyone,

                          I just need to confirm that i'm removing the right reference please take a look at the component reference form the idccs_component.hda

                          +1. 2011_08_29 (rev 94640)+
                          +2. CustomProfileGrouping+
                          +3. custom/CustomProfileGrouping/CustomProfileGrouping.hda+
                          +4. Disabled+
                          +6. $COMPONENT_DIR/classes-ClassifiedEnhancements.jar+
                          +7.+
                          +8.+
                          +9. ClassifiedEnhancements+
                          +10.+
                          +11.+
                          +12.+
                          +13.+
                          +14.+
                          i15. dc,rm_classifiedtopics,home
                          +16. home+
                          +17.+
                          +18. 2013_03_11-dev(build 1)+
                          +19. @end+

                          So according to this, i will remove LINE 2 to LINE 18?
                          • 10. Re: Unable to uninstall our Custom Component.
                            Mohan Basavarajappa
                            Below mentioned is what you need to remove. line #1 of your post i.e., 2011_08_29 (rev 94640), belong to other component. every component definition ends with version id. please look before @end tag for your custom component.

                            2. CustomProfileGrouping
                            3. custom/CustomProfileGrouping/CustomProfileGrouping.hda
                            4. Disabled
                            6. $COMPONENT_DIR/classes-ClassifiedEnhancements.jar
                            7.
                            8.
                            9. ClassifiedEnhancements
                            10.
                            11.
                            12.
                            13.
                            14.
                            i15. dc,rm_classifiedtopics,home
                            16. home
                            17.
                            18. 2013_03_11-dev(build 1)
                            19. @end

                            after deleting it should look like this -
                            1. 2011_08_29 (rev 94640)
                            19. @end

                            Edited by: Mohan Basavarajappa on Apr 19, 2013 6:37 AM
                            • 11. Re: Unable to uninstall our Custom Component.
                              908641
                              Thanks to everyone who contributed to this thread. All your suggestions where very helpful.