Corrupted Content Selectors

I recieved the following error after running a Content Selector - which causes
ALL of my Content Selectors to stop functioning - and NO content to render.
"'weblogic.kernel.Default'> <<anonymous>> <BEA1-1CBD107156D1> <BEA-401004> <An
error occured parsing the rule set XML document with URI /contentselectors/GlobalContentSelectors.rls.
Refer to the root cause below.
com.bea.p13n.expression.internal.parser.ParseException: The parsing engine has
encountered a fatal error condition; see embedded exception for details."
"Caused by: java.lang.IllegalArgumentException: Invalid rule Rule [name=FWS_Forms_LM,
description=]. A rule with the same name already exists."
Any ideas?
- Noam
[wl-domain.log00002]

Did you clone one of the .sel files without opening it in Workshop? This
is a known issue (CR106758 -
http://e-docs.bea.com/wlp/docs81/relnotes/relnotes.html#1067991).
This error will occur if 2 .sel files in
contentselectors/GlobalContentSelectors have the same
<cr:name>...</cr:name> value, since that is what the rules parser uses
to generate the internal rule representations (the file names don't
really matter to the parser).
Otherwise, I'm a bit stumped. Try refreshing and notifying all
repositories in the datasync webapp for the application and see if it
goes away.
Greg
Noam Bunder wrote:
I recieved the following error after running a Content Selector - which causes
ALL of my Content Selectors to stop functioning - and NO content to render.
"'weblogic.kernel.Default'> <<anonymous>> <BEA1-1CBD107156D1> <BEA-401004> <An
error occured parsing the rule set XML document with URI /contentselectors/GlobalContentSelectors.rls.
Refer to the root cause below.
com.bea.p13n.expression.internal.parser.ParseException: The parsing engine has
encountered a fatal error condition; see embedded exception for details."
"Caused by: java.lang.IllegalArgumentException: Invalid rule Rule [name=FWS_Forms_LM,
description=]. A rule with the same name already exists."
Any ideas?
- Noam

