布署web工程到sap netweaver application server
java
异常:1
JCO.classInitialize(): Could not load
middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not
initialize dynamic link library sapjcorfc [sapjcorfc
(Not found in java.library.path)]. java.library.path
[/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/sap/PD1/JC20/exe:/usr/sap/PD1/JC20/exe:/usr/sap/PD1/SYS/exe/run:/usr/java14_64/jre/bin/j9vm:/usr/sap/PD1/JC20/exe::/usr/lib:/usr/sap/PD1/JC20/j2ee/os_libs:/usr/sap/PD1/JC20/exe:/usr/sap/PD1/JC20/exe:/usr/lib:/lib:/usr/sap/PD1/SYS/exe/run]
com.sap.mw.jco.JCO (initialization failure)
注意【sapjcorfc (Not found in java.library.path】,说明在服务器端没有相关的库文件,jco针对不同操作系统有不同的库文件,可以在下载的api文件中找到.安装细节看docs/ installation.html。我的服务器用的是ibm aix
Then add {sapjco-install-path}
to the LIBPATH
environment variable.
Finally, add {sapjco-install-path}/sapjco.jar
to your CLASSPATH
environment variable.
异常:2
java.lang.ExceptionInInitializerError:
JCO.classInitialize(): Could not load middleware layer
'com.sap.mw.jco.rfc.MiddlewareRFC'
Native Library C:/WINDOWS/system32/
sapjcorfc.dll already loaded in another classloader
解决方案:
remove all sapjco.jar(s)
from all applications and do the following:
1. Add the library reference to the J2EE module
project(s) of the apps by right-click onto the project node->Add/Remove
Additional Libraries...->com.sap.mw.jco
2. Open the EAR(s) containing the module(s) and
open application-j2ee-engine.xml by doubleclick. Click on
"References", choose Add, "Select
library/interface/service" and choose the JCO lib here also.
3. Rebuild the module(s) EJB archives and the
EAR(s) and redeploy the EARS.
分享到:
相关推荐
SAP NetWeaver MDM 7.1 Java API SAP NetWeaver MDM 7.1 Java API
Integrating Web Dynpro and SAP NetWeaver Portal
SAP NetWeaver RFC SDK 英文手册
Creating Pop Up Window Using New Features in WebDynpro Java SAP NetWeaver
Integrates Eclipse with the SAP NetWeaver Application Server. Features Support of Eclipse 3.2 (Callisto) and later Support of SAP NetWeaver CE/PI 7.1 and later Execution of server lifecycle ...
SAP NetWeaver 750_7 RFC SDK with help documents in PDF format.
SAPNetWeaver技术功能
Written by SAP architect Rabi Jay, this book provides everything you need to plan, design, install, configure, and administer SAP NetWeaver Portal, including SAP NetWeaver Application Server Java. ...
SAP NETWEAVER 7.4 INSTALLATION GUIDE
SAP NetWeaver 7.3 安装向导
sap netweaver webdynpro for java入门例子,很详细
SAP NetWeaver开发者指南 中文版 安全编程--ASAP
python连接sap需要的 sdk(SAP netweaver rfc)
全面的SAP NetWeaver 平台中文简介
主要介绍了SAP BW以及WAS的内容。
SAP企业服务架构 Sap NetWeaver集成应用平台 SAP NetWeaver助力SAP应用
SAP NetWeaver 安装.doc
SAP Netweaver Developer studio.pdf
mysap crm and sap netweaver.pdf
如题,百度云链接,总大小36G左右,从网站下载需要张号,而且国外资源下载速度较慢