yanjunwu

可能出现的问题:

1.antlr.jar包冲突,需要从外界添加,并写入.classPath中,可以在myeclipse的server/weblogic 10.x/paths下Perpend to classPath添加该jar.

2.tomcat中frame,iframe的session是同一个,但是weblogic中,不是同一个.需要进行配置才能共享.具体做法:

在WEB-INF下听见weblogic.xml文件----

<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
 <context-root>/</context-root>
 <session-descriptor>
  <id-length>32</id-length>
  <session-param>
   <param-name>TimeoutSecs</param-name>
   <param-value>3600</param-value>
  </session-param>
  <session-param>
   <param-name>aaa</param-name>
   <param-value>bbb</param-value><!-- 防止框架内的页面无session -->
  </session-param>
 </session-descriptor>
 <container-descriptor>
  <!-- 设置优先加载项目类和架包,避免hibernate和weblogic的antlr包冲突,需使用项目内的antlr包-->
  <prefer-web-inf-classes>true</prefer-web-inf-classes>
  <servlet-reload-check-secs>-1</servlet-reload-check-secs>
 </container-descriptor>
</weblogic-web-app>

分类:

技术点:

相关文章:

  • 2022-01-01
  • 2021-11-09
  • 2021-11-09
  • 2022-12-23
  • 2021-11-09
  • 2021-11-09
猜你喜欢
  • 2021-11-09
  • 2021-08-19
  • 2021-11-09
相关资源
相似解决方案