My Oracle Support Banner

Reports Builder / Server 12c 在 linux 7 上启动失败,报错“libXm.so.3: cannot open shared object file: No such file or directory” (Doc ID 2322966.1)

Last updated on APRIL 03, 2019

适用于:

Oracle Reports Developer - 版本 12.2.1.0.0 和更高版本
Linux x86-64

症状

在Linux OEL7 or RedHat7全新安装Oracle Forms/Reports 12c。

当使用(DOMAIN_HOME/reports/bin/rwbuilder.sh)脚本启动Reports Builder时,失败并输出以下错误信息:

ORACLE_HOME/bin/rwbuilder: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

类似的行为发生在其它的reports组件例如rwconverter.sh

使用startComponent.sh启动一个单独的Reports服务器它的错误信息请检查nodemanager log文件。

检查  DOMAIN_HOME/servers/repserv1/logs/repserv1.out 文件 (这个例子中是一个单独的reports服务器名字是repserv1) 输出以下信息:

<Nov 2, 2015 9:00:28 PM GMT> <INFO> <NodeManager ComponentManager> <Server failed so attempting to restart (restart count = 1)>
ORACLE_HOME/bin/rwserver: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
<Nov 2, 2015 9:00:28 PM GMT> <INFO> <NodeManager ComponentManager> <The server 'repserv1' with process id 19097 is no longer alive; waiting for the process to die.>
<Nov 2, 2015 9:00:28 PM GMT> <FINEST> <NodeManager ComponentManager> <Process died.>

 你也可能看到如下信息:

<Warning> <oracle.dfw.framework> <DFW-40121> <failure creating incident from WLDF notification oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create incident problem_key="BEA-000337 [/reports/rwservlet]",]" error_facility] at column [79]"
Action: Ensure that command line tool "adrci" can be executed from the command line.

对于in-process reports server行为有些不同。请检查WLS_REPORTS-diagnostic.log会出现以下信息:

[2015-11-03T13:50:03.093+01:00] [WLS_REPORTS] [NOTIFICATION] [DFW-40101] [oracle.dfw.incident] [tid: Thread-72] [userId: <anonymous>] [ecid: 0000L3DPPjD4aq^jDTiOOC1MEApr000001,0:1:3] [APP: reports] [partition-name: DOMAIN] [tenant-name: GLOBAL] An incident has been signalled with the incident facts: [problemKey=DFW-99998 [java.lang.UnsatisfiedLinkError][oracle.reports.util.EnvironmentGlobal.<init>][reports] incidentSource=SYSTEM incidentTime=Tue Nov 03 13:50:03 CET 2015 errorMessage=DFW-99998 executionContextId=null]
[2015-11-03T13:50:03.653+01:00] [WLS_REPORTS] [INCIDENT_ERROR] [DFW-40104] [oracle.dfw.incident] [tid: Thread-72] [userId: <anonymous>] [ecid: 0000L3DPPjD4aq^jDTiOOC1MEApr000001,0:1:3] [errid: 8] [detailLoc: DOMAIN_HOME/servers/WLS_REPORTS/adr/diag/ofm/fmwdom/WLS_REPORTS/incident/incdir_8] [probKey: DFW-99998 [java.lang.UnsatisfiedLinkError][oracle.reports.util.EnvironmentGlobal.<init>][reports]] [APP: reports] [partition-name: DOMAIN] [tenant-name: GLOBAL] incident 8 created with problem key "DFW-99998 [java.lang.UnsatisfiedLinkError][oracle.reports.util.EnvironmentGlobal.<init>][reports]"

另外在WLS_REPORTS.log日志中会出现类似下面的struck thread

####<Nov 3, 2015 10:35:12 AM CET> <Error> <WebLogicServer> <masked_server.and.domain> <WLS_REPORTS> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <00501a40-ff9a-4479-bc75-8edbab0ef8a1-00000060> <1446543312639> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000337> <[STUCK] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "631" seconds working on the request "Http Request Information: weblogic.servlet.internal.ServletRequestImpl@6c1149ac[GET /reports/rwservlet/showenv]
", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:

  

更改

 New installation on Linux OEL7 or RedHat7.

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


文档内容
症状
更改
原因
解决方案
参考

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.