weblogic10.0客戶端,必須要生成wlfullclient.jar

Overview

Prior to thisrelease, the weblogic.jar file could be bundled with a client application toprovide WebLogic Server specific value added features, such as:

  • Enhanced JDBC and WLS specific JMX interfaces
  • WLS T3 Client
  • WLS-IIOP Client

See ClientTypes and Features.

For WebLogic Server10.0 and higher releases, client applications should use the wlfullclient.jarfile to provide the WebLogic Server specific functionary previously provided inthe weblogic.jar file. You can generate the wlfullclient.jar file for clientapplications using the JarBuilder tool. See Creatinga wlfullclient.jar File for a Client Application.

Note:

Continuing to use weblogic.jar may result in a ClassNotFoundException.

wlfullclient.jar生成方法

方法一:

  1. 進入weblogic的安裝目錄例如{wls_server}\wlserver_10.3\server\lib;
  2. 運行java -jar wljarbuilder.jar就能生成wlfullclient.jar文件 。

   源文檔 <http://blog.csdn.net/magister_feng/article/details/7350016>

 

方法二:

Using the WebLogic JarBuilder Tool

Use the following steps to create a wlfullclient.jar file for a client application:

  1. Change directories to the server/lib directory.
    cd WL_HOME/server/lib
  2. Use the following command to create wlfullclient.jar in the server/lib directory:
    java -jar ../../../modules/com.bea.core.jarbuilder_1.0.0.0.jar
  3. You can now copy and bundle the wlfullclient.jar with client applications.
  4. Add the wlfullclient.jar to the client application's classpath.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章