Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Repackaging the GNU Lesser General Public License >

Repackaging LGPL


You must download and repackage LGPL libraries for Oracle Self-Service E-Billing.

This task is a step in Process of Repackaging the GNU Lesser General Public License.

To repackage LGPL

  1. Download the proxool-0.9.1.jar file from the following location:

    http://maven.cloudhopper.com/repos/third-party/proxool/proxool/0.9.1/

    Save the file to the following directory:

    • UNIX. EDX_HOME/repackage
    • Windows. EDX_HOME\repackage
  2. From the same directory, run the following Maven installation command:

    mvn install:install-file -DgroupId=proxool -DartifactId=proxool -Dversion=0.9.1 -Dpackaging=jar -Dfile=proxool.0.9.1.jar

  3. Run the following Maven installation command:

    mvn install

    This command places all EAR files in the packaged LGPL libraries in the following directory:

    • UNIX. EDX_HOME/J2EEApps
    • Windows. EDX_HOME\J2EEApps

      If you receive an error similar to the following, or any error indicating JAR files are missing, then the command was not able to access and download LGPL components from the Internet. Follow the instructions in Downloading LGPL Jar Files Manually to manually download and install the components.

      [INFO] -------------------------------------------------------------------------

      ---

      [INFO] Building eBilling application

      [INFO] task-segment: [install]

      [INFO] -------------------------------------------------------------------------

      ---

      [INFO] ------------------------------------------------------------------------

      [ERROR] BUILD ERROR

      [INFO] ------------------------------------------------------------------------

      [INFO] Failed to resolve artifact.

Downloading LGPL Jar Files Manually

If you received an error while repackaging LGPL libraries that indicated JAR files were missing, then follow these steps to manually download and repackage the required components.

To manually download and repackage the required LGPL JAR files

  1. Go to the following location, and download the swarmcache-1.0RC2.jar file

    http://mirrors.ibiblio.org/pub/mirrors/maven2/swarmcache/swarmcache/1.0RC2/

  2. Install the swarmcache-1.0RC2.jar file, using the following command:

    mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache \

    -Dversion=1.0RC2 -Dpackaging=jar -Dfile=/path/to/file

  3. Go to the following location and download the hibernate-3.1.3.jar file

    http://mirrors.ibiblio.org/pub/mirrors/maven2/org/hibernate/hibernate/3.1.3/

  4. Install the hibernate-3.1.3.jar file, using the following command:

    mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate \

    -Dversion=3.1.3 -Dpackaging=jar -Dfile=/path/to/file

  5. Go to the following location, and download the jgroups-all-2.4.1.jar file

    http://mirrors.ibiblio.org/pub/mirrors/maven2/jgroups/jgroups-all/2.4.1/

  6. Install the jgroups-all-2.4.1.jar file, using the following command:

    mvn install:install-file -DgroupId=jgroups -DartifactId=jgroups-all \

    -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file

  7. Download the proxool-0.9.1.jar file from the following location and save it to the EDX_HOME/repackage directory (or the EDX_HOME\repackage directory in Windows):

    http://maven.cloudhopper.com/repos/third-party/proxool/proxool/0.9.1/

  8. Go to the following directory:
    • UNIX. EDX_HOME/repackage
    • Windows. EDX_HOME\repackage
  9. Run the following Maven installation command:

    mvn install:install-file -DgroupId=proxool -DartifactId=proxool -Dversion=0.9.1 -Dpackaging=jar -Dfile=proxool.0.9.1.jar

  10. Run the following Maven installation command:

    mvn install

    This command places all EAR files in the packaged LGPL libraries in the following directory:

    • UNIX. EDX_HOME/J2EEApps
    • Windows. EDX_HOME\J2EEApps
Installation Guide for Oracle Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.