专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 应用服务器

weblogic10.3部署s2sh项目,该怎么解决

发布时间:2010-06-14 17:14:58 文章来源:www.iduyao.cn 采编人员:星星草
weblogic10.3部署s2sh项目
我的环境如下
编译运行环境都是jdk1.6,jre1.6
strtuts2.2.1
hibernate3.6.0
spring3.0.5
s2sh项目在tomcat6.0下能够正常运行,但是部署到了weblogic10.3下,我调试了一下,好像所有的IOC注入都没有起作用。也就是说,拿login来说,在loginAction中。用户名和密码都能提交过来,但是当执行方法的时候,就报错了。在Action中。我注入的userinfobiz="$Proxy54" 具体信息是这样的
Daemon Thread [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)
Daemon Thread [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)

请问高手这是怎么回事,下面是web.xml的配置。
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" 
xmlns="http://java.sun.com/xml/ns/javaee" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">


<!-- 指定spring配置文件 -->  
 <context-param>
  <param-name>contextConfigLocation</param-name>
  <param-value>
  classpath:applicationContext-common.xml,
  classpath:applicationContext-action.xml,
  classpath:applicationContext-biz.xml,
  classpath:applicationContext-dao.xml,
  </param-value>
  </context-param> 
 <!-- 对Spring容器进行实例化 -->
  <listener>
  <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  
  <!-- opensession --> 
  <filter>
<filter-name>lazyLoadingFilter</filter-name>
<filter-class>
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>lazyLoadingFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
  
  <!-- 过滤编码utf-8 -->
  <filter>
  <filter-name>EncodingFilter</filter-name>
  <filter-class>com.trinasolar.framework.web.filter.EncodingFilter</filter-class>
  </filter>
  <filter-mapping>
  <filter-name>EncodingFilter</filter-name>
  <url-pattern>/*</url-pattern>
  </filter-mapping>
  
  <!-- 编码过滤器(要放在struts2前面配置)  
 <filter>  
  <filter-name>encodeFilter</filter-name>  
  <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>  
  <init-param>  
  <param-name>encoding</param-name>  
  <param-value>UTF-8</param-value>  
  </init-param>  
  <init-param>  
  <param-name>forceEncoding</param-name>  
  <param-value>true</param-value>  
  </init-param>  
 </filter>  
 <filter-mapping>  
  <filter-name>encodeFilter</filter-name>  
  <url-pattern>/*</url-pattern>  
 </filter-mapping>  
  -->
  
 
  <!-- struts2 配置 -->  
  <filter>
  <filter-name>struts2</filter-name>
  <!-- 
  <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
  -->
  <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: