![]() ![]() ![]() ![]() ![]() ![]() |
The tutorial application contains the artifacts required to run the sample purchase order processing application.
This section discusses the following topics:
For information about ALINT Installer, see Installing and Using AquaLogic Integrator.
You can download the tutorial sample application from dev2dev.bea.com.
You must extract the contents of this sample application to a directory on your computer. Refer to this directory as {TUTORIAL_ROOT}. There are two sub folders (applications) in this directory: ExternalSystems and UsecaseApp.
Note: | After you have downloaded the sample application, ensure that these two directories are not Read-Only. |
After you have created the ALINT domain, you must create the environment for the tutorial to design the Purchase Order Processing System sample application.
Start > All Products > BEA > Examples > WebLogic
Integration > Pointbase Console at the url field of the Connect To Database dialog box that is displayed, type jdbc:pointbase:server://localhost:9093/weblogic_eval
. Type entries into the username and password fields. For example, enter weblogic
as the username and password.Note: | BEA here refers to the BEA HOME directory where you have installed the BEA 10.2 products. Figure 2-6 shows the Start menu, from where you can access the Pointbase Console. |
usecaseapp-dbscripts.sql
file that is available in the {TUTORIAL_ROOT} folder. Note: | After you have imported the application, you must complete the following steps to disable EAR validation at the workspace level, and clean the ear project: |
ALIntApp > PurchaseOrder. Create subfolders - Archive, Error, New and Rejected under the Purchase Order folder. The purchase order processed by the sample application is archived to the file system into these folders.Figure 2-2 shows the Purchase Order archive directory structure.
UseCase
, in the Select a workspace dialog box, and click OK.Figure 2-4 shows the Import Projects dialog box.
Note: | The Process perspective contains all the required views like Node Palette, Data Palette, and Package Explorer. |
Note: | Similarly, the ALSB perspective contains views related to ALSB, such as Expression Functions, Expression Variables, Target Expression, Constraints, and other views that are required to create a JPD. |
Note: | Clean the Project after you have imported the files. From the Workspace Studio menu, click Project > Clean. |
Note: | After you have imported the application, you must complete the following steps to disable EAR validation at the workspace level, and clean the ear project: |
Table 2-1 lists the important artifacts that are in the Package Explorer, after you have imported the project files.
The test browser is displayed with the following URL: http://localhost:7001/UseCaseWeb/alint/client/test/TestClient.jpd.
The UseCase and Service Applications are now deployed on WebLogic Server.
Note: | When you publish the application, the following warning statements are displayed: |
Note: | org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging |
Note: | .LogConfigurationException: Invalid class loader hierarchy. You have more than |
Note: | one version of 'org.apache.commons.logging.Log' visible, which is not allowed. ( |
Note: | Caused by org.apache.commons.logging.LogConfigurationException: Invalid class lo |
Note: | ader hierarchy. You have more than one version of 'org.apache.commons.logging.L |
Note: | og' visible, which is not allowed.) |
The section describes how to test the sample application.
http://localhost:7001/UseCaseWeb/alint/client/test/TestClient.jpd
, click the Test Soap tab. input purchase order
XML file, enter the values as follows:C:\ALIntApp\PurchaseOrder\Archive
folder.
![]() ![]() ![]() |