portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mark Donaghy <philip.dona...@gmail.com>
Subject Re: simplest portlet example
Date Sun, 22 Jan 2006 23:24:23 GMT
On 1/22/06, John Cartwright <john.c.cartwright@comcast.net> wrote:
> Hello All,
>
> I'm just getting started w/J2 (binary-derby install) and am
> attempting the simplest portlet example (http://portals.apache.org/
> jetspeed-2/guides/guide-simple-portlet.html).
>
> However, when I go to http://localhost:8080/jetspeed/portal/
> simplest.psml, I get the error:
>
>    Failed to retrieve Portlet Definition for simplest::SimplestFailed
> to retrieve Portlet Definition for
> simplest::Simplestjava.lang.IllegalArgumentException: Cannot pass a
> null PortletDefinition to a PortletEntity.Failed to retrieve Portlet
> Definition for simplest::SimplestFailed to retrieve Portlet
> Definition for simplest::Simplest
>
> This suggests to me that my new portlet has not been registered
> correctly or recognized by the container.  I notice that Step 4 of
> the example includes the instruction "Rebuild your portal." which is
> not clear to me.

This sums it up:

maven war:install
maven j2:quickStart

I wrote this when I was making modifications from the portal source
code. The key things to do are to put the war in the Jetspeed deploy
directory and the psml some where in the document tree.

>
> Could someone please elaborate or suggest what I'm missing in
> deploying this example?
>
> Thanks!
>
> -- john
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message