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