1 //文件路径 /easweb/runtime/server/deploy/portal.ear/portal.war/WEB-INF/config/spring/applicationContext-datasource.xml
2
3 //替换为dataCenter中数据库中心代码
4 <?xml version="1.0" encoding="UTF-8"?>
5 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
6 <beans default-lazy-init="true" default-autowire="no" default-dependency-check="none">
7 <bean id="dataSource" class="com.kingdee.portal.biz.core.datacenter.KDPortalDataSource">
8 <property name="dataSource">
9 <ref bean="A001" />
10 </property>
11 </bean>
12 <bean id="A001" class="org.springframework.jndi.JndiObjectFactoryBean">
13 <property name="jndiName" value="jdbc/A001" />
14 </bean>
15 </beans>
16
17
18 // 文件路径 /easweb/runtime/apusic/config/server.xml
19 easweb/web/webRoot 对应的application name属性修改为 easweb
20 <?xml version="1.0" encoding="UTF-8"?>
21 <!DOCTYPE server PUBLIC "-//Apusic//DTD Apusic Server Application 1.1//EN" "http://www.apusic.com/dtds/server_1_1.dtd">
22 <server>
23 <application name="portal.ear" base="W:/workspace/easweb/runtime/server/deploy/portal.ear" start="auto" global-session="true" />
24 <application name="eas.ear" base="W:/workspace/easweb/runtime/server/deploy/eas.ear" start="auto" />
25 <application name="fileserver.ear" base="W:/workspace/easweb/runtime/server/deploy/fileserver.ear" start="auto" />
26 <application name="easweb" base="W:/workspace/easweb/web/webRoot" start="auto" />
27 </server>