Configuration description of open-source projects for core products

Source: Internet
Author: User
Tags custom name version control system

Configuration description of open-source projects for core products
1. Background

Based on the concept of sharing and transmission, shutong changlian has opened up the core products in the product family to meet OEM requirements of customers and partners, and provides more options for the integrated tools of IT enthusiasts, more convenient. You can check out the source code in svn if you need to develop the product extension or have a deeper understanding of the product.

This document describes the configuration steps and methods of BPM, Portal, and SMC projects in aeai dp to support extended development and remote debug debugging in-d mode, for the debug mode method, refer to aeai dp Development Platform Technical Manual (http://pan.baidu.com/s/1gdKlQvD ). In addition, because the internal operating mechanisms of BPMServer, PortalServer, and ESBServer do not recommend using MyEclipse or Eclipse JavaEE for extension development.

2 intended readers
  • Internal staff of shutong changlian

  • External extension developers

3. Glossary
  • User Library: jar packages that can be imported to meet the compilation needs.

  • SVN: SVN is short for Subversion and is an open-source version control system.

4. Implementation

Create the SVN path, check the project from SVN, configure the user library to reference the corresponding jar package, and solve the compilation error. Set the corresponding server configuration, modify the configuration file in the corresponding server to point to the Development Directory, correctly start the server, and ensure that the program runs correctly.

5 implementation steps 5.1 aeai bpm Project

Aeai bpm is a management method centered on business processes and helps enterprises align their business processes with customer needs. Users can perform secondary development in the pull out source code, path: svn: // git.oschina.net/agileai/aeaibpm.

5.1.1 SVN Check Out program

1. Open the designer and click the button to jump to the page.

2. Enter the corresponding SVN path in the URL in the pop-up interface, click Finish, and then click the SVN path, as shown in:

3. Right-click the project name and choose check out"

4. Click NEXT in the pop-up window to view the Project address, and then click Finish.

5. click the button to switch to the JAVA perspective. The checked project will encounter compilation errors, such:

6. Check the error message. The problem is that the jar package is missing. Configure the user library to introduce the corresponding jar package.

5.1.2 configure the user Library

The user library has been created during project Check Out, but the corresponding Jar may be missing. Here, you only need to configure the user library and introduce the corresponding Jar.

1. Right-click the project and choose Build Path-Configure Build Path.

2. Select Add Library

3. Select User Library, click Next, and click Finish.

4. Select the newly created user library and click Add JARs on the right.

5. Configure the user library BPM Server introduction (address of your Server) \ bpm_server_x86 _ Vx. x. x. YYYYMMDD \ shared jar and

(Your server address) \ bpm_server_x86 _ Vx. x. x. YYYYMMDD \ lib jsp-api.jar and servlet-api.jar

6. Refresh the application after the user library is created successfully.

7. Modify the Database Configuration File

5.1.3 BPM Server settings

1. decompress the BPM serverinstaller bpm_server_x86_vx.x.x.yyyymmdd.rar;

Edit the startconfigtoolNaNd file in the bpm_server_x86_Vx.x.x.YYYYMMDD \ bin directory and set the JDK path ,:

2. open the database configuration, change the connection URL to the Database Name, enter the database user and password, and click "test connection". After the connection is successful, the initialization data is highlighted, if no content exists in the created BPM database, Click Initialize data to automatically generate the data table. If the database already exists and has content, you cannot Click Initialize data. Otherwise, the existing database content will be overwritten.

3. Double-click startup. bat in the bin directory to directly start BPMServer ,:

5.1.4 modify the server configuration file

1. (your server address) \ bpm_server_x86 _ Vx. x. x. YYYYMMDD \ conf \ Catalina \ localhost

2. Add the bpm. xml file as follows: The docBase attribute points to the Development Directory.

3. Delete the preset bpm project under \ bpm_server_x86 _ Vx. x. x. YYYYMMDD \ webapps;

4. Double-click startup. bat in the bin directory to directly start BPMServer ,:

5. Enter http: // localhost: 7070 in the browser. The access interface is as follows:

6. Enter the account admin (password admin) to log on to the logon page:

5.2 AEAI Portal Project

Portal is a Portal integration platform. It can be used as an enterprise application center or an enterprise application Portal to aggregate data, menus, and interfaces of existing business systems on a unified interface. You can perform secondary development in the export out source code in the path svn: // git.oschina.net/agileai/aeaiportal.

5.2.1 SVN Check Out program

1. Open the designer and click the button to jump to the interface. In the displayed interface, enter the corresponding SVN path in the URL and click Finish.

2. Click the SVN path, as shown in the following figure:

3. Right-click the project name and select "check out"

4. Click NEXT to view the Project address and click Finish.

5. click the button to switch to the JAVA perspective, and the detected project will encounter a variant error, for example:

6. Check the error message and find the jar package missing. Configure the user library to introduce the corresponding jar package.

5.2.2 configure the user Library

The user library has been created during project Check Out, but the corresponding Jar may be missing. Here, you only need to configure the user library and introduce the corresponding Jar.

1. Right-click the project and choose Build Path-Configure Build Path.

2. Specify the Jre of the designer.

3. you also need to configure the user library Portal Server introduction (your Server address) \ portal_server_x86 _ Vx. x. x. jar in YYYYMMDD \ shared and (address of your server) \ portal_server_x86 _ Vx. x. x. jsp-api.jar and servlet-api.jar under YYYYMMDD \ lib

4. Refresh the application after the user library is created successfully.

5. modify Database Configuration Information and configuration information under the Development Directory

5.2.3 Portal Server Settings

1. Unzip PortalServer to install the media portal _ server _ x86_Vx.x.x.YYYYMMDD.rar;

Edit the startconfigtoolNaNd file in the portal_server _ x86_Vx.x.x.YYYYMMDD \ bin directory and set the JDK path ,:

2. open the database configuration, change the connection URL to the Database Name, enter the database user and password, and click test connection. After the connection is successful, the initialization data is highlighted. If no content exists in the created portal database, click Initialize data. The data table is automatically generated. If the database already exists and has content, you cannot Click Initialize data. Otherwise, the existing database content will be overwritten.

5.2.4 modify the server configuration file

1. (your server address) \ portal_server_x86 _ Vx. x. x. YYYYMMDD \ conf \ Catalina \ localhost

2. Open the corresponding xml file and add the property. docBase points to the webRoot directory of the development project.

3. Delete (your server address) \ portal_server_x86 _ Vx. x. x. YYYYMMDD \ webapps the preset portal and portal_portlets project results are as follows:

4. Double-click startup. bat in the bin directory to directly start PortalServer ,:

5. Enter http: // localhost: 8080/portal/login. jsp in the browser. The access interface is as follows:

6. Enter the account admin (password admin) to log on to the logon page:

5.3 aeai esb smc Project

Aeai esb integrates various business systems to achieve interconnection between heterogeneous systems. You can perform secondary development in the export out source code in the path svn: // git.oschina.net/agileai/aeaiesb.

5.3.1 SVN Check Out program

1. Open the designer and click the button to jump to the page.

2. Enter the SVN path in the URL and click Finish.

3. Click the SVN path, for example:

4. Right-click the project name and select "check out"

5. Click NEXT to view the Project address and click Finish.

6. click the button to switch to the JAVA perspective, and the detected project will encounter a variation error. Check the error message. The problem is that the jar package is missing. Configure the user library to introduce the corresponding jar package.

5.3.2 configure the user Library

The user library has been created during project Check Out, but the corresponding Jar may be missing. Here, you only need to configure the user library and introduce the corresponding Jar.

1. Right-click the project and choose Build Path-Configure Build Path.

2. Specify the jre of the designer.

3. created user library soaker

4. Repeat steps 1 and 2, click User Library, and then click Next

5. Click the pop-up interface, click the custom name, and then click OK.

6. Select the created library and click Add JARs on the right to Add the jar package.

7. Introduce

** (Your ESBServer directory) \ esb_server_x86 _ Vx. x. x. YYYYMMDD \ shared

** (Your ESBServer directory) \ esb_server_x86 _ Vx. x. x. the jsp-api.jar under YYYYMMDD \ lib and the jar package in the servlet-api.jar directory, click OK, select the added user library, click Finish.

8. After the user library is created successfully, refresh the application to solve compilation errors, for example:

9. modify the configuration file of the database and the configuration information in the Development Directory.

5.3.3 ESB Server settings

1. Decompress esbserverinstaller esb_server_x86_vx.x.x.yyyymmdd.rar;

Edit the startconfigtoolNaNd file in the esb_server_x86_Vx.x.x.YYYYMMDD \ bin directory and set the JDK path ,:

2. open the database configuration, change the connection URL to the Database Name, enter the database user and password, and click test connection. The initialization data is highlighted. If no content exists in the created esb database, click Initialize data. The data table is automatically generated. If the database already exists and has content, you cannot Click Initialize data. Otherwise, the existing database content will be overwritten.

5.3.4 modify the server configuration file

1. ** (your ESBServer directory) \ esb_server_x86_Vx.x.x.YYYYMMDD \ conf \ Catalina \ localhost

2. Add the docBase attribute to point to the webRoot directory of the development project.

3. Delete the SMC project in ** (your ESBServer directory) \ esb_server_x86 _ Vx. x. x. YYYYMMDD \ webapps.

4. Enter http: // localhost: 9090/SMC/in the browser. The access interface is as follows:

5. admin (password admin) after logon, as shown in figure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.