我的数据库中有一个 PDF 文件作为文件资源(test.pdf),下面的 xpage 将其显示为嵌入式对象:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:panel tagName="object">
<xp:this.attrs>
<xp:attr name="data" value="test.pdf"></xp:attr>
<xp:attr name="type" value="application/pdf"></xp:attr>
<xp:attr name="width" value="600"></xp:attr>
<xp:attr name="height" value="600"></xp:attr>
</xp:this.attrs>
It appears your Web browser is not configured to display PDF files. No worries, just <a href='test.pdf'>click here to download the PDF file.</a>
</xp:panel>
</xp:view>
它在网络浏览器(Firefox)中运行良好。当我第一次在 Notes 客户端 (XPiNC) 中打开 xpage 时,PDF 也显示为嵌入的。但是当我打开 xpage 几次时,客户端崩溃了。
我使用版本 8.5.3FP1。
你有什么建议吗?XPiNC 中是否禁止使用对象标签?
正如 Simon O'Doherty 的回答中所建议的那样,我检查了“IBM_TECHNICAL_SUPPORT”和“workspace\logs”文件夹中的所有文件,这些文件在客户端崩溃之后/之后被修改。
nsd 文件中没有 FATAL。
错误日志 1.xml:
<CommonBaseEvent creationTime="2012-08-21T22:08:27.093+02:00" globalInstanceId="ELc0a808f50001394acb55ed00000009" msg="Project facet jst.web has not been defined. It is used in plugin org.eclipse.wst.jsdt.web.core." severity="50" version="1.0.1">
<extendedDataElements name="CommonBaseEventLogRecord:level" type="noValue">
<children name="CommonBaseEventLogRecord:name" type="string">
<values>SCHWERWIEGEND</values>
</children>
</extendedDataElements>
<sourceComponentId component="Expeditor 6.2" componentIdType="ProductName" instanceId="1327306362466" location="MBS-86" locationType="Hostname" subComponent="org.eclipse.wst.common.project.facet.core" threadId="4" componentType="http://www.w3.org/2001/XMLSchema-instance"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>´
控制台_MBS-86_2012_08_21@22_06_40.log:
[0548:0002-1230] 21.08.2012 22:27:14,34 DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
[0548:0002-1230] 21.08.2012 22:27:14,37 DeskClientOpenInt> Executed CreateProgramRCP
[0548:0002-1230] 21.08.2012 22:27:21,35 DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
[0548:0002-1230] 21.08.2012 22:27:21,38 DeskClientOpenInt> Executed CreateProgramRCP
[0548:0002-1230] 21.08.2012 22:27:27,27 DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
[0548:0002-1230] 21.08.2012 22:27:27,29 DeskClientOpenInt> Executed CreateProgramRCP
[0548:000E-0D34] Thread=[0548:000E-0D34]
[0548:000E-0D34] Stack base=0x05F70084, Stack size = 2560 bytes
[0548:000E-0D34] PANIC: The notes2 process (pid=2052) exited unexpectedly.
提前谢谢。