<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-713050315554146430</id><updated>2011-12-22T07:46:12.213-08:00</updated><category term='webcenter'/><category term='publisher'/><category term='fix'/><title type='text'>That Wild and Wacky Portal</title><subtitle type='html'>Various postings on tips, tricks and lessons learned in working with the BEA Aqualogic User Interaction Portal</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jordanportal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jordanportal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jordan Rose</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-M7_LLbcyVlo/AAAAAAAAAAI/AAAAAAAAEjQ/lMyp-MnEuEw/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-713050315554146430.post-9102883355287646516</id><published>2009-07-06T04:42:00.000-07:00</published><updated>2009-07-06T05:05:37.925-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='publisher'/><category scheme='http://www.blogger.com/atom/ns#' term='webcenter'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Publisher and WebCenter Not Playing Well Together</title><content type='html'>Those of you who have taken the time to install and become familiar with the latest version of "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;ALUI&lt;/span&gt;" may have run into an issue with the integration of Publisher 6.5.  I recently stood up the Oracle &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;WebCenter&lt;/span&gt; Interaction 10&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;gR&lt;/span&gt;3 suite of products on a virtual machine.  For the most part, the products seemed to integrate properly with each other (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Collab&lt;/span&gt;, Analytics, etc...). &lt;br /&gt;&lt;br /&gt;Installing Publisher was as easy as usual but the product is not as fully integrated with the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;WebCenter&lt;/span&gt; framework.  The main drawback is that Publisher is not &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;configurable&lt;/span&gt; through the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;WebCenter&lt;/span&gt; &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;Configuration&lt;/span&gt; Manager web-based interface.  You do still need to go in and manually edit the Publisher &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;config&lt;/span&gt; files on the server.  This omission was most likely made due to the &lt;a href="http://www.oracle.com/technology/products/webcenter/interaction/pdf/wci_10gr3_sod.pdf"&gt;eventual shift to UCM&lt;/a&gt; (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;Stellent&lt;/span&gt;) in the next version of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;WebCenter&lt;/span&gt;.  Even more annoying than dealing with the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;config&lt;/span&gt; files is the disturbing realization that the Published Content &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;Portlets&lt;/span&gt; .&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;pte&lt;/span&gt; server import package does not play nicely with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;WebCenter&lt;/span&gt;.  &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After installing Publisher, configuring the database and checking the diagnostics page (no issues reported), I tried to import the Published Content .&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;pte&lt;/span&gt; file.  The portal's import utility finished &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_16"&gt;successfully&lt;/span&gt; but upon further inspection, several of the key files and publisher templates were not imported for each language.  For example, the EN (English) News publisher template folder did not have an images folder whereas other language versions of the same publisher template folder did contain the folder.  I tried re-importing the .&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;pte&lt;/span&gt; file but was unable to get a full set of publisher files to import properly.  The resulting templates were broken and the user is unable to use the out-of-the-box News, &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_18"&gt;Announcement&lt;/span&gt;, Content Canvas, Community Directory, Header or Footer publisher &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;portlets&lt;/span&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After much trial and error I found a workaround (what, you didn't think I was going to post something with out some sort of "solution" did you?).  By extracting and editing the files within the published-content-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;portlets&lt;/span&gt;.zip file that is referenced by the .&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;pte&lt;/span&gt; file during import, I was able to make &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_22"&gt;modifications&lt;/span&gt; to get the import to work properly.  The trick here is that I needed to eliminate languages other than English from the file.  Once the files are edited and English is the only language being imported (no need to edit the .&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;pte&lt;/span&gt; file), the import finishes properly for all EN &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;portlets&lt;/span&gt; and all files and folders are available for the publisher templates.  Now for those of you who need to support multi-language portals you may need to contact Oracle support to open a ticket for this issue.  I was able to replicate this issue on a few machines (both .NET and Java portals) so I don't think it is machine specific.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If anyone has another solution they have come across to fix this issue, please post it as well.  Rather than forcing you to make the language &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_25"&gt;modifications&lt;/span&gt; to the ZIP file yourselves, I have posted my edited version &lt;a href="http://jorose.googlepages.com/published-content-portlets.zip"&gt;here&lt;/a&gt;.  Thankfully in release 11g of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;WebCenter&lt;/span&gt; we won't have to jump through these Publisher hoops anymore.  I just hope Oracle has a good upgrade path in place to get content migrated from Publisher to UCM.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/713050315554146430-9102883355287646516?l=jordanportal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jordanportal.blogspot.com/feeds/9102883355287646516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=713050315554146430&amp;postID=9102883355287646516' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default/9102883355287646516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default/9102883355287646516'/><link rel='alternate' type='text/html' href='http://jordanportal.blogspot.com/2009/07/publisher-and-webcenter-not-playing.html' title='Publisher and WebCenter Not Playing Well Together'/><author><name>Jordan Rose</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-M7_LLbcyVlo/AAAAAAAAAAI/AAAAAAAAEjQ/lMyp-MnEuEw/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-713050315554146430.post-2287720093289276971</id><published>2008-07-22T17:58:00.000-07:00</published><updated>2008-07-23T11:39:36.744-07:00</updated><title type='text'>Dot Com Portals:  Smart Searching</title><content type='html'>Most customers that purchase Aqualogic User Interaction (or Plumtree, or WebCenter or whatever the portal is known as tomorrow) decide to implement it as an intranet portal. This is the easiest way to produce a collaborative user experience and deploy the product as an employee-facing pilot internally. With the advent of ALUI 6.0 and advanced UI tweaking through adaptive tags, more and more customers are pushing the portal outside the firewall. Suntrust Bank (&lt;a href="http://www.suntrust.com/"&gt;http://www.suntrust.com/&lt;/a&gt;), City Of Eugene, Oregon (&lt;a href="http://www.eugene-or.gov/portal/server.pt"&gt;http://www.eugene-or.gov/portal/server.pt&lt;/a&gt;) and Safeco Insurance (&lt;a href="http://www.safeco.com/"&gt;http://www.safeco.com/&lt;/a&gt;) are just some examples of public facing "dot com" websites that are powered by the Aqualogic portal.&lt;br /&gt;&lt;br /&gt;Aqualogic does a solid job of searching content out-of-the-box but an issue quickly arises when contemplating how to properly search a public-facing dot com site with the portal's search engine. Most public-facing dot com websites employ a good amount of Publisher-based content.&lt;br /&gt;Coupling structured data entry templates with well-defined presentation templates, a customer can build a large number of dot com web pages through a series of content items and published content portlets. Since the portal natively indexes Publisher content items and returns results&lt;br /&gt;that link directly to the item itself, a standard search will not suffice for a traditional dot com website. The user would enter a search term, click on a result and immediately find themselves viewing a single content item outside of the framework of the website (no header, footer, LiquidSkin navigation, etc...). An alternate crawling option must be explored if we want to direct the user to the actual web page in which the content item resides.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_MG5AsJpcmjM/SIaC5CgvBwI/AAAAAAAAArQ/FgO1J-DRUJw/s1600-h/indexexample.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5226008334048364290" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://bp3.blogger.com/_MG5AsJpcmjM/SIaC5CgvBwI/AAAAAAAAArQ/FgO1J-DRUJw/s320/indexexample.jpg" border="0" /&gt;&lt;/a&gt;The easiest way to go about this is to point a web crawler to the home page of the portal and crawl in all pages. This would generally be an accepted solution if site navigation didn't get in the way. All the pages would be full-text indexed, capturing all the content on each page. Unfortunately this includes &lt;strong&gt;ALL&lt;/strong&gt; the content. The site's navigational links would be included in the full-text index of each page. Therefore if someone was searching for "Customer Service" on a dot com portal site and a link to the customer service page was in the navigation on every page, the user would&lt;br /&gt;be presented with a result set of every page within the entire site. Most search terms would return proper results but searches run against&lt;br /&gt;terms that are featured in the header, footer or other navigational pieces of the site would return vastly skewed results. &lt;em&gt;How do we properly crawl a dot com portal website without crawling the navigation?&lt;/em&gt; I came up with the following solution while working for a recent client.&lt;br /&gt;&lt;br /&gt;Without getting down and dirty and working on coding a very intricate custom crawler, I came up with a way to avoid navigation using the portal's standard web crawling functionality. The real key to making this work is to create an alternate experience definition that has the portal's header, footer and any LiquidSkin navigation removed. Simply copy the existing dot com website (public facing) experience definition, rename it with a "Search Experience" designation and delete the header and footer portlets. The next step is to create a new experience rule for to point users with a specific IP address range to the Search Experience definition. In setting up the rule, you should use the IP address(es) of your portal's Automation Server(s). With these two experience pieces in place, a web crawler running in a job on your automation server will crawl against the alternate experience definition and not index any text found in the portal's navigation. This method will also allow end-users to search your dot com website and click on results that take them directly to the web page in which the content resides.&lt;br /&gt;&lt;br /&gt;The "catch" in using this alternate experience definition method is that you cannot crawl the dot com website directly from the home page. Without navigation in place, the crawler would not be able to follow the links on your site and properly crawl every page. A workaround for this issue is to create a static HTML file somewhere on your portal's imageserver. This file will just contain straight links to each community page in your site. This may seem cumbersome at first but it is fairly easy to run a SQL query against the portal database and return a list of object IDs for each page. From this list you can use search and replace in a text editor to create the proper link format. Once the HTML file is built correctly and placed in an accessible location, simply point your portal's dot com website crawler to the HTML page and have it follow one level of links. For my recent client we currently have a static list of all pages in the site, but we plan on coding an automated page in .NET that queries the database to build the list of page links on-the-fly. Such an effort is not very intensive as the SQL query is already written. Server-side processing is not an issue as well since the custom .NET page will only be accessed once a day when the crawl runs.&lt;br /&gt;&lt;br /&gt;The end result of this alternate method of searching is a complete fully indexed repository of content that allows users to search against all pages on the website while avoiding any "throwaway" hits that would be generated by the site's navigation. If you decide to go this route in applying search to your public-facing dot com portal and have any questions, don't hesitate to ask. Additionally, if you would like the SQL query used to pull links to all the community pages within the portal, drop me an email and I can get that to you.&lt;br /&gt;&lt;br /&gt;Happy "Smart" Searching.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/713050315554146430-2287720093289276971?l=jordanportal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jordanportal.blogspot.com/feeds/2287720093289276971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=713050315554146430&amp;postID=2287720093289276971' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default/2287720093289276971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default/2287720093289276971'/><link rel='alternate' type='text/html' href='http://jordanportal.blogspot.com/2008/07/dot-com-portals-smart-searching.html' title='Dot Com Portals:  Smart Searching'/><author><name>Jordan Rose</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-M7_LLbcyVlo/AAAAAAAAAAI/AAAAAAAAEjQ/lMyp-MnEuEw/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_MG5AsJpcmjM/SIaC5CgvBwI/AAAAAAAAArQ/FgO1J-DRUJw/s72-c/indexexample.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-713050315554146430.post-5221612965749451081</id><published>2008-07-07T10:54:00.000-07:00</published><updated>2008-07-07T10:59:35.153-07:00</updated><title type='text'>The PTOBJECTCOUNTERS Table: A Lifesaver in ALUI</title><content type='html'>&lt;div&gt;Throughout the life cycle of an AquaLogic User Interaction portal installation, a variety of unexpected and unwelcomed events can occur. One of the most frustrating types of these issues can occur through the deletion of an administrative object that has some unforeseen dependencies. Unfortunately, when an admin object in ALUI is removed there is no way to re-create it in the portal and have it maintain its original object id. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;An example of a deleted admin object causing other issues in the portal occurred at my client site last Fall. An administrator had deleted an old Publisher portlet that was in the process of being replaced by another portlet. A few days after this portlet was deleted, users started noticing that certain links in other Publisher portlets would result in a gateway error. After some detailed troubleshooting it was determined that multiple Publisher links throughout the portal were gatewayed through the removed portlet. Since that portlet with the referenced ID did not exist, the link was failing and the gateway error was being returned. In short, we needed to restore the deleted portlet to allow the gatewayed links to function properly. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;An attempt was made to export and import the object through a PTE file from the test environment portal. This method did not work as the old portlet was imported but with a different object ID. The only "supported" way of restoring the old object with the proper ID is to restore the entire portal database. This is really not an option for certain portals that feature a highly active user base where content is changing hour-by-hour. A full restore of a database from two days earlier could result in several unwanted repercussions, including: &lt;/div&gt;&lt;ul&gt;&lt;li&gt;Lost content that would have to be re-crawled or re-imported&lt;/li&gt;&lt;br /&gt;&lt;li&gt;All portlet and community preferences that had been changed in the past two days would be lost&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Non-synched portal users created in the last 48 hours would need to be re-created. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;A whole slew of other issues that makes this option one to avoid if at all possible &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;In this emergency situation I decided to utilize the rarely used PTOBJECTCOUNTERStable in the portal database. This table simply functions as a counter mechanism for objects of different classes. When a new administrative object is added to the portal, the NEXTOBJECTID field of the PTOBJECTCOUNTERS table is referenced to determine the next object ID to use for the specified object class. This table is in place to prevent object ID conflict issues throughout the portal. &lt;a href="http://bp2.blogger.com/_MG5AsJpcmjM/SHJZL1SfSSI/AAAAAAAAAqs/SEgxWSGrFEo/s1600-h/objectcounters.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5220332977893886242" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://bp2.blogger.com/_MG5AsJpcmjM/SHJZL1SfSSI/AAAAAAAAAqs/SEgxWSGrFEo/s320/objectcounters.JPG" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;To fix the Publisher issue in my client's portal, I used SQL Enterprise Manager to change the NEXTOBJECTID value of the record associated with CLASSID of 43 (the class ID for portlets in the portal) from the existing value (which I copied to re-use after the fix) to the ID number of the removed portlet. I could determine the ID of the deleted portlet object by looking at the gateway URL referenced in the Publisher links that were not functioning properly. Once the ID number was changed, I re-imported the PTE file from the test environment. The portlet object was created with the proper ID and immediately all broken Publisher links in the portal were working without issue. I then changed the NEXTOBJECTID value back to the original value to ensure that all new portlets would be assigned a unique object ID. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;This is just an example of a way the PTOBJECTCOUNTERS table can allow an administrator to correct object ID issues in the portal. PTOBJECTCOUNTERS is a simple table in design but an integral table in the makeup of the ALUI portal platform and can be a lifesaver at times. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/713050315554146430-5221612965749451081?l=jordanportal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jordanportal.blogspot.com/feeds/5221612965749451081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=713050315554146430&amp;postID=5221612965749451081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default/5221612965749451081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/713050315554146430/posts/default/5221612965749451081'/><link rel='alternate' type='text/html' href='http://jordanportal.blogspot.com/2008/07/ptobjectcounters-table-lifesaver-in.html' title='The PTOBJECTCOUNTERS Table: A Lifesaver in ALUI'/><author><name>Jordan Rose</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-M7_LLbcyVlo/AAAAAAAAAAI/AAAAAAAAEjQ/lMyp-MnEuEw/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_MG5AsJpcmjM/SHJZL1SfSSI/AAAAAAAAAqs/SEgxWSGrFEo/s72-c/objectcounters.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
