To install the JVM COBOL run-time system (mfcobolrts.jar) in WebLogic 12.1.1 or later, you can add it as a shared library from the weblogic.Deployer command line utility.
java weblogic.Deployer -adminurl t3://localhost:7001 -username USER_NAME
-password PASSWORD -deploy -library PATH\mfcobolrts.jar
Replace USER_NAME and PASSWORD with details supplied by the administrator of the application server. Replace PATH with the path that you used in the previous step.
In Eclipse, in the project that will be deployed, in the META-INF directory, add a weblogic-application.xml file that contains the following code - 2.3 is the version of Enterprise Developer:
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application
xmlns="http://xmlns.oracle.com/weblogic/weblogic-application"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<library-ref>
<library-name>mfcobolrts</library-name>
<specification-version>2.3</specification-version>
<implementation-version>2.3</implementation-version>
<exact-match>false</exact-match>
</library-ref>
</weblogic-application>
java weblogic.Deployer -adminurl t3://localhost:7001 -username USER_NAME
-password PASSWORD -undeploy -name mfcobolrts
Replace USER_NAME and PASSWORD with details supplied by the administrator of the application server.