Similar Messages

  • Is there a limit to the number of content selectors?

    <p>I'm on WebLogic 8.1.4.
    <p>I am using content selectors to pull metadata from Documentum, and I am currently experiencing 2 problems --
    <p>Problem 1) I can't seem to create subdirectories under \META-INF\data\contentselectors\GlobalContentSelectors\. If I do so, and create some content selectors under a subdirectory, it will not work. I would like to organize my content selectors into subfolders under the GlobalContentSelectors directory.
    <p>Problem 2) I have created about 22 content selectors under GlobalContentSelectors directory, and I can preview the results queried for each .sel file, under the "Content Preview" tab, either in WL Workshop or in the Portal Admin page. I.e., there are results returned for every content selector created. However, when I generate a portlet from the .sel file, and invoke the content selector in a .jsp file, the content selector returns 0 results. I've created a content query in the same jsp file with the exact same query as in the content selector, and that works fine in the jsp. Next, I tried deleting 21 of the content selectors, leaving the one content selector I was working with, restarted the server, and reloaded the jsp file, and this time it works. Then, I put back all 21 of the content selectors, and restarted the server, and it stopped working again. This is very bewildering. I see a stack trace in the logs, but I'm not sure if it is related (See below).
    <p>Does anyone have any idea why this is happening? Any help is greatly appreciated!!!!!!!!
    <p>
    <pre><Jun 28, 2005 3:24:18 PM PDT> <Error> <Rules> <BEA-401004> <An error occured parsing the rule set XML document with URI /contentselectors/GlobalContentSelectors.rls. Refer to the root cause below.com.bea.p13n.expression.internal.parser.ParseException: The parsing engine has encountered a fatal error condition; see embedded exception for details.
    at com.bea.p13n.expression.internal.parser.ExpressionParserImpl.parse(Ljava.lang.String;Ljava.io.Reader;)Ljava.lang.Object;(ExpressionParserImpl.java:190)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createRuleSet(Ljava.lang.String;Ljava.lang.String;)Ljava.lang.Object;(RuleSetPersistenceManager.java:523)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createDataItem(Lcom.bea.p13n.management.data.repository.DataRepository;Lcom.bea.p13n.management.data.repository.DataItem;)Lcom.bea.p13n.management.data.repository.Result;(RuleSetPersistenceManager.java:172)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.handleDataItemMessage(Lcom.bea.p13n.management.data.repository.DataItemOperation;)V(AbstractDataRepository.java:887)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDataSyncMessage(Lcom.bea.p13n.management.data.repository.DataSyncMessage;)V(AbstractDataRepository.java:826)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:217)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestResultMessage(Lcom.bea.p13n.management.data.repository.SyncRequestResultMessage;)V(AbstractDataRepository.java:980)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:226)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestMessage(Lcom.bea.p13n.management.data.repository.SyncRequestMessage;)V(AbstractDataRepository.java:945)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:222)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.notifyDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Ljava.lang.String;)V(AbstractDataRepository.java:679)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onRefreshMessage(Lcom.bea.p13n.management.data.repository.RefreshMessage;)V(AbstractDataRepository.java:742)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:212)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.refreshDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;)V(AbstractDataRepository.java:328)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Ljava.lang.String;Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:306)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:285)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.register()V(RuleSetPersistenceManager.java:495)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.<init>()V(RuleSetPersistenceManager.java:127)
    at java.lang.Object.emptyConstructor()V(Unknown Source)
    at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source)
    at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getRuleSetRepository()Lcom.bea.p13n.rules.manager.RuleSetRepository;(RulesManagerImpl.java:433)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getContextPoolFactory()Lcom.bea.p13n.rules.manager.internal.ContextPoolFactory;(RulesManagerImpl.java:457)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.ejbCreate()V(RulesManagerImpl.java:559)
    at com.bea.p13n.rules.manager.internal.RulesManager_jswjkk_Impl.ejbCreate()V(RulesManager_jswjkk_Impl.java:135)
    at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: Invalid rule Rule [name=index, description=]. A rule with the same name already exists.
    at com.bea.p13n.rules.internal.RuleContainerImpl.add(Lcom.bea.p13n.rules.internal.Rule;)V(RuleContainerImpl.java:91)
    at com.bea.p13n.rules.internal.parser.core.CoreTransformVisitor.visit(Lcom.bea.p13n.rules.internal.parser.core.RuleSetNode;Ljava.lang.Object;)Ljava.lang.Object;(CoreTransformVisitor.java:157)
    at com.bea.p13n.rules.internal.parser.core.RuleSetNode.accept(Lcom.bea.p13n.rules.internal.parser.core.CoreVisitor;Ljava.lang.Object;)Ljava.lang.Object;(RuleSetNode.java:37)
    at com.bea.p13n.rules.internal.parser.core.CoreCompositeNode.accept(Lcom.bea.p13n.expression.internal.parser.expression.ExpressionVisitor;Ljava.lang.Object;)Ljava.lang.Object;(CoreCompositeNode.java:43)
    at com.bea.p13n.expression.internal.parser.expression.ExpressionCompositeNode.accept(Lcom.bea.p13n.expression.internal.parser.ast.Visitor;Ljava.lang.Object;)Ljava.lang.Object;(ExpressionCompositeNode.java:48)
    at com.bea.p13n.rules.internal.parser.core.CoreTransformVisitor.transform(Lcom.bea.p13n.expression.internal.parser.ast.Node;Ljava.lang.String;)Ljava.lang.Object;(CoreTransformVisitor.java:103)
    at com.bea.p13n.expression.internal.parser.ExpressionParserImpl.parse(Ljava.lang.String;Ljava.io.Reader;)Ljava.lang.Object;(ExpressionParserImpl.java:185)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createRuleSet(Ljava.lang.String;Ljava.lang.String;)Ljava.lang.Object;(RuleSetPersistenceManager.java:523)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createDataItem(Lcom.bea.p13n.management.data.repository.DataRepository;Lcom.bea.p13n.management.data.repository.DataItem;)Lcom.bea.p13n.management.data.repository.Result;(RuleSetPersistenceManager.java:172)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.handleDataItemMessage(Lcom.bea.p13n.management.data.repository.DataItemOperation;)V(AbstractDataRepository.java:887)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDataSyncMessage(Lcom.bea.p13n.management.data.repository.DataSyncMessage;)V(AbstractDataRepository.java:826)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:217)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestResultMessage(Lcom.bea.p13n.management.data.repository.SyncRequestResultMessage;)V(AbstractDataRepository.java:980)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:226)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestMessage(Lcom.bea.p13n.management.data.repository.SyncRequestMessage;)V(AbstractDataRepository.java:945)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:222)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.notifyDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Ljava.lang.String;)V(AbstractDataRepository.java:679)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onRefreshMessage(Lcom.bea.p13n.management.data.repository.RefreshMessage;)V(AbstractDataRepository.java:742)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:212)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.refreshDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;)V(AbstractDataRepository.java:328)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Ljava.lang.String;Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:306)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:285)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.register()V(RuleSetPersistenceManager.java:495)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.<init>()V(RuleSetPersistenceManager.java:127)
    at java.lang.Object.emptyConstructor()V(Unknown Source)
    at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source)
    at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getRuleSetRepository()Lcom.bea.p13n.rules.manager.RuleSetRepository;(RulesManagerImpl.java:433)></pre>
    <p>Here's the jsp file --
    <p>
    <pre><%--Generated by WebLogic Workshop--%>
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="http://www.bea.com/servers/portal/tags/personalization" prefix="pz"%>
    <%@taglib prefix="utility" uri="http://www.bea.com/servers/p13n/tags/utility"%>
    <%@taglib prefix="cm" uri="content.tld"%>
    <%-- Retrieve the content and display each node name in a list. --%>
    <h3>Test 1 - Using Content Selectors</h3>
    <pz:contentSelector rule="unify_cc_disclosures_bal_transfer" id="nodes"/>
    <font color="red">Query returned [<%= nodes.length %>] items.</font>
    <utility:notNull item="<%=nodes%>">
    <ul>
    <utility:forEachInArray array="<%=nodes%>" id="node" type="com.bea.content.Node">
    <li><cm:getProperty id="node" name="cm_nodeName" conversionType="html"/></li>
    </utility:forEachInArray>
    </ul>
    </utility:notNull>
    <h3>Test 2 - Simple query execution</h3>
    <cm:search id="mytest" query="a_webc_url='pages/unify/credit_cards/disclosures/bal_transfer.xhtml'" failOnError="true" />
    <font color="red">Query returned [<%= mytest.length %>] items.</font>
    <utility:forEachInArray array="<%=mytest%>" id="aDoc" type="com.bea.content.Node">
    <li><b>a_webc_url:</b> <cm:getProperty id="aDoc" name="cm_nodeName"
    failOnError="true" />
    <li>The <b>object name</b> is: <cm:getProperty node="<%=aDoc%>"
    name="object_name" failOnError="true" />
    <li>The <b>Id</b> is: <b>content link</b><cm:getProperty node="<%=aDoc%>"
    name="cm_uid" failOnError="true" />
    <li>The <b>path</b> is: <%= aDoc.getPath() %>
    <li>the is;
    <a href="<%=request.getContextPath() + /ShowBinary?nodeId=" +
    aDoc.getId() %>"/>Content</a>
    </utility:forEachInArray></pre>

    I don't think it's an issue of file length, however, as a test you could revert to your previously working file and place all the new CSS in a new file, and see whether that makes any difference.
    If you clear the error console and reload the page, do you get any unexpected style warnings? By unexpected, I mean things other than, for example, -webkit-transform is not recognized and is being dropped. Illogical messages can indicate an unnoticed typo.

  • When trying to generate pdf file from firefox 7.0.1 , getting corrupt content error, used to work with previous versions of firefox

    We have done toleration testing on firefox version 5 thru 6 and haven't got an issue with our website generating pdf files for our users. One of our users upgraded to firefox version 7.0.1 and they tried to generate a pdf report, now a screen pops up with Corrupted Content Error The page you are trying to view cannot be shown because an error in the data transmission was detected. I recreated this issue on my pc yesterday by installing firefox 7.0.1. Any hints as to what I need to look at would help. Cannot provide the url because it is a secure website for law enforcement. Thanks.

    You can turn off compatibility checking, but more and more of the Google Toolbar will not work. Google is no longer supporting the Google Toolbar so you should use the alternatives.
    Hi Mark,
    See http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    If you have an aspect that is not covered, indicate what that is; otherwise, expect you to be fully functional within 1-2 weeks.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • I can no longer access my Hughes Email in box. With FireFox 7. 0.1 Log in show 2 Emails in box, but when clicked on says Corrupted Content Error Can access with Safari

    I can access on MAC 10.4.11 & Firefox 3.6.13

    You can get a "Corrupted Content Error" error if there are multiple location redirects send via the HTTP response headers.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=681140 bug 681140] - Corrupted Content error due to multiple Content-Disposition header field instances

  • Content Selector Results After Re-ordering the Content in Admin Console

    Hi All,
    I am working on weblogic portal 10.2 and MySQL 5.0
    I have created 3 sample contents in portal admin console.
    And I have re-ordered the contents as mentioned in documentation below.
    http://e-docs.bea.com/wlp/docs102/cm/contentTypesCm.html#wp1096803
    Once they are re-ordered , I can able to see the changed order in the table "cm_node"
    But if I am trying to access those contents using content selectors, with the created type, those contents are not coming in changed order.
    results of content selector is order of creation ,
    pls suggest how to get the results of content selectors as per latest re-ordered content
    Srinivas

    Hi
    Thanks for your reply...
    I tried as per your suggetion....But its showing following warning in the console.
    kindly help needed.
    <Nov 4, 2008 10:24:35 AM IST> <Warning> <Search> <BEA-415620> <Invalid sort criteria "toProperty(
    'beatools_defaultView') ASC". Property "beatools_defaultView" must be a system property or explic
    it property.>
    Regards,
    Srinivas

  • Content selector is not loading content in application

    Hi all,
    I am working on weblogic portal 10.2 and MySQL 5.
    I have created one content selector using workshop and i can preview the content in workshop
    Same content I can see using weblogic portal admin console.
    And written a JSP to display the content in it.
    But that content is displaying in JSP.
    Please let me know how to debug or findout rootcause for this type of problems.
    Regards,
    Srinivas

    Hi Srinivas
    Please send the JSP code snippet. Are you using this cs tag or pz tag or just have content API or content tags code to show the content. Please note that if you have Library Services enabled, only Published content will be shown. So make sure all your content is publised. There are many packages to enable for debug like com.bea.content.*. But first check your code snippet only.
    Ravi Jegga

  • Display PDF in JSP using a content selector

    Hello,
    We are running on WLP 8.1 sp4. We have documents (Word and PDF) stored in the Weblogic Portal content management system. We have made several tries, but are unsuccessful in rendering a PDF inside a JSP using Content Selector tags. We can get a link to display and other properties of the content type, but we have not been able to show the actual binary property of the PDF. Has anyone climbed this mountain before, any help will be greatly appreciated!
    Rob
    The following displays links to the documents, but not the actual document.
    <pz:contentSelector rule="novel_flu_db_archived_reports"
    id="fluArchiveQuery" />
    <utility:notNull item="<%=fluArchiveQuery%>">
    <utility:forEachInArray array="<%=fluArchiveQuery%>" id="docA" >
    <cm:getProperty id="docA" name="file" conversionType="html" />
    <ad:render id="docA" />
    </utility:forEachInArray>
    </utility:notNull>

    Thank you for the response.
    Option 1 - would be great, but I am having problems getting this to work (see thread "Problem accessing a file stored in the CMS from link on JSP")
    Option 2 - I need to look into, as we need to be compliant with Accessibility standards and I can't remember if IFrames pose any problems for screen readers.
    Option 3 - introduces an additional step to the work flow, we would like to avoid extra work (if possible)
    In looking through the archives, there was mention of a "stand alone" JSP which was not under a Portlet or the Portal. The PDF was displayed in the stand alone JSP where the mime type was altered to PDF. Would this be an option?
    -Rob

  • Publish the content selectors

    Hi
    I am Surya ,I am working in bea weblogic portal 8.1
    I want to publish the content selectors which is created in the Portal Admin
    How should i display the html file which i have uploaded?
    When i access my home page ,i could not see the html File which i uploaded in
    Content Item(Portal Admin under BEA Repository).
    Here is the step which i followed
    1.I have created content selector named "Home.sel" in contentselectors\GlobalContentSelectors
    Directory
    The parameters given are
    1.Start Date 1st June 2004
    2.I have created Type name "BPO" in the Portal Admin under BEA Repository
    The parameters Used are
    1.Start Date
    2.End Date
    3.File(i have Uploaded a html file)
    4.Author
    3.I have created a Content Item named "June2" in the Portal Admin under BEA Repository
    The parameters given are
    1.Start Date 1st June 2004
    2.End Date 30th June 2004
    3.File(i have Uploaded a html file)
    4.Author Suresh
    4.In my portal,i have added "<pz:contentQuery>" tag in Jsp to see the result in
    my "home.jsp" file
    <pz:contentQuery id="docs" query="author = 'Suresh'" />
    <ul>
    <es:forEachInArray array="<%=docs%>" id="aDoc"type="com.bea.content.Node">
    <li>The document Author is: <cm:getProperty id="aDoc" name="Author" conversionType="Text"
    />
    <li>The document File is: <cm:getProperty id="aDoc" name="File" conversionType="html"
    />
    </es:forEachInArray>
    </ul>
    Can you pls mail me the solution or hint
    Thanks in Advance
    Regards
    Surya

    Hi
    Use
    <pz:contentSelector rule="Home" id="nodes"/>
    <pz:contentQuery id="nodes" query="Author = 'Surya'" />
    <utility:forEachInArray array="<%=nodes%>" id="aDoc" type="com.bea.content.Node">
    <cm:getProperty id="aDoc" name="File" transactionTimeout="30" conversionType="html"
    />
    <cm:getNode path="<%=request.getContextPath() +aDoc.getPath()%>" id="myNode"/>
    <cm:getProperty node="<%=myNode%>" name="html" conversionType="html"/>
    </utility:forEachInArray>
    Key word here is
    transactionTimeout="30"
    Thanks
    Surya
    "Surya" <[email protected]> wrote:
    >
    Hi
    I am Surya ,I am working in bea weblogic portal 8.1
    I want to publish the content selectors which is created in the Portal
    Admin
    How should i display the html file which i have uploaded?
    When i access my home page ,i could not see the html File which i uploaded
    in
    Content Item(Portal Admin under BEA Repository).
    Here is the step which i followed
    1.I have created content selector named "Home.sel" in contentselectors\GlobalContentSelectors
    Directory
    The parameters given are
    1.Start Date 1st June 2004
    2.I have created Type name "BPO" in the Portal Admin under BEA Repository
    The parameters Used are
    1.Start Date
    2.End Date
    3.File(i have Uploaded a html file)
    4.Author
    3.I have created a Content Item named "June2" in the Portal Admin under
    BEA Repository
    The parameters given are
    1.Start Date 1st June 2004
    2.End Date 30th June 2004
    3.File(i have Uploaded a html file)
    4.Author Suresh
    4.In my portal,i have added "<pz:contentQuery>" tag in Jsp to see the
    result in
    my "home.jsp" file
    <pz:contentQuery id="docs" query="author = 'Suresh'" />
    <ul>
    <es:forEachInArray array="<%=docs%>" id="aDoc"type="com.bea.content.Node">
    <li>The document Author is: <cm:getProperty id="aDoc" name="Author" conversionType="Text"
    />
    <li>The document File is: <cm:getProperty id="aDoc" name="File" conversionType="html"
    />
    </es:forEachInArray>
    </ul>
    Can you pls mail me the solution or hint
    Thanks in Advance
    Regards
    Surya

  • File repository Content Selectors not working

    Hi,
    I am using Weblogic Portal 10 with a file a file repository. When I add content using the admin console (for example an image of type image), I am able to view it. The file is also added to the file system. But for some reason the content selector is not able to retrieve it. Is there something obvious I am missing?

    Doing a local deployment to the server on my laptop, I found that I could recreate this if doing a deployment with the application in .ear format. Deploying from workshop, the application did not seem to have any issues. Did a successful deployment to the Test server this morning deploying with the .ear file in exploded format. Things seem to be working well.
    I think that we will change our deployment process to do deployments with the exploded .ear file. If anyone has run into issues with this type of deployment it would be interesting to hear. Closing the thread.

  • Content selector rules and EBCC, wlps3.5

    Hi
    I'm working on the migration of our portal/commerce app to 3.5 and I'm
    having trouble with EBCC.
    This is a simple rule I want to migrate from 3.2 to 3.5 :
    (Rule)
    Name: RetailerTipOfTheWeek
    Type: content.selector
    ContentType: LoadedData
    (When)
    (Then)
    (New)
    ClassName: ContentQuery
    CONTENT.language eq USER.b2boost.favorite_language
    CONTENT.startDate lte now
    CONTENT.endDate gt now
    Its purpose is to return documents in the correct language and whith a
    validity period (startdate and enddate) active. This allow us to have for
    example a document visibile from August 1st to August 15th.
    Using EBCC, I can't find a way to use "greater than" or "lesser than" on
    date attributes of the LoadedData property set. It was possible with 3.2 so
    I assume it's possible unless some features were taken away. Can you tell me
    how to do this?
    Thanks a lot!
    Nicolas

    Nicolas,
    I'm not sure what you want to do.
    I have attached an image which shows creating a content selector where
    creationDate is between two times. This was created using WLP 7.0, but I
    was under the impression that the code for displaying this dialog has
    not changed. (I could be wrong though).
    Thanks,
    Jalpesh.
    Nicolas Lejeune wrote:
    Hi
    I'm working on the migration of our portal/commerce app to 3.5 and I'm
    having trouble with EBCC.
    This is a simple rule I want to migrate from 3.2 to 3.5 :
    (Rule)
    Name: RetailerTipOfTheWeek
    Type: content.selector
    ContentType: LoadedData
    (When)
    (Then)
    (New)
    ClassName: ContentQuery
    CONTENT.language eq USER.b2boost.favorite_language
    CONTENT.startDate lte now
    CONTENT.endDate gt now
    Its purpose is to return documents in the correct language and whith a
    validity period (startdate and enddate) active. This allow us to have for
    example a document visibile from August 1st to August 15th.
    Using EBCC, I can't find a way to use "greater than" or "lesser than" on
    date attributes of the LoadedData property set. It was possible with 3.2 so
    I assume it's possible unless some features were taken away. Can you tell me
    how to do this?
    Thanks a lot!
    Nicolas
    [temp.gif]

  • Programatically passing values to a content selector

    HI,
    Currently Iam manually providing values to a property while creating a content selector from BEA Workshop.
    Please let me know whether it is possible to programmatically pass values to a property while creating a content selector from BEA Workshop.
    Thanks and Regards
    Karthik Dhanaraj
    email : [email protected]

    Hi
    have you looked at pz:contentSelector tag , the query and appendQuery attribute?
    query
    Optional (String) - A content query string used to search for content. This query overrides any query that was defined for the Content Selector in the Content Selector designer.
    Example:
    query="cm_contentType contains 'text' && author='Salinger'".
    appendQuery
    Optional (String) - A content query string to append to the resulting content query from the rule. If the content selector rule conditions do not match, this value will be ignored. If this value starts || (two vertical bars), it will be logically OR'ed with the content query. If it starts with && (two ampersands), it will be logically AND'ed with the content query. If it doesn't start with || or &&, it will be logically AND'ed with the content query
    You can also programmatically achieve what this tag does
    regards
    deepak

  • Why do i continuously get corrupted content message after installing newest updates?

    I use Project Free TV quite a bit. It was working great, but after I installed new updates for Firefox, most of the links don't work and gives me Corrupted Content message. The links work fine through Explorer.
    For example:
    '''Corrupted Content Error'''
    The page you are trying to view cannot be shown because an error in the data transmission was detected.
    The page you are trying to view cannot be shown because an error in the data transmission was detected.Please contact the website owners to inform them of this problem.''

    I use Project Free TV quite a bit. It was working great, but after I installed new updates for Firefox, most of the links don't work and gives me Corrupted Content message. The links work fine through Explorer.
    For example:
    '''Corrupted Content Error'''
    The page you are trying to view cannot be shown because an error in the data transmission was detected.
    The page you are trying to view cannot be shown because an error in the data transmission was detected.Please contact the website owners to inform them of this problem.''

  • Corrupt Content Error after Upgrade to 7.0.1

    Ever since I upgraded to 7.0.1., I've been having problems with multiple websites generated a Corrupted Content Error when I try to load them. I NEVER had this before I allowed Firefox to update! I've double checked my version and it is, indeed, 7.0.1.
    This is what the message looks like:
    Corrupted Content Error
    The page you are trying to view cannot be shown because an error in the data transmission was detected.
    - The page you are trying to view cannot be shown because an error in the data transmission was detected.Please contact the website owners to inform them of this problem.
    Most frequently, I get this error when trying to play an online game, Tribal Wars, and attempting to load the initial game overview page. As soon as that page starts to load, I get this:
    http://en58.tribalwars.net/login.php?sid=ff6d10ff22d2&secret=0&mobile_no_force=0&t=9154041
    If I click on TRY AGAIN, I then get this:
    http://en58.tribalwars.net/cookie.php?url=game.php%3Fscreen%3Doverview_villages%26intro&&t=9154041
    If I click on TRY AGAIN, I then get this:
    http://en58.tribalwars.net/game.php?screen=overview_villages&intro&t=9154041
    At that point, the page finally loads. Again, I get this "Corrupted Content Error" with numerous pages now and it is quite infuriating.
    Furthermore, I'm getting DNS lookup errors right and left whereas before, I did not. Other than the update to Firefox, nothing else has changed. So this may be the result of that update, or I may have yet ANOTHER problem with Hughesnet. This I have not resolved and its like looking for a friggen needle in a haystack.
    I'm totally perplexed. Whereas I've LOVED Firefox, all of a sudden I'm rethinking that and beginning to consider scrapping it for something else.
    Any assistance here would be appreciated.

    I get this on firefox. I get this on waterfox. I get this on nightly. I don't get it on chrome. I don't get it on internet explorer. I don't get it on comodo dragon. I don't get it on arora. I don't get it on konqueror...... Anyone noticing a pattern here?
    I'm willing to admit that it's probably something to do with my isp server, so Mozilla can feel holier than thou about it, but if that's the way they insist on going, I suggest that the next time they upgrade, they call their browser Canute.

  • Content Selector is not loading during deployment

    Hi Alll,
    I am using weblogic portal 10.2 and MySQL 5.0.
    I have created content selector during developement using workshop.
    and deployed the same EAR in Staging server.
    But content selector is not loaded after deployment.
    I got confirmation after checking adminconsole ->> Content Selectors(Which will be displayed in home page of admin console after login)
    And i can see that , other changes ,,JSP Changes...are reflected as part of deployment.
    Please let me know what might be the poblem,for not loading content selector??
    Is there any number of restrictions on number of content selectors for an environment??
    Srinivas

    hi
    production mode does have the behavior you see, and there are good reasons why this must be so.
    You mean to say, we need to propagate Content selectors from STAGING to PRODUCTION??Yes you need to propagate from an environment which has all the data you want correctly to your production environment. You can scope the propagation to only Content Selectors (if you want, the documentation has data how you can do this) and you can run this via GUI or via ANT.
    regards
    deepak

  • What does the corrupted content error message mean when FireFox 7.0.1 tries to open a web page?

    Corrupted Content Error. The page you are trying to view cannot be shown because an error in the data transmission was detected. Please contact the website owners to inform them of this problem. Ever since FireFox updated to 7.0.1 this error occurs.
    Signing out of Hotmail generates that message I mentioned: Corrupted Content Error. The page you are trying to view cannot be shown because an error in the data transmission was detected. Please contact the website owners to inform them of this problem. Ever since FireFox updated to 7.0.1 this error occurs. How do I stop it? Now it appears to be doing it across multiple websites. The TRY AGAIN button always comes up when initially trying to load a webpage - very frustrating.

    You can get a "Corrupted Content Error" error if there are multiple location redirects send via the HTTP response headers or other entries may be wrong.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=681140 bug 681140] - Corrupted Content error due to multiple Content-Disposition header field instances

