2 Replies Latest reply on Mar 25, 2008 8:05 AM by jvitor

    Automatic page creation on deploy?

    jvitor

      Hi there, i'm a new user to jboss portal and i have a question:

      I've used admin login to remove the "wheather" page from the default portal, but later when i restarted the server the same page appeared.

      It also happened with the wiki portlet and the forum portlet. After i deployed them, new pages were automatic created in the default portal matching the portlets i deployed.

      My question is, how do i stop this behaviour ?

      Thanks in advance.

        • 1. Re: Automatic page creation on deploy?
          peterj

          You did not say which version of the Portal you are using so I will assume 2.6.x. The weather portlet, and its page, are declared in the file jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/default-object.xml. As long as that file appears, each time you restart the app server the file will be read and the page and portlet created. Remove that file to keep them from reappearing.

          Other *-object.xml files define the other pages and portlets. You can read more about the *-object.xml file in the Reference guide.

          • 2. Re: Automatic page creation on deploy?
            jvitor

            yep i'm using 2.6.4

            Thanks for the tip Peter, got it :)