-
1. Re: Deleting pages permanently
apemberton Aug 30, 2009 6:38 PM (in response to pjputhenvila)To your first question, there is a sample portlet WAR deployed that contains *-object.xml files that replaces those pages when the server starts. Simply remove the *-object.xml files or those portlets entirely and they should be gone.
-
2. Re: Deleting pages permanently
pjputhenvila Aug 30, 2009 8:14 PM (in response to pjputhenvila)Hi
Thanks for the reply, I deleted all Jboss dependant file like -object.xml, -instance.xml, no go, it the pages are still there.
Philip -
3. Re: Deleting pages permanently
pjputhenvila Aug 30, 2009 8:29 PM (in response to pjputhenvila)Hi
I deletd the enire sample folder under jboss-portal.sar, Now I have a weather page in the default portel.
Any Idea.
Thanks
Philip -
4. Re: Deleting pages permanently
pjputhenvila Aug 30, 2009 8:46 PM (in response to pjputhenvila)Hi
It looks worked, I have to start several times and refresh, now all other pages gone, what a hard way.
Philip -
5. Re: Deleting pages permanently
peterj Aug 31, 2009 10:41 AM (in response to pjputhenvila)The problem is that the *-object.xml file are used to populate the portal database, and the runtime portal layout, including the pages and portlets in the portal, is maintained in that database. When you used the admin portal to remove them, they were removed from the database. The next time you started the portal, the *-object.xml file were read again and the database populated again. Thus removing the *-object.xml files at that point will not do anything because the database has been populated. You have to remove the pages/portlets using the admin portal and remove the *-object.xml files at the same time to keep the pages from reappearing.
-
6. Re: Deleting pages permanently
pjputhenvila Aug 31, 2009 4:48 PM (in response to pjputhenvila)Hi Peter
Thanks for the explanation, I saw your answer for several questions, I think you are one of the authoritative members of this forum.
Could you please answer this question as well
Through JMX console window I started a HSQL database using startDatabaseManager(), but I could see only JMS related tables under localDb schema. where are other schemas and Tables.
Thanks
Philip -
7. Re: Deleting pages permanently
peterj Aug 31, 2009 5:48 PM (in response to pjputhenvila)Are you using HSQLB for Portal? If so, Portal uses a separate HSQLDB database. I don't know how to get the database manager to connect to that other database (I always use either PostgreSQL or MySQL for Portal).
-
8. Re: Deleting pages permanently
pjputhenvila Aug 31, 2009 6:11 PM (in response to pjputhenvila)Thanks , I am planning to change to MySQL, I am learning and developing a portal site, I got requirement, when new user visit my site, I need to show the user register portlet on left, once they logged in I need to show the Google map portlet on left. Is there any techinque for that, I am developing using the Hotal Mapping portal example.
Regards
Philip -