1 Reply Latest reply on Aug 6, 2008 12:50 PM by prabhat.jha

    unable to create portlet instance: says it already exists

    u268

      Hi All!

      Have a weird problem: unable to create portlet instance from admin UI.
      Here is a case:
      Our portal had leftNavPortlet defined in XML under some_name.war.
      Then we removed this portlet form this war and placed to separate war with same name definition (leftNavPortlet) and from now it seems to have a different portlet name when deployed like:

      local./ontometrics-jboss-portlets.leftNavPortlet

      In admin UI I can't see portlet instance named leftNavPortletInstance... so I tried to create one by selecting local./ontometrics-jboss-portlets.leftNavPortlet from available portlets list but it gives me error:

      An instance with the id leftNavPortletInstance already exist!

      But I CAN'T see it in portlet instances defined!
      How do I cleanup it?

      Actually when I dropped local portal DB instance and deployed from scratch - all was working fine. But I don't want to drop DB on production!

      HELP!


        • 1. Re: unable to create portlet instance: says it already exist
          prabhat.jha

          If your war had *-object.xml then currently it's a one way process. Meaning such deployment would create an entry in DB but when you undeploy, it does not remove the entry from DB. However, if you create an instance using admin UI, then everything should work as expected.

          Removing of entry from DB when you remove -object.xml is in pipeline but I can not say when it will be done.