This content has been marked as final.
Show 1 reply
-
1. Re: unable to see java portlet instence
piergiorgiolucidi Mar 3, 2009 10:40 AM (in response to akumarkind)I think it could be depend on settings on your portlet-instances.xml file.
If you have declared "if-exists" tag for this portlet in your portlet-instances.xml in this way:<if-exists>overwrite</if-exists> <instance> <instance-id>YourPortletInstance</instance-id> <portlet-ref>yourApp.yourPortlet</portlet-ref> </instance>
You are telling the container to destroy any existing object and create a new one.
If would you like the container retains any existing copy and creates a new instance, then you must set "keep" as value of this tag, in this way:<if-exists>keep</if-exists> <instance> <instance-id>YourPortletInstance</instance-id> <portlet-ref>yourApp.yourPortlet</portlet-ref> </instance>
Try this ;)
Hope this helps