3 Replies Latest reply on Apr 17, 2008 11:58 PM by kavic

    Define a portal without a war file?

    bacteries

      Hello,
      I'm new to Jboss Portal (and Jboss) and I have maybe a stupid question...

      I would like to define a portal (with -object.xml, -instance.xml, portlet.xml, ... files). OK I undertsand now how this work.

      But to hava my portal in Jboss Portal how do I do?
      Do I need a war file? (using with hot deploy) or can I create a folder where I put my files and have my portal (even if it's not hot deploy?).

      I saw that there is data in folder, like : jboss-portal.sar\samples\portal-weather-samples.war so how can I do a similar portal?

      Thanks.

        • 1. Re: Define a portal without a war file?
          bacteries

          Juste some additional information : I'm using Jboss Portal 2.6

          • 2. Re: Define a portal without a war file?
            peterj

            Package your portlet into a war. The descriptor file (*.xml) all go in WEB-INF, the portlet class you can put into WEB-INF/classes or package as a jar and put in WEB-INF/lib. If you have html, jsp, images, etc they go wherever you would put them into a typical war.

            • 3. Re: Define a portal without a war file?
              kavic

              hello..
              as far as i understand ur problem... there are 2 ways to make ur own portal
              1. by packaging all ur .xml,jsp and .class files into war file and then deploy it by just copy the same into jboss-portal-2.6.2.GA\server\default\deploy\ folder. ur portal will reflect in the jboss portal.
              2. in the jboss portal go to the admin link.this link comes after u log in by admin as username and password. go to home tab and then to portal objects... here u can create portal under the manage sub portals.


              hope this will help.