Topic
No replies
smart_dev
smart_dev
207 Posts
ACCEPTED ANSWER

Pinned topic Error Consuming Feed in Portal 8.0

‏2013-02-21T12:55:52Z |
Hi,

I am working on Portal 8 server, trying to consume a feed using Feed Configuration portlet in Feed configuration page. Here are the values which I provided to create a feed.
=======================
Name: Sample download
Feed URL:http://server.host.com/sample/FileInfoDlrDoc.xml
Credential Slot for Feed:Sample_withpwd
Web Content Library:Sample_SourceLibrary
Credential Slot for Library: Sample_withpwd
Pass Handshake Data:In the HTTP Headers
=======================

=======================
<rss xmlns:ibmwcm="http://purl.org/net/ibmfeedsvc/wcm/1.0" version="2.0">
<channel>
<title>Sample Document FileDownload Feed</title>
<link>http://www.AOPAO.com/feeds/sample.rss</link>
<description>An sample RSS Feed</description>
<lastBuildDate>Thu, 10 January 2013 04:36:16 CST</lastBuildDate>
<item>
<title>Sample DocumentFile Download</title>
<link>
http://server.host.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
</link>
<description>
http://server.host.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
</description>
<pubDate>Thu, 28 April 2011 04:46:43 CDT</pubDate>
<guid>2f119e74eaea4bb0add37d149759c6fc</guid>
<ibmwcm:action>add</ibmwcm:action>
<ibmwcm:itemType>component</ibmwcm:itemType>
<ibmwcm:component name="BODY123">
<ibmwcm:type>file</ibmwcm:type>
<ibmwcm:value>
http://server.host.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
</ibmwcm:value>
</ibmwcm:component>
</item>
</channel>
</rss>
=======================

When I click on "Save and Consume" option, it throws me an error but creates meta data into the library for file component. What that mean is, the document itself is not downloaded through the feed but only the document metadata is added to the library as a file component.

Please find snippest of below log trace (trace.log) for more details.

==
2/20/13 10:42:50:664 CST 00000061 DigitalAssetM < DigitalAssetManagebleWrapperHelper getDigitalAssetInfo RETURN null
2/20/13 10:42:50:664 CST 00000061 DigitalAssetM < DigitalAssetManagebleWrapperHelper handleExternalAssetInfo RETURN false
2/20/13 10:42:50:664 CST 00000061 EntryStatusBe > EntryStatusBean getCredential ENTRY
2/20/13 10:42:50:664 CST 00000061 EntryStatusBe < EntryStatusBean getCredential RETURN com.ibm.wps.portletservice.credentialvault.credentials.UserPasswordPassiveCredential@f259b72
2/20/13 10:42:50:664 CST 00000061 BaseFeedEntry < FileComponentWrapper getCredential RETURN com.ibm.wps.portletservice.credentialvault.credentials.UserPasswordPassiveCredential@f259b72
2/20/13 10:42:50:664 CST 00000061 HTTPFileRetri 2 Credential provided, basic authentication in use. User is: pb21398
2/20/13 10:42:50:664 CST 00000061 FileModificat > FileModificationChecker shouldUpdate ENTRY {f62431c4-7a52-4495-a028-2dda4052c0ae, class com.ibm.workplace.wcm.api.WCM_LibraryFileComponent} configurator_FAQ.pdf http://server.host.com.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
2/20/13 10:42:50:665 CST 00000061 PluginPropert > com.ibm.workplace.feed.plugin.wcm.PluginProperties getBoolean ENTRY file.element.change.check.enabled false
2/20/13 10:42:50:665 CST 00000061 PluginPropert < com.ibm.workplace.feed.plugin.wcm.PluginProperties getBoolean RETURN false
2/20/13 10:42:50:665 CST 00000061 FileModificat 3 FileModificationChecker file modification chacks enabled: false
2/20/13 10:42:50:665 CST 00000061 FileModificat < FileModificationChecker shouldUpdate RETURN true
2/20/13 10:42:50:665 CST 00000061 HTTPFileRetri > HTTPFileRetriever getContent ENTRY http://server.host.com.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
2/20/13 10:42:50:665 CST 00000061 HTTPFileRetri > HTTPFileRetriever cacheHeaderValues ENTRY http://server.host.com.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
2/20/13 10:42:50:665 CST 00000061 HTTPFileRetri > HTTPFileRetriever getHttpConnection ENTRY http://server.host.com.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
2/20/13 10:42:50:665 CST 00000061 HTTPFileRetri 1 Connecting using basic autentication.
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri 2 HTTP Response is: 302
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri < HTTPFileRetriever getHttpConnection RETURN sun.net.www.protocol.http.HttpURLConnection:http://server.host.com.com/sales/en_na/configurator/documents/configurator_FAQ.pdf
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri < HTTPFileRetriever cacheHeaderValues RETURN
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri 2 Content-type=null Char-set=null
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri 2 InputStream class = class sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri < HTTPFileRetreiver getMaxDownloadBytes RETURN 10,485,760
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri < HTTPFileRetreiver getMaxDownloadBytes RETURN 10,485,760
2/20/13 10:42:50:687 CST 00000061 HTTPFileRetri < HTTPFileRetriever getContent RETURN
2/20/13 10:42:50:687 CST 00000061 FileComponent E The binary file configurator_FAQ.pdf is either too large or could not be retrieved.
2/20/13 10:42:50:688 CST 00000061 EntryStatusBe 3 setStatus(ERROR) called. m_status was OK
2/20/13 10:42:50:688 CST 00000061 EntryStatusBe 3 setStatus(ERROR) called. m_status set to ERROR
2/20/13 10:42:50:688 CST 00000061 FileComponent < com.ibm.workplace.feed.plugin.wcm.wrappers.FileComponentWrapper update RETURN
2/20/13 10:42:50:688 CST 00000061 ComponentWrap < com.ibm.workplace.feed.plugin.wcm.wrappers.ComponentWrapper updateElement RETURN
2/20/13 10:42:50:688 CST 00000061 ComponentWrap < com.ibm.workplace.feed.plugin.wcm.wrappers.ComponentWrapper updateObject RETURN
2/20/13 10:42:50:688 CST 00000061 FileComponent 3 saveObject: ENTRY
2/20/13 10:42:50:689 CST 00000061 FileComponent 1 saveObject: WCM ID before save: com.ibm.workplace.wcm.api.WCM_LibraryFileComponent/Dlr Doc File Download/f62431c4-7a52-4495-a028-2dda4052c0ae/PUBLISHED
2/20/13 10:42:51:347 CST 00000061 FileComponent 1 saveObject: WCM ID after successful save: com.ibm.workplace.wcm.api.WCM_LibraryFileComponent/Dlr Doc File Download/f62431c4-7a52-4495-a028-2dda4052c0ae/PUBLISHED
2/20/13 10:42:51:348 CST 00000061 FileComponent 3 saveObject: EXIT
2/20/13 10:42:51:348 CST 00000061 EntryStatusBe 3 willReprocess() returning false
===