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

Similar Messages

  • How to display PDF in JSP using Iframe

    Hi All,
    I am using Struts 2. I am building my file in ActionClass with seperate Method like getGeneratedPDF() in which, I am setting header of response and writing into PDF.
    This method will be called from JSP by this way
    s:property value="getGeneratedPDF()" />
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?
    questions 2 -- How to display it in Iframe?
    Please help me , If you know the solution.
    Thanks in Advance,
    Jimmy

    jamy_26 wrote:
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.A PDF file is a binary file, not a text file, and you're trying to display it as String. Of course you would get "junk characters". Have you ever tried opening a binary file (pdf, doc, jpg, xls, etc) using a text editor like Notepad?
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?Display it as binary stream, not as text stream. You can display it standalone, just let the link/form/addressbar URL point to some Servlet which writes the InputStream of the PDF file to the OutputStream of the response, along with a correct set of response headers (at least content-type, content-disposition and content-length), so that the browser can open it in the correct application (which is usually Acrobat Reader). If you want to embed the PDF file in a JSP, then one of the ways is indeed using the HTML <iframe> tag.
    questions 2 -- How to display it in Iframe? Just let the iframe URL point to the aforementioned Servlet.
    You can find here an example of a generic file servlet, you may find it useful to get the idea how to do it: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • Trouble Setting "Display PDF in browser using" by MCX

    I want to force the PDF viewer in Safari to Mac OS X v10.6 built-in Preview Application instead of Adobe Acrobat Pro (9.4.0).
    I found that unchecking "Display PDF in browser using:" in Acrobat's Preferences, sets the viewer in Safari to Preview. It seems unchecking this box modifies ~/Library/Preferences/com.adobe.Acrobat.Pro_x86_9.0.plist. by creating the entry root => Originals (dictionary) => BrowserIntegration (array) => item 0 as number with value 0, item 1 as boolean with value 0.
    With that in mind I tried creating a MCX setting in my OD to apply root => Originals (dictionary) => BrowserIntegration (array) => item 0 as number with value 0, item 1 as boolean with value 0. Witch resulted in a grayed out, but checked settings for  "Display PDF in browser using:"
    I was wondering if any one has successfully figured out how to set this setting?

    Hi,
    Firstly during the installation of Reader X, there is an option of Customize Install. You can uncheck the Safari browser plugin from there. But this was possible before install. Now since you have installed in default mode (with above option checked during install) the method to disable plugin is as follows:
    To disable the plugin-
    1. Go to Library > Internet Plug-Ins
    2. You will see AdobePDFViewer.plugin in the list of plugins
    3. Create a new folder called Disabled Plug-Ins
    4. Move the AdobePDFViewer plugin into the Disabled Plug-Ins folder
    5. Restart  Safari
    In future if you want to re-enable this then you can put this plugin back to its original location or Reinstall Reader X (if you have permanently deleted the plug-in from your system). Reinstallation works as installing in repair mode.
    AcrobatX/ReaderX uses MANAGED installation method on Mac(as compared to MANUAL installation method used in earlier versions). In case of manual installation method installation and repair was dependent on "Self heal" mechanism that required the admin privileges each time it was invoked. This raised a bit of concern so to remove this Adobe now uses Managed installation method and discontinued Self Heal mechanism.
    You can check out this link for more information or if you want to track this discussion -
    http://acrobatusers.com/forum/deployment-installation/acrobat-x-installation-installed-saf ari-plugin-without-asking
    Thanks,
    Karan

  • Can't uncheck 'display PDF in browser using' on mac

    Reader 10.0.0
    'display PDF in browser using' in the Internet preferences is stuck on to Adobe Reader. The checkbox is checked/disabled, and cannot be unchecked.
    Also, viewing a PDF in the browser via FTP sticks the entire browser (hence my reason for noticing/disabling this plugin)
    Had to remove the plugin file from file:///Library/Internet%20Plug-Ins/ to remove.

    Hi,
    Firstly during the installation of Reader X, there is an option of Customize Install. You can uncheck the Safari browser plugin from there. But this was possible before install. Now since you have installed in default mode (with above option checked during install) the method to disable plugin is as follows:
    To disable the plugin-
    1. Go to Library > Internet Plug-Ins
    2. You will see AdobePDFViewer.plugin in the list of plugins
    3. Create a new folder called Disabled Plug-Ins
    4. Move the AdobePDFViewer plugin into the Disabled Plug-Ins folder
    5. Restart  Safari
    In future if you want to re-enable this then you can put this plugin back to its original location or Reinstall Reader X (if you have permanently deleted the plug-in from your system). Reinstallation works as installing in repair mode.
    AcrobatX/ReaderX uses MANAGED installation method on Mac(as compared to MANUAL installation method used in earlier versions). In case of manual installation method installation and repair was dependent on "Self heal" mechanism that required the admin privileges each time it was invoked. This raised a bit of concern so to remove this Adobe now uses Managed installation method and discontinued Self Heal mechanism.
    You can check out this link for more information or if you want to track this discussion -
    http://acrobatusers.com/forum/deployment-installation/acrobat-x-installation-installed-saf ari-plugin-without-asking
    Thanks,
    Karan

  • Display date in jsp. using struts, JSTL

    want to display today's date in format October 18, 2006
    how to get today's date and how to display it in jsp?
    I am using struts framwork and JSTL tags in my JSP.
    Thanks.

    rizza_99 wrote:
    The page underlines {<fmt:formatDate value="${now}" type="both" dateStyle="long" />} says
    attributte value doesn't accept any expressionsWait, you said "the page underlines"?? So you're using an IDE? Are you sure that it a JSTL problem and not an IDE problem? Ignore the IDE and just execute the code. Does it work without any compilation errors or runtime exceptions? If so, then there's a problem in the IDE.

  • Help with displaying errors in jsp using html:errors/

    Here is my problem.
    In my overridden ActionForm.validate() method, i am returning ActionErrors (as required). When there are input errors in my form submission, the control goes back to the JSP page i used to read user input (so far so good). The JSP page is rendered fine for taking input for the second time but no errors are displayed although i am using the tag <html:errors/>
    I tried to find the org.apache.struts.action.ERROR in my request attributes and it is there with the size of 1 (because i am reporting one error, in my sample run). Any idea why <html:errors/> won't display the errors even though they are there??? Here is what i am doing in my ActionForm class:
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    if (this.email == null || this.email.length() < 1) {
    errors.add("username", new ActionError
    ("error.username.required"));
    return errors;
    Any help is appreciated.

    First of all, thanks for taking time to look at my message. Here is how my message-resources tag look like in struts-config.xml file:
    <message-resources parameter="ApplicationResources"/>
    The "ApplicationResources.properties" file exist in the WEB-INF folder of my application and following are the entries in that file that i think are relevant:
    errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
    errors.footer=</ul><hr>
    error.username.required=<li>Username is required</li>
    Is there anything else needed to go into resource file? Or should i put my resource file somewhere else?

  • Displaying Applet in JSP Using jsp:plugin tag

    The following code is not working eventhough i downloaded to JRE plug-in .Please help me to work the
    following code in JSP.
    <jsp:plugin code="mani.Clock2.class"
    codebase="/classes/" width=300 height=300
    jreversion="1.3"
    nspluginurl="http://java.sun.com/products/plugin/1.1.3/plugin-install.html"
    iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <jsp:fallback>
    <font color=#FF0000 size=10>Sorry Error While Loading Applet </font>
    </jsp:fallback>
    </jsp:plugin>

    why don't ypu just use the <applet> tag?

  • Swfobject 2.2 in FireFox displays swf twice when using alternate content

    I have built a Flash site and also set it up with alternate content so it can be viewed on iPhone and iPad as well as other mobile devices.  It works great everywhere but in FireFox the site's swf loads on the page twice.
    Has anyone else experienced this issue and if so, what have you done to work around this FireFox bug?
    You can view the url that I'm using to test at http://www.turntwomedia.com/index-altContent.html

    Check out this post -
    http://support.mozilla.com/en-US/questions/669348

  • How do I un-check the box "Display PDF in browser" using Adobe Acrobat Pro (9.0.0)?

    It is faded out and not allowing me the option.

    First of all, update your Acrobat to the latest version available for 9.
    Then, if you have Windows 8 it might still not be enough, as the two are
    not compatible.
    On Fri, Jan 23, 2015 at 7:07 AM, roxanne tollman <[email protected]>

  • Firefox 33 doesn't display a pdf file when using the response object

    Firefox 33.0.2 does not display pdf files when using the code below from an asp.net program, which works for previous versions of Firefox, and also works with IE. I'm using the built-in pdf viewer. All of my plugins are disabled.
    Dim strPDF As String
    strPDF = Session("filname") 'pdf filename
    Response.Clear()
    Response.ClearHeaders()
    Response.Buffer = True
    Response.ContentType = "application/pdf"
    Response.CacheControl = "Private"
    Response.AddHeader("Pragma", "no-cache")
    Response.AddHeader("Expires", "0")
    Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
    Response.AddHeader("Content-Disposition", "inline; filename=" + strPDF)
    Response.WriteFile(strPDF)
    Response.Flush()
    Response.Close()
    Response.Clear()
    Response.End()
    Session("filname") = ""

    Thanks cor-el. You pointed me in the right direction. It appears to me that a reported Firefox 33 bug with the handling of compression (Transfer-Encoding: chunked) is the culprit (https://support.mozilla.org/en-US/questions/1026743). I was able to find a work-around by specifying the file size and buffering. Below is my code, with some code from http://www.codeproject.com/Questions/440054/How-to-Open-any-file-in-new-browser-tab-using-ASP.
    Dim strPDF As String
    strPDF = Session("filname") 'pdf filename
    Dim User As New WebClient()
    Dim FileBuffer As [Byte]() = User.DownloadData(strPDF)
    If Not (FileBuffer Is Nothing) Then
    Response.Clear()
    Response.ClearHeaders()
    Response.CacheControl = "Private"
    Response.AddHeader("Pragma", "no-cache")
    Response.AddHeader("Expires", "0")
    Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
    Response.ContentType = "application/pdf"
    Response.AddHeader("content-length", FileBuffer.Length.ToString())
    Response.BinaryWrite(FileBuffer)
    Response.Flush()
    Response.Close()
    Response.Clear()
    Response.End()
    End If
    Session("filname") = ""

  • 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.

  • How to display pdf in Web Dynpro Page

    Hi Experts,
    I need to display the pdf file in web dynpro page. I am using  Web dynpro 7.1(CE), in that no ui element like Iframe. With Iframe we can display the pdf file in web Dynpro page in 7.0.
    But My problem is how display pdf with out using Iframe.
    Please any one tell how to display with any other UI elements.
    Regards,
    Sunil.

    Hi sunil..
    chk this link..
    <u><b>Pdf</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    <u><b>Adobe</b></u>
    /people/achim.hauck/blog/2005/02/04/my-struggles-with-the-adobe-document-services-in-was640
    <u><b>Configuration</b></u>
    http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    <u><b>Adobe Document services</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2
    <u><b>Configuring Guided procedure of Interactive Forms</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
    <u><b>Forum Discussions abt Adobe Document Services</b></u>
    Re: Configuring the Destination URL for the Adobe Document Services
    Hop will this helpful for u..
    Regards,
    GS

  • Strange behaviour with JDev 10.1.3.1 thru 10.1.3.3 creating JSP using CDB

    Greetings,
    I am experiencing a strange problem developing some simple JSPs using the Content DB libraries. It happens on JDev 10.1.3.1, 10.1.3.2, and 10.1.3.3.
    I don't know if its my environment or something else. If your in for a mystery then this one is for you.
    All JSPs, Backing Beans, and supporting class all compile without a problem.
    JSPs run and data is displayed as expected. All seems fine.
    Problem:
    When I go back to the JSP and click on it to open (for work), JDev just hangs up. Have to go into Task Manager to Kill process.
    Work Around:
    Back in JDev before I click to open JSP, I clean out the compiled classes. Then click on JSP and it pops right up?!?!
    Has something to do with Content DB libs?
    I go back to the backing bean and Comment out all calls to any CDB APIs within the methods. The overall structure of the backing bean is intact but it renders the JSP useless of course. But the after I compile (without errors) the NO CDB API version, I click on the JSP; it opens right up in JDev.
    Ok, what I did not tell you yet. The missing key to this mystery.
    I'm working on my local desktop. There is no local instance of OCDB on my desktop. Only Jdev and the OCDB development kit. The Actual instance of the content DB is elsewhere. The code reads a property file to get the URL and S2S logon information from a property file (local on my desktop) to connect and do its thing. NOW, AS LONG AS I AM VPN into the network (where several OCDB instances can be accessed), I can go into JDev and open the JSP REGARDLESS of whether I've compiled the code or not.
    When I'm running the VPN, I see the in and out byte count moving up and up, then within a few seconds, the JSP pops right up.
    How strange is this?!
    Question: When using the OCDB libraries with JDev, is it going out to look for some license? It seems that JDev knows my code is calling some OCDB APIs then goes out and does something before it allows me to continue. Without the VPN connection its looks like its sits there waiting for something. My colleagues don't have this problem. But of course they are inside of the firewall, I'm outside.
    I've worked on a lot of JSPs before (without OCDB) and I've never seen anything like this before. Here is a list of the libraries that I'm using.
    Using version 10.2 of the CDB Libraries.
    Importing these jars to my project in JDev.
    1. cdb-devkit-client.jar
    2. content-ws-client.jar
    3. axis.jar
    4. commons-codec-1.3.jar
    5. commons-discovery-0.2.jar
    6. commons-httpclient-3.1-rc1.jar
    7. commons-logging-1.0.3.jar
    8. jaxrpc.jar
    9. saaj.jar
    10. wsdl4j-1.5.1.jar
    Any suggestions would help. Since I've found a work around. I'm up and moving, but I would REALLY like to know what's up with this.
    THANKS
    Winston

    Hi folks,
    I have some more news on this issue.
    As noted in my first post, I noticed that the VPN monitor was moving very aggressively when the VPN connection was established. Activating JSP in design mode while classes were compiled and my VPN connected always seemed to do the trick.
    So, Why does it work when VPN is connected? What’s JDev doing?
    To answer these questions I loaded up an IP packet sniffer to find out exactly what JDev. was up to. Here are the results, but first a recap of the steps.
    Let’s say you have a model view project (using Content DB) that has already been compiled and you know it works.
    You are working remotely and need to connect via VPN.
    You have no local instances of the Content DB running.
    You VPN in and run the JSP from JDev. to verify that all is in working order.
    Ok get out of the app and close down all its windows.
    In JDev, close out all files in the developer.
    Disconnect the VPN.
    Then in JDev open the JSP. If it comes up in source mode switch it to design mode (Click on the "Design" tab).
    JDEV hangs up.
    Ok now Go into Task Manager and kill the process.
    Then find the class folder where the compiled code sits and delete them all.
    Start up JDev and go into your project and open the JSP file.
    If it comes up in source mode, switch to design mode. Either way this will work.
    Now close the JSP file.
    Recompile the code.
    NOW START UP the IP Packet Sniffer on your local machine. (VPN IS NOT CONNECTED)
    Open the JSP file. If it comes up in source mode, switch to design mode.
    Now go back and look at the IP packets.
    BEHOLD! IT IS TRYING TO CONNECT TO THE SERVER USING THE CORRECT URL FOR MY INSTANCE OF THE OCDB.
    Note: There are no URLs encoded in the code. It gets the URL by reading it from a properties file.
    The URL to the server is only specified in the property file.
    By the way, JDev is now hung up because you’re not VPN in.
    Go into the task manager and kill the process, delete the compiled class files, and restart JDev.
    Now go and find the property file on your local drive, and rename it.
    Go back to JDev. and recompile the code.
    Bring up the JSP in design mode.
    Look at the output of the IP packets.
    THERE ARE NONE! This also shows that its not some kind of cache problem, else it would try to connect.
    JDev is active and the JSP is displayed in design mode.
    So, either by deleting the compiled classes or removing the properties file CLEARS the problem.
    It appears that I’m hanging up because JDev is partially executing the code when you switch into design mode?!?
    If the code is complete it tries to go all the way. Since I'm not VPN in I never get a response from the server, thus it hangs forever.
    If the code is incomplete, it never tries to connect.
    Now if I try this WITH my VPN connected, I see the packets going to the server, and the JSP is eventually displayed.
    Also noted that when the property file was renamed and/or the executable classes were deleted, The JSP always pops up (almost immediately). When VPN is connected and classes are compiled and the property file is accessible, it is a lot slower. More Support that JDev is doing something with the server.
    So why is this thing running my code when I switch design modes?
    I’ve also found this thread on the JDev Fourm.
    JSP Design not working when ICEFaces extension is integrated JSP Design not working when ICEFaces extension is integrated
    A Known problem with JSP when third party libraries are added?!?!
    Content DB considered a 3rd party library?
    So, I must conclude that this is not an OCDB issue, but a JDev Issue.
    Aslo check out JDeveloper "Design" Perspective
    Hope this helps some one out. This was a barn burner.
    Thanks
    Winston

  • Safari no longer displays PDFs

    Using Safari 5.0.5.
    Safari used to display PDFs in-line. Now, when a PDF is to load in Safari, I instantly get a black page with no content. I tossed, re-installed and re-updated Acrobat Reader to see if that was the offender and restarted Safari various times, but I have the same problem.
    Note: When in Acrobat Reader, the preference Internet: Wen Browser Options has the "Display PDF in browser using ..." option checked and dimmed.
    Incidentally, I prefer Preview in all cases.
    Ideas?

    Delete the plugin (Library/Internet Plug-ins/AdobePDFViewer.plugin) and relaunch Safari. 

  • Open pdf in safari using: ACROBAT 9 PRO

    Hi,
    I am using safari 4.0.3 and Acrobat Pro 9 10.4.3. When I click a pdf file in safari, it opened with it default pdf viewer. However, I want to use acrobat to view pdf (in safari).
    Here are the solutions I've tried:
    1 Acrobat->Preference-> Internet->Display PDF in browser using-> Adobe Acrobat Pro 9.1.3
    2 Acrobat->Help->Repair Acrobat Installation->adobe PDFViewer Safari Plugin->Continue then it says successfully installed
    3 Safari->Help->Installed Plug-ins. I can NOT find acrobat/pdf plugin
    4 Library/Internet Plug-Ins: I CAN find AdobePDFViewer.pugin
    5 Users/My name/LIbrary/Internet Plug-Ins: I CAN ALSO find AdobePDFViewer.pugin
    6 When I open a pdf on my computer, it runs Acrobat 9
    NONE OF THESE ABove WORKS.
    Could anyone please give me some suggestions?
    Message was edited by: AndrewGH

    I would guess that Acrobat Pro isn't compatible with Safri 4.0.3 yet, and perhaps even 10.6, but only Adobe really knows, so you'd be better off asking them. If it's not, I'm sure they'll release a patch or update of some kind after 10.6 ships.
    If I were you, I'd uninstall the portion of Acrobat that normally works with Safari to render PDF files and use the built-in rendering abilit of Safari itself. Not only is that simpler, but Acrobat Pro is a huge memory hog.

Maybe you are looking for

  • Itunes,on XP,keeps freezing

    latest Itunes,on XP,keeps freezing when try burn playlist, was working fine week ago,any ideas?

  • Z index handling

    Hi to all! The purpose of my application: monitoring of the motion control system. Monitored equipment: 1.       Motion controller + motor.         http://www.yetmotion.com/YetIsrael/Products.asp?Currentcategory_id=44&Currenttat_category_id=70       

  • Take long time when IAS  startup

    Hi, We have a problem in develope enviornment. IAS takes longer and longer to finish its startup. We do not know the exact reason but reinstall IAS will kill this problem. It seems IAS read some info from JNDI or whatever, which grows over time. Anyb

  • How to authenticate card reader? (urgent !!!)

    hallo everybody, we are working on java cards.......But we are aware from establishing secure session in between card reader and card..... the things which we knows are 1) when card authenticates the card reader it is "External Auth" 2) when card rea

  • Plug-in Registration Tool has stopped working

    Hi all, On Dynamics CRM 2015 Online, I have installed a Plugin Profiler using the Plugin Registration Tool provided in the SDK for CRM 2015. When I start debugging using the profiler and Visual Studio 2013 the plugin profiler stops working with the e