0 Replies Latest reply on Oct 26, 2005 8:55 AM by cpage cpage

    hot deploy portlet in an existing page of the portal

    cpage cpage Novice


      I try to deploy the helloworld portlet in the default page of the default portal.

      if i take the basic helloworld portlet, it deploys, but not the way I want.
      Just an item in the menu portlet => I click and it opens a new page (helloworld) with the portlet and its content.

      I've modified the helloworld portlet to be able to see it in the default page (with the CMS portlet )

      i've modified the file helloworld-pages.xml :


      I have an error:
      15:18:16,209 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss/server/default/deploy/helloworld.war/WEB-INF/hellworld-pages.xml
      org.jboss.deployment.DeploymentException: page.default.default already registered; - nested throwable: (org.jboss.portal.server.kernel.ServiceAlreadyRegisteredException: page.default.default already registered)

      To do it work i've just modified my *-portal.xml to add the portlet in the default page, but it's not hot deploying, it's hard coded for me :p

      can you help me, please ?

      PS: i work with JBP 2.0 and JBoss AS 4.0.3 RC2