久久久久久久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 正在尋找本機(jī)庫 db2jcc

        Why is DB2 Type 4 JDBC Driver looking for native library db2jcct2?(為什么 DB2 Type 4 JDBC Driver 正在尋找本機(jī)庫 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 正在尋找本機(jī)庫 db2jcct2?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

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

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

                  當(dāng)我將 db2jcc4.jar 放入打包為 .war 文件的 Tomcat 應(yīng)用程序的 WEB-INF/lib 目錄中時,嘗試使用該應(yīng)用程序時出現(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)應(yīng)用代碼如下,由于清單最后一行而拋出異常:

                  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 正在尋找本機(jī)庫 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)建一個隨機(jī)打亂數(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>
                            主站蜘蛛池模板: 久久国内 | 亚洲精品一区在线观看 | 91在线精品视频 | 夜夜骚视频 | 亚洲欧美日韩中文在线 | 999免费观看视频 | 人人九九精 | 久久com | 国产一区二区三区 | 国产精品一区二区视频 | 欧美国产视频一区二区 | 黄色国产区 | 亚洲 欧美 另类 综合 偷拍 | 夜夜爽夜夜操 | 精品欧美乱码久久久久久 | 欧美成人一区二区三区 | 亚洲精品女人久久久 | 一级毛片在线播放 | 不卡在线视频 | 天天操综合网站 | 特黄视频 | www久久久| 精品中文字幕在线 | av在线一区二区三区 | 国产视频第一页 | 91一区二区| 欧美国产日韩一区二区三区 | 日韩二| 99久久99热这里只有精品 | 男女网站免费观看 | 亚洲一区二区三区久久久 | 狠狠婷婷综合久久久久久妖精 | 色视频成人在线观看免 | 成人av一区二区三区 | 久久综合九色综合欧美狠狠 | 特黄色一级毛片 | 激情国产在线 | 国产在线一区二区三区 | 国内精品久久久久久 | 在线观看日本网站 | 一区二区影视 |