On 1/22/06, John Cartwright <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
