首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

jbpm4.4 spring3.0 hibernate 集成异常 急could not initialize proxy - no Session

2012-12-24 
jbpm4.4 spring3.0 hibernate 集成错误 急!急!急!could not initialize proxy - no Sessionbean idspri

jbpm4.4 spring3.0 hibernate 集成错误 急!急!急!could not initialize proxy - no Session
<bean id="springHelper" />
  <bean id="processEngine" factory-bean="springHelper" factory-method="createProcessEngine" />
  
  <!-- 流程定义及管理 -->
  <bean id="repositoryService" factory-bean="processEngine"
  factory-method="getRepositoryService" />
  
  <!-- 控制流程实例 --> 
  <bean id="executionService" factory-bean="processEngine"
  factory-method="getExecutionService" />
  
  <bean id="historyService" factory-bean="processEngine"
  factory-method="getHistoryService" />
  
  <bean id="managementService" factory-bean="processEngine"
  factory-method="getManagementService" />
  
  <bean id="identityService" factory-bean="processEngine"
  factory-method="getIdentityService" />
  
  <bean id="taskService" factory-bean="processEngine"
  factory-method="getTaskService" />

当调用repositoryService.deleteDeploymentCascade(cmsWorkflowdeploy.getDeployId());方法时:
[CONSOLE_INFO] 2011-02-21 13:29:11,687 - org.hibernate.LazyInitializationException -86953 [http-8088-7] ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session

困扰了我三天了,一直没有找到一个合适的解决方法,您能提供点建议么?谢谢!期待您能快些回复....... 急!急!急!

热点排行