Creating wlfullclient.jar For Client Applications

Prior to the release of weblogic server 10.0, weblogic.jar file could be bundled with the client applications to use some advanced features like:
– Enhanced JDBC and WLS specific JMX interfaces
– WLS t3 and iiop client

(For information on these features: http://download.oracle.com/docs/cd/E11035_01/wls100/client/basics.html#wp1066820)

But from WLS 10.0, to use these features, wlfullclient.jar is needed by the client applications. If the applications still use weblogic.jar, it may result in a ClassNotFoundException.

wlfullclient.jar is not available for jdk 1.4, it is only supported and can be made for jdk 1.5 and 1.6.

There are 2 ways of creating wlfullclien.jar using the jarBuilder Tool from the installer. Here is an example of creating the jar file for WLS 10.3, jdk 1.6.

Method 1:
– Set the java environment.
– Run the command D:\BEA103\wlserver_10.3\server\lib>java -jar D:/BEA103/modules/com.bea.core.jarbuilder_1.2.0.0.jar

Method 2:
– Set the java environment.
– Run the command D:\BEA103\wlserver_10.3\server\lib>java -jar wljarbuilder.jar -profile wlfullclient

Both the commands create the wlfullclient.jar file in the D:\BEA103\wlserver_10.3\server\lib directory. This jar file should now be bundled with client applications and should be added to the client application’s classpath for use.

Please let us know if you have any queries.

Best Regards,

Wonders Team!

6 comments

  1. Hi, is there a slimmer jar file that can be used for clients that only call EJBs on Weblogic?
    50+MB full client is not very convenient.

    thanks in advance!

  2. Hi Michal,

    You can use wlthint3client.jar for client applications. This is used as an alternative to the huge wlfullclient.jar file.

    Best Regards,
    Divya

  3. Hi Michal,

    I did the same steps to create wlfullclient , but it always says unable to access jar fileā€¦ I tried both the approachesā€¦

    I am using version 10.0 is that the problem.

    Appreciate your help.

    Regards,
    Prasant.

    1. Hi Prashant,

      Please let me know the syntax that you are following and the complete error that you get when you execute the command.

      Regards,
      Divya

Comments are closed.