Some issues in working with the MP platform for deployment

Source: Internet
Author: User

1. First import the project into MyEclipse, if there is no. classpath and. MyMetadata and. project files, create a Web project yourself, and then overwrite the src overlay, webroot, and so on.

If you already have these files in import, check the Copy projects into workspace option.

2. Create the tablespace, and the user, use the database administrator to enter the database.

CREATE tablespace XMGLXT

LOGGING

DataFile ' E:\oracle\data\xmglxt.ora ' SIZE--data file storage location, can be customized, but must first set up a good folder Oh.

512M Autoextend

On NEXT 512M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL

SEGMENT SPACE MANAGEMENT AUTO;

CREATE USER XMGLXT Profile DEFAULT

Identified by XMGLXT DEFAULT tablespace XMGLXT

Account UNLOCK;

GRANT SELECT any TABLE to XMGLXT;

GRANT CONNECT to XMGLXT;

GRANT exp_full_database to XMGLXT;

GRANT imp_full_database to XMGLXT;

GRANT RESOURCE to XMGLXT;

Under CMD, execute the following import statement:

Imp xmglxt/[email protected] full=y file=d:\xmglxt_2011-12-06.dmp

If you don't succeed, change to D:/xmglxt_2011-12-06.dmp.

3. Configure the database connection pool


<property name= "Db.schema" >MP.</property>
<property name= "Db.type" >ORACLE</property>

<property name= "Connection.url" >jdbc:oracle:thin:@10.194.158.152:1521:scmis</property>-- Scmis is the DB instance name
<property name= "Connection.username" >MP</property>
<property name= "Connection.password" >MP</property>
<property name= "Connection.driver_class" >oracle.jdbc.driver.OracleDriver</property>
<property name= "dialect" >com.bl.platform.hibernate.bloracle9dialect </property>

The reference to write is OK.

4. Run the system, if your browser prevents ActiveX controls, please first modify the browser settings, or the program will not run, etc.

Set the trust site in IE, and then tick enable for each of the customization levels.

Then refresh the browser, OK, problem solved.

Some issues in working with the MP platform for deployment

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.