I'm trying to setup a portal using jetspeed2 (M1) and am having a
problem doing so properly. Here's what I am doing based on a thread I
ran across from an earlier post at:

 
http://www.mail-archive.com/[email protected]/msg13502.html

  cd jakarta-jetspeed-2
  mkdir -p newportal/src/java
  mkdir -p newportal/src/webapp/WEB-INF/pages/

default-page.psml is just a stripped down version of the one from
portal/src/webapp/WEB-INF/pages/default-page.psml that only contains
the localeselector and login fragments. This is included at the end.

project.xml is just copied from portal/project.xml

In newportal I do the following:

  maven jetspeed2:build.portal jetspeed2:deploy.portal

After restarting Tomcat I can see the new portal but it can't find
the login and locale portlets returning the following errors:

  Failed to retrieve Portlet Definition for pam::LocaleSelector
  Failed to retrieve Portlet Definition for security::LoginPortlet

I have the same problem if I go into /portal and build and deploy the
same way. I've tried looking at the quickStart goal in maven.xml but
since I'm not familiar with Maven I'm still at a loss.

How should I deploy these properly?

I'm also attempting to use PERL portlets and so far have just been
making modifications in applications/perl/src directly to portlet.xml,
jetspeed-portlet.xml and cgi-bin/*. Is this the correct approach?

thanks in advance!
-M

---- default-page.psml -----


<page>
  <defaults
     skin="orange"
     layout-decorator="tigris"
     portlet-decorator="tigris"
  />
  <title>New Portal</title>
  <metadata name="title" xml:lang="fr">
                Ma Premiere Page de PSML
  </metadata>
  <metadata name="title" xml:lang="ja">
                Jetspeed 2 �����
  </metadata>

  <fragment id="dp-1" type="layout"
name="jetspeed::VelocityTwoColumns">
    <fragment id="dp-3" type="portlet" name="pam::LocaleSelector">
      <property layout="TwoColumns" name="row" value="0" />
      <property layout="TwoColumns" name="column" value="0" />
    </fragment>
    <fragment id="dp-12" type="portlet" name="security::LoginPortlet">
      <property layout="TwoColumns" name="row" value="0" />
      <property layout="TwoColumns" name="column" value="1" />
    </fragment>
  </fragment>

  <!-- allow all users to view -->
  <security-constraints>
    <security-constraint>
      <users>*</users>
      <permissions>view</permissions>
    </security-constraint>
  </security-constraints>
</page>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to