唯智製品配置weblogicファイル修正
2173 ワード
1,dataSourceContext.xml
2,reportConfig.xml
3,log4j.properties
4,runqianReportLog.properties
5,override.properties
ページが自動的にプロファイルプロパティをロードするかどうかを変更します.trueは、ユーザーがログインするたびにページプロファイルを再ロードし、falseは逆です.
6,weblogic.xml
プロジェクトWEB-INFディレクトリにweblogicを追加する.xmlファイルは、HTTPセッション共有の問題を解決し、llapp 1とllapp 2のcookie-name属性を異なるものにする必要がある、llapp 1のTMSシステムweblogic.xmlの内容は次のとおりです.
llapp 2のTMSシステムweblogic.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セッション共有の問題を解決し、llapp 1とllapp 2のcookie-name属性を異なるものにする必要がある、llapp 1の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>
llapp 2の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>