⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configuration.html

📁 SAP ERP的二次开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD>  <TITLE>SAP Java Connector Installation</TITLE>  <META http-equiv=Content-Type content="text/html; charset=windows-1252">  <link rel="stylesheet" type="text/css" href="jco.css"> </HEAD><BODY><table cellSpacing=0 cellPadding=0 border=1><tr><td><table cellSpacing=0 cellPadding=0 border=0><tr>    <td vAlign="top"   ><IMG height="80" src="images/father_son.jpg" width=115 border=0></td>    <td vAlign="bottom"><IMG height="25" src="images/ebusiness.gif"  width=375 border=0></td>    <td vAlign="top"   ><IMG height="80" src="images/skateboard.jpg" width=240 border=0></td></tr><tr bgcolor="#ffac1e"><td vAlign="top" colspan=3>&nbsp;</td></tr><tr><td colspan=3><table cellSpacing=0 cellPadding=0 border=0><tr><!-- ################################################################################ --><!-- ###   LEFT TOOLBOX START                                                     ### --><!-- ################################################################################ --><td align="right" valign="top" width=115 bgcolor="#4c4c4c"><table cellSpacing=0 cellPadding=5 border=0><tr><td valign="top" align="left">&nbsp;</td></tr><tr><td><table style="align: top" cellSpacing=0 cellPadding=0 width=100 align=left border=0>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="intro.html">        Home         </a></td></tr>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="installation.html"> Installation </a></td></tr>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="configuration.html">Configuration</a></td></tr>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="security.html">     Security</a></td></tr>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="documentation.html">Documentation</a></td></tr>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="examples.html">     Examples     </a></td></tr>   <tr><td align=right><a class=white style="LETTER-SPACING: normal" href="releasenotes.html"> Release Notes</a></td></tr>   <tr><td>&nbsp;</td>   <tr><td>&nbsp;</td></table></td></tr><!-- ################################################################################ --></table></td> <!-- ###   LEFT TOOLBOX END                                         ### --><!-- ################################################################################ --><!-- ################################################################################ --><!-- ###   WORK AREA START                                                        ### --><!-- ################################################################################ --><td valign="top" colspan=2 height=200><table cellSpacing=0 cellPadding=2 border=0 width=500><!-- ################################################################################ --><tr><td valign="top" align="left">&nbsp;</td></tr><tr><td valign="top" align="left"><SPAN class=head>Configuration and Requirements</SPAN></td></tr><tr><td valign="top" align="left"><HR class="separator" noshade></td></tr><tr><td valign="top" align="left">&nbsp;</td></tr><tr><td valign="top" align="left"><SPAN class=head>Components of the SAP Java Connector</SPAN></td></tr><tr><td valign="top" align="left"><div class="textblack"><table cellSpacing=0 cellPadding=2 border=0>    <tr><td class="faqw">    The SAP Java Connector runtime environment consists of 3 parts:    <ul>        <li><tt>sapjco.jar</tt> - java archive containing JCo's Java runtime classes        <li>{library prefix}<tt>sapjcorfc</tt>{shared library extension} - JNI runtime library        containing JCo's native code        <li>{library prefix}<tt>rfccm</tt>{shared library extension} (<tt>librfc32.dll</tt>        on Windows systems) - native RFC library used by JCo for handling remote function calls to        and from an SAP System    </ul>    JCo's JNI runtime library acts as the linking part between JCo's Java classes and the native    RFC including the network communication. Its main functional task is to do all the marshalling    operations between the Java and the native RFC data types. Therefore JCo's Java runtime classes    and its JNI runtime library tightly depend on each other. For a correct installation their    version numbers and dates must be equal.    <p>    In contrast to that there is only a loose coupling between the JNI runtime library and the    native RFC library. The JNI library will exchange RFC data with the native RFC library and will    delegate the management of RFC and network communication to it. Because the used RFC APIs will    remain stable and downward compatible JCo only needs a specific minimum version of the native    RFC library. The one delivered with the JCo distribution is sufficient but one may also install    a later version.    <p>    The native RFC library is an independent component and will be patched more often than JCo. You    can download it separately from the SAP Service Marketplace at    <a href="http://service.sap.com/patches">http://service.sap.com/patches</a>. Please navigate    to the appropriate SAP Web AS Binary Kernel Patches. The library is database independent and    titled <tt>"librfc"</tt>. Like all SAP binary patches it is compressed with the SAR format.    Please see OSS note 413708 for more information about the current RFC library version.    <p>    <em>Note: For JCo you will always need a Non-Unicode version of the RFC library,    even if you would like to connect to a Unicode SAP System. Furthermore the RFC library must have    the same bit width as the used JVM (Java Virtual Machine). So if you are using a 32-bit JVM,    you will need also the 32-bit Non-Unicode RFC library, regardless if you are running on a    32-bit or 64-bit operating system.</em>    </td></tr></table></div><tr><td valign="top" align="left">&nbsp;</td></tr><tr><td valign="top" align="left"><SPAN class=head>Runtime loading mechanism</SPAN></td></tr><tr><td valign="top" align="left"><div class="textblack"><table cellSpacing=0 cellPadding=2 border=0>    <tr><td class="faqw">    When an application references a JCo class for the first time it will be loaded by the associated    class loader. During this process JCo's static initializer will be executed. This routine will    search and load the JCo JNI library by using the following algorithm:    <ol>        <li>Try to load the <tt>sapjcorfc</tt> library from the same directory where the            <tt>sapjco.jar</tt> file or the JCo class files are located.<p>        <li>Search the <tt>sapjcorfc</tt> library along the directory path defined in the            <tt>java.library.path</tt> system property from left to right and if found load            it from there.<br>            <em>Note: If this property is not set manually, the JVM will usually set the OS specific            library path environment variable as the default</em><tt> java.library.path </tt><em>system            property at startup.</em><p>        <li>Let the JVM handle the loading of the <tt>sapjcorfc</tt> library by delegating            this task to its <tt>System.loadLibrary(String)</tt> method.    </ol>    JCo's JNI library is linked with the native RFC library. So when it is loaded the operating system    will try to resolve its dependencies by loading the native RFC library, too. Usually, this will be    done by searching for the first occurrence of the <tt>rfccm</tt> | <tt>librfc32</tt> library along the    directory path defined by the OS specific library path environment variable from left to right and    load it.    <p>    If the <tt>sapjcorfc</tt> library and/or the <tt>rfccm</tt> | <tt>librfc32</tt> library cannot be    loaded, you will get an <tt>ExceptionInInitializerError</tt> from the    <tt>JCO.&lt;clinit&gt;</tt> method saying that it could not load the middleware layer    <tt>com.sap.mw.jco.rfc.MiddlewareRFC</tt>. This error message may be caused for one of the    following reasons:    <ul>        <li>The <tt>sapjcorfc</tt> library cannot be found by using the above described            algorithm, because you unintentionally installed it to the wrong directory or forgot            to specify its directory in the OS specific library path environment variable or alternatively            in the <tt>java.library.path</tt> system property.        <li>The <tt>rfccm</tt> | <tt>librfc32</tt> library cannot be found because you unintentionally            installed it to the wrong directory or forgot to specify its directory in the            OS specific library path environment variable.        <li>The version of the <tt>sapjcorfc</tt> library found via the <tt>sapjco.jar</tt> directory or            the <tt>java.library.path</tt> system property is not the required version (the version

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -