唯智产品部署weblogic文件修改

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 共享问题,llapp1llapp2cookie-name属性需要设为不同,llapp1TMS系统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>

 llapp2TMS系统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>

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值