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
- Download the proxool-0.9.1.jar file from the following location:
https://mvnrepository.com/artifact/com.cloudhopper.proxool/proxool/0.9.1
Save the file to the following directory:
- UNIX.
EDX_HOME /repackage
- Windows.
EDX_HOME \repackage
- 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
- If you support Chase Paymentech Orbital Payment Gateway, then download the chasepaymentech_java_orbital.zip file from the following location:
http://download.chasepaymentech.com/docs/orbital/chasepaymentech_java_orbital.zip
Unzip the enclosed PaymentechSDK.jar file and save it to the following directory. The name of the JAR file can vary for different versions of Chase Paymentech.
- UNIX.
EDX_HOME /repackage
- Windows.
EDX_HOME \repackage
- Run the Maven installation command. If you support Chase Paymentech, then use the following command, specifying the name of the JAR file for your version of Paymentech:
mvn clean install -DpaymentTech.fileName=PaymentechSDK.jar
Otherwise, use:
mvn install
The installation 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 examples, or any error indicating [INFO] Failed to resolve artifact or [INFO] Unable to find artifact, 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.
Example Error 1
[INFO] -------------------------------------------------------------------------
---
[INFO] Building eBilling application
[INFO] task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Example Error 2
[ERROR] BUILD ERROR
[INFO] -------------------------
[INFO] Unable to find 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
- Go to the following location, and download the swarmcache-1.0RC2.jar file
http://mirrors.ibiblio.org/pub/mirrors/maven2/swarmcache/swarmcache/1.0RC2/
- 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
- 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/
- 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
- 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/
- 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
- 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):
https://mvnrepository.com/artifact/com.cloudhopper.proxool/proxool/0.9.1
- Go to the following directory:
- UNIX.
EDX_HOME /repackage
- Windows.
EDX_HOME \repackage
- 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
- If you support Chase Paymentech Orbital Payment Gateway, then download the chasepaymentech_java_orbital.zip file from the following location:
http://download.chasepaymentech.com/docs/orbital/chasepaymentech_java_orbital.zip
Unzip the enclosed PaymentechSDK.jar file and save it to the following directory. The name of the JAR file can vary for different versions of Chase Paymentech.
- UNIX.
EDX_HOME /repackage
- Windows.
EDX_HOME \repackage
- Install the PaymentechSDK.jar file, using the following command:
mvn install:install-file -DgroupId=paymentech -DartifactId=paymentech -Dversion=6.9.0 -Dpackaging=jar -Dfile=/path/to/file
- If you support Chase Paymentech, run the following Maven installation command, specifying the name of the JAR file for your version of Paymentech:
mvn clean install -DpaymentTech.fileName=PaymentechSDK.jar
Otherwise, use:
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
|