Portlet content not displaying
Hi,
I cannot view the content of my portlets.The error message i get is :
ERROR: Content is not available.
even when loading the sample jsr 168 channels i get the same error message. Not sure what i am doing wrong.
I'll explain what i am doing:
i have created a new organization in ldap with an xml script, then copied a sample desktop from /var/opt/SUNWportal/portals/portal1/desktop and renamed to the new organization name .With psconsole i am adding a new container (JSPTableContainerProvider) to the new dn and to that new container i am adding a new channel: jsr 168 channel.
Which ever channel i choose i am not able to view the content.
All the loaded sample content i can view.
Specs:
Solaris 10
Directory Server 5.2 patch 4
Sun Web server 6.1
Access Manager 2005Q4
Portal 7
Thanks for your help
Sergio
[909 byte] By [
hosting] at [2007-11-26 11:52:08]

# 1
Sergio,
The directories under /var/opt/SUNWportal/portals/portal1/desktop are the names of desktop types, not organizations. For example, the EnterpriseSample organization uses a desktop type called enterprise_sample. Within each organization, there is a portal attribute called "desktop type" that identifies what desktop type to use for that organization. Actually, this can be a comma separate list of desktop types that are merged together.
When you copy the directory tree for a desktop type to another name, to use in the new organization, the desktop type attribute for the new organization would need to be set to the name of the copy.
I don't think this is what is causing you to not see portlets, but it is something to check.
You might want to try creating an organization using the Access Manager console and then setting up that organization to use the portal using the Portal Server console instead of creating the organization using the script. This would help identify whether the problem is with the script or with something else.
HTH.
Tom
# 2
Tom,
Yes that is what i am doing.I am indeed changing the attribute to reflect the new desktop.
I have when i first installed the software created an organization via amconsole and got the same result.
Even jsr content preloaded with the sample portal is not visible !
Sergio
# 4
1. Where have you created the new org ?
2. Have you created inside "DeveloperSample" in the amconsole or outside it ?
3. If the new org is created inside DeveloperSample org, then all the dp elements for DeveloperSample will be inherited, this means the portlet providers at Developersample org will also be inherited to your new org and you can add the portlets and it appears on the desktop
4. However if you hv created outside Developersample, then the portlet providers will not be present by default at the "top level" dp and hence you cannot create portlets for your new org. If at all you want it like this, then you have to copy the Developersample portlet providers from Developersample dp and paste it into the top level dp.
5. Are you able to login to your user's desktop ? ie http://machine/portal/dt (username/password)
HTH
# 5
Hi All,
Am trying the same thing. Have created an new portal using the psconsole. Then using ant build file deployed the developer portal. I can login to the http//machine:port/portal/dt . However when in deploy an new JSR-168 portal and try to display on the desktop, there is an error,
ERROR: Content not available.
Am not sure if am missing something ....
thanks for help...
# 6
Hi Maliman,
deploy portlet does 3 things
1. massages the war file by adding the portletAppEngine jar
2. deploys the war file onto the webcontainer instance
3. update the display profile with the portlet provider dp
So please check whether 2) and 3) have happened in your case.