急!!!!求大神帮忙

qq_36378089 2016-10-12 04:58:42
生产机上跑的好好地一个项目,突然之不能登录了,检查代码发现是卡在接口那,不执行也不返回,一直卡着,求各位大神帮忙到底是怎么回事! 在线等。。。。。。

以下是代码‘ action 层
private ChannelAuthorityService channelAuthorityService;

public ChannelAuthorityService getChannelAuthorityService() {
return channelAuthorityService;
}

public void setChannelAuthorityService(
ChannelAuthorityService channelAuthorityService) {
this.channelAuthorityService = channelAuthorityService;
}

调用的接口:
List listt = channelAuthorityService.selectChannelAuthority();



配置文件:


<bean id="employeeUserService"
class="business.com.sinosoft.employeeUser.service.impl.EmployeeUserServiceImpl">
</bean>
<bean id="employeeUserAction"
class="business.com.sinosoft.employeeUser.action.EmployeeUserAction"
scope="prototype">
<property name="cognosCsUsersService" ref="cognosCsUsersService" />
<property name="employeeUserService" ref="employeeUserService" />
<property name="authorizationService" ref="authorizationService" />
<property name="channelAuthorityService" ref="channelAuthorityService" />
<property name="loginTrackService" ref="loginTrackService" />
</bean>

web.xml

<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext*.xml,classpath*:applicationContext*.xml</param-value>
</context-param>


接口是通过spring工厂管理的 xml注入,lazy-init = false




...全文
316 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
王飞2023 2016-10-16
  • 打赏
  • 举报
回复
数据库锁表了,你看下。
liguangwen86 2016-10-14
  • 打赏
  • 举报
回复
引用 3 楼 qq_36378089 的回复:
数据库正常连接 也没有锁表 重启服务器也不行 在log日志增加输出点和异常捕获, 只走到接口就停止了,接口中都没有进去 ,也没有报错,
把这句注释掉,重写个其它的试试,也不执行吗?
qq_36378089 2016-10-13
  • 打赏
  • 举报
回复
数据库正常连接 也没有锁表 重启服务器也不行 在log日志增加输出点和异常捕获, 只走到接口就停止了,接口中都没有进去 ,也没有报错,
liguangwen86 2016-10-12
  • 打赏
  • 举报
回复
看一下数据库还能访问吗
tony4geek 2016-10-12
  • 打赏
  • 举报
回复
没有log吗 具体点信息呢

67,516

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