First of all, are you sure you have deployed your webapp in jetspeed/deploy
directory, and are you sure it has deployed properly ??
Also, I woudl like to mention that I have also seen such errors before every
once in a while when I update jetspeed source, or recreate the DB and
something like that. I dont remember the exact scenerio so cannot tell you
for sure. But whenever I got this, I would just hit the refresh button like
one or two times, and the portlets started showing up. (This might not be
general to jetspeed though, and could be an error just in my case)
HTH,
Amit
----Original Message Follows----
From: "Hari, Piyush" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[email protected]>
To: "'Jetspeed Users List'" <[email protected]>
Subject: RE: simple JSP portlet in Jetspeed 2.0
Date: Thu, 7 Jul 2005 13:19:06 -0700
Thanks Scott but it still does not work. I changed the fragment id attribute
to a unique value "helloworld-1" and the name attribute to
"helloworld:helloworldPortlet".
"Failed to retrieve Portlet Definition for
helloworld::helloworldPortletorg.apache.jetspeed.container.window.FailedToRe
trievePortletWindow: No PortletEntity exists for for id helloworld-1
removing window from cache."
Anycomments ?
-Piyush
-----Original Message-----
From: Scott T Weaver [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 4:12 PM
To: 'Jetspeed Users List'
Subject: RE: simple JSP portlet in Jetspeed 2.0
Fragment id can be anything as long as it is unique.
As for the "name" of the fragment. It needs to be
helloworld::helloworldPortlet. The second portion of the name must match
the value in between the <portlet-name> tag *NOT* the id attribute.
This used to be documented on the wiki, but since the documentation reorg it
appears to have disappeared :/
Hth,
-scott
> -----Original Message-----
> From: Hari, Piyush [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 07, 2005 3:59 PM
> To: 'Jetspeed Users List'
> Subject: RE: simple JSP portlet in Jetspeed 2.0
>
> I successfully deployed my files. I need help regarding the PSML: What is
> the fragment id ? I am unable to access my portlet. It gives the
following
> error:
>
> "Failed to retrieve Portlet Definition for
>
helloworld::helloworldorg.apache.jetspeed.container.window.FailedToRetriev
> eP
> ortletWindow: No PortletEntity exists for for id helloworld removing
> window
> from cache."
>
> Here is the PSML :
>
>
> <page id="helloworld">
> <defaults
> skin="orange"
> layout-decorator="tigris"
> portlet-decorator="tigris"
> />
> <title>helloworld</title>
>
> <fragment id="???" type="portlet" name="helloworld::helloworld"/>
>
>
> <security-constraints>
> <security-constraints-ref>public-view</security-constraints-ref>
> </security-constraints>
> </page>
>
>
> PORTLET.xml is as follows :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <portlet-app id="helloworld" version="1.0">
> <portlet id="helloworld">
>
> <portlet-
> class>org.apache.portals.bridges.common.GenericServletPortlet</port
> let-class>
> <portlet-name>helloworldPortlet</portlet-name>
> <display-name>helloworldPortlet</display-name>
> <description>helloworld</description>
> <expiration-cache>-1</expiration-cache>
> <supports>
> <mime-type>text/html</mime-type>
> <portlet-mode>VIEW</portlet-mode>
> <portlet-mode>EDIT</portlet-mode>
> <portlet-mode>HELP</portlet-mode>
> </supports>
> <portlet-info>
> <title>helloworldPortlet</title>
> <short-title>This is the short title</short-title>
> <keywords>helloworld</keywords>
> </portlet-info>
> </portlet>
> </portlet-app>
>
> -Piyush
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]