|
1,dataSourceContext.xml
<beans>
<bean id="dataSource"
class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="lltwms"/>
</bean>
</beans>
2,reportConfig.xml
<config>
<name>license</name>
<value>/WEB-INF/report/ServerYV4.0Linux.lic</value>
</config>
<config>
<name>reportFileHome</name>
<value>/reportFiles</value>
</config>
<config>
<name>dataSource</name>
<value>lltwms,oracle,GBK;</value>
</config>
3,log4j.properties
log4j.appender.R.File=
/app/bea/tmsapp/logs/wyll-tms2.log
4,runqianReportLog.properties
log4j.appender.LOG2.File=
/app/bea/tmsapp/logs/runqianReport.log
5,override.properties
修改页面是否自动加载配置文件属性,true表示用户每次登陆时都重新加载页面配置文件,false则相反
uniConfig.autoReInit=false
6,weblogic.xml
在项目WEB-INF目录下新增weblogic.xml 文件,解决HTTP Session 共享问题,llapp1和llapp2的cookie-name属性需要设为不同,llapp1的TMS系统weblogic.xml内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app>
<context-root>/wyll-tms2</context-root>
<session-descriptor>
<cookie-name>JSESSIONID_TMS</cookie-name>
</session-descriptor>
</weblogic-web-app>
llapp2的TMS系统weblogic.xml内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app>
<context-root>/wyll-tms2</context-root>
<session-descriptor>
<cookie-name>JSESSIONID_TMS2</cookie-name>
</session-descriptor>
</weblogic-web-app>
|
|
|