weblogic10.0客户端,必须要生成wlfullclient.jar

来源:互联网 发布:java删除项目根目录 编辑:程序博客网 时间:2024/06/04 19:58



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.
原创粉丝点击