久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='OuGmt'></tfoot>
    • <bdo id='OuGmt'></bdo><ul id='OuGmt'></ul>

      <legend id='OuGmt'><style id='OuGmt'><dir id='OuGmt'><q id='OuGmt'></q></dir></style></legend>

      <small id='OuGmt'></small><noframes id='OuGmt'>

    1. <i id='OuGmt'><tr id='OuGmt'><dt id='OuGmt'><q id='OuGmt'><span id='OuGmt'><b id='OuGmt'><form id='OuGmt'><ins id='OuGmt'></ins><ul id='OuGmt'></ul><sub id='OuGmt'></sub></form><legend id='OuGmt'></legend><bdo id='OuGmt'><pre id='OuGmt'><center id='OuGmt'></center></pre></bdo></b><th id='OuGmt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='OuGmt'><tfoot id='OuGmt'></tfoot><dl id='OuGmt'><fieldset id='OuGmt'></fieldset></dl></div>

      1. 為什么 DB2 Type 4 JDBC Driver 正在尋找本機庫 db2jcc

        Why is DB2 Type 4 JDBC Driver looking for native library db2jcct2?(為什么 DB2 Type 4 JDBC Driver 正在尋找本機庫 db2jcct2?)

          <small id='WTqGM'></small><noframes id='WTqGM'>

            <bdo id='WTqGM'></bdo><ul id='WTqGM'></ul>
            <legend id='WTqGM'><style id='WTqGM'><dir id='WTqGM'><q id='WTqGM'></q></dir></style></legend>
          • <tfoot id='WTqGM'></tfoot>
              <tbody id='WTqGM'></tbody>

              <i id='WTqGM'><tr id='WTqGM'><dt id='WTqGM'><q id='WTqGM'><span id='WTqGM'><b id='WTqGM'><form id='WTqGM'><ins id='WTqGM'></ins><ul id='WTqGM'></ul><sub id='WTqGM'></sub></form><legend id='WTqGM'></legend><bdo id='WTqGM'><pre id='WTqGM'><center id='WTqGM'></center></pre></bdo></b><th id='WTqGM'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='WTqGM'><tfoot id='WTqGM'></tfoot><dl id='WTqGM'><fieldset id='WTqGM'></fieldset></dl></div>
                • 本文介紹了為什么 DB2 Type 4 JDBC Driver 正在尋找本機庫 db2jcct2?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我認為 Type 4 JDBC 驅(qū)動程序是純 Java 并且不需要本地庫.

                  I thought the Type 4 JDBC driver was pure Java and wouldn't require native libraries.

                  當我將 db2jcc4.jar 放入打包為 .war 文件的 Tomcat 應用程序的 WEB-INF/lib 目錄中時,嘗試使用該應用程序時出現(xiàn)以下錯誤:Got SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.12.55] 加載原生庫 db2jcct2 失敗,java.lang.UnsatisfiedLinkError

                  When I put db2jcc4.jar in the WEB-INF/lib directory of my Tomcat app packaged as a .war file, I get the following error when attempting to use the app: Got SQLException: com.ibm.db2.jcc.am.SqlException: [jcc][10389][12245][4.12.55] Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError

                  相關(guān)應用代碼如下,由于清單最后一行而拋出異常:

                  The relevant application code is as follows and the exception is thrown due to the last line in the listing:

                          import com.ibm.db2.jcc.DB2SimpleDataSource;
                  
                          // ...
                  
                          DB2SimpleDataSource main_db2_data_source = new DB2SimpleDataSource();
                          main_db2_data_source.setUser(main_database_user);
                          main_db2_data_source.setPassword(main_database_password);
                          main_db2_data_source.setServerName(main_database_host);
                          try {
                            Integer main_database_port_integer = Integer.parseInt(main_database_port);
                            main_db2_data_source.setPortNumber(main_database_port_integer);
                          } catch (NumberFormatException exception) {
                            throw new WebException("...");
                          }
                          Connection main_connection = null;
                          try {
                            main_connection = main_db2_data_source.getConnection();
                  

                  推薦答案

                  我懷疑問題是你沒有告訴它使用類型 4 驅(qū)動程序 - 同一個 jar 文件包含類型 4 和類型 2 驅(qū)動程序,我相信.

                  I suspect the problem is that you haven't told it to use the type 4 driver - the same jar file contains both type 4 and type 2 drivers, I believe.

                  試試:

                  main_db2_data_source.setDriverType(4);
                  

                  這篇關(guān)于為什么 DB2 Type 4 JDBC Driver 正在尋找本機庫 db2jcct2?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數(shù)溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關(guān)系嗎?)
                  How to convert Integer to int?(如何將整數(shù)轉(zhuǎn)換為整數(shù)?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內(nèi)創(chuàng)建一個隨機打亂數(shù)字的 int 數(shù)組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠?qū)?0xff000000 存儲為 int?)

                    • <small id='ljTT1'></small><noframes id='ljTT1'>

                      <tfoot id='ljTT1'></tfoot>
                        <bdo id='ljTT1'></bdo><ul id='ljTT1'></ul>
                        <legend id='ljTT1'><style id='ljTT1'><dir id='ljTT1'><q id='ljTT1'></q></dir></style></legend>

                            <tbody id='ljTT1'></tbody>

                          <i id='ljTT1'><tr id='ljTT1'><dt id='ljTT1'><q id='ljTT1'><span id='ljTT1'><b id='ljTT1'><form id='ljTT1'><ins id='ljTT1'></ins><ul id='ljTT1'></ul><sub id='ljTT1'></sub></form><legend id='ljTT1'></legend><bdo id='ljTT1'><pre id='ljTT1'><center id='ljTT1'></center></pre></bdo></b><th id='ljTT1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ljTT1'><tfoot id='ljTT1'></tfoot><dl id='ljTT1'><fieldset id='ljTT1'></fieldset></dl></div>
                            主站蜘蛛池模板: 一二三区av| 欧美激情视频一区二区三区在线播放 | 国产一二区免费视频 | 日日噜 | 午夜婷婷激情 | 国产精品一区二区三区久久 | 国产成人精品a视频一区www | 亚洲视频免费 | 亚洲国产精品自拍 | 日本理论片好看理论片 | 日本不卡一区二区三区在线观看 | 91精品免费 | 一级黄在线观看 | 亚洲劲爆av| 少妇性l交大片免费一 | 日韩午夜激情 | 综合久久综合久久 | 伊人超碰| 日韩欧美一区在线 | av首页在线 | 九九综合 | 欧美综合一区二区三区 | 一区二区三区在线看 | 欧美国产精品一区二区三区 | 国产精品成人一区二区三区夜夜夜 | 日韩精品久久久 | 成人在线精品视频 | 国产精品明星裸体写真集 | 国产精品久久久久一区二区 | 中文av字幕| www国产成人免费观看视频 | 国产日韩久久 | 欧美成人精品一区二区三区 | 99精品久久久国产一区二区三 | 亚洲精品乱 | 一本一道久久a久久精品综合 | 久久精品黄色 | 日批免费在线观看 | 国产三级精品视频 | 国产一区二区在线免费播放 | 国产精品久久久久久一区二区三区 |