Maybe you are looking for

  • 2 macs share same hard drive?

    I need help with a solution. I need to use older Adobe Software (LiveMotion) Unfortunately, it does not work with OS X beyond 10.3. I want to use the new OS X on my G5. I want to use one of my older Macs, I have a G4 and a G3, (would prefer to use G3

  • Photosmart 7520 - Non-HP Cartridge Message

    As of today, I have received 4,874 "Non-HP Cartridge(s)" messages from HP.  I consider this out and out harassment rather than reminders to use HP cartridges in the printer.  I am using Office Depot cartridges because the local Office Depot was out o

  • [solved] Using xprop to set a property

    xprop(1) has a "-set" option. I can't figure out how to use it. The "surf" browser is scriptable by setting a property named "_SURF_URL" to the URL you want it to load. I've tried these: $ xprop -id 14680096 -set _SURF_URL http://www.google.com xprop

  • Imovie  7.1.2 - Unable to create new projects

    I select a clip from library pane and drag to project pane. Project Name and Aspect Ratio window appears. I select a name and leave the aspect ratio to Widescreen (I have tried with other aspect ratios and it also fails). I then select Create. imovie

  • Exchange Server 2013 OWA Related Issue

    Hi everyone, we installed exchange server 2013 for our new organisation. Everything works fine except OWA Version, it shows as 2010. Any suggestion to resolve this issue. Regards Kart26