1 Reply Latest reply on Jul 30, 2009 11:44 AM by Andy Pemberton

    Packaging portlets for deployment

    Alex Kachanov Newbie

      I have 10 portlets for a portal

      I can deploy them one by one as WAR files - and this is working fine.

      But how about deploying all 10 portlets as a single package?

      I tried to use EAR package: JBoss portal deployed all portlets, but when I tried http://localhost:8080/portal/ I got a huge transaction exception

      Is there any way to roll out all portlets in a package?

        • 1. Re: Packaging portlets for deployment
          Andy Pemberton Newbie

          Yes, this is no problem. You can package all of your portlets inside a single .war file.

          You'll just define each portlet in your (single) portlet.xml file:

          <?xml version="1.0" encoding="UTF-8"?>
          <portlet-app ...>




          See the relevant portlet spec (either jsr168 or 286) for your portal server version. Hope this is helpful.