0 Replies Latest reply on Jan 31, 2006 5:03 PM by xmaniac

    Starting server forces to redeploy portlets

    xmaniac

      Hi all,

      I'm having a strange issue. I've built a portlet using the spring example. Everything works fine. It deploys/redeploys like a charm. The deployment descriptor only creates an instance.

      <deployments>
       <deployment>
       <if-exists>overwrite</if-exists>
       <instance>
       <instance-name>NewsPortletInstance</instance-name>
       <component-ref>NewsPortletApplication.NewsPortlet</component-ref>
       </instance>
       </deployment>
      </deployments>


      Later I have to add the portlet manually to a page (ie default) via the management portlet.

      The problem comes when I shutdown the server. Everytime I restart it I'm forced to login as an admin, go to the management portlet, browse to the page, select the instance and destroy it. Then I have to re-add the portlet to the page.

      What's wrong with it